diff --git a/.gitignore b/.gitignore index c17c849..43995bd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ __pycache__/ # Distribution / packaging .Python +env/ build/ develop-eggs/ dist/ @@ -19,13 +20,9 @@ lib64/ parts/ sdist/ var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ *.egg-info/ .installed.cfg *.egg -MANIFEST # PyInstaller # Usually these files are written by a python script from a template @@ -40,16 +37,17 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ -.nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml -*.cover -*.py,cover +*,cover .hypothesis/ -.pytest_cache/ +venv/ +.venv/ +.python-version +.pytest_cache # Translations *.mo @@ -57,16 +55,6 @@ coverage.xml # Django stuff: *.log -local_settings.py -db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy # Sphinx documentation docs/_build/ @@ -74,80 +62,5 @@ docs/_build/ # PyBuilder target/ -# Jupyter Notebook +#Ipython Notebook .ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -.python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# PEP 582; used by e.g. github.com/David-OConnor/pyflow -__pypackages__/ - -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ - -# Instana SDK specific -*.egg-info/ -build/ -dist/ -.coverage -.pytest_cache/ -sanity_test_report_*.txt - -# IDE specific -.vscode/ -.idea/ -*.swp -*.swo -*~ - -# OS specific -.DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -Thumbs.db diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore new file mode 100644 index 0000000..4ca0fa6 --- /dev/null +++ b/.openapi-generator-ignore @@ -0,0 +1,32 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md + +# Protect customized files from being overwritten +pyproject.toml +openapi-generator-config.json +.github/ + +# Custom fixes for OpenAPI documentation issues +instana_client/api/application_resources_api.py +instana_client/models/tag_filter.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES new file mode 100644 index 0000000..ea9d5e9 --- /dev/null +++ b/.openapi-generator/FILES @@ -0,0 +1,1206 @@ +.github/workflows/python.yml +.gitignore +.gitlab-ci.yml +.openapi-generator-ignore +.travis.yml +README.md +docs/AIManagementApi.md +docs/APITokenApi.md +docs/AbstractIntegration.md +docs/AbstractRule.md +docs/AccessLogEntry.md +docs/AccessLogResponse.md +docs/AccessRule.md +docs/Action.md +docs/ActionCatalogApi.md +docs/ActionConfiguration.md +docs/ActionHistoryApi.md +docs/ActionInstance.md +docs/ActionInstanceMetadataEntry.md +docs/ActionInstanceParameter.md +docs/ActionInstanceRequest.md +docs/ActionInstanceRequestParameters.md +docs/ActionMatch.md +docs/ActionSearchSpace.md +docs/AdaptiveBaseline.md +docs/AdaptiveThresholdRule.md +docs/Addition.md +docs/AdjustedTimeframe.md +docs/AgentConfigurationUpdate.md +docs/AlertingConfiguration.md +docs/AlertingConfigurationWithLastUpdated.md +docs/AlertingTimeWindow.md +docs/ApdexConfiguration.md +docs/ApdexConfigurationInput.md +docs/ApdexEntity.md +docs/ApdexReport.md +docs/ApdexReportApi.md +docs/ApdexSettingsApi.md +docs/ApiCreateGroup.md +docs/ApiCreateRole.md +docs/ApiGroup.md +docs/ApiMember.md +docs/ApiPermissionSet.md +docs/ApiRestrictedApplicationFilter.md +docs/ApiRole.md +docs/ApiTag.md +docs/ApiTeam.md +docs/ApiTeamInfo.md +docs/ApiTeamMember.md +docs/ApiTeamRole.md +docs/ApiTeamScope.md +docs/ApiToken.md +docs/AppDataMetricConfiguration.md +docs/Application.md +docs/ApplicationAlertConfig.md +docs/ApplicationAlertConfigWithMetadata.md +docs/ApplicationAlertConfigurationApi.md +docs/ApplicationAlertRule.md +docs/ApplicationAnalyzeApi.md +docs/ApplicationApdexEntity.md +docs/ApplicationCatalogApi.md +docs/ApplicationConfig.md +docs/ApplicationEventResult.md +docs/ApplicationItem.md +docs/ApplicationMetricResult.md +docs/ApplicationMetricsApi.md +docs/ApplicationNode.md +docs/ApplicationResourcesApi.md +docs/ApplicationResult.md +docs/ApplicationScope.md +docs/ApplicationScopeWithMetadata.md +docs/ApplicationSettingsApi.md +docs/ApplicationSliEntity.md +docs/ApplicationSloEntity.md +docs/ApplicationTimeThreshold.md +docs/ApplicationTopologyApi.md +docs/ArithmeticConfiguration.md +docs/ArithmeticOperand.md +docs/ArithmeticOperation.md +docs/AuditLogApi.md +docs/AuditLogEntry.md +docs/AuditLogUiResponse.md +docs/AuthenticationApi.md +docs/Author.md +docs/AvailabilityBlueprintIndicator.md +docs/AvailabilitySliEntity.md +docs/AvailableMetrics.md +docs/AvailablePlugins.md +docs/BackendTraceReference.md +docs/BidirectionalMsTeamsAppIntegration.md +docs/BidirectionalSlackAppIntegration.md +docs/BinaryOperatorDTO.md +docs/BrowserScriptConfiguration.md +docs/BrowserScriptConfigurationUpdate.md +docs/BuiltInEventSpecification.md +docs/BuiltInEventSpecificationWithLastUpdated.md +docs/BusinessActivity.md +docs/BusinessMonitoringApi.md +docs/BusinessPerspectiveConfig.md +docs/CallGroupsItem.md +docs/CallGroupsResult.md +docs/CallRelation.md +docs/ChangeSummary.md +docs/CloudfoundryPhysicalContext.md +docs/Condition.md +docs/ConfigVersion.md +docs/Correction.md +docs/CorrectionConfiguration.md +docs/CorrectionScheduling.md +docs/CorrectionWindow.md +docs/CrashMobileAppAlertRule.md +docs/CreateWebsiteRequestInner.md +docs/CursorPaginatedBusinessActivityItem.md +docs/CursorPagination.md +docs/CursorPaginationInfraExploreCursor.md +docs/CustomBlueprintIndicator.md +docs/CustomDashboard.md +docs/CustomDashboardPreview.md +docs/CustomDashboardWithUserSpecificInformation.md +docs/CustomDashboardsApi.md +docs/CustomDependency.md +docs/CustomEmailSubjectPrefix.md +docs/CustomEntitiesApi.md +docs/CustomEntityModel.md +docs/CustomEntityWithMetadata.md +docs/CustomEventMobileAppAlertRule.md +docs/CustomEventSpecification.md +docs/CustomEventSpecificationWithLastUpdated.md +docs/CustomEventWebsiteAlertRule.md +docs/CustomMetric.md +docs/CustomPayloadConfiguration.md +docs/CustomPayloadField.md +docs/CustomPayloadWithLastUpdated.md +docs/CustomPayloadWithVersion.md +docs/DNSConfiguration.md +docs/DNSConfigurationUpdate.md +docs/DNSFilterQueryTime.md +docs/DNSFilterTargetValue.md +docs/DashboardApiToken.md +docs/DatabaseIntegration.md +docs/DeprecatedTagFilter.md +docs/Division.md +docs/Duration.md +docs/DynamicField.md +docs/DynamicFieldValue.md +docs/DynamicParameter.md +docs/EditUser.md +docs/EmailIntegration.md +docs/EmptyConfiguration.md +docs/EndUserMonitoringApi.md +docs/Endpoint.md +docs/EndpointConfig.md +docs/EndpointEventResult.md +docs/EndpointItem.md +docs/EndpointMetricResult.md +docs/EndpointNode.md +docs/EndpointResult.md +docs/EndpointSimple.md +docs/EntityCountRule.md +docs/EntityCountVerificationRule.md +docs/EntityHealthInfo.md +docs/EntityId.md +docs/EntityVerificationRule.md +docs/ErrorBudgetAlertRule.md +docs/ErrorsApplicationAlertRule.md +docs/Event.md +docs/EventFilteringConfiguration.md +docs/EventResult.md +docs/EventSettingsApi.md +docs/EventSpecificationInfo.md +docs/EventsApi.md +docs/ExtendedService.md +docs/FailureSyntheticAlertRule.md +docs/FixedHttpPathSegmentMatchingRule.md +docs/FixedTimeWindow.md +docs/GenericInfraAlertRule.md +docs/GeoLocationConfiguration.md +docs/GeoMappingRule.md +docs/GeoSubdivision.md +docs/GetActivities.md +docs/GetApplicationMetrics.md +docs/GetApplications.md +docs/GetAvailableMetricsQuery.md +docs/GetAvailablePluginsQuery.md +docs/GetCallGroups.md +docs/GetCombinedMetrics.md +docs/GetDynamicParameterValues.md +docs/GetEndpoints.md +docs/GetInfrastructureGroupsQuery.md +docs/GetInfrastructureQuery.md +docs/GetMetricsResult.md +docs/GetMobileAppBeaconGroups.md +docs/GetMobileAppBeacons.md +docs/GetMobileAppMetrics.md +docs/GetMobileAppMetricsV2.md +docs/GetPayloadKeysResult.md +docs/GetServices.md +docs/GetSnapshotsQuery.md +docs/GetTestResult.md +docs/GetTestResultAnalytic.md +docs/GetTestResultBase.md +docs/GetTestResultList.md +docs/GetTestSummaryResult.md +docs/GetTraceDownloadResultItem.md +docs/GetTraceGroups.md +docs/GetTraces.md +docs/GetWebsiteBeaconGroups.md +docs/GetWebsiteBeacons.md +docs/GetWebsiteMetrics.md +docs/GetWebsiteMetricsV2.md +docs/GlobalApplicationAlertConfigWithMetadata.md +docs/GlobalApplicationAlertConfigurationApi.md +docs/GlobalApplicationsAlertConfig.md +docs/GoogleChatIntegration.md +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 +docs/HistoricBaseline.md +docs/HostAgentApi.md +docs/HostAvailabilityRule.md +docs/HttpActionConfiguration.md +docs/HttpActionConfigurationUpdate.md +docs/HttpEndpointConfig.md +docs/HttpEndpointRule.md +docs/HttpPathSegmentMatchingRule.md +docs/HttpScriptConfiguration.md +docs/HttpScriptConfigurationUpdate.md +docs/HyperParam.md +docs/IdentityProviderPatch.md +docs/ImpactedBeaconInfo.md +docs/InfraAlertConfig.md +docs/InfraAlertConfigWithMetadata.md +docs/InfraAlertRule.md +docs/InfraEventResult.md +docs/InfraMetricConfiguration.md +docs/InfraSloEntity.md +docs/InfraTimeThreshold.md +docs/InfrastructureAlertConfigurationApi.md +docs/InfrastructureAnalyzeApi.md +docs/InfrastructureCatalogApi.md +docs/InfrastructureEntitiesResult.md +docs/InfrastructureGroup.md +docs/InfrastructureGroupsResult.md +docs/InfrastructureItem.md +docs/InfrastructureMetricResult.md +docs/InfrastructureMetricsApi.md +docs/InfrastructureResourcesApi.md +docs/InfrastructureTopologyApi.md +docs/InstanaVersionInfo.md +docs/IntegrationOverview.md +docs/Invitation.md +docs/InvitationResponse.md +docs/InvitationResult.md +docs/IpMaskingConfiguration.md +docs/JsStackTraceLine.md +docs/KubernetesPhysicalContext.md +docs/LLMEgressGateway.md +docs/LatencyBlueprintIndicator.md +docs/LocationStatus.md +docs/LogAlertConfig.md +docs/LogAlertConfigWithMetadata.md +docs/LogAlertConfigurationApi.md +docs/LogAlertRule.md +docs/LogCountAlertRule.md +docs/LogEntryActor.md +docs/LogEventResult.md +docs/LogTimeThreshold.md +docs/LogVolumeGroup.md +docs/LogVolumeUsageItem.md +docs/LogVolumeUsageResult.md +docs/LoggingAnalyzeApi.md +docs/LogsApplicationAlertRule.md +docs/MaintenanceConfig.md +docs/MaintenanceConfigScheduling.md +docs/MaintenanceConfigV2.md +docs/MaintenanceConfigV2WithStateAndOccurrence.md +docs/MaintenanceConfigWithLastUpdated.md +docs/MaintenanceConfigurationApi.md +docs/MaintenanceWindow.md +docs/ManualAlertingChannelConfiguration.md +docs/ManualCloseInfo.md +docs/ManualServiceConfig.md +docs/MatchAllHttpPathSegmentMatchingRule.md +docs/MatchExpressionDTO.md +docs/MetaData.md +docs/MetricAPIResult.md +docs/MetricConfig.md +docs/MetricConfiguration.md +docs/MetricDescription.md +docs/MetricInstance.md +docs/MetricItem.md +docs/MetricMetadata.md +docs/MetricPattern.md +docs/MetricQuery.md +docs/MetricsResult.md +docs/MetricsResultItem.md +docs/MetricsTestResultItem.md +docs/MobileApp.md +docs/MobileAppAlertConfig.md +docs/MobileAppAlertRule.md +docs/MobileAppAnalyzeApi.md +docs/MobileAppBeaconGroupsItem.md +docs/MobileAppBeaconGroupsResult.md +docs/MobileAppBeaconResult.md +docs/MobileAppBeaconTagGroup.md +docs/MobileAppBeaconsItem.md +docs/MobileAppCatalogApi.md +docs/MobileAppConfigurationApi.md +docs/MobileAppEventResult.md +docs/MobileAppMetricResult.md +docs/MobileAppMetricsApi.md +docs/MobileAppMonitoringBeacon.md +docs/MobileAppMonitoringMetricDescription.md +docs/MobileAppMonitoringMetricsConfiguration.md +docs/MobileAppTimeThreshold.md +docs/ModelField.md +docs/MonitoredEntitiesStats.md +docs/MonitoringState.md +docs/MultipleScriptsConfiguration.md +docs/Multiplication.md +docs/NestedOperation.md +docs/NewApplicationConfig.md +docs/NewBusinessPerspectiveConfig.md +docs/NewManualServiceConfig.md +docs/OAuthConfig.md +docs/OAuthIntegration.md +docs/OAuthToken.md +docs/Occurrence.md +docs/Office365Integration.md +docs/OneTimeMaintenanceWindow.md +docs/OpsgenieIntegration.md +docs/Order.md +docs/PagerdutyIntegration.md +docs/PaginatedResult.md +docs/Pagination.md +docs/Parameter.md +docs/ParameterValue.md +docs/PathParameterHttpPathSegmentMatchingRule.md +docs/PhysicalContext.md +docs/PluginResult.md +docs/PoliciesApi.md +docs/Policy.md +docs/PolicyRunnable.md +docs/PolicyScheduling.md +docs/PostMobileAppSourceMapConfigRequest.md +docs/PostSnapshotsResult.md +docs/Problem.md +docs/PrometheusWebhookIntegration.md +docs/RecurrentMaintenanceWindow.md +docs/Release.md +docs/ReleaseScope.md +docs/ReleaseWithMetadata.md +docs/ReleasesApi.md +docs/RetentionPeriod.md +docs/RolesApi.md +docs/RollingTimeWindow.md +docs/RuleInput.md +docs/RuleWithThresholdApplicationAlertRule.md +docs/RuleWithThresholdInfraAlertRule.md +docs/RuleWithThresholdLogAlertRule.md +docs/RuleWithThresholdMobileAppAlertRule.md +docs/RuleWithThresholdWebsiteAlertRule.md +docs/RunConfiguration.md +docs/SLIReportApi.md +docs/SLISettingsApi.md +docs/SLOConfigWithRBACTag.md +docs/SLOCorrectionConfigurationsApi.md +docs/SLOCorrectionWindowsApi.md +docs/SSLCertificateConfiguration.md +docs/SSLCertificateConfigurationUpdate.md +docs/SSLCertificateValidation.md +docs/SalesforceIntegration.md +docs/SaturationBlueprintIndicator.md +docs/ScopeBinding.md +docs/SearchFieldResult.md +docs/Service.md +docs/ServiceConfig.md +docs/ServiceEventResult.md +docs/ServiceItem.md +docs/ServiceLevelIndicator.md +docs/ServiceLevelObjectiveAlertRule.md +docs/ServiceLevelsAlertConfig.md +docs/ServiceLevelsAlertConfigurationApi.md +docs/ServiceLevelsAlertRule.md +docs/ServiceLevelsBurnRateConfig.md +docs/ServiceLevelsBurnRateTimeWindows.md +docs/ServiceLevelsObjectiveSLOConfigurationsApi.md +docs/ServiceLevelsObjectiveSLOReportApi.md +docs/ServiceLevelsStaticThresholdConfig.md +docs/ServiceLevelsTimeThreshold.md +docs/ServiceLevelseAlertConfigWithMetadata.md +docs/ServiceMap.md +docs/ServiceMapConnection.md +docs/ServiceMatchingRule.md +docs/ServiceMetricResult.md +docs/ServiceNode.md +docs/ServiceNowEnhancedIntegration.md +docs/ServiceNowIntegration.md +docs/ServiceResult.md +docs/ServiceScope.md +docs/ServiceScopeWithMetadata.md +docs/ServiceScopedTo.md +docs/ServiceScopedToWithMetadata.md +docs/ServiceSimple.md +docs/SessionSettings.md +docs/SessionSettingsApi.md +docs/SimpleMetricConfiguration.md +docs/SingleValue.md +docs/SlackIntegration.md +docs/SliConfiguration.md +docs/SliConfigurationWithLastUpdated.md +docs/SliEntity.md +docs/SliReport.md +docs/SloEntity.md +docs/SloReport.md +docs/SlownessApplicationAlertRule.md +docs/SlownessMobileAppAlertRule.md +docs/SlownessWebsiteAlertRule.md +docs/SnapshotItem.md +docs/SnapshotPreview.md +docs/SnapshotResult.md +docs/SoftwareUser.md +docs/SoftwareVersion.md +docs/SourceMapFileBlob.md +docs/SourceMapFileMeta.md +docs/SourceMapUploadConfig.md +docs/SourceMapUploadConfigs.md +docs/SpanExcerpt.md +docs/SpanRelation.md +docs/SpecificJsErrorsWebsiteAlertRule.md +docs/SplunkIntegration.md +docs/StackTraceItem.md +docs/StackTraceLine.md +docs/StaticBaselineThresholdRule.md +docs/StaticStringField.md +docs/StaticThreshold.md +docs/StaticThresholdRule.md +docs/StatusCodeApplicationAlertRule.md +docs/StatusCodeMobileAppAlertRule.md +docs/StatusCodeWebsiteAlertRule.md +docs/Subtraction.md +docs/SyntheticAlertConfig.md +docs/SyntheticAlertConfigWithMetadata.md +docs/SyntheticAlertConfigurationApi.md +docs/SyntheticAlertRule.md +docs/SyntheticBulkResponse.md +docs/SyntheticCallConfig.md +docs/SyntheticCallRule.md +docs/SyntheticCallWithDefaultsConfig.md +docs/SyntheticCallsApi.md +docs/SyntheticCatalogApi.md +docs/SyntheticConfiguration.md +docs/SyntheticConfigurationUpdate.md +docs/SyntheticCredential.md +docs/SyntheticDatacenter.md +docs/SyntheticDatacenterConfiguration.md +docs/SyntheticGeoPoint.md +docs/SyntheticLocation.md +docs/SyntheticLocationConfiguration.md +docs/SyntheticMetricConfiguration.md +docs/SyntheticMetricTagGroup.md +docs/SyntheticMetricsApi.md +docs/SyntheticPlaybackCapabilities.md +docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md +docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md +docs/SyntheticResourceUpdateListStringListString.md +docs/SyntheticResourceUpdateMapStringStringListString.md +docs/SyntheticSettingsApi.md +docs/SyntheticSloEntity.md +docs/SyntheticTest.md +docs/SyntheticTestCICD.md +docs/SyntheticTestCICDCustomization.md +docs/SyntheticTestCICDItem.md +docs/SyntheticTestCICDResponse.md +docs/SyntheticTestDeepUpdate.md +docs/SyntheticTestPlaybackResultsApi.md +docs/SyntheticTestShallowUpdate.md +docs/SyntheticTestUpdate.md +docs/SyntheticTimeThreshold.md +docs/SyntheticTypeConfiguration.md +docs/SyntheticTypeConfigurationUpdate.md +docs/SyntheticsEventResult.md +docs/SystemRule.md +docs/SystemRuleLabel.md +docs/Tag.md +docs/TagCatalog.md +docs/TagFilter.md +docs/TagFilterExpression.md +docs/TagFilterExpressionElement.md +docs/TagMatcherDTO.md +docs/TagTreeLevel.md +docs/TagTreeNode.md +docs/TagTreeTag.md +docs/TeamsApi.md +docs/TestCommonProperties.md +docs/TestLastError.md +docs/TestResult.md +docs/TestResultCommonProperties.md +docs/TestResultDetailData.md +docs/TestResultItem.md +docs/TestResultListItem.md +docs/TestResultListResult.md +docs/TestResultMetadata.md +docs/TestResultSubtransaction.md +docs/Threshold.md +docs/ThresholdConfigRule.md +docs/ThresholdRule.md +docs/ThroughputApplicationAlertRule.md +docs/ThroughputMobileAppAlertRule.md +docs/ThroughputWebsiteAlertRule.md +docs/TimeFrame.md +docs/TimeWindow.md +docs/Topology.md +docs/Trace.md +docs/TraceActivityTreeNodeDetails.md +docs/TraceDownloadResult.md +docs/TraceGroupsItem.md +docs/TraceGroupsResult.md +docs/TraceImpactApplicationTimeThreshold.md +docs/TraceItem.md +docs/TraceResult.md +docs/TrafficBlueprintIndicator.md +docs/Trigger.md +docs/TypeConfiguration.md +docs/UnsupportedHttpPathSegmentMatchingRule.md +docs/UpdatedBusinessPerspectiveConfig.md +docs/UsageApi.md +docs/UsageResult.md +docs/UsageResultItems.md +docs/UserApi.md +docs/UserBasicResult.md +docs/UserImpactMobileAppTimeThreshold.md +docs/UserImpactWebsiteTimeThreshold.md +docs/UserResult.md +docs/UsersResult.md +docs/ValidatedAlertingChannelInputInfo.md +docs/ValidatedAlertingConfiguration.md +docs/ValidatedMaintenanceConfigV2WithStateAndOccurrence.md +docs/ValidatedMaintenanceConfigWithStatus.md +docs/VictorOpsIntegration.md +docs/ViolationsInPeriodApplicationTimeThreshold.md +docs/ViolationsInPeriodMobileAppTimeThreshold.md +docs/ViolationsInPeriodWebsiteTimeThreshold.md +docs/ViolationsInSequenceApplicationTimeThreshold.md +docs/ViolationsInSequenceInfraTimeThreshold.md +docs/ViolationsInSequenceLogTimeThreshold.md +docs/ViolationsInSequenceMobileAppTimeThreshold.md +docs/ViolationsInSequenceSyntheticTimeThreshold.md +docs/ViolationsInSequenceWebsiteTimeThreshold.md +docs/WatsonAIOpsWebhookIntegration.md +docs/WebexTeamsWebhookIntegration.md +docs/WebhookIntegration.md +docs/WebpageActionConfiguration.md +docs/WebpageActionConfigurationUpdate.md +docs/WebpageScriptConfiguration.md +docs/WebpageScriptConfigurationUpdate.md +docs/Website.md +docs/WebsiteAlertConfig.md +docs/WebsiteAlertConfigWithMetadata.md +docs/WebsiteAlertRule.md +docs/WebsiteAnalyzeApi.md +docs/WebsiteApdexEntity.md +docs/WebsiteBeaconGroupsItem.md +docs/WebsiteBeaconGroupsResult.md +docs/WebsiteBeaconResult.md +docs/WebsiteBeaconTagGroup.md +docs/WebsiteBeaconsItem.md +docs/WebsiteCatalogApi.md +docs/WebsiteConfigurationApi.md +docs/WebsiteEventBasedSliEntity.md +docs/WebsiteEventResult.md +docs/WebsiteMetricResult.md +docs/WebsiteMetricsApi.md +docs/WebsiteMonitoringBeacon.md +docs/WebsiteMonitoringMetricDescription.md +docs/WebsiteMonitoringMetricsConfiguration.md +docs/WebsiteSloEntity.md +docs/WebsiteTimeBasedSliEntity.md +docs/WebsiteTimeThreshold.md +docs/Widget.md +docs/WithMetadata.md +docs/WithResolvedName.md +docs/ZChatOpsIntegration.md +git_push.sh +instana_client/__init__.py +instana_client/api/__init__.py +instana_client/api/action_catalog_api.py +instana_client/api/action_history_api.py +instana_client/api/ai_management_api.py +instana_client/api/apdex_report_api.py +instana_client/api/apdex_settings_api.py +instana_client/api/api_token_api.py +instana_client/api/application_alert_configuration_api.py +instana_client/api/application_analyze_api.py +instana_client/api/application_catalog_api.py +instana_client/api/application_metrics_api.py +instana_client/api/application_resources_api.py +instana_client/api/application_settings_api.py +instana_client/api/application_topology_api.py +instana_client/api/audit_log_api.py +instana_client/api/authentication_api.py +instana_client/api/business_monitoring_api.py +instana_client/api/custom_dashboards_api.py +instana_client/api/custom_entities_api.py +instana_client/api/end_user_monitoring_api.py +instana_client/api/event_settings_api.py +instana_client/api/events_api.py +instana_client/api/global_application_alert_configuration_api.py +instana_client/api/groups_api.py +instana_client/api/health_api.py +instana_client/api/host_agent_api.py +instana_client/api/infrastructure_alert_configuration_api.py +instana_client/api/infrastructure_analyze_api.py +instana_client/api/infrastructure_catalog_api.py +instana_client/api/infrastructure_metrics_api.py +instana_client/api/infrastructure_resources_api.py +instana_client/api/infrastructure_topology_api.py +instana_client/api/log_alert_configuration_api.py +instana_client/api/logging_analyze_api.py +instana_client/api/maintenance_configuration_api.py +instana_client/api/mobile_app_analyze_api.py +instana_client/api/mobile_app_catalog_api.py +instana_client/api/mobile_app_configuration_api.py +instana_client/api/mobile_app_metrics_api.py +instana_client/api/policies_api.py +instana_client/api/releases_api.py +instana_client/api/roles_api.py +instana_client/api/service_levels_alert_configuration_api.py +instana_client/api/service_levels_objective_slo_configurations_api.py +instana_client/api/service_levels_objective_slo_report_api.py +instana_client/api/session_settings_api.py +instana_client/api/sli_report_api.py +instana_client/api/sli_settings_api.py +instana_client/api/slo_correction_configurations_api.py +instana_client/api/slo_correction_windows_api.py +instana_client/api/synthetic_alert_configuration_api.py +instana_client/api/synthetic_calls_api.py +instana_client/api/synthetic_catalog_api.py +instana_client/api/synthetic_metrics_api.py +instana_client/api/synthetic_settings_api.py +instana_client/api/synthetic_test_playback_results_api.py +instana_client/api/teams_api.py +instana_client/api/usage_api.py +instana_client/api/user_api.py +instana_client/api/website_analyze_api.py +instana_client/api/website_catalog_api.py +instana_client/api/website_configuration_api.py +instana_client/api/website_metrics_api.py +instana_client/api_client.py +instana_client/api_response.py +instana_client/configuration.py +instana_client/exceptions.py +instana_client/models/__init__.py +instana_client/models/abstract_integration.py +instana_client/models/abstract_rule.py +instana_client/models/access_log_entry.py +instana_client/models/access_log_response.py +instana_client/models/access_rule.py +instana_client/models/action.py +instana_client/models/action_configuration.py +instana_client/models/action_instance.py +instana_client/models/action_instance_metadata_entry.py +instana_client/models/action_instance_parameter.py +instana_client/models/action_instance_request.py +instana_client/models/action_instance_request_parameters.py +instana_client/models/action_match.py +instana_client/models/action_search_space.py +instana_client/models/adaptive_baseline.py +instana_client/models/adaptive_threshold_rule.py +instana_client/models/addition.py +instana_client/models/adjusted_timeframe.py +instana_client/models/agent_configuration_update.py +instana_client/models/alerting_configuration.py +instana_client/models/alerting_configuration_with_last_updated.py +instana_client/models/alerting_time_window.py +instana_client/models/apdex_configuration.py +instana_client/models/apdex_configuration_input.py +instana_client/models/apdex_entity.py +instana_client/models/apdex_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_member.py +instana_client/models/api_permission_set.py +instana_client/models/api_restricted_application_filter.py +instana_client/models/api_role.py +instana_client/models/api_tag.py +instana_client/models/api_team.py +instana_client/models/api_team_info.py +instana_client/models/api_team_member.py +instana_client/models/api_team_role.py +instana_client/models/api_team_scope.py +instana_client/models/api_token.py +instana_client/models/app_data_metric_configuration.py +instana_client/models/application.py +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_config.py +instana_client/models/application_event_result.py +instana_client/models/application_item.py +instana_client/models/application_metric_result.py +instana_client/models/application_node.py +instana_client/models/application_result.py +instana_client/models/application_scope.py +instana_client/models/application_scope_with_metadata.py +instana_client/models/application_sli_entity.py +instana_client/models/application_slo_entity.py +instana_client/models/application_time_threshold.py +instana_client/models/arithmetic_configuration.py +instana_client/models/arithmetic_operand.py +instana_client/models/arithmetic_operation.py +instana_client/models/audit_log_entry.py +instana_client/models/audit_log_ui_response.py +instana_client/models/author.py +instana_client/models/availability_blueprint_indicator.py +instana_client/models/availability_sli_entity.py +instana_client/models/available_metrics.py +instana_client/models/available_plugins.py +instana_client/models/backend_trace_reference.py +instana_client/models/bidirectional_ms_teams_app_integration.py +instana_client/models/bidirectional_slack_app_integration.py +instana_client/models/binary_operator_dto.py +instana_client/models/browser_script_configuration.py +instana_client/models/browser_script_configuration_update.py +instana_client/models/built_in_event_specification.py +instana_client/models/built_in_event_specification_with_last_updated.py +instana_client/models/business_activity.py +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/change_summary.py +instana_client/models/cloudfoundry_physical_context.py +instana_client/models/condition.py +instana_client/models/config_version.py +instana_client/models/correction.py +instana_client/models/correction_configuration.py +instana_client/models/correction_scheduling.py +instana_client/models/correction_window.py +instana_client/models/crash_mobile_app_alert_rule.py +instana_client/models/create_website_request_inner.py +instana_client/models/cursor_paginated_business_activity_item.py +instana_client/models/cursor_pagination.py +instana_client/models/cursor_pagination_infra_explore_cursor.py +instana_client/models/custom_blueprint_indicator.py +instana_client/models/custom_dashboard.py +instana_client/models/custom_dashboard_preview.py +instana_client/models/custom_dashboard_with_user_specific_information.py +instana_client/models/custom_dependency.py +instana_client/models/custom_email_subject_prefix.py +instana_client/models/custom_entity_model.py +instana_client/models/custom_entity_with_metadata.py +instana_client/models/custom_event_mobile_app_alert_rule.py +instana_client/models/custom_event_specification.py +instana_client/models/custom_event_specification_with_last_updated.py +instana_client/models/custom_event_website_alert_rule.py +instana_client/models/custom_metric.py +instana_client/models/custom_payload_configuration.py +instana_client/models/custom_payload_field.py +instana_client/models/custom_payload_with_last_updated.py +instana_client/models/custom_payload_with_version.py +instana_client/models/dashboard_api_token.py +instana_client/models/database_integration.py +instana_client/models/deprecated_tag_filter.py +instana_client/models/division.py +instana_client/models/dns_configuration.py +instana_client/models/dns_configuration_update.py +instana_client/models/dns_filter_query_time.py +instana_client/models/dns_filter_target_value.py +instana_client/models/duration.py +instana_client/models/dynamic_field.py +instana_client/models/dynamic_field_value.py +instana_client/models/dynamic_parameter.py +instana_client/models/edit_user.py +instana_client/models/email_integration.py +instana_client/models/empty_configuration.py +instana_client/models/endpoint.py +instana_client/models/endpoint_config.py +instana_client/models/endpoint_event_result.py +instana_client/models/endpoint_item.py +instana_client/models/endpoint_metric_result.py +instana_client/models/endpoint_node.py +instana_client/models/endpoint_result.py +instana_client/models/endpoint_simple.py +instana_client/models/entity_count_rule.py +instana_client/models/entity_count_verification_rule.py +instana_client/models/entity_health_info.py +instana_client/models/entity_id.py +instana_client/models/entity_verification_rule.py +instana_client/models/error_budget_alert_rule.py +instana_client/models/errors_application_alert_rule.py +instana_client/models/event.py +instana_client/models/event_filtering_configuration.py +instana_client/models/event_result.py +instana_client/models/event_specification_info.py +instana_client/models/extended_service.py +instana_client/models/failure_synthetic_alert_rule.py +instana_client/models/fixed_http_path_segment_matching_rule.py +instana_client/models/fixed_time_window.py +instana_client/models/generic_infra_alert_rule.py +instana_client/models/geo_location_configuration.py +instana_client/models/geo_mapping_rule.py +instana_client/models/geo_subdivision.py +instana_client/models/get_activities.py +instana_client/models/get_application_metrics.py +instana_client/models/get_applications.py +instana_client/models/get_available_metrics_query.py +instana_client/models/get_available_plugins_query.py +instana_client/models/get_call_groups.py +instana_client/models/get_combined_metrics.py +instana_client/models/get_dynamic_parameter_values.py +instana_client/models/get_endpoints.py +instana_client/models/get_infrastructure_groups_query.py +instana_client/models/get_infrastructure_query.py +instana_client/models/get_metrics_result.py +instana_client/models/get_mobile_app_beacon_groups.py +instana_client/models/get_mobile_app_beacons.py +instana_client/models/get_mobile_app_metrics.py +instana_client/models/get_mobile_app_metrics_v2.py +instana_client/models/get_payload_keys_result.py +instana_client/models/get_services.py +instana_client/models/get_snapshots_query.py +instana_client/models/get_test_result.py +instana_client/models/get_test_result_analytic.py +instana_client/models/get_test_result_base.py +instana_client/models/get_test_result_list.py +instana_client/models/get_test_summary_result.py +instana_client/models/get_trace_download_result_item.py +instana_client/models/get_trace_groups.py +instana_client/models/get_traces.py +instana_client/models/get_website_beacon_groups.py +instana_client/models/get_website_beacons.py +instana_client/models/get_website_metrics.py +instana_client/models/get_website_metrics_v2.py +instana_client/models/global_application_alert_config_with_metadata.py +instana_client/models/global_applications_alert_config.py +instana_client/models/google_chat_integration.py +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 +instana_client/models/http_action_configuration.py +instana_client/models/http_action_configuration_update.py +instana_client/models/http_endpoint_config.py +instana_client/models/http_endpoint_rule.py +instana_client/models/http_path_segment_matching_rule.py +instana_client/models/http_script_configuration.py +instana_client/models/http_script_configuration_update.py +instana_client/models/hyper_param.py +instana_client/models/identity_provider_patch.py +instana_client/models/impacted_beacon_info.py +instana_client/models/infra_alert_config.py +instana_client/models/infra_alert_config_with_metadata.py +instana_client/models/infra_alert_rule.py +instana_client/models/infra_event_result.py +instana_client/models/infra_metric_configuration.py +instana_client/models/infra_slo_entity.py +instana_client/models/infra_time_threshold.py +instana_client/models/infrastructure_entities_result.py +instana_client/models/infrastructure_group.py +instana_client/models/infrastructure_groups_result.py +instana_client/models/infrastructure_item.py +instana_client/models/infrastructure_metric_result.py +instana_client/models/instana_version_info.py +instana_client/models/integration_overview.py +instana_client/models/invitation.py +instana_client/models/invitation_response.py +instana_client/models/invitation_result.py +instana_client/models/ip_masking_configuration.py +instana_client/models/js_stack_trace_line.py +instana_client/models/kubernetes_physical_context.py +instana_client/models/latency_blueprint_indicator.py +instana_client/models/llm_egress_gateway.py +instana_client/models/location_status.py +instana_client/models/log_alert_config.py +instana_client/models/log_alert_config_with_metadata.py +instana_client/models/log_alert_rule.py +instana_client/models/log_count_alert_rule.py +instana_client/models/log_entry_actor.py +instana_client/models/log_event_result.py +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/logs_application_alert_rule.py +instana_client/models/maintenance_config.py +instana_client/models/maintenance_config_scheduling.py +instana_client/models/maintenance_config_v2.py +instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +instana_client/models/maintenance_config_with_last_updated.py +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/match_all_http_path_segment_matching_rule.py +instana_client/models/match_expression_dto.py +instana_client/models/meta_data.py +instana_client/models/metric_api_result.py +instana_client/models/metric_config.py +instana_client/models/metric_configuration.py +instana_client/models/metric_description.py +instana_client/models/metric_instance.py +instana_client/models/metric_item.py +instana_client/models/metric_metadata.py +instana_client/models/metric_pattern.py +instana_client/models/metric_query.py +instana_client/models/metrics_result.py +instana_client/models/metrics_result_item.py +instana_client/models/metrics_test_result_item.py +instana_client/models/mobile_app.py +instana_client/models/mobile_app_alert_config.py +instana_client/models/mobile_app_alert_rule.py +instana_client/models/mobile_app_beacon_groups_item.py +instana_client/models/mobile_app_beacon_groups_result.py +instana_client/models/mobile_app_beacon_result.py +instana_client/models/mobile_app_beacon_tag_group.py +instana_client/models/mobile_app_beacons_item.py +instana_client/models/mobile_app_event_result.py +instana_client/models/mobile_app_metric_result.py +instana_client/models/mobile_app_monitoring_beacon.py +instana_client/models/mobile_app_monitoring_metric_description.py +instana_client/models/mobile_app_monitoring_metrics_configuration.py +instana_client/models/mobile_app_time_threshold.py +instana_client/models/model_field.py +instana_client/models/monitored_entities_stats.py +instana_client/models/monitoring_state.py +instana_client/models/multiple_scripts_configuration.py +instana_client/models/multiplication.py +instana_client/models/nested_operation.py +instana_client/models/new_application_config.py +instana_client/models/new_business_perspective_config.py +instana_client/models/new_manual_service_config.py +instana_client/models/o_auth_config.py +instana_client/models/o_auth_integration.py +instana_client/models/o_auth_token.py +instana_client/models/occurrence.py +instana_client/models/office365_integration.py +instana_client/models/one_time_maintenance_window.py +instana_client/models/opsgenie_integration.py +instana_client/models/order.py +instana_client/models/pagerduty_integration.py +instana_client/models/paginated_result.py +instana_client/models/pagination.py +instana_client/models/parameter.py +instana_client/models/parameter_value.py +instana_client/models/path_parameter_http_path_segment_matching_rule.py +instana_client/models/physical_context.py +instana_client/models/plugin_result.py +instana_client/models/policy.py +instana_client/models/policy_runnable.py +instana_client/models/policy_scheduling.py +instana_client/models/post_mobile_app_source_map_config_request.py +instana_client/models/post_snapshots_result.py +instana_client/models/problem.py +instana_client/models/prometheus_webhook_integration.py +instana_client/models/recurrent_maintenance_window.py +instana_client/models/release.py +instana_client/models/release_scope.py +instana_client/models/release_with_metadata.py +instana_client/models/retention_period.py +instana_client/models/rolling_time_window.py +instana_client/models/rule_input.py +instana_client/models/rule_with_threshold_application_alert_rule.py +instana_client/models/rule_with_threshold_infra_alert_rule.py +instana_client/models/rule_with_threshold_log_alert_rule.py +instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +instana_client/models/rule_with_threshold_website_alert_rule.py +instana_client/models/run_configuration.py +instana_client/models/salesforce_integration.py +instana_client/models/saturation_blueprint_indicator.py +instana_client/models/scope_binding.py +instana_client/models/search_field_result.py +instana_client/models/service.py +instana_client/models/service_config.py +instana_client/models/service_event_result.py +instana_client/models/service_item.py +instana_client/models/service_level_indicator.py +instana_client/models/service_level_objective_alert_rule.py +instana_client/models/service_levels_alert_config.py +instana_client/models/service_levels_alert_rule.py +instana_client/models/service_levels_burn_rate_config.py +instana_client/models/service_levels_burn_rate_time_windows.py +instana_client/models/service_levels_static_threshold_config.py +instana_client/models/service_levels_time_threshold.py +instana_client/models/service_levelse_alert_config_with_metadata.py +instana_client/models/service_map.py +instana_client/models/service_map_connection.py +instana_client/models/service_matching_rule.py +instana_client/models/service_metric_result.py +instana_client/models/service_node.py +instana_client/models/service_now_enhanced_integration.py +instana_client/models/service_now_integration.py +instana_client/models/service_result.py +instana_client/models/service_scope.py +instana_client/models/service_scope_with_metadata.py +instana_client/models/service_scoped_to.py +instana_client/models/service_scoped_to_with_metadata.py +instana_client/models/service_simple.py +instana_client/models/session_settings.py +instana_client/models/simple_metric_configuration.py +instana_client/models/single_value.py +instana_client/models/slack_integration.py +instana_client/models/sli_configuration.py +instana_client/models/sli_configuration_with_last_updated.py +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_report.py +instana_client/models/slowness_application_alert_rule.py +instana_client/models/slowness_mobile_app_alert_rule.py +instana_client/models/slowness_website_alert_rule.py +instana_client/models/snapshot_item.py +instana_client/models/snapshot_preview.py +instana_client/models/snapshot_result.py +instana_client/models/software_user.py +instana_client/models/software_version.py +instana_client/models/source_map_file_blob.py +instana_client/models/source_map_file_meta.py +instana_client/models/source_map_upload_config.py +instana_client/models/source_map_upload_configs.py +instana_client/models/span_excerpt.py +instana_client/models/span_relation.py +instana_client/models/specific_js_errors_website_alert_rule.py +instana_client/models/splunk_integration.py +instana_client/models/ssl_certificate_configuration.py +instana_client/models/ssl_certificate_configuration_update.py +instana_client/models/ssl_certificate_validation.py +instana_client/models/stack_trace_item.py +instana_client/models/stack_trace_line.py +instana_client/models/static_baseline_threshold_rule.py +instana_client/models/static_string_field.py +instana_client/models/static_threshold.py +instana_client/models/static_threshold_rule.py +instana_client/models/status_code_application_alert_rule.py +instana_client/models/status_code_mobile_app_alert_rule.py +instana_client/models/status_code_website_alert_rule.py +instana_client/models/subtraction.py +instana_client/models/synthetic_alert_config.py +instana_client/models/synthetic_alert_config_with_metadata.py +instana_client/models/synthetic_alert_rule.py +instana_client/models/synthetic_bulk_response.py +instana_client/models/synthetic_call_config.py +instana_client/models/synthetic_call_rule.py +instana_client/models/synthetic_call_with_defaults_config.py +instana_client/models/synthetic_configuration.py +instana_client/models/synthetic_configuration_update.py +instana_client/models/synthetic_credential.py +instana_client/models/synthetic_datacenter.py +instana_client/models/synthetic_datacenter_configuration.py +instana_client/models/synthetic_geo_point.py +instana_client/models/synthetic_location.py +instana_client/models/synthetic_location_configuration.py +instana_client/models/synthetic_metric_configuration.py +instana_client/models/synthetic_metric_tag_group.py +instana_client/models/synthetic_playback_capabilities.py +instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +instana_client/models/synthetic_resource_update_list_string_list_string.py +instana_client/models/synthetic_resource_update_map_string_string_list_string.py +instana_client/models/synthetic_slo_entity.py +instana_client/models/synthetic_test.py +instana_client/models/synthetic_test_cicd.py +instana_client/models/synthetic_test_cicd_customization.py +instana_client/models/synthetic_test_cicd_item.py +instana_client/models/synthetic_test_cicd_response.py +instana_client/models/synthetic_test_deep_update.py +instana_client/models/synthetic_test_shallow_update.py +instana_client/models/synthetic_test_update.py +instana_client/models/synthetic_time_threshold.py +instana_client/models/synthetic_type_configuration.py +instana_client/models/synthetic_type_configuration_update.py +instana_client/models/synthetics_event_result.py +instana_client/models/system_rule.py +instana_client/models/system_rule_label.py +instana_client/models/tag.py +instana_client/models/tag_catalog.py +instana_client/models/tag_filter.py +instana_client/models/tag_filter_expression.py +instana_client/models/tag_filter_expression_element.py +instana_client/models/tag_matcher_dto.py +instana_client/models/tag_tree_level.py +instana_client/models/tag_tree_node.py +instana_client/models/tag_tree_tag.py +instana_client/models/test_common_properties.py +instana_client/models/test_last_error.py +instana_client/models/test_result.py +instana_client/models/test_result_common_properties.py +instana_client/models/test_result_detail_data.py +instana_client/models/test_result_item.py +instana_client/models/test_result_list_item.py +instana_client/models/test_result_list_result.py +instana_client/models/test_result_metadata.py +instana_client/models/test_result_subtransaction.py +instana_client/models/threshold.py +instana_client/models/threshold_config_rule.py +instana_client/models/threshold_rule.py +instana_client/models/throughput_application_alert_rule.py +instana_client/models/throughput_mobile_app_alert_rule.py +instana_client/models/throughput_website_alert_rule.py +instana_client/models/time_frame.py +instana_client/models/time_window.py +instana_client/models/topology.py +instana_client/models/trace.py +instana_client/models/trace_activity_tree_node_details.py +instana_client/models/trace_download_result.py +instana_client/models/trace_groups_item.py +instana_client/models/trace_groups_result.py +instana_client/models/trace_impact_application_time_threshold.py +instana_client/models/trace_item.py +instana_client/models/trace_result.py +instana_client/models/traffic_blueprint_indicator.py +instana_client/models/trigger.py +instana_client/models/type_configuration.py +instana_client/models/unsupported_http_path_segment_matching_rule.py +instana_client/models/updated_business_perspective_config.py +instana_client/models/usage_result.py +instana_client/models/usage_result_items.py +instana_client/models/user_basic_result.py +instana_client/models/user_impact_mobile_app_time_threshold.py +instana_client/models/user_impact_website_time_threshold.py +instana_client/models/user_result.py +instana_client/models/users_result.py +instana_client/models/validated_alerting_channel_input_info.py +instana_client/models/validated_alerting_configuration.py +instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +instana_client/models/validated_maintenance_config_with_status.py +instana_client/models/victor_ops_integration.py +instana_client/models/violations_in_period_application_time_threshold.py +instana_client/models/violations_in_period_mobile_app_time_threshold.py +instana_client/models/violations_in_period_website_time_threshold.py +instana_client/models/violations_in_sequence_application_time_threshold.py +instana_client/models/violations_in_sequence_infra_time_threshold.py +instana_client/models/violations_in_sequence_log_time_threshold.py +instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +instana_client/models/violations_in_sequence_synthetic_time_threshold.py +instana_client/models/violations_in_sequence_website_time_threshold.py +instana_client/models/watson_ai_ops_webhook_integration.py +instana_client/models/webex_teams_webhook_integration.py +instana_client/models/webhook_integration.py +instana_client/models/webpage_action_configuration.py +instana_client/models/webpage_action_configuration_update.py +instana_client/models/webpage_script_configuration.py +instana_client/models/webpage_script_configuration_update.py +instana_client/models/website.py +instana_client/models/website_alert_config.py +instana_client/models/website_alert_config_with_metadata.py +instana_client/models/website_alert_rule.py +instana_client/models/website_apdex_entity.py +instana_client/models/website_beacon_groups_item.py +instana_client/models/website_beacon_groups_result.py +instana_client/models/website_beacon_result.py +instana_client/models/website_beacon_tag_group.py +instana_client/models/website_beacons_item.py +instana_client/models/website_event_based_sli_entity.py +instana_client/models/website_event_result.py +instana_client/models/website_metric_result.py +instana_client/models/website_monitoring_beacon.py +instana_client/models/website_monitoring_metric_description.py +instana_client/models/website_monitoring_metrics_configuration.py +instana_client/models/website_slo_entity.py +instana_client/models/website_time_based_sli_entity.py +instana_client/models/website_time_threshold.py +instana_client/models/widget.py +instana_client/models/with_metadata.py +instana_client/models/with_resolved_name.py +instana_client/models/z_chat_ops_integration.py +instana_client/py.typed +instana_client/rest.py +pyproject.toml +requirements.txt +setup.cfg +setup.py +test-requirements.txt +test/__init__.py +test/test_browser_script_configuration_update.py +test/test_dns_configuration_update.py +test/test_http_action_configuration_update.py +test/test_http_script_configuration_update.py +test/test_ssl_certificate_configuration_update.py +test/test_synthetic_bulk_response.py +test/test_synthetic_configuration_update.py +test/test_synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +test/test_synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +test/test_synthetic_resource_update_list_string_list_string.py +test/test_synthetic_resource_update_map_string_string_list_string.py +test/test_synthetic_test_deep_update.py +test/test_synthetic_test_shallow_update.py +test/test_synthetic_test_update.py +test/test_synthetic_type_configuration_update.py +test/test_webpage_action_configuration_update.py +test/test_webpage_script_configuration_update.py +tox.ini diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION new file mode 100644 index 0000000..eb1dc6a --- /dev/null +++ b/.openapi-generator/VERSION @@ -0,0 +1 @@ +7.13.0 diff --git a/README.md b/README.md index 73fc00d..b35bdfb 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.304.1059 -- Package version: 1.0.1 +- API version: 1.309.1268 +- Package version: 1.0.2 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -78,10 +78,10 @@ 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.AIManagementApi(api_client) - llm_egress_gateway = {"name":"Example LLM egress Handler","description":"This is a sample custom handler used for testing.","aiModel":"watsonx-gpt-4","supports":{"capabilities":["anomaly-detection","remediation"]},"metadata":{"source":"user","version":"1.0.1"},"endpointUrl":"https://example.com/handler","endpointApiKey":"secret-api-key","watsonxKey":"watsonx-123","watsonxProject":"project-xyz","watsonxUrl":"https://watsonx.example.com","instanaAgents":{"agents":["agent-1","agent-2"]}} # LLMEgressGateway | + llm_egress_gateway = {"name":"Example LLM egress Handler","description":"This is a sample custom handler used for testing.","aiModel":"watsonx-gpt-4","supports":{"capabilities":["anomaly-detection","remediation"]},"metadata":{"source":"user","version":"1.0.0"},"endpointUrl":"https://example.com/handler","endpointApiKey":"secret-api-key","watsonxKey":"watsonx-123","watsonxProject":"project-xyz","watsonxUrl":"https://watsonx.example.com","instanaAgents":{"agents":["agent-1","agent-2"]}} # LLMEgressGateway | try: - # Create a new LLM egress gateway + # Create a new LLM gateway api_response = api_instance.add_llm_egress_gateway(llm_egress_gateway) print("The response of AIManagementApi->add_llm_egress_gateway:\n") pprint(api_response) @@ -96,12 +96,13 @@ All URIs are relative to *https://unit-tenant.instana.io* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AIManagementApi* | [**add_llm_egress_gateway**](docs/AIManagementApi.md#add_llm_egress_gateway) | **POST** /api/llm/egress/handler | Create a new LLM egress gateway +*AIManagementApi* | [**add_llm_egress_gateway**](docs/AIManagementApi.md#add_llm_egress_gateway) | **POST** /api/llm/egress/handler | Create a new LLM gateway *AIManagementApi* | [**delete_llm_egress_gateway**](docs/AIManagementApi.md#delete_llm_egress_gateway) | **DELETE** /api/llm/egress/handler/{id} | Delete a LLM egress gateway +*AIManagementApi* | [**enable_llm_egress_gateway**](docs/AIManagementApi.md#enable_llm_egress_gateway) | **PUT** /api/llm/egress/handler/{id}/enable | Set the enabled status of a LLM gateway *AIManagementApi* | [**get_llm_capabilities**](docs/AIManagementApi.md#get_llm_capabilities) | **GET** /api/llm/capabilities | Get all LLM capabilities -*AIManagementApi* | [**get_llm_egress_gateway_by_id**](docs/AIManagementApi.md#get_llm_egress_gateway_by_id) | **GET** /api/llm/egress/handler/{id} | Get a LLM egress gateway by ID -*AIManagementApi* | [**get_llm_egress_gateways**](docs/AIManagementApi.md#get_llm_egress_gateways) | **GET** /api/llm/egress/handler | Get all LLM egress gateways -*AIManagementApi* | [**update_llm_egress_gateway**](docs/AIManagementApi.md#update_llm_egress_gateway) | **PUT** /api/llm/egress/handler/{id} | Update an existing LLM egress gateway. +*AIManagementApi* | [**get_llm_egress_gateway_by_id**](docs/AIManagementApi.md#get_llm_egress_gateway_by_id) | **GET** /api/llm/egress/handler/{id} | Get a LLM gateway by ID +*AIManagementApi* | [**get_llm_egress_gateways**](docs/AIManagementApi.md#get_llm_egress_gateways) | **GET** /api/llm/egress/handler | Get all LLM gateways +*AIManagementApi* | [**update_llm_egress_gateway**](docs/AIManagementApi.md#update_llm_egress_gateway) | **PUT** /api/llm/egress/handler/{id} | Update an existing LLM gateway. *APITokenApi* | [**delete_api_token**](docs/APITokenApi.md#delete_api_token) | **DELETE** /api/settings/api-tokens/{internalId} | Delete API token *APITokenApi* | [**get_api_token**](docs/APITokenApi.md#get_api_token) | **GET** /api/settings/api-tokens/{internalId} | Get API token *APITokenApi* | [**get_api_tokens**](docs/APITokenApi.md#get_api_tokens) | **GET** /api/settings/api-tokens | Get all API Tokens @@ -128,7 +129,7 @@ Class | Method | HTTP request | Description *ApplicationAlertConfigurationApi* | [**delete_application_alert_config**](docs/ApplicationAlertConfigurationApi.md#delete_application_alert_config) | **DELETE** /api/events/settings/application-alert-configs/{id} | Delete Smart Alert Config *ApplicationAlertConfigurationApi* | [**disable_application_alert_config**](docs/ApplicationAlertConfigurationApi.md#disable_application_alert_config) | **PUT** /api/events/settings/application-alert-configs/{id}/disable | Disable Smart Alert Config *ApplicationAlertConfigurationApi* | [**enable_application_alert_config**](docs/ApplicationAlertConfigurationApi.md#enable_application_alert_config) | **PUT** /api/events/settings/application-alert-configs/{id}/enable | Enable Application Alert Config -*ApplicationAlertConfigurationApi* | [**find_active_application_alert_configs**](docs/ApplicationAlertConfigurationApi.md#find_active_application_alert_configs) | **GET** /api/events/settings/application-alert-configs | Get all Smart Alert Configs +*ApplicationAlertConfigurationApi* | [**find_all_active_application_alert_configs**](docs/ApplicationAlertConfigurationApi.md#find_all_active_application_alert_configs) | **GET** /api/events/settings/application-alert-configs | Get all Smart Alert Configs *ApplicationAlertConfigurationApi* | [**find_application_alert_config**](docs/ApplicationAlertConfigurationApi.md#find_application_alert_config) | **GET** /api/events/settings/application-alert-configs/{id} | Get Smart Alert Config *ApplicationAlertConfigurationApi* | [**find_application_alert_config_versions**](docs/ApplicationAlertConfigurationApi.md#find_application_alert_config_versions) | **GET** /api/events/settings/application-alert-configs/{id}/versions | Get Smart Alert Config Versions *ApplicationAlertConfigurationApi* | [**restore_application_alert_config**](docs/ApplicationAlertConfigurationApi.md#restore_application_alert_config) | **PUT** /api/events/settings/application-alert-configs/{id}/restore/{created} | Restore Smart Alert Config @@ -148,7 +149,7 @@ Class | Method | HTTP request | Description *ApplicationMetricsApi* | [**get_endpoints_metrics**](docs/ApplicationMetricsApi.md#get_endpoints_metrics) | **POST** /api/application-monitoring/metrics/endpoints | Get Endpoint metrics *ApplicationMetricsApi* | [**get_services_metrics**](docs/ApplicationMetricsApi.md#get_services_metrics) | **POST** /api/application-monitoring/metrics/services | Get Service metrics *ApplicationResourcesApi* | [**get_application_endpoints**](docs/ApplicationResourcesApi.md#get_application_endpoints) | **GET** /api/application-monitoring/applications/services/endpoints | Get endpoints -*ApplicationResourcesApi* | [**get_application_services**](docs/ApplicationResourcesApi.md#get_application_services) | **GET** /api/application-monitoring/applications/services | Get applications/services +*ApplicationResourcesApi* | [**get_application_services**](docs/ApplicationResourcesApi.md#get_application_services) | **GET** /api/application-monitoring/applications;id=<appId>/services | Get applications/services *ApplicationResourcesApi* | [**get_applications**](docs/ApplicationResourcesApi.md#get_applications) | **GET** /api/application-monitoring/applications | Get applications *ApplicationResourcesApi* | [**get_services**](docs/ApplicationResourcesApi.md#get_services) | **GET** /api/application-monitoring/services | Get services *ApplicationSettingsApi* | [**add_application_config**](docs/ApplicationSettingsApi.md#add_application_config) | **POST** /api/application-monitoring/settings/application | Add application configuration @@ -204,7 +205,6 @@ Class | Method | HTTP request | Description *CustomEntitiesApi* | [**delete_custom_entity**](docs/CustomEntitiesApi.md#delete_custom_entity) | **DELETE** /api/custom-entitytypes/{id} | Delete a Custom Entity Type *CustomEntitiesApi* | [**get_custom_entity**](docs/CustomEntitiesApi.md#get_custom_entity) | **GET** /api/custom-entitytypes/{id} | Get custom Entity Types *CustomEntitiesApi* | [**list_custom_entities**](docs/CustomEntitiesApi.md#list_custom_entities) | **GET** /api/custom-entitytypes | List custom Entity Type Definition -*CustomEntitiesApi* | [**list_entities_from_infra_entities**](docs/CustomEntitiesApi.md#list_entities_from_infra_entities) | **POST** /api/custom-entitytypes/entities | List all entity types that match the custom entity metadata *CustomEntitiesApi* | [**update_custom_entity**](docs/CustomEntitiesApi.md#update_custom_entity) | **PUT** /api/custom-entitytypes/{id} | Update a Custom Entity Type *EndUserMonitoringApi* | [**get_impacted_users_report**](docs/EndUserMonitoringApi.md#get_impacted_users_report) | **GET** /api/eum/impact/report/{eventId} | Get impacted users report *EventSettingsApi* | [**create_mobile_app_alert_config**](docs/EventSettingsApi.md#create_mobile_app_alert_config) | **POST** /api/events/settings/mobile-app-alert-configs | Create Mobile Smart Alert Config @@ -282,7 +282,6 @@ Class | Method | HTTP request | Description *GroupsApi* | [**create_group_mapping**](docs/GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group 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_group_mappings**](docs/GroupsApi.md#delete_group_mappings) | **PUT** /api/settings/rbac/mappings/delete | Delete multiple group mappings *GroupsApi* | [**delete_groups**](docs/GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups *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 @@ -369,6 +368,7 @@ Class | Method | HTTP request | Description *MobileAppConfigurationApi* | [**get_mobile_app_ip_masking_configuration**](docs/MobileAppConfigurationApi.md#get_mobile_app_ip_masking_configuration) | **GET** /api/mobile-app-monitoring/config/{mobileAppId}/ip-masking | Get IP masking configuration for mobile app *MobileAppConfigurationApi* | [**get_mobile_app_source_map_file**](docs/MobileAppConfigurationApi.md#get_mobile_app_source_map_file) | **GET** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId} | Get sourcemap configuration for mobile app *MobileAppConfigurationApi* | [**get_mobile_app_source_map_files**](docs/MobileAppConfigurationApi.md#get_mobile_app_source_map_files) | **GET** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload | Get all sourcemap configurations for mobile app +*MobileAppConfigurationApi* | [**get_single_mobile_app_config**](docs/MobileAppConfigurationApi.md#get_single_mobile_app_config) | **GET** /api/mobile-app-monitoring/config/{mobileAppId} | Get mobile app configuration by ID *MobileAppConfigurationApi* | [**post_mobile_app_config**](docs/MobileAppConfigurationApi.md#post_mobile_app_config) | **POST** /api/mobile-app-monitoring/config | Configure new mobile app *MobileAppConfigurationApi* | [**post_mobile_app_source_map_config**](docs/MobileAppConfigurationApi.md#post_mobile_app_source_map_config) | **POST** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload | Add new sourcemap configuration for mobile app *MobileAppConfigurationApi* | [**rename_mobile_app_config**](docs/MobileAppConfigurationApi.md#rename_mobile_app_config) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId} | Rename mobile app @@ -447,6 +447,8 @@ Class | Method | HTTP request | Description *SyntheticCatalogApi* | [**get_synthetic_catalog_metrics**](docs/SyntheticCatalogApi.md#get_synthetic_catalog_metrics) | **GET** /api/synthetics/catalog/metrics | Get Metric catalog *SyntheticCatalogApi* | [**get_synthetic_tag_catalog**](docs/SyntheticCatalogApi.md#get_synthetic_tag_catalog) | **GET** /api/synthetics/catalog | Get synthetic tag catalog *SyntheticMetricsApi* | [**get_metrics_result**](docs/SyntheticMetricsApi.md#get_metrics_result) | **POST** /api/synthetics/metrics | Get Synthetic Metrics +*SyntheticSettingsApi* | [**bulk_delete_synthetic_tests**](docs/SyntheticSettingsApi.md#bulk_delete_synthetic_tests) | **POST** /api/synthetics/settings/tests/bulk-delete | Delete Synthetic tests +*SyntheticSettingsApi* | [**bulk_update_synthetic_tests**](docs/SyntheticSettingsApi.md#bulk_update_synthetic_tests) | **POST** /api/synthetics/settings/tests/bulk-update | Update Synthetic tests *SyntheticSettingsApi* | [**create_synthetic_credential**](docs/SyntheticSettingsApi.md#create_synthetic_credential) | **POST** /api/synthetics/settings/credentials | Create a Synthetic credential *SyntheticSettingsApi* | [**create_synthetic_test**](docs/SyntheticSettingsApi.md#create_synthetic_test) | **POST** /api/synthetics/settings/tests | Create a Synthetic test *SyntheticSettingsApi* | [**create_synthetic_test_cicd**](docs/SyntheticSettingsApi.md#create_synthetic_test_cicd) | **POST** /api/synthetics/settings/tests/ci-cd | Create a Synthetic test CI/CD @@ -492,7 +494,6 @@ Class | Method | HTTP request | Description *UserApi* | [**get_users_including_invitations**](docs/UserApi.md#get_users_including_invitations) | **GET** /api/settings/users/overview | All users (incl. invitations) *UserApi* | [**invite_users**](docs/UserApi.md#invite_users) | **POST** /api/settings/invitations | Send user invitations *UserApi* | [**remove_user_from_tenant**](docs/UserApi.md#remove_user_from_tenant) | **DELETE** /api/settings/users/{userId} | Remove user from tenant -*UserApi* | [**remove_users_from_tenant**](docs/UserApi.md#remove_users_from_tenant) | **PUT** /api/settings/users/delete | Remove users from tenant *UserApi* | [**revoke_pending_invitation**](docs/UserApi.md#revoke_pending_invitation) | **DELETE** /api/settings/invitations | Revoke pending invitation *UserApi* | [**share_and_invite_users**](docs/UserApi.md#share_and_invite_users) | **POST** /api/settings/invitation/share | Send user invitations *UserApi* | [**update_user**](docs/UserApi.md#update_user) | **PUT** /api/settings/users/{email} | Change user name of single user @@ -598,6 +599,7 @@ Class | Method | HTTP request | Description - [BidirectionalSlackAppIntegration](docs/BidirectionalSlackAppIntegration.md) - [BinaryOperatorDTO](docs/BinaryOperatorDTO.md) - [BrowserScriptConfiguration](docs/BrowserScriptConfiguration.md) + - [BrowserScriptConfigurationUpdate](docs/BrowserScriptConfigurationUpdate.md) - [BuiltInEventSpecification](docs/BuiltInEventSpecification.md) - [BuiltInEventSpecificationWithLastUpdated](docs/BuiltInEventSpecificationWithLastUpdated.md) - [BusinessActivity](docs/BusinessActivity.md) @@ -614,6 +616,7 @@ Class | Method | HTTP request | Description - [CorrectionScheduling](docs/CorrectionScheduling.md) - [CorrectionWindow](docs/CorrectionWindow.md) - [CrashMobileAppAlertRule](docs/CrashMobileAppAlertRule.md) + - [CreateWebsiteRequestInner](docs/CreateWebsiteRequestInner.md) - [CursorPaginatedBusinessActivityItem](docs/CursorPaginatedBusinessActivityItem.md) - [CursorPagination](docs/CursorPagination.md) - [CursorPaginationInfraExploreCursor](docs/CursorPaginationInfraExploreCursor.md) @@ -629,11 +632,13 @@ Class | Method | HTTP request | Description - [CustomEventSpecification](docs/CustomEventSpecification.md) - [CustomEventSpecificationWithLastUpdated](docs/CustomEventSpecificationWithLastUpdated.md) - [CustomEventWebsiteAlertRule](docs/CustomEventWebsiteAlertRule.md) + - [CustomMetric](docs/CustomMetric.md) - [CustomPayloadConfiguration](docs/CustomPayloadConfiguration.md) - [CustomPayloadField](docs/CustomPayloadField.md) - [CustomPayloadWithLastUpdated](docs/CustomPayloadWithLastUpdated.md) - [CustomPayloadWithVersion](docs/CustomPayloadWithVersion.md) - [DNSConfiguration](docs/DNSConfiguration.md) + - [DNSConfigurationUpdate](docs/DNSConfigurationUpdate.md) - [DNSFilterQueryTime](docs/DNSFilterQueryTime.md) - [DNSFilterTargetValue](docs/DNSFilterTargetValue.md) - [DashboardApiToken](docs/DashboardApiToken.md) @@ -718,10 +723,12 @@ Class | Method | HTTP request | Description - [HistoricBaseline](docs/HistoricBaseline.md) - [HostAvailabilityRule](docs/HostAvailabilityRule.md) - [HttpActionConfiguration](docs/HttpActionConfiguration.md) + - [HttpActionConfigurationUpdate](docs/HttpActionConfigurationUpdate.md) - [HttpEndpointConfig](docs/HttpEndpointConfig.md) - [HttpEndpointRule](docs/HttpEndpointRule.md) - [HttpPathSegmentMatchingRule](docs/HttpPathSegmentMatchingRule.md) - [HttpScriptConfiguration](docs/HttpScriptConfiguration.md) + - [HttpScriptConfigurationUpdate](docs/HttpScriptConfigurationUpdate.md) - [HyperParam](docs/HyperParam.md) - [IdentityProviderPatch](docs/IdentityProviderPatch.md) - [ImpactedBeaconInfo](docs/ImpactedBeaconInfo.md) @@ -798,6 +805,7 @@ Class | Method | HTTP request | Description - [MobileAppMonitoringMetricsConfiguration](docs/MobileAppMonitoringMetricsConfiguration.md) - [MobileAppTimeThreshold](docs/MobileAppTimeThreshold.md) - [ModelField](docs/ModelField.md) + - [MonitoredEntitiesStats](docs/MonitoredEntitiesStats.md) - [MonitoringState](docs/MonitoringState.md) - [MultipleScriptsConfiguration](docs/MultipleScriptsConfiguration.md) - [Multiplication](docs/Multiplication.md) @@ -824,6 +832,7 @@ Class | Method | HTTP request | Description - [Policy](docs/Policy.md) - [PolicyRunnable](docs/PolicyRunnable.md) - [PolicyScheduling](docs/PolicyScheduling.md) + - [PostMobileAppSourceMapConfigRequest](docs/PostMobileAppSourceMapConfigRequest.md) - [PostSnapshotsResult](docs/PostSnapshotsResult.md) - [Problem](docs/Problem.md) - [PrometheusWebhookIntegration](docs/PrometheusWebhookIntegration.md) @@ -840,7 +849,9 @@ Class | Method | HTTP request | Description - [RuleWithThresholdMobileAppAlertRule](docs/RuleWithThresholdMobileAppAlertRule.md) - [RuleWithThresholdWebsiteAlertRule](docs/RuleWithThresholdWebsiteAlertRule.md) - [RunConfiguration](docs/RunConfiguration.md) + - [SLOConfigWithRBACTag](docs/SLOConfigWithRBACTag.md) - [SSLCertificateConfiguration](docs/SSLCertificateConfiguration.md) + - [SSLCertificateConfigurationUpdate](docs/SSLCertificateConfigurationUpdate.md) - [SSLCertificateValidation](docs/SSLCertificateValidation.md) - [SalesforceIntegration](docs/SalesforceIntegration.md) - [SaturationBlueprintIndicator](docs/SaturationBlueprintIndicator.md) @@ -852,7 +863,6 @@ Class | Method | HTTP request | Description - [ServiceItem](docs/ServiceItem.md) - [ServiceLevelIndicator](docs/ServiceLevelIndicator.md) - [ServiceLevelObjectiveAlertRule](docs/ServiceLevelObjectiveAlertRule.md) - - [ServiceLevelObjectiveConfiguration](docs/ServiceLevelObjectiveConfiguration.md) - [ServiceLevelsAlertConfig](docs/ServiceLevelsAlertConfig.md) - [ServiceLevelsAlertRule](docs/ServiceLevelsAlertRule.md) - [ServiceLevelsBurnRateConfig](docs/ServiceLevelsBurnRateConfig.md) @@ -912,10 +922,12 @@ Class | Method | HTTP request | Description - [SyntheticAlertConfig](docs/SyntheticAlertConfig.md) - [SyntheticAlertConfigWithMetadata](docs/SyntheticAlertConfigWithMetadata.md) - [SyntheticAlertRule](docs/SyntheticAlertRule.md) + - [SyntheticBulkResponse](docs/SyntheticBulkResponse.md) - [SyntheticCallConfig](docs/SyntheticCallConfig.md) - [SyntheticCallRule](docs/SyntheticCallRule.md) - [SyntheticCallWithDefaultsConfig](docs/SyntheticCallWithDefaultsConfig.md) - [SyntheticConfiguration](docs/SyntheticConfiguration.md) + - [SyntheticConfigurationUpdate](docs/SyntheticConfigurationUpdate.md) - [SyntheticCredential](docs/SyntheticCredential.md) - [SyntheticDatacenter](docs/SyntheticDatacenter.md) - [SyntheticDatacenterConfiguration](docs/SyntheticDatacenterConfiguration.md) @@ -925,14 +937,22 @@ Class | Method | HTTP request | Description - [SyntheticMetricConfiguration](docs/SyntheticMetricConfiguration.md) - [SyntheticMetricTagGroup](docs/SyntheticMetricTagGroup.md) - [SyntheticPlaybackCapabilities](docs/SyntheticPlaybackCapabilities.md) + - [SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue](docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md) + - [SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation](docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md) + - [SyntheticResourceUpdateListStringListString](docs/SyntheticResourceUpdateListStringListString.md) + - [SyntheticResourceUpdateMapStringStringListString](docs/SyntheticResourceUpdateMapStringStringListString.md) - [SyntheticSloEntity](docs/SyntheticSloEntity.md) - [SyntheticTest](docs/SyntheticTest.md) - [SyntheticTestCICD](docs/SyntheticTestCICD.md) - [SyntheticTestCICDCustomization](docs/SyntheticTestCICDCustomization.md) - [SyntheticTestCICDItem](docs/SyntheticTestCICDItem.md) - [SyntheticTestCICDResponse](docs/SyntheticTestCICDResponse.md) + - [SyntheticTestDeepUpdate](docs/SyntheticTestDeepUpdate.md) + - [SyntheticTestShallowUpdate](docs/SyntheticTestShallowUpdate.md) + - [SyntheticTestUpdate](docs/SyntheticTestUpdate.md) - [SyntheticTimeThreshold](docs/SyntheticTimeThreshold.md) - [SyntheticTypeConfiguration](docs/SyntheticTypeConfiguration.md) + - [SyntheticTypeConfigurationUpdate](docs/SyntheticTypeConfigurationUpdate.md) - [SyntheticsEventResult](docs/SyntheticsEventResult.md) - [SystemRule](docs/SystemRule.md) - [SystemRuleLabel](docs/SystemRuleLabel.md) @@ -1002,7 +1022,9 @@ Class | Method | HTTP request | Description - [WebexTeamsWebhookIntegration](docs/WebexTeamsWebhookIntegration.md) - [WebhookIntegration](docs/WebhookIntegration.md) - [WebpageActionConfiguration](docs/WebpageActionConfiguration.md) + - [WebpageActionConfigurationUpdate](docs/WebpageActionConfigurationUpdate.md) - [WebpageScriptConfiguration](docs/WebpageScriptConfiguration.md) + - [WebpageScriptConfigurationUpdate](docs/WebpageScriptConfigurationUpdate.md) - [Website](docs/Website.md) - [WebsiteAlertConfig](docs/WebsiteAlertConfig.md) - [WebsiteAlertConfigWithMetadata](docs/WebsiteAlertConfigWithMetadata.md) diff --git a/docs/APITokenApi.md b/docs/APITokenApi.md index 7d57868..ba73dce 100644 --- a/docs/APITokenApi.md +++ b/docs/APITokenApi.md @@ -78,13 +78,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | [[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) @@ -165,6 +165,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**404** | No ApiToken found with internalId | - | [[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/ApiToken.md b/docs/ApiToken.md index f17f783..d9d65c9 100644 --- a/docs/ApiToken.md +++ b/docs/ApiToken.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **can_configure_automation_actions** | **bool** | | [optional] **can_configure_automation_policies** | **bool** | | [optional] **can_configure_bizops** | **bool** | | [optional] +**can_configure_custom_entities** | **bool** | | [optional] **can_configure_database_management** | **bool** | | [optional] **can_configure_eum_applications** | **bool** | | [optional] **can_configure_events_and_alerts** | **bool** | | [optional] @@ -45,6 +46,7 @@ Name | Type | Description | Notes **can_configure_synthetic_tests** | **bool** | | [optional] **can_configure_teams** | **bool** | | [optional] **can_configure_users** | **bool** | | [optional] +**can_configure_website_conversions** | **bool** | | [optional] **can_configure_website_smart_alerts** | **bool** | | [optional] **can_create_heap_dump** | **bool** | | [optional] **can_create_public_custom_dashboards** | **bool** | | [optional] @@ -91,6 +93,7 @@ Name | Type | Description | Notes **limited_pcf_scope** | **bool** | | [optional] **limited_phmc_scope** | **bool** | | [optional] **limited_pvc_scope** | **bool** | | [optional] +**limited_sap_scope** | **bool** | | [optional] **limited_service_level_scope** | **bool** | | [optional] **limited_synthetics_scope** | **bool** | | [optional] **limited_vsphere_scope** | **bool** | | [optional] diff --git a/docs/ApplicationMetricsApi.md b/docs/ApplicationMetricsApi.md index 6a83fbc..419c9c6 100644 --- a/docs/ApplicationMetricsApi.md +++ b/docs/ApplicationMetricsApi.md @@ -139,7 +139,7 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.ApplicationMetricsApi(api_client) fill_time_series = True # bool | If enabled, fill the missing data points in the metric result with timestamp and value 0. (optional) - get_applications = {"metrics":[{"aggregation":"MEAN","metric":"latency"}],"order":{"by":"latency","direction":"DESC"},"pagination":{"page":1,"pageSize":1},"timeFrame":{"to":1646037122400,"windowSize":3600000}} # GetApplications | (optional) + get_applications = {"metrics":[{"aggregation":"MEAN","metric":"latency"}],"order":{"by":"latency.mean","direction":"DESC"},"pagination":{"page":1,"pageSize":1},"timeFrame":{"to":1646037122400,"windowSize":3600000}} # GetApplications | (optional) try: # Get Application Metrics diff --git a/docs/ArithmeticConfiguration.md b/docs/ArithmeticConfiguration.md index 4aee9cc..0b57f72 100644 --- a/docs/ArithmeticConfiguration.md +++ b/docs/ArithmeticConfiguration.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **cross_series_aggregation** | **str** | | [optional] **granularity** | **int** | * If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) | [optional] **metric** | **str** | | +**missing_value** | **float** | | [optional] **regex** | **bool** | | [optional] **required** | **bool** | When true, metric must be present with values | [optional] **operation** | [**ArithmeticOperation**](ArithmeticOperation.md) | | [optional] diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md index 7202ed0..f50effd 100644 --- a/docs/AuthenticationApi.md +++ b/docs/AuthenticationApi.md @@ -72,13 +72,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | [[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) @@ -144,13 +144,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | [[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) @@ -216,13 +216,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | [[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) @@ -288,13 +288,13 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | [[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/BidirectionalSlackAppIntegration.md b/docs/BidirectionalSlackAppIntegration.md index 3c7c8fb..a5a7b68 100644 --- a/docs/BidirectionalSlackAppIntegration.md +++ b/docs/BidirectionalSlackAppIntegration.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **channel_id** | **str** | | [optional] **channel_name** | **str** | | [optional] **emoji_rendering** | **bool** | | [optional] +**status** | **str** | | [optional] **team_id** | **str** | | [optional] **team_name** | **str** | | [optional] diff --git a/docs/BrowserScriptConfigurationUpdate.md b/docs/BrowserScriptConfigurationUpdate.md new file mode 100644 index 0000000..ab4fa98 --- /dev/null +++ b/docs/BrowserScriptConfigurationUpdate.md @@ -0,0 +1,34 @@ +# BrowserScriptConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**browser** | **str** | | [optional] +**file_name** | **str** | | [optional] +**record_video** | **bool** | | [optional] +**script** | **str** | | [optional] +**script_type** | **str** | | [optional] +**scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] + +## Example + +```python +from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of BrowserScriptConfigurationUpdate from a JSON string +browser_script_configuration_update_instance = BrowserScriptConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(BrowserScriptConfigurationUpdate.to_json()) + +# convert the object into a dict +browser_script_configuration_update_dict = browser_script_configuration_update_instance.to_dict() +# create an instance of BrowserScriptConfigurationUpdate from a dict +browser_script_configuration_update_from_dict = BrowserScriptConfigurationUpdate.from_dict(browser_script_configuration_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/BusinessMonitoringApi.md b/docs/BusinessMonitoringApi.md index f51dc03..402b09c 100644 --- a/docs/BusinessMonitoringApi.md +++ b/docs/BusinessMonitoringApi.md @@ -51,7 +51,7 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.BusinessMonitoringApi(api_client) - new_business_perspective_config = {"label":"biz-perspective","name":"biz-perspective","description":"This is an example business perspective","rbacTags":[{"id":"0xHKaxfaS161Al6Qc23g4w","displayName":"team 1"}],"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"OR","elements":[{"type":"TAG_FILTER","name":"service.name","stringValue":"my-service-1","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-1","operator":"EQUALS","entity":"DESTINATION"},{"type":"TAG_FILTER","name":"service.name","stringValue":"my-service-2","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-2","operator":"EQUALS","entity":"DESTINATION"}]}]}]}} # NewBusinessPerspectiveConfig | + new_business_perspective_config = {"label":"biz-perspective","name":"biz-perspective","description":"This is an example business perspective","rbacTags":[{"id":"0xHKaxfaS161Al6Qc23g4w","displayName":"team 1"}],"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"OR","elements":[{"type":"TAG_FILTER","name":"service.id","stringValue":"my-service-1","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-1","operator":"EQUALS","entity":"DESTINATION"},{"type":"TAG_FILTER","name":"service.id","stringValue":"my-service-2","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-2","operator":"EQUALS","entity":"DESTINATION"}]}]}]}} # NewBusinessPerspectiveConfig | try: # Create business perspective @@ -589,7 +589,7 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.BusinessMonitoringApi(api_client) id = 'id_example' # str | - updated_business_perspective_config = {"label":"biz-perspective","name":"biz-perspective","rbacTags":[{"id":"0xHKaxfaS161Al6Qc23g4w","displayName":"team 1"}],"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"OR","elements":[{"type":"TAG_FILTER","name":"service.name","stringValue":"my-service-1","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-1","operator":"EQUALS","entity":"DESTINATION"},{"type":"TAG_FILTER","name":"service.name","stringValue":"my-service-2","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-2","operator":"EQUALS","entity":"DESTINATION"}]}]}]}} # UpdatedBusinessPerspectiveConfig | + updated_business_perspective_config = {"label":"biz-perspective","name":"biz-perspective","rbacTags":[{"id":"0xHKaxfaS161Al6Qc23g4w","displayName":"team 1"}],"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"AND","elements":[{"type":"EXPRESSION","logicalOperator":"OR","elements":[{"type":"TAG_FILTER","name":"service.id","stringValue":"my-service-1","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-1","operator":"EQUALS","entity":"DESTINATION"},{"type":"TAG_FILTER","name":"service.id","stringValue":"my-service-2","numberValue":null,"booleanValue":null,"key":null,"value":"my-service-2","operator":"EQUALS","entity":"DESTINATION"}]}]}]}} # UpdatedBusinessPerspectiveConfig | try: # Update business perspective diff --git a/docs/CorrectionConfiguration.md b/docs/CorrectionConfiguration.md index 17af094..d9dcf1e 100644 --- a/docs/CorrectionConfiguration.md +++ b/docs/CorrectionConfiguration.md @@ -12,8 +12,8 @@ Name | Type | Description | Notes **last_updated** | **datetime** | Last updated date of SLO Correction Window Configuration | [optional] **name** | **str** | Name of the SLO Correction Window Configuration | **scheduling** | [**CorrectionScheduling**](CorrectionScheduling.md) | | -**slo_ids** | **List[str]** | This is the list of SLO configurations related to this Correction Window. | -**tags** | **List[str]** | List of tags associated with SLO Correction Window Configuration | +**slo_ids** | **List[str]** | This is the list of SLO configurations related to this Correction Window. | [optional] +**tags** | **List[str]** | List of tags associated with SLO Correction Window Configuration | [optional] ## Example diff --git a/docs/CorrectionScheduling.md b/docs/CorrectionScheduling.md index 82bacd9..59960d1 100644 --- a/docs/CorrectionScheduling.md +++ b/docs/CorrectionScheduling.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **duration_unit** | **str** | Unit for duration. Supported values: `MINUTE`, `HOUR`, `DAY`. | **recurrent** | **bool** | | [optional] **recurrent_rule** | **str** | Recurrence Rule defines how the event recurs, using iCalendar RRULE format (e.g., `FREQ=DAILY;INTERVAL=1`).It supports fields like FREQ, INTERVAL, BYDAY, etc. Refer to RFC 5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 | [optional] -**start_time** | **datetime** | Start time of the correction window in milliseconds since epoch (UTC) (e.g., `1706713140000`). | +**start_time** | **datetime** | Start time of the correction window in milliseconds since epoch (UTC) (e.g., `1706713140000`). | [optional] ## Example diff --git a/docs/CustomDependency.md b/docs/CustomDependency.md index 5b4e4b1..22824db 100644 --- a/docs/CustomDependency.md +++ b/docs/CustomDependency.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **entity_type** | **str** | If entityType is set, the dependency will be added to the plugin for that entity type. Otherwise, the dependency will be applied to the custom entity itself. | [optional] **identifiers** | **List[str]** | Will take the identifiers values for building the key of the dependency. | [optional] **name** | **str** | | [optional] +**separator** | **str** | Separator between identifiers for building the key of the dependency. | [optional] **type** | **str** | | [optional] ## Example diff --git a/docs/CustomEntitiesApi.md b/docs/CustomEntitiesApi.md index b193bef..9f28fd9 100644 --- a/docs/CustomEntitiesApi.md +++ b/docs/CustomEntitiesApi.md @@ -8,7 +8,6 @@ Method | HTTP request | Description [**delete_custom_entity**](CustomEntitiesApi.md#delete_custom_entity) | **DELETE** /api/custom-entitytypes/{id} | Delete a Custom Entity Type [**get_custom_entity**](CustomEntitiesApi.md#get_custom_entity) | **GET** /api/custom-entitytypes/{id} | Get custom Entity Types [**list_custom_entities**](CustomEntitiesApi.md#list_custom_entities) | **GET** /api/custom-entitytypes | List custom Entity Type Definition -[**list_entities_from_infra_entities**](CustomEntitiesApi.md#list_entities_from_infra_entities) | **POST** /api/custom-entitytypes/entities | List all entity types that match the custom entity metadata [**update_custom_entity**](CustomEntitiesApi.md#update_custom_entity) | **PUT** /api/custom-entitytypes/{id} | Update a Custom Entity Type @@ -328,86 +327,6 @@ 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) -# **list_entities_from_infra_entities** -> CustomEntityWithMetadata list_entities_from_infra_entities(get_infrastructure_query) - -List all entity types that match the custom entity metadata - -List all entity types that match the custom entity metadata - -### Example - -* Api Key Authentication (ApiKeyAuth): - -```python -import instana_client -from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata -from instana_client.models.get_infrastructure_query import GetInfrastructureQuery -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.CustomEntitiesApi(api_client) - get_infrastructure_query = instana_client.GetInfrastructureQuery() # GetInfrastructureQuery | - - try: - # List all entity types that match the custom entity metadata - api_response = api_instance.list_entities_from_infra_entities(get_infrastructure_query) - print("The response of CustomEntitiesApi->list_entities_from_infra_entities:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling CustomEntitiesApi->list_entities_from_infra_entities: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **get_infrastructure_query** | [**GetInfrastructureQuery**](GetInfrastructureQuery.md)| | - -### Return type - -[**CustomEntityWithMetadata**](CustomEntityWithMetadata.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **update_custom_entity** > CustomEntityWithMetadata update_custom_entity(id, custom_entity_model) diff --git a/docs/DNSConfigurationUpdate.md b/docs/DNSConfigurationUpdate.md new file mode 100644 index 0000000..199959c --- /dev/null +++ b/docs/DNSConfigurationUpdate.md @@ -0,0 +1,39 @@ +# DNSConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accept_cname** | **bool** | | [optional] +**lookup** | **str** | | [optional] +**lookup_server_name** | **bool** | | [optional] +**port** | **int** | | [optional] +**query_time** | [**DNSFilterQueryTime**](DNSFilterQueryTime.md) | | [optional] +**query_type** | **str** | | [optional] +**recursive_lookups** | **bool** | | [optional] +**server** | **str** | | [optional] +**server_retries** | **int** | | [optional] +**target_values** | [**SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue**](SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md) | | [optional] +**transport** | **str** | | [optional] + +## Example + +```python +from instana_client.models.dns_configuration_update import DNSConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of DNSConfigurationUpdate from a JSON string +dns_configuration_update_instance = DNSConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(DNSConfigurationUpdate.to_json()) + +# convert the object into a dict +dns_configuration_update_dict = dns_configuration_update_instance.to_dict() +# create an instance of DNSConfigurationUpdate from a dict +dns_configuration_update_from_dict = DNSConfigurationUpdate.from_dict(dns_configuration_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/Event.md b/docs/Event.md index e969f36..95308d8 100644 --- a/docs/Event.md +++ b/docs/Event.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**affected_entities** | **List[str]** | | [optional] **end** | **int** | | [optional] **endpoint_service_id** | **str** | | [optional] **entity_id** | **str** | | @@ -17,6 +18,7 @@ Name | Type | Description | Notes **plugin** | **str** | | **problem** | [**Problem**](Problem.md) | | [optional] **rca** | **Dict[str, object]** | | [optional] +**short_code** | **str** | | [optional] **start** | **int** | | [optional] **state** | **str** | | **type** | **str** | | diff --git a/docs/EventResult.md b/docs/EventResult.md index 12da8df..d878d02 100644 --- a/docs/EventResult.md +++ b/docs/EventResult.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **problem** | **str** | Main problem title of the Event. | [optional] **recent_events** | **List[Dict[str, object]]** | List of related recent events. Only present in case of \"Incident\" type events. | [optional] **severity** | **int** | The severity of the Event when triggered. | [optional] +**short_code** | **str** | A short code for the event | [optional] **snapshot_id** | **str** | The snapshot ID of the affected entity of this event. | [optional] **start** | **int** | A Unix timestamp representing the start time of the Event. | [optional] **state** | **str** | The state of the Event, \"open\" or \"close\". | [optional] diff --git a/docs/EventSettingsApi.md b/docs/EventSettingsApi.md index 821d7ab..857b640 100644 --- a/docs/EventSettingsApi.md +++ b/docs/EventSettingsApi.md @@ -377,7 +377,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Deleted the alert channel setting | - | +**204** | Successful - no content to return. | - | [[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) @@ -445,13 +445,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -519,13 +521,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -597,7 +601,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | Successful - no content to return. | - | **401** | Unauthorized access - requires user authentication. | - | **403** | Insufficient permissions. | - | @@ -835,6 +839,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Built-in event specification not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -914,6 +921,10 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | The event configuration was already migrated | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Custom Event does not exist | - | [[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) @@ -1153,6 +1164,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Built-in event specification not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1232,6 +1246,10 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | The event configuration was already migrated | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Custom Event does not exist | - | [[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) @@ -2438,6 +2456,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Built-in event specification not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -2598,6 +2619,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**404** | Custom Event does not exist | - | [[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) @@ -2673,6 +2697,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -2906,6 +2932,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -2985,6 +3013,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -3060,6 +3090,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -3388,6 +3420,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | Invalid request: unsupported entity type or incorrect query. | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | [[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) @@ -3638,6 +3673,10 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**400** | Invalid request: unsupported entity type, incorrect query, or event is deleted or migrated. | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**500** | Custom event cannot be updated. | - | [[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/GroupsApi.md b/docs/GroupsApi.md index 42a0c0e..ab5b532 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -10,7 +10,6 @@ Method | HTTP request | Description [**create_group_mapping**](GroupsApi.md#create_group_mapping) | **POST** /api/settings/rbac/mappings | Create group 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_group_mappings**](GroupsApi.md#delete_group_mappings) | **PUT** /api/settings/rbac/mappings/delete | Delete multiple group mappings [**delete_groups**](GroupsApi.md#delete_groups) | **PUT** /api/settings/rbac/groups/delete | Delete groups [**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 @@ -423,7 +422,8 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | No Content - Group successfully deleted | - | +**412** | Pre-Condition Failed - Returned when attempting to delete protected system groups. | - | [[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) @@ -504,84 +504,6 @@ 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_mappings** -> delete_group_mappings(body) - -Delete multiple group 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.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) - body = ["firstid","secondid"] # str | - - try: - # Delete multiple group mappings - api_instance.delete_group_mappings(body) - except Exception as e: - print("Exception when calling GroupsApi->delete_group_mappings: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **str**| | - -### 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** | OK | - | -**422** | invalid request | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **delete_groups** > delete_groups(request_body) @@ -1367,6 +1289,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**404** | Not Found - Group with the specified ID does not exist | - | +**412** | Pre-Condition Failed - Returned when attempting to modify protected groups in a forbidden way. | - | [[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/HttpActionConfigurationUpdate.md b/docs/HttpActionConfigurationUpdate.md new file mode 100644 index 0000000..bd54fb6 --- /dev/null +++ b/docs/HttpActionConfigurationUpdate.md @@ -0,0 +1,40 @@ +# HttpActionConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allow_insecure** | **bool** | | [optional] +**body** | **str** | | [optional] +**expect_exists** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] +**expect_json** | **object** | | [optional] +**expect_match** | **str** | | [optional] +**expect_not_empty** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] +**expect_status** | **int** | | [optional] +**follow_redirect** | **bool** | | [optional] +**headers** | [**SyntheticResourceUpdateMapStringStringListString**](SyntheticResourceUpdateMapStringStringListString.md) | | [optional] +**operation** | **str** | | [optional] +**url** | **str** | | [optional] +**validation_string** | **str** | | [optional] + +## Example + +```python +from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of HttpActionConfigurationUpdate from a JSON string +http_action_configuration_update_instance = HttpActionConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(HttpActionConfigurationUpdate.to_json()) + +# convert the object into a dict +http_action_configuration_update_dict = http_action_configuration_update_instance.to_dict() +# create an instance of HttpActionConfigurationUpdate from a dict +http_action_configuration_update_from_dict = HttpActionConfigurationUpdate.from_dict(http_action_configuration_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/HttpScriptConfigurationUpdate.md b/docs/HttpScriptConfigurationUpdate.md new file mode 100644 index 0000000..a466cd4 --- /dev/null +++ b/docs/HttpScriptConfigurationUpdate.md @@ -0,0 +1,32 @@ +# HttpScriptConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**file_name** | **str** | | [optional] +**script** | **str** | | [optional] +**script_type** | **str** | | [optional] +**scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] + +## Example + +```python +from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of HttpScriptConfigurationUpdate from a JSON string +http_script_configuration_update_instance = HttpScriptConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(HttpScriptConfigurationUpdate.to_json()) + +# convert the object into a dict +http_script_configuration_update_dict = http_script_configuration_update_instance.to_dict() +# create an instance of HttpScriptConfigurationUpdate from a dict +http_script_configuration_update_from_dict = HttpScriptConfigurationUpdate.from_dict(http_script_configuration_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/InfraMetricConfiguration.md b/docs/InfraMetricConfiguration.md index 2ceb86c..39f5743 100644 --- a/docs/InfraMetricConfiguration.md +++ b/docs/InfraMetricConfiguration.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **cross_series_aggregation** | **str** | | [optional] **granularity** | **int** | * If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) | [optional] **metric** | **str** | | +**missing_value** | **float** | | [optional] **regex** | **bool** | | [optional] **required** | **bool** | When true, metric must be present with values | [optional] diff --git a/docs/InfrastructureAlertConfigurationApi.md b/docs/InfrastructureAlertConfigurationApi.md index 94923ea..5058729 100644 --- a/docs/InfrastructureAlertConfigurationApi.md +++ b/docs/InfrastructureAlertConfigurationApi.md @@ -90,6 +90,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**403** | Insufficient permissions. | - | [[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) @@ -157,13 +158,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**403** | Insufficient permissions. | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -233,13 +236,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**403** | Insufficient permissions. | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -309,13 +314,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**403** | Insufficient permissions. | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -476,6 +483,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -555,6 +563,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -626,13 +635,15 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**0** | default response | - | +**204** | Successful - no content to return. | - | +**403** | Insufficient permissions. | - | +**404** | Resource not found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -712,8 +723,9 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Infra Smart Alert successfully updated | - | +**200** | OK | - | **204** | Infra Smart Alert did not change | - | +**403** | Insufficient permissions. | - | [[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/Invitation.md b/docs/Invitation.md index f3f44aa..4c7b9dd 100644 --- a/docs/Invitation.md +++ b/docs/Invitation.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **group_id** | **str** | | **message** | **str** | | [optional] **path** | **str** | | [optional] +**team_id** | **str** | | [optional] ## Example diff --git a/docs/LogAlertConfigurationApi.md b/docs/LogAlertConfigurationApi.md index d1b7b69..03216c3 100644 --- a/docs/LogAlertConfigurationApi.md +++ b/docs/LogAlertConfigurationApi.md @@ -90,6 +90,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**403** | Insufficient permissions. | - | [[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) @@ -724,6 +725,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Log Smart Alert successfully updated | - | **204** | Log Smart Alert did not change | - | +**403** | Insufficient permissions. | - | [[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/OAuthConfig.md b/docs/OAuthConfig.md index 7faf1c9..0170ac5 100644 --- a/docs/OAuthConfig.md +++ b/docs/OAuthConfig.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **additional_parameters** | **Dict[str, str]** | | [optional] **client_id** | **str** | | **client_secret** | **str** | | -**grant_type** | **str** | | +**grant_type** | **str** | | [optional] **password** | **str** | | [optional] **token_url** | **str** | | **username** | **str** | | [optional] diff --git a/docs/OAuthToken.md b/docs/OAuthToken.md index c38825f..2051f81 100644 --- a/docs/OAuthToken.md +++ b/docs/OAuthToken.md @@ -8,14 +8,9 @@ Name | Type | Description | Notes **access_token** | **str** | | [optional] **created_at** | **datetime** | | [optional] **expires_at** | **datetime** | | [optional] -**failed_refresh_attempts** | **int** | | [optional] -**last_refresh_attempt** | **datetime** | | [optional] -**milliseconds_until_refresh_needed** | **int** | | [optional] **refresh_token** | **str** | | [optional] -**scope** | **str** | | [optional] **status** | **str** | | [optional] **token_type** | **str** | | [optional] -**updated_at** | **datetime** | | [optional] **valid** | **bool** | | [optional] ## Example diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 468112d..ceea714 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -88,6 +88,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | +**422** | Unprocessable entity. | - | [[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) @@ -157,7 +158,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details @@ -165,6 +166,7 @@ void (empty response body) |-------------|-------------|------------------| **204** | Role successfully deleted | - | **404** | Role not found | - | +**412** | Pre-Condition Failed - Returned when attempting to delete protected system roles. | - | [[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) @@ -405,6 +407,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **404** | Role not found | - | +**412** | Pre-Condition Failed - Returned when attempting to modify protected roles in a forbidden way. | - | [[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/SLOCorrectionConfigurationsApi.md b/docs/SLOCorrectionConfigurationsApi.md index 5fe0fe3..2aec237 100644 --- a/docs/SLOCorrectionConfigurationsApi.md +++ b/docs/SLOCorrectionConfigurationsApi.md @@ -85,6 +85,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | New SLO Correction Window Configuration Created Successfully | - | +**400** | Bad Request | - | +**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) @@ -411,7 +413,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Updated SLO Correction Window Configuration Successfully | - | -**404** | SLO Correction Window Configuration Not Found | - | +**400** | Bad Request | - | +**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/SSLCertificateConfigurationUpdate.md b/docs/SSLCertificateConfigurationUpdate.md new file mode 100644 index 0000000..462773e --- /dev/null +++ b/docs/SSLCertificateConfigurationUpdate.md @@ -0,0 +1,33 @@ +# SSLCertificateConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accept_self_signed_certificate** | **bool** | | [optional] +**days_remaining_check** | **int** | | [optional] +**hostname** | **str** | | [optional] +**port** | **int** | | [optional] +**validation_rules** | [**SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation**](SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md) | | [optional] + +## Example + +```python +from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SSLCertificateConfigurationUpdate from a JSON string +ssl_certificate_configuration_update_instance = SSLCertificateConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(SSLCertificateConfigurationUpdate.to_json()) + +# convert the object into a dict +ssl_certificate_configuration_update_dict = ssl_certificate_configuration_update_instance.to_dict() +# create an instance of SSLCertificateConfigurationUpdate from a dict +ssl_certificate_configuration_update_from_dict = SSLCertificateConfigurationUpdate.from_dict(ssl_certificate_configuration_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/ServiceLevelsObjectiveSLOConfigurationsApi.md b/docs/ServiceLevelsObjectiveSLOConfigurationsApi.md index 18474ef..757cabf 100644 --- a/docs/ServiceLevelsObjectiveSLOConfigurationsApi.md +++ b/docs/ServiceLevelsObjectiveSLOConfigurationsApi.md @@ -245,7 +245,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, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh) +> 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) Get All SLO Configs @@ -287,16 +287,19 @@ with instana_client.ApiClient(configuration) as api_client: query = 'test SLO' # str | (optional) tag = ['Testing'] # List[str] | (optional) entity_type = ['application'] # List[str] | (optional) + infra_entity_types = ['KubernetesCluster'] # List[str] | (optional) + kubernetes_cluster_uuid = '823b8c2e-5bc3-11ee-a0f4-42010a8000ff' # str | (optional) blueprint = ['latency'] # List[str] | (optional) slo_ids = ['SLOdCTspkHlS_OzNOATQWgsuw'] # List[str] | (optional) slo_status = 'green' # str | (optional) entity_ids = ['adsewby312sdfd1'] # List[str] | (optional) grouped = false # bool | (optional) refresh = false # bool | (optional) + rbac_tags = ['Testing'] # List[str] | (optional) 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, blueprint=blueprint, slo_ids=slo_ids, slo_status=slo_status, entity_ids=entity_ids, grouped=grouped, refresh=refresh) + 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) print("The response of ServiceLevelsObjectiveSLOConfigurationsApi->get_all_slo_configs:\n") pprint(api_response) except Exception as e: @@ -317,12 +320,15 @@ Name | Type | Description | Notes **query** | **str**| | [optional] **tag** | [**List[str]**](str.md)| | [optional] **entity_type** | [**List[str]**](str.md)| | [optional] + **infra_entity_types** | [**List[str]**](str.md)| | [optional] + **kubernetes_cluster_uuid** | **str**| | [optional] **blueprint** | [**List[str]**](str.md)| | [optional] **slo_ids** | [**List[str]**](str.md)| | [optional] **slo_status** | **str**| | [optional] **entity_ids** | [**List[str]**](str.md)| | [optional] **grouped** | **bool**| | [optional] **refresh** | **bool**| | [optional] + **rbac_tags** | [**List[str]**](str.md)| | [optional] ### Return type diff --git a/docs/SimpleMetricConfiguration.md b/docs/SimpleMetricConfiguration.md index 20acd78..a40de1c 100644 --- a/docs/SimpleMetricConfiguration.md +++ b/docs/SimpleMetricConfiguration.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **cross_series_aggregation** | **str** | | [optional] **granularity** | **int** | * If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) | [optional] **metric** | **str** | | +**missing_value** | **float** | | [optional] **regex** | **bool** | | [optional] **required** | **bool** | When true, metric must be present with values | [optional] **operation** | [**ArithmeticOperation**](ArithmeticOperation.md) | | [optional] diff --git a/docs/SyntheticBulkResponse.md b/docs/SyntheticBulkResponse.md new file mode 100644 index 0000000..cdc3819 --- /dev/null +++ b/docs/SyntheticBulkResponse.md @@ -0,0 +1,31 @@ +# SyntheticBulkResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error_message** | **str** | | [optional] +**id** | **str** | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticBulkResponse from a JSON string +synthetic_bulk_response_instance = SyntheticBulkResponse.from_json(json) +# print the JSON string representation of the object +print(SyntheticBulkResponse.to_json()) + +# convert the object into a dict +synthetic_bulk_response_dict = synthetic_bulk_response_instance.to_dict() +# create an instance of SyntheticBulkResponse from a dict +synthetic_bulk_response_from_dict = SyntheticBulkResponse.from_dict(synthetic_bulk_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SyntheticConfigurationUpdate.md b/docs/SyntheticConfigurationUpdate.md new file mode 100644 index 0000000..f06d867 --- /dev/null +++ b/docs/SyntheticConfigurationUpdate.md @@ -0,0 +1,32 @@ +# SyntheticConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mark_synthetic_call** | **bool** | | [optional] +**retries** | **int** | | [optional] +**retry_interval** | **int** | | [optional] +**timeout** | **str** | | [optional] + +## Example + +```python +from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticConfigurationUpdate from a JSON string +synthetic_configuration_update_instance = SyntheticConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(SyntheticConfigurationUpdate.to_json()) + +# convert the object into a dict +synthetic_configuration_update_dict = synthetic_configuration_update_instance.to_dict() +# create an instance of SyntheticConfigurationUpdate from a dict +synthetic_configuration_update_from_dict = SyntheticConfigurationUpdate.from_dict(synthetic_configuration_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/SyntheticMetricTagGroup.md b/docs/SyntheticMetricTagGroup.md index 8b5de2f..55c0a1b 100644 --- a/docs/SyntheticMetricTagGroup.md +++ b/docs/SyntheticMetricTagGroup.md @@ -6,9 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**direction** | **str** | | **groupby_tag** | **str** | The name of the group tag (e.g. `agent.tag` or `docker.label`). | **groupby_tag_entity** | **str** | The entity by which the data should be grouped. This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. `SOURCE`: the tag filter should apply to the source entity. `DESTINATION`: the tag filter should apply to the destination entity. `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). | **groupby_tag_second_level_key** | **str** | If present, it's the 2nd level key part (e.g. `customKey` on `docker.label.customKey`) | [optional] +**include_others** | **bool** | | [optional] +**max_results** | **int** | | [optional] ## Example diff --git a/docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md b/docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md new file mode 100644 index 0000000..b12fae7 --- /dev/null +++ b/docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md @@ -0,0 +1,30 @@ +# SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**add** | [**List[DNSFilterTargetValue]**](DNSFilterTargetValue.md) | | [optional] +**remove** | [**List[DNSFilterTargetValue]**](DNSFilterTargetValue.md) | | [optional] + +## Example + +```python +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue from a JSON string +synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value_instance = SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.from_json(json) +# print the JSON string representation of the object +print(SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.to_json()) + +# convert the object into a dict +synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value_dict = synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value_instance.to_dict() +# create an instance of SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue from a dict +synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value_from_dict = SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.from_dict(synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value_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/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md b/docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md new file mode 100644 index 0000000..7d32003 --- /dev/null +++ b/docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md @@ -0,0 +1,30 @@ +# SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**add** | [**List[SSLCertificateValidation]**](SSLCertificateValidation.md) | | [optional] +**remove** | [**List[SSLCertificateValidation]**](SSLCertificateValidation.md) | | [optional] + +## Example + +```python +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation from a JSON string +synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation_instance = SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.from_json(json) +# print the JSON string representation of the object +print(SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.to_json()) + +# convert the object into a dict +synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation_dict = synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation_instance.to_dict() +# create an instance of SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation from a dict +synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation_from_dict = SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.from_dict(synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation_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/SyntheticResourceUpdateListStringListString.md b/docs/SyntheticResourceUpdateListStringListString.md new file mode 100644 index 0000000..20dc546 --- /dev/null +++ b/docs/SyntheticResourceUpdateListStringListString.md @@ -0,0 +1,30 @@ +# SyntheticResourceUpdateListStringListString + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**add** | **List[str]** | | [optional] +**remove** | **List[str]** | | [optional] + +## Example + +```python +from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticResourceUpdateListStringListString from a JSON string +synthetic_resource_update_list_string_list_string_instance = SyntheticResourceUpdateListStringListString.from_json(json) +# print the JSON string representation of the object +print(SyntheticResourceUpdateListStringListString.to_json()) + +# convert the object into a dict +synthetic_resource_update_list_string_list_string_dict = synthetic_resource_update_list_string_list_string_instance.to_dict() +# create an instance of SyntheticResourceUpdateListStringListString from a dict +synthetic_resource_update_list_string_list_string_from_dict = SyntheticResourceUpdateListStringListString.from_dict(synthetic_resource_update_list_string_list_string_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/SyntheticResourceUpdateMapStringStringListString.md b/docs/SyntheticResourceUpdateMapStringStringListString.md new file mode 100644 index 0000000..1433e4f --- /dev/null +++ b/docs/SyntheticResourceUpdateMapStringStringListString.md @@ -0,0 +1,30 @@ +# SyntheticResourceUpdateMapStringStringListString + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**add** | **Dict[str, str]** | | [optional] +**remove** | **List[str]** | | [optional] + +## Example + +```python +from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticResourceUpdateMapStringStringListString from a JSON string +synthetic_resource_update_map_string_string_list_string_instance = SyntheticResourceUpdateMapStringStringListString.from_json(json) +# print the JSON string representation of the object +print(SyntheticResourceUpdateMapStringStringListString.to_json()) + +# convert the object into a dict +synthetic_resource_update_map_string_string_list_string_dict = synthetic_resource_update_map_string_string_list_string_instance.to_dict() +# create an instance of SyntheticResourceUpdateMapStringStringListString from a dict +synthetic_resource_update_map_string_string_list_string_from_dict = SyntheticResourceUpdateMapStringStringListString.from_dict(synthetic_resource_update_map_string_string_list_string_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/SyntheticSettingsApi.md b/docs/SyntheticSettingsApi.md index 65a4ac1..e9e2dc4 100644 --- a/docs/SyntheticSettingsApi.md +++ b/docs/SyntheticSettingsApi.md @@ -4,6 +4,8 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**bulk_delete_synthetic_tests**](SyntheticSettingsApi.md#bulk_delete_synthetic_tests) | **POST** /api/synthetics/settings/tests/bulk-delete | Delete Synthetic tests +[**bulk_update_synthetic_tests**](SyntheticSettingsApi.md#bulk_update_synthetic_tests) | **POST** /api/synthetics/settings/tests/bulk-update | Update Synthetic tests [**create_synthetic_credential**](SyntheticSettingsApi.md#create_synthetic_credential) | **POST** /api/synthetics/settings/credentials | Create a Synthetic credential [**create_synthetic_test**](SyntheticSettingsApi.md#create_synthetic_test) | **POST** /api/synthetics/settings/tests | Create a Synthetic test [**create_synthetic_test_cicd**](SyntheticSettingsApi.md#create_synthetic_test_cicd) | **POST** /api/synthetics/settings/tests/ci-cd | Create a Synthetic test CI/CD @@ -27,6 +29,195 @@ Method | HTTP request | Description [**update_synthetic_test**](SyntheticSettingsApi.md#update_synthetic_test) | **PUT** /api/synthetics/settings/tests/{id} | Update a Synthetic test +# **bulk_delete_synthetic_tests** +> List[SyntheticBulkResponse] bulk_delete_synthetic_tests(request_body) + +Delete Synthetic tests + +API request to delete a list of Synthetic Tests. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse +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.SyntheticSettingsApi(api_client) + request_body = ["ic25Vt1T5dgKzi0K7812","EFNRoPd39SgZBkULeQIf","kaj02pbxbW0XmQP9qu4b","FrhxAJzKdsXU6V4WxWrY"] # List[str] | + + try: + # Delete Synthetic tests + api_response = api_instance.bulk_delete_synthetic_tests(request_body) + print("The response of SyntheticSettingsApi->bulk_delete_synthetic_tests:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SyntheticSettingsApi->bulk_delete_synthetic_tests: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request_body** | [**List[str]**](str.md)| | + +### Return type + +[**List[SyntheticBulkResponse]**](SyntheticBulkResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**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) + +# **bulk_update_synthetic_tests** +> List[SyntheticBulkResponse] bulk_update_synthetic_tests(synthetic_test_update) + +Update Synthetic tests + +API request to update a list of Synthetic Tests. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse +from instana_client.models.synthetic_test_update import SyntheticTestUpdate +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.SyntheticSettingsApi(api_client) + synthetic_test_update = { + "ids" : [ + "ic25Vt1T5dgKzi0K7812", + "EFNRoPd39SgZBkULeQIf", + "kaj02pbxbW0XmQP9qu4b", + "FrhxAJzKdsXU6V4WxWrY" + ], + "locations": { + "add": [ "hGyJAQCTnMbpmWrYfbq6", "RMtD8XkRHmxG5N0IT418" ], + "remove": ["AOsPYuhGjpFHpNgWub90"], + }, + "applications": { + "add": [ "XRVRqG3zLNDKlJUho90j" ] + }, + "configuration": { + "timeout": "1s" + }, + "customProperties": { + "add": { + "property1": "Test" + }, + "remove": ["property2", "property3"], + } +{ + # SyntheticTestUpdate | + + try: + # Update Synthetic tests + api_response = api_instance.bulk_update_synthetic_tests(synthetic_test_update) + print("The response of SyntheticSettingsApi->bulk_update_synthetic_tests:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SyntheticSettingsApi->bulk_update_synthetic_tests: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **synthetic_test_update** | [**SyntheticTestUpdate**](SyntheticTestUpdate.md)| | + +### Return type + +[**List[SyntheticBulkResponse]**](SyntheticBulkResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Insufficient permissions. | - | +**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) + # **create_synthetic_credential** > create_synthetic_credential(synthetic_credential) @@ -147,7 +338,7 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.SyntheticSettingsApi(api_client) - synthetic_test = {"label":"Test_SimplePing","description":"this is to test a simple ping API","serviceId":"serviceId001","applicationId":"applicationId001","active":true,"testFrequency":1,"playbackMode":"Simultaneous","locations":["saas_instana_test"],"configuration":{"syntheticType":"HTTPAction","url":"https://httpbin.org/post","operation":"POST","headers":{"Content-Type":"text/plain"},"body":"Hello World!","validationString":"Hello World!"},"customProperties":{"Team":"DevTeam","Purpose":"Demo"},"rbacTags":[{"id":"test","displayName":"test"}]} # SyntheticTest | + synthetic_test = {"label":"Test_SimplePing","description":"this is to test a simple ping API","applicationId":"applicationId001","active":true,"testFrequency":1,"playbackMode":"Simultaneous","locations":["saas_instana_test"],"configuration":{"syntheticType":"HTTPAction","url":"https://httpbin.org/post","operation":"POST","headers":{"Content-Type":"text/plain"},"body":"Hello World!","validationString":"Hello World!"},"customProperties":{"Team":"DevTeam","Purpose":"Demo"},"rbacTags":[{"id":"test","displayName":"test"}]} # SyntheticTest | try: # Create a Synthetic test @@ -1731,7 +1922,7 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.SyntheticSettingsApi(api_client) id = 'ic25Vt1T5dgKzi0K7812' # str | Id of the synthetic test to be updated - synthetic_test = {"id":"ic25Vt1T5dgKzi0K7812","label":"Test_SimplePing","description":"this is to test a simple ping API","serviceId":"serviceId001","applicationId":"applicationId001","active":true,"testFrequency":1,"playbackMode":"Simultaneous","locations":["saas_instana_test"],"configuration":{"syntheticType":"HTTPAction","url":"https://httpbin.org/post","operation":"POST","headers":{"Content-Type":"text/plain"},"body":"Hello World!","validationString":"Hello World!"},"customProperties":{"Team":"DevTeam","Purpose":"Demo"},"rbacTags":[{"id":"JxrVZtRtTUGug71K1oYMcw","displayName":"tests"}]} # SyntheticTest | + synthetic_test = {"id":"ic25Vt1T5dgKzi0K7812","label":"Test_SimplePing","description":"this is to test a simple ping API","applicationId":"applicationId001","active":true,"testFrequency":1,"playbackMode":"Simultaneous","locations":["saas_instana_test"],"configuration":{"syntheticType":"HTTPAction","url":"https://httpbin.org/post","operation":"POST","headers":{"Content-Type":"text/plain"},"body":"Hello World!","validationString":"Hello World!"},"customProperties":{"Team":"DevTeam","Purpose":"Demo"},"rbacTags":[{"id":"JxrVZtRtTUGug71K1oYMcw","displayName":"tests"}]} # SyntheticTest | try: # Update a Synthetic test diff --git a/docs/SyntheticTestDeepUpdate.md b/docs/SyntheticTestDeepUpdate.md new file mode 100644 index 0000000..d51f8f5 --- /dev/null +++ b/docs/SyntheticTestDeepUpdate.md @@ -0,0 +1,29 @@ +# SyntheticTestDeepUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configuration** | [**SyntheticTypeConfigurationUpdate**](SyntheticTypeConfigurationUpdate.md) | | [optional] + +## Example + +```python +from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticTestDeepUpdate from a JSON string +synthetic_test_deep_update_instance = SyntheticTestDeepUpdate.from_json(json) +# print the JSON string representation of the object +print(SyntheticTestDeepUpdate.to_json()) + +# convert the object into a dict +synthetic_test_deep_update_dict = synthetic_test_deep_update_instance.to_dict() +# create an instance of SyntheticTestDeepUpdate from a dict +synthetic_test_deep_update_from_dict = SyntheticTestDeepUpdate.from_dict(synthetic_test_deep_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/SyntheticTestShallowUpdate.md b/docs/SyntheticTestShallowUpdate.md new file mode 100644 index 0000000..66eecd3 --- /dev/null +++ b/docs/SyntheticTestShallowUpdate.md @@ -0,0 +1,29 @@ +# SyntheticTestShallowUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configuration** | [**SyntheticConfigurationUpdate**](SyntheticConfigurationUpdate.md) | | [optional] + +## Example + +```python +from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticTestShallowUpdate from a JSON string +synthetic_test_shallow_update_instance = SyntheticTestShallowUpdate.from_json(json) +# print the JSON string representation of the object +print(SyntheticTestShallowUpdate.to_json()) + +# convert the object into a dict +synthetic_test_shallow_update_dict = synthetic_test_shallow_update_instance.to_dict() +# create an instance of SyntheticTestShallowUpdate from a dict +synthetic_test_shallow_update_from_dict = SyntheticTestShallowUpdate.from_dict(synthetic_test_shallow_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/SyntheticTestUpdate.md b/docs/SyntheticTestUpdate.md new file mode 100644 index 0000000..14d877a --- /dev/null +++ b/docs/SyntheticTestUpdate.md @@ -0,0 +1,41 @@ +# SyntheticTestUpdate + +Identifies the type of the synthetic tests updated on this request. Valid types are Deep and Shallow. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | **bool** | | [optional] +**applications** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] +**custom_properties** | [**SyntheticResourceUpdateMapStringStringListString**](SyntheticResourceUpdateMapStringStringListString.md) | | [optional] +**ids** | **List[str]** | | [optional] +**last_modified_at** | **List[int]** | | [optional] +**locations** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] +**mobile_apps** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] +**modified_by** | **str** | | [optional] +**shallow_update** | **bool** | | [optional] +**synthetic_update_type** | **str** | Indicates the type of update to apply to a set of tests of same syntheticType (Deep) or a mix of syntheticType values (Shallow). When Shallow is used, only the configuration properties retries, retryInterval and timeout can be updated | +**test_frequency** | **int** | | [optional] +**websites** | [**SyntheticResourceUpdateListStringListString**](SyntheticResourceUpdateListStringListString.md) | | [optional] + +## Example + +```python +from instana_client.models.synthetic_test_update import SyntheticTestUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticTestUpdate from a JSON string +synthetic_test_update_instance = SyntheticTestUpdate.from_json(json) +# print the JSON string representation of the object +print(SyntheticTestUpdate.to_json()) + +# convert the object into a dict +synthetic_test_update_dict = synthetic_test_update_instance.to_dict() +# create an instance of SyntheticTestUpdate from a dict +synthetic_test_update_from_dict = SyntheticTestUpdate.from_dict(synthetic_test_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/SyntheticTypeConfigurationUpdate.md b/docs/SyntheticTypeConfigurationUpdate.md new file mode 100644 index 0000000..ed644bd --- /dev/null +++ b/docs/SyntheticTypeConfigurationUpdate.md @@ -0,0 +1,35 @@ +# SyntheticTypeConfigurationUpdate + +Synthetic test configuration that is unique to a synthetic type. Valid types are BrowserScript, DNS, HTTPAction, HTTPScript, SSLCertificate, WebpageAction, and WebpageScript. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mark_synthetic_call** | **bool** | | [optional] +**retries** | **int** | | [optional] +**retry_interval** | **int** | | [optional] +**synthetic_test** | **str** | | [optional] +**synthetic_type** | **str** | | [optional] +**timeout** | **str** | | [optional] + +## Example + +```python +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of SyntheticTypeConfigurationUpdate from a JSON string +synthetic_type_configuration_update_instance = SyntheticTypeConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(SyntheticTypeConfigurationUpdate.to_json()) + +# convert the object into a dict +synthetic_type_configuration_update_dict = synthetic_type_configuration_update_instance.to_dict() +# create an instance of SyntheticTypeConfigurationUpdate from a dict +synthetic_type_configuration_update_from_dict = SyntheticTypeConfigurationUpdate.from_dict(synthetic_type_configuration_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/TraceActivityTreeNodeDetails.md b/docs/TraceActivityTreeNodeDetails.md index fdd4a44..a72c8ed 100644 --- a/docs/TraceActivityTreeNodeDetails.md +++ b/docs/TraceActivityTreeNodeDetails.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **logs** | [**List[SpanExcerpt]**](SpanExcerpt.md) | Information about the logs attached to the call, if available. | **min_self_time** | **int** | The smallest self time in the batch. May be null to indicate that `minSelfTime` is unknown when this node has only an exit span and no children. The time measured is in milliseconds. | [optional] **network_time** | **int** | The time difference between the Exit Span Time of the caller and the Entry Span Time of the call. This value is measured in milliseconds and may be null if network time is not applicable. | [optional] +**raw_span_load_error** | **str** | Whether an error occurred loading raw spans from external storage. | [optional] **source** | [**SpanRelation**](SpanRelation.md) | | [optional] **spans** | [**List[SpanExcerpt]**](SpanExcerpt.md) | Information about the spans from which the call is composed. | **start** | **int** | The timestamp when the call or request was initiated. For example, Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December 2024 04:27:59.870 GMT` | [optional] diff --git a/docs/UserApi.md b/docs/UserApi.md index ab1d4b0..c352791 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -10,7 +10,6 @@ Method | HTTP request | Description [**get_users_including_invitations**](UserApi.md#get_users_including_invitations) | **GET** /api/settings/users/overview | All users (incl. invitations) [**invite_users**](UserApi.md#invite_users) | **POST** /api/settings/invitations | Send user invitations [**remove_user_from_tenant**](UserApi.md#remove_user_from_tenant) | **DELETE** /api/settings/users/{userId} | Remove user from tenant -[**remove_users_from_tenant**](UserApi.md#remove_users_from_tenant) | **PUT** /api/settings/users/delete | Remove users from tenant [**revoke_pending_invitation**](UserApi.md#revoke_pending_invitation) | **DELETE** /api/settings/invitations | Revoke pending invitation [**share_and_invite_users**](UserApi.md#share_and_invite_users) | **POST** /api/settings/invitation/share | Send user invitations [**update_user**](UserApi.md#update_user) | **PUT** /api/settings/users/{email} | Change user name of single user @@ -481,84 +480,6 @@ 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) -# **remove_users_from_tenant** -> remove_users_from_tenant(request_body) - -Remove users from tenant - -Remove multiple users access to the tenant. Removing a user from a tenant does not delete their user account. - -### 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.UserApi(api_client) - request_body = ['request_body_example'] # List[str] | - - try: - # Remove users from tenant - api_instance.remove_users_from_tenant(request_body) - except Exception as e: - print("Exception when calling UserApi->remove_users_from_tenant: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request_body** | [**List[str]**](str.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Successful - no content to return. | - | -**401** | Unauthorized access - requires user authentication. | - | -**403** | Insufficient permissions. | - | - -[[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) - # **revoke_pending_invitation** > revoke_pending_invitation(email) diff --git a/docs/WebpageActionConfigurationUpdate.md b/docs/WebpageActionConfigurationUpdate.md new file mode 100644 index 0000000..365c381 --- /dev/null +++ b/docs/WebpageActionConfigurationUpdate.md @@ -0,0 +1,31 @@ +# WebpageActionConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**browser** | **str** | | [optional] +**record_video** | **bool** | | [optional] +**url** | **str** | | [optional] + +## Example + +```python +from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of WebpageActionConfigurationUpdate from a JSON string +webpage_action_configuration_update_instance = WebpageActionConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(WebpageActionConfigurationUpdate.to_json()) + +# convert the object into a dict +webpage_action_configuration_update_dict = webpage_action_configuration_update_instance.to_dict() +# create an instance of WebpageActionConfigurationUpdate from a dict +webpage_action_configuration_update_from_dict = WebpageActionConfigurationUpdate.from_dict(webpage_action_configuration_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/WebpageScriptConfigurationUpdate.md b/docs/WebpageScriptConfigurationUpdate.md new file mode 100644 index 0000000..749cac9 --- /dev/null +++ b/docs/WebpageScriptConfigurationUpdate.md @@ -0,0 +1,32 @@ +# WebpageScriptConfigurationUpdate + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**browser** | **str** | | [optional] +**file_name** | **str** | | [optional] +**record_video** | **bool** | | [optional] +**script** | **str** | | [optional] + +## Example + +```python +from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate + +# TODO update the JSON string below +json = "{}" +# create an instance of WebpageScriptConfigurationUpdate from a JSON string +webpage_script_configuration_update_instance = WebpageScriptConfigurationUpdate.from_json(json) +# print the JSON string representation of the object +print(WebpageScriptConfigurationUpdate.to_json()) + +# convert the object into a dict +webpage_script_configuration_update_dict = webpage_script_configuration_update_instance.to_dict() +# create an instance of WebpageScriptConfigurationUpdate from a dict +webpage_script_configuration_update_from_dict = WebpageScriptConfigurationUpdate.from_dict(webpage_script_configuration_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/instana_client/__init__.py b/instana_client/__init__.py index b513b1e..333ea14 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,1760 +15,602 @@ """ # noqa: E501 -__version__ = "1.0.1" +__version__ = "1.0.2" -# 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", - "InfrastructureAlertConfigurationApi", - "InfrastructureAnalyzeApi", - "InfrastructureCatalogApi", - "InfrastructureMetricsApi", - "InfrastructureResourcesApi", - "InfrastructureTopologyApi", - "LogAlertConfigurationApi", - "LoggingAnalyzeApi", - "MaintenanceConfigurationApi", - "MobileAppAnalyzeApi", - "MobileAppCatalogApi", - "MobileAppConfigurationApi", - "MobileAppMetricsApi", - "PoliciesApi", - "ReleasesApi", - "RolesApi", - "SLIReportApi", - "SLISettingsApi", - "SLOCorrectionConfigurationsApi", - "SLOCorrectionWindowsApi", - "ServiceLevelsAlertConfigurationApi", - "ServiceLevelsObjectiveSLOConfigurationsApi", - "ServiceLevelsObjectiveSLOReportApi", - "SessionSettingsApi", - "SyntheticAlertConfigurationApi", - "SyntheticCallsApi", - "SyntheticCatalogApi", - "SyntheticMetricsApi", - "SyntheticSettingsApi", - "SyntheticTestPlaybackResultsApi", - "TeamsApi", - "UsageApi", - "UserApi", - "WebsiteAnalyzeApi", - "WebsiteCatalogApi", - "WebsiteConfigurationApi", - "WebsiteMetricsApi", - "ApiResponse", - "ApiClient", - "Configuration", - "OpenApiException", - "ApiTypeError", - "ApiValueError", - "ApiKeyError", - "ApiAttributeError", - "ApiException", - "AbstractIntegration", - "AbstractRule", - "AccessLogEntry", - "AccessLogResponse", - "AccessRule", - "Action", - "ActionConfiguration", - "ActionInstance", - "ActionInstanceMetadataEntry", - "ActionInstanceParameter", - "ActionInstanceRequest", - "ActionInstanceRequestParameters", - "ActionMatch", - "ActionSearchSpace", - "AdaptiveBaseline", - "AdaptiveThresholdRule", - "Addition", - "AdjustedTimeframe", - "AgentConfigurationUpdate", - "AlertingConfiguration", - "AlertingConfigurationWithLastUpdated", - "AlertingTimeWindow", - "ApdexConfiguration", - "ApdexConfigurationInput", - "ApdexEntity", - "ApdexReport", - "ApiCreateGroup", - "ApiCreateRole", - "ApiGroup", - "ApiMember", - "ApiPermissionSet", - "ApiRestrictedApplicationFilter", - "ApiRole", - "ApiTag", - "ApiTeam", - "ApiTeamInfo", - "ApiTeamMember", - "ApiTeamRole", - "ApiTeamScope", - "ApiToken", - "AppDataMetricConfiguration", - "Application", - "ApplicationAlertConfig", - "ApplicationAlertConfigWithMetadata", - "ApplicationAlertRule", - "ApplicationApdexEntity", - "ApplicationConfig", - "ApplicationEventResult", - "ApplicationItem", - "ApplicationMetricResult", - "ApplicationNode", - "ApplicationResult", - "ApplicationScope", - "ApplicationScopeWithMetadata", - "ApplicationSliEntity", - "ApplicationSloEntity", - "ApplicationTimeThreshold", - "ArithmeticConfiguration", - "ArithmeticOperand", - "ArithmeticOperation", - "AuditLogEntry", - "AuditLogUiResponse", - "Author", - "AvailabilityBlueprintIndicator", - "AvailabilitySliEntity", - "AvailableMetrics", - "AvailablePlugins", - "BackendTraceReference", - "BidirectionalMsTeamsAppIntegration", - "BidirectionalSlackAppIntegration", - "BinaryOperatorDTO", - "BrowserScriptConfiguration", - "BuiltInEventSpecification", - "BuiltInEventSpecificationWithLastUpdated", - "BusinessActivity", - "BusinessPerspectiveConfig", - "CallGroupsItem", - "CallGroupsResult", - "CallRelation", - "ChangeSummary", - "CloudfoundryPhysicalContext", - "Condition", - "ConfigVersion", - "Correction", - "CorrectionConfiguration", - "CorrectionScheduling", - "CorrectionWindow", - "CrashMobileAppAlertRule", - "CreateWebsiteRequestInner", - "CursorPaginatedBusinessActivityItem", - "CursorPagination", - "CursorPaginationInfraExploreCursor", - "CustomBlueprintIndicator", - "CustomDashboard", - "CustomDashboardPreview", - "CustomDashboardWithUserSpecificInformation", - "CustomDependency", - "CustomEmailSubjectPrefix", - "CustomEntityModel", - "CustomEntityWithMetadata", - "CustomEventMobileAppAlertRule", - "CustomEventSpecification", - "CustomEventSpecificationWithLastUpdated", - "CustomEventWebsiteAlertRule", - "CustomMetric", - "CustomPayloadConfiguration", - "CustomPayloadField", - "CustomPayloadWithLastUpdated", - "CustomPayloadWithVersion", - "DNSConfiguration", - "DNSFilterQueryTime", - "DNSFilterTargetValue", - "DashboardApiToken", - "DatabaseIntegration", - "DeprecatedTagFilter", - "Division", - "Duration", - "DynamicField", - "DynamicFieldValue", - "DynamicParameter", - "EditUser", - "EmailIntegration", - "EmptyConfiguration", - "Endpoint", - "EndpointConfig", - "EndpointEventResult", - "EndpointItem", - "EndpointMetricResult", - "EndpointNode", - "EndpointResult", - "EndpointSimple", - "EntityCountRule", - "EntityCountVerificationRule", - "EntityHealthInfo", - "EntityId", - "EntityVerificationRule", - "ErrorBudgetAlertRule", - "ErrorsApplicationAlertRule", - "Event", - "EventFilteringConfiguration", - "EventResult", - "EventSpecificationInfo", - "ExtendedService", - "FailureSyntheticAlertRule", - "FixedHttpPathSegmentMatchingRule", - "FixedTimeWindow", - "GenericInfraAlertRule", - "GeoLocationConfiguration", - "GeoMappingRule", - "GeoSubdivision", - "GetActivities", - "GetApplicationMetrics", - "GetApplications", - "GetAvailableMetricsQuery", - "GetAvailablePluginsQuery", - "GetCallGroups", - "GetCombinedMetrics", - "GetDynamicParameterValues", - "GetEndpoints", - "GetInfrastructureGroupsQuery", - "GetInfrastructureQuery", - "GetMetricsResult", - "GetMobileAppBeaconGroups", - "GetMobileAppBeacons", - "GetMobileAppMetrics", - "GetMobileAppMetricsV2", - "GetPayloadKeysResult", - "GetServices", - "GetSnapshotsQuery", - "GetTestResult", - "GetTestResultAnalytic", - "GetTestResultBase", - "GetTestResultList", - "GetTestSummaryResult", - "GetTraceDownloadResultItem", - "GetTraceGroups", - "GetTraces", - "GetWebsiteBeaconGroups", - "GetWebsiteBeacons", - "GetWebsiteMetrics", - "GetWebsiteMetricsV2", - "GlobalApplicationAlertConfigWithMetadata", - "GlobalApplicationsAlertConfig", - "GoogleChatIntegration", - "GraphEdge", - "GraphNode", - "Group", - "GroupByTag", - "GroupMapping", - "GroupMappingOverview", - "HealthState", - "HistoricBaseline", - "HostAvailabilityRule", - "HttpActionConfiguration", - "HttpEndpointConfig", - "HttpEndpointRule", - "HttpPathSegmentMatchingRule", - "HttpScriptConfiguration", - "HyperParam", - "IdentityProviderPatch", - "ImpactedBeaconInfo", - "InfraAlertConfig", - "InfraAlertConfigWithMetadata", - "InfraAlertRule", - "InfraEventResult", - "InfraMetricConfiguration", - "InfraSloEntity", - "InfraTimeThreshold", - "InfrastructureEntitiesResult", - "InfrastructureGroup", - "InfrastructureGroupsResult", - "InfrastructureItem", - "InfrastructureMetricResult", - "InstanaVersionInfo", - "IntegrationOverview", - "Invitation", - "InvitationResponse", - "InvitationResult", - "IpMaskingConfiguration", - "JsStackTraceLine", - "KubernetesPhysicalContext", - "LLMEgressGateway", - "LatencyBlueprintIndicator", - "LocationStatus", - "LogAlertConfig", - "LogAlertConfigWithMetadata", - "LogAlertRule", - "LogCountAlertRule", - "LogEntryActor", - "LogEventResult", - "LogTimeThreshold", - "LogVolumeGroup", - "LogVolumeUsageItem", - "LogVolumeUsageResult", - "LogsApplicationAlertRule", - "MaintenanceConfig", - "MaintenanceConfigScheduling", - "MaintenanceConfigV2", - "MaintenanceConfigV2WithStateAndOccurrence", - "MaintenanceConfigWithLastUpdated", - "MaintenanceWindow", - "ManualAlertingChannelConfiguration", - "ManualCloseInfo", - "ManualServiceConfig", - "MatchAllHttpPathSegmentMatchingRule", - "MatchExpressionDTO", - "MetaData", - "MetricAPIResult", - "MetricConfig", - "MetricConfiguration", - "MetricDescription", - "MetricInstance", - "MetricItem", - "MetricMetadata", - "MetricPattern", - "MetricQuery", - "MetricsResult", - "MetricsResultItem", - "MetricsTestResultItem", - "MobileApp", - "MobileAppAlertConfig", - "MobileAppAlertRule", - "MobileAppBeaconGroupsItem", - "MobileAppBeaconGroupsResult", - "MobileAppBeaconResult", - "MobileAppBeaconTagGroup", - "MobileAppBeaconsItem", - "MobileAppEventResult", - "MobileAppMetricResult", - "MobileAppMonitoringBeacon", - "MobileAppMonitoringMetricDescription", - "MobileAppMonitoringMetricsConfiguration", - "MobileAppTimeThreshold", - "ModelField", - "MonitoredEntitiesStats", - "MonitoringState", - "MultipleScriptsConfiguration", - "Multiplication", - "NestedOperation", - "NewApplicationConfig", - "NewBusinessPerspectiveConfig", - "NewManualServiceConfig", - "OAuthConfig", - "OAuthIntegration", - "OAuthToken", - "Occurrence", - "Office365Integration", - "OneTimeMaintenanceWindow", - "OpsgenieIntegration", - "Order", - "PagerdutyIntegration", - "PaginatedResult", - "Pagination", - "Parameter", - "ParameterValue", - "PathParameterHttpPathSegmentMatchingRule", - "PhysicalContext", - "PluginResult", - "Policy", - "PolicyRunnable", - "PolicyScheduling", - "PostMobileAppSourceMapConfigRequest", - "PostSnapshotsResult", - "Problem", - "PrometheusWebhookIntegration", - "RecurrentMaintenanceWindow", - "Release", - "ReleaseScope", - "ReleaseWithMetadata", - "RetentionPeriod", - "RollingTimeWindow", - "RuleInput", - "RuleWithThresholdApplicationAlertRule", - "RuleWithThresholdInfraAlertRule", - "RuleWithThresholdLogAlertRule", - "RuleWithThresholdMobileAppAlertRule", - "RuleWithThresholdWebsiteAlertRule", - "RunConfiguration", - "SLOConfigWithRBACTag", - "SSLCertificateConfiguration", - "SSLCertificateValidation", - "SalesforceIntegration", - "SaturationBlueprintIndicator", - "ScopeBinding", - "SearchFieldResult", - "Service", - "ServiceConfig", - "ServiceEventResult", - "ServiceItem", - "ServiceLevelIndicator", - "ServiceLevelObjectiveAlertRule", - "ServiceLevelsAlertConfig", - "ServiceLevelsAlertRule", - "ServiceLevelsBurnRateConfig", - "ServiceLevelsBurnRateTimeWindows", - "ServiceLevelsStaticThresholdConfig", - "ServiceLevelsTimeThreshold", - "ServiceLevelseAlertConfigWithMetadata", - "ServiceMap", - "ServiceMapConnection", - "ServiceMatchingRule", - "ServiceMetricResult", - "ServiceNode", - "ServiceNowEnhancedIntegration", - "ServiceNowIntegration", - "ServiceResult", - "ServiceScope", - "ServiceScopeWithMetadata", - "ServiceScopedTo", - "ServiceScopedToWithMetadata", - "ServiceSimple", - "SessionSettings", - "SimpleMetricConfiguration", - "SingleValue", - "SlackIntegration", - "SliConfiguration", - "SliConfigurationWithLastUpdated", - "SliEntity", - "SliReport", - "SloEntity", - "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", - "Subtraction", - "SyntheticAlertConfig", - "SyntheticAlertConfigWithMetadata", - "SyntheticAlertRule", - "SyntheticCallConfig", - "SyntheticCallRule", - "SyntheticCallWithDefaultsConfig", - "SyntheticConfiguration", - "SyntheticCredential", - "SyntheticDatacenter", - "SyntheticDatacenterConfiguration", - "SyntheticGeoPoint", - "SyntheticLocation", - "SyntheticLocationConfiguration", - "SyntheticMetricConfiguration", - "SyntheticMetricTagGroup", - "SyntheticPlaybackCapabilities", - "SyntheticSloEntity", - "SyntheticTest", - "SyntheticTestCICD", - "SyntheticTestCICDCustomization", - "SyntheticTestCICDItem", - "SyntheticTestCICDResponse", - "SyntheticTimeThreshold", - "SyntheticTypeConfiguration", - "SyntheticsEventResult", - "SystemRule", - "SystemRuleLabel", - "Tag", - "TagCatalog", - "TagFilter", - "TagFilterExpression", - "TagFilterExpressionElement", - "TagMatcherDTO", - "TagTreeLevel", - "TagTreeNode", - "TagTreeTag", - "TestCommonProperties", - "TestLastError", - "TestResult", - "TestResultCommonProperties", - "TestResultDetailData", - "TestResultItem", - "TestResultListItem", - "TestResultListResult", - "TestResultMetadata", - "TestResultSubtransaction", - "Threshold", - "ThresholdConfigRule", - "ThresholdRule", - "ThroughputApplicationAlertRule", - "ThroughputMobileAppAlertRule", - "ThroughputWebsiteAlertRule", - "TimeFrame", - "TimeWindow", - "Topology", - "Trace", - "TraceActivityTreeNodeDetails", - "TraceDownloadResult", - "TraceGroupsItem", - "TraceGroupsResult", - "TraceImpactApplicationTimeThreshold", - "TraceItem", - "TraceResult", - "TrafficBlueprintIndicator", - "Trigger", - "TypeConfiguration", - "UnsupportedHttpPathSegmentMatchingRule", - "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", - "WebpageScriptConfiguration", - "Website", - "WebsiteAlertConfig", - "WebsiteAlertConfigWithMetadata", - "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.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.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi - from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi - from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi - from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi - from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi - from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi - from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi - from instana_client.api.policies_api import PoliciesApi as PoliciesApi - from instana_client.api.releases_api import ReleasesApi as ReleasesApi - from instana_client.api.roles_api import RolesApi as RolesApi - from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi - from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi - from instana_client.api.slo_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_configurations_api import ServiceLevelsObjectiveSLOConfigurationsApi as ServiceLevelsObjectiveSLOConfigurationsApi - 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 - - # import ApiClient - from instana_client.api_response import ApiResponse as ApiResponse - from instana_client.api_client import ApiClient as ApiClient - from instana_client.configuration import Configuration as Configuration - from instana_client.exceptions import OpenApiException as OpenApiException - from instana_client.exceptions import ApiTypeError as ApiTypeError - from instana_client.exceptions import ApiValueError as ApiValueError - from instana_client.exceptions import ApiKeyError as ApiKeyError - from instana_client.exceptions import ApiAttributeError as ApiAttributeError - from instana_client.exceptions import ApiException as ApiException - - # import models into sdk package - from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration - from instana_client.models.abstract_rule import AbstractRule as AbstractRule - from instana_client.models.access_log_entry import AccessLogEntry as AccessLogEntry - from instana_client.models.access_log_response import AccessLogResponse as AccessLogResponse - from instana_client.models.access_rule import AccessRule as AccessRule - from instana_client.models.action import Action as Action - from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration - from instana_client.models.action_instance import ActionInstance as ActionInstance - from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry - from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter - from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest - from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters - from instana_client.models.action_match import ActionMatch as ActionMatch - from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace - from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline - from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule - from instana_client.models.addition import Addition as Addition - from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe - from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate - from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration - from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated - from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow - from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration - from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput - from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity - from instana_client.models.apdex_report import ApdexReport as ApdexReport - from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup - from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole - from instana_client.models.api_group import ApiGroup as ApiGroup - from instana_client.models.api_member import ApiMember as ApiMember - from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet - from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter - from instana_client.models.api_role import ApiRole as ApiRole - from instana_client.models.api_tag import ApiTag as ApiTag - from instana_client.models.api_team import ApiTeam as ApiTeam - from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo - from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember - from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole - from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope - from instana_client.models.api_token import ApiToken as ApiToken - from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration - from instana_client.models.application import Application as Application - from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig - from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata - from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule - from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity - from instana_client.models.application_config import ApplicationConfig as ApplicationConfig - from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult - from instana_client.models.application_item import ApplicationItem as ApplicationItem - from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult - from instana_client.models.application_node import ApplicationNode as ApplicationNode - from instana_client.models.application_result import ApplicationResult as ApplicationResult - from instana_client.models.application_scope import ApplicationScope as ApplicationScope - from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata - from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity - from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity - from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold - from instana_client.models.arithmetic_configuration import ArithmeticConfiguration as ArithmeticConfiguration - from instana_client.models.arithmetic_operand import ArithmeticOperand as ArithmeticOperand - from instana_client.models.arithmetic_operation import ArithmeticOperation as ArithmeticOperation - from instana_client.models.audit_log_entry import AuditLogEntry as AuditLogEntry - from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse - from instana_client.models.author import Author as Author - from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator - from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity - from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics - from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins - from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference - from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration - from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration - from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO - from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration - from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification - from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated - from instana_client.models.business_activity import BusinessActivity as BusinessActivity - from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig - from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem - from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult - from instana_client.models.call_relation import CallRelation as CallRelation - from instana_client.models.change_summary import ChangeSummary as ChangeSummary - from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext - from instana_client.models.condition import Condition as Condition - from instana_client.models.config_version import ConfigVersion as ConfigVersion - from instana_client.models.correction import Correction as Correction - from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration - from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling - from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow - from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule - from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner - from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem - from instana_client.models.cursor_pagination import CursorPagination as CursorPagination - from instana_client.models.cursor_pagination_infra_explore_cursor import CursorPaginationInfraExploreCursor as CursorPaginationInfraExploreCursor - from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator - from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard - from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview - from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation - from instana_client.models.custom_dependency import CustomDependency as CustomDependency - from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix - from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel - from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata - from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule - from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification - from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated - from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule - from instana_client.models.custom_metric import CustomMetric as CustomMetric - from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration - from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField - from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated - from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion - from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration - from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime - from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue - from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken - from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration - from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter - from instana_client.models.division import Division as Division - from instana_client.models.duration import Duration as Duration - from instana_client.models.dynamic_field import DynamicField as DynamicField - from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue - from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter - from instana_client.models.edit_user import EditUser as EditUser - from instana_client.models.email_integration import EmailIntegration as EmailIntegration - from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration - from instana_client.models.endpoint import Endpoint as Endpoint - from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig - from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult - from instana_client.models.endpoint_item import EndpointItem as EndpointItem - from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult - from instana_client.models.endpoint_node import EndpointNode as EndpointNode - from instana_client.models.endpoint_result import EndpointResult as EndpointResult - from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple - from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule - from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule - from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo - from instana_client.models.entity_id import EntityId as EntityId - from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule - from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule - from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule - from instana_client.models.event import Event as Event - from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration - from instana_client.models.event_result import EventResult as EventResult - from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo - from instana_client.models.extended_service import ExtendedService as ExtendedService - from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule - from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule - from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow - from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule - from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration - from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule - from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision - from instana_client.models.get_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_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery - from instana_client.models.get_test_result import GetTestResult as GetTestResult - from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic - from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase - from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList - from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult - from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem - from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups - from instana_client.models.get_traces import GetTraces as GetTraces - from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups - from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons - from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics - from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 - from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata - from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig - from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration - from instana_client.models.graph_edge import GraphEdge as GraphEdge - from instana_client.models.graph_node import GraphNode as GraphNode - from instana_client.models.group import Group as Group - from instana_client.models.group_by_tag import GroupByTag as GroupByTag - from instana_client.models.group_mapping import GroupMapping as GroupMapping - from instana_client.models.group_mapping_overview import GroupMappingOverview as GroupMappingOverview - from instana_client.models.health_state import HealthState as HealthState - from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline - from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule - from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration - from instana_client.models.http_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.hyper_param import HyperParam as HyperParam - from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch - from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo - from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig - from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata - from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule - from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult - from instana_client.models.infra_metric_configuration import InfraMetricConfiguration as InfraMetricConfiguration - from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity - from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold - from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult - from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup - from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult - from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem - from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult - from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo - from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview - from instana_client.models.invitation import Invitation as Invitation - from instana_client.models.invitation_response import InvitationResponse as InvitationResponse - from instana_client.models.invitation_result import InvitationResult as InvitationResult - from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration - from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine - from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext - from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway - from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator - from instana_client.models.location_status import LocationStatus as LocationStatus - from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig - from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata - from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule - from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule - from instana_client.models.log_entry_actor import LogEntryActor as LogEntryActor - from instana_client.models.log_event_result import LogEventResult as LogEventResult - from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold - from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup - from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem - from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult - from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule - from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig - from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling - from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 - from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence - from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated - from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow - from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration - from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo - from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig - from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule - from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO - from instana_client.models.meta_data import MetaData as MetaData - from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult - from instana_client.models.metric_config import MetricConfig as MetricConfig - from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration - from instana_client.models.metric_description import MetricDescription as MetricDescription - from instana_client.models.metric_instance import MetricInstance as MetricInstance - from instana_client.models.metric_item import MetricItem as MetricItem - from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata - from instana_client.models.metric_pattern import MetricPattern as MetricPattern - from instana_client.models.metric_query import MetricQuery as MetricQuery - from instana_client.models.metrics_result import MetricsResult as MetricsResult - from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem - from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem - from instana_client.models.mobile_app import MobileApp as MobileApp - from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig - from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule - from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem - from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult - from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult - from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup - from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem - from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult - from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult - from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon - from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription - from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration - from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold - from instana_client.models.model_field import ModelField as ModelField - from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats - from instana_client.models.monitoring_state import MonitoringState as MonitoringState - from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration - from instana_client.models.multiplication import Multiplication as Multiplication - from instana_client.models.nested_operation import NestedOperation as NestedOperation - from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig - from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig - from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig - from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig - from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration - from instana_client.models.o_auth_token import OAuthToken as OAuthToken - from instana_client.models.occurrence import Occurrence as Occurrence - from instana_client.models.office365_integration import Office365Integration as Office365Integration - from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow - from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration - from instana_client.models.order import Order as Order - from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration - from instana_client.models.paginated_result import PaginatedResult as PaginatedResult - from instana_client.models.pagination import Pagination as Pagination - from instana_client.models.parameter import Parameter as Parameter - from instana_client.models.parameter_value import ParameterValue as ParameterValue - from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule - from instana_client.models.physical_context import PhysicalContext as PhysicalContext - from instana_client.models.plugin_result import PluginResult as PluginResult - from instana_client.models.policy import Policy as Policy - from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable - from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling - from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest - from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult - from instana_client.models.problem import Problem as Problem - from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration - from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow - from instana_client.models.release import Release as Release - from instana_client.models.release_scope import ReleaseScope as ReleaseScope - from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata - from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod - from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow - from instana_client.models.rule_input import RuleInput as RuleInput - from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule - from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule - from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule - from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule - from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule - from instana_client.models.run_configuration import RunConfiguration as RunConfiguration - from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag - from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration - from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation - from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration - from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator - from instana_client.models.scope_binding import ScopeBinding as ScopeBinding - from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult - from instana_client.models.service import Service as Service - from instana_client.models.service_config import ServiceConfig as ServiceConfig - from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult - from instana_client.models.service_item import ServiceItem as ServiceItem - from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator - from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule - from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig - from instana_client.models.service_levels_alert_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_settings import SessionSettings as SessionSettings - from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration - from instana_client.models.single_value import SingleValue as SingleValue - from instana_client.models.slack_integration import SlackIntegration as SlackIntegration - from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration - from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated - from instana_client.models.sli_entity import SliEntity as SliEntity - from instana_client.models.sli_report import SliReport as SliReport - from instana_client.models.slo_entity import SloEntity as SloEntity - from instana_client.models.slo_report import SloReport as SloReport - from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule - from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule - from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule - from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem - from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview - from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult - from instana_client.models.software_user import SoftwareUser as SoftwareUser - from instana_client.models.software_version import SoftwareVersion as SoftwareVersion - from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob - from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta - from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig - from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs - from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt - from instana_client.models.span_relation import SpanRelation as SpanRelation - from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule - from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration - from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem - from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine - from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule - from instana_client.models.static_string_field import StaticStringField as StaticStringField - from instana_client.models.static_threshold import StaticThreshold as StaticThreshold - from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule - from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule - from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule - from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule - from instana_client.models.subtraction import Subtraction as Subtraction - from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig - from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata - from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule - 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_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_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_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold - from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration - 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_last_error import TestLastError as TestLastError - from instana_client.models.test_result import TestResult as TestResult - from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties - from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData - from instana_client.models.test_result_item import TestResultItem as TestResultItem - from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem - from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult - from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata - from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction - from instana_client.models.threshold import Threshold as Threshold - from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule - from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule - from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule - from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule - from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule - from instana_client.models.time_frame import TimeFrame as TimeFrame - from instana_client.models.time_window import TimeWindow as TimeWindow - from instana_client.models.topology import Topology as Topology - from instana_client.models.trace import Trace as Trace - from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails - from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult - from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem - from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult - from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold - from instana_client.models.trace_item import TraceItem as TraceItem - from instana_client.models.trace_result import TraceResult as TraceResult - from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator - from instana_client.models.trigger import Trigger as Trigger - from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration - from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule - from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig - from instana_client.models.usage_result import UsageResult as UsageResult - from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems - from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult - from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold - from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold - from instana_client.models.user_result import UserResult as UserResult - from instana_client.models.users_result import UsersResult as UsersResult - from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo - from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration - from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence - from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus - from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration - from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold - from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold - from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold - from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold - from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold - from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold - from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold - from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold - from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold - from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration - from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration - from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration - from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration - from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration - 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_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_metadata 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.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.log_alert_configuration_api import LogAlertConfigurationApi as LogAlertConfigurationApi -from instana_client.api.logging_analyze_api import LoggingAnalyzeApi as LoggingAnalyzeApi -from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi as MaintenanceConfigurationApi -from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi as MobileAppAnalyzeApi -from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi as MobileAppCatalogApi -from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi as MobileAppConfigurationApi -from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi as MobileAppMetricsApi -from instana_client.api.policies_api import PoliciesApi as PoliciesApi -from instana_client.api.releases_api import ReleasesApi as ReleasesApi -from instana_client.api.roles_api import RolesApi as RolesApi -from instana_client.api.sli_report_api import SLIReportApi as SLIReportApi -from instana_client.api.sli_settings_api import SLISettingsApi as SLISettingsApi -from instana_client.api.slo_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_configurations_api import ServiceLevelsObjectiveSLOConfigurationsApi as ServiceLevelsObjectiveSLOConfigurationsApi -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 +# 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.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.log_alert_configuration_api import LogAlertConfigurationApi +from instana_client.api.logging_analyze_api import LoggingAnalyzeApi +from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi +from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi +from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi +from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi +from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi +from instana_client.api.policies_api import PoliciesApi +from instana_client.api.releases_api import ReleasesApi +from instana_client.api.roles_api import RolesApi +from instana_client.api.sli_report_api import SLIReportApi +from instana_client.api.sli_settings_api import SLISettingsApi +from instana_client.api.slo_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_configurations_api import ServiceLevelsObjectiveSLOConfigurationsApi +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 # 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 +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 # import models into sdk package -from instana_client.models.abstract_integration import AbstractIntegration as AbstractIntegration -from instana_client.models.abstract_rule import AbstractRule as AbstractRule -from instana_client.models.access_log_entry import AccessLogEntry as AccessLogEntry -from instana_client.models.access_log_response import AccessLogResponse as AccessLogResponse -from instana_client.models.access_rule import AccessRule as AccessRule -from instana_client.models.action import Action as Action -from instana_client.models.action_configuration import ActionConfiguration as ActionConfiguration -from instana_client.models.action_instance import ActionInstance as ActionInstance -from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry as ActionInstanceMetadataEntry -from instana_client.models.action_instance_parameter import ActionInstanceParameter as ActionInstanceParameter -from instana_client.models.action_instance_request import ActionInstanceRequest as ActionInstanceRequest -from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters as ActionInstanceRequestParameters -from instana_client.models.action_match import ActionMatch as ActionMatch -from instana_client.models.action_search_space import ActionSearchSpace as ActionSearchSpace -from instana_client.models.adaptive_baseline import AdaptiveBaseline as AdaptiveBaseline -from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule as AdaptiveThresholdRule -from instana_client.models.addition import Addition as Addition -from instana_client.models.adjusted_timeframe import AdjustedTimeframe as AdjustedTimeframe -from instana_client.models.agent_configuration_update import AgentConfigurationUpdate as AgentConfigurationUpdate -from instana_client.models.alerting_configuration import AlertingConfiguration as AlertingConfiguration -from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated as AlertingConfigurationWithLastUpdated -from instana_client.models.alerting_time_window import AlertingTimeWindow as AlertingTimeWindow -from instana_client.models.apdex_configuration import ApdexConfiguration as ApdexConfiguration -from instana_client.models.apdex_configuration_input import ApdexConfigurationInput as ApdexConfigurationInput -from instana_client.models.apdex_entity import ApdexEntity as ApdexEntity -from instana_client.models.apdex_report import ApdexReport as ApdexReport -from instana_client.models.api_create_group import ApiCreateGroup as ApiCreateGroup -from instana_client.models.api_create_role import ApiCreateRole as ApiCreateRole -from instana_client.models.api_group import ApiGroup as ApiGroup -from instana_client.models.api_member import ApiMember as ApiMember -from instana_client.models.api_permission_set import ApiPermissionSet as ApiPermissionSet -from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter as ApiRestrictedApplicationFilter -from instana_client.models.api_role import ApiRole as ApiRole -from instana_client.models.api_tag import ApiTag as ApiTag -from instana_client.models.api_team import ApiTeam as ApiTeam -from instana_client.models.api_team_info import ApiTeamInfo as ApiTeamInfo -from instana_client.models.api_team_member import ApiTeamMember as ApiTeamMember -from instana_client.models.api_team_role import ApiTeamRole as ApiTeamRole -from instana_client.models.api_team_scope import ApiTeamScope as ApiTeamScope -from instana_client.models.api_token import ApiToken as ApiToken -from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration as AppDataMetricConfiguration -from instana_client.models.application import Application as Application -from instana_client.models.application_alert_config import ApplicationAlertConfig as ApplicationAlertConfig -from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata as ApplicationAlertConfigWithMetadata -from instana_client.models.application_alert_rule import ApplicationAlertRule as ApplicationAlertRule -from instana_client.models.application_apdex_entity import ApplicationApdexEntity as ApplicationApdexEntity -from instana_client.models.application_config import ApplicationConfig as ApplicationConfig -from instana_client.models.application_event_result import ApplicationEventResult as ApplicationEventResult -from instana_client.models.application_item import ApplicationItem as ApplicationItem -from instana_client.models.application_metric_result import ApplicationMetricResult as ApplicationMetricResult -from instana_client.models.application_node import ApplicationNode as ApplicationNode -from instana_client.models.application_result import ApplicationResult as ApplicationResult -from instana_client.models.application_scope import ApplicationScope as ApplicationScope -from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata as ApplicationScopeWithMetadata -from instana_client.models.application_sli_entity import ApplicationSliEntity as ApplicationSliEntity -from instana_client.models.application_slo_entity import ApplicationSloEntity as ApplicationSloEntity -from instana_client.models.application_time_threshold import ApplicationTimeThreshold as ApplicationTimeThreshold -from instana_client.models.arithmetic_configuration import ArithmeticConfiguration as ArithmeticConfiguration -from instana_client.models.arithmetic_operand import ArithmeticOperand as ArithmeticOperand -from instana_client.models.arithmetic_operation import ArithmeticOperation as ArithmeticOperation -from instana_client.models.audit_log_entry import AuditLogEntry as AuditLogEntry -from instana_client.models.audit_log_ui_response import AuditLogUiResponse as AuditLogUiResponse -from instana_client.models.author import Author as Author -from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator as AvailabilityBlueprintIndicator -from instana_client.models.availability_sli_entity import AvailabilitySliEntity as AvailabilitySliEntity -from instana_client.models.available_metrics import AvailableMetrics as AvailableMetrics -from instana_client.models.available_plugins import AvailablePlugins as AvailablePlugins -from instana_client.models.backend_trace_reference import BackendTraceReference as BackendTraceReference -from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration as BidirectionalMsTeamsAppIntegration -from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration as BidirectionalSlackAppIntegration -from instana_client.models.binary_operator_dto import BinaryOperatorDTO as BinaryOperatorDTO -from instana_client.models.browser_script_configuration import BrowserScriptConfiguration as BrowserScriptConfiguration -from instana_client.models.built_in_event_specification import BuiltInEventSpecification as BuiltInEventSpecification -from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated as BuiltInEventSpecificationWithLastUpdated -from instana_client.models.business_activity import BusinessActivity as BusinessActivity -from instana_client.models.business_perspective_config import BusinessPerspectiveConfig as BusinessPerspectiveConfig -from instana_client.models.call_groups_item import CallGroupsItem as CallGroupsItem -from instana_client.models.call_groups_result import CallGroupsResult as CallGroupsResult -from instana_client.models.call_relation import CallRelation as CallRelation -from instana_client.models.change_summary import ChangeSummary as ChangeSummary -from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext as CloudfoundryPhysicalContext -from instana_client.models.condition import Condition as Condition -from instana_client.models.config_version import ConfigVersion as ConfigVersion -from instana_client.models.correction import Correction as Correction -from instana_client.models.correction_configuration import CorrectionConfiguration as CorrectionConfiguration -from instana_client.models.correction_scheduling import CorrectionScheduling as CorrectionScheduling -from instana_client.models.correction_window import CorrectionWindow as CorrectionWindow -from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule as CrashMobileAppAlertRule -from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner as CreateWebsiteRequestInner -from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem as CursorPaginatedBusinessActivityItem -from instana_client.models.cursor_pagination import CursorPagination as CursorPagination -from instana_client.models.cursor_pagination_infra_explore_cursor import CursorPaginationInfraExploreCursor as CursorPaginationInfraExploreCursor -from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator as CustomBlueprintIndicator -from instana_client.models.custom_dashboard import CustomDashboard as CustomDashboard -from instana_client.models.custom_dashboard_preview import CustomDashboardPreview as CustomDashboardPreview -from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation as CustomDashboardWithUserSpecificInformation -from instana_client.models.custom_dependency import CustomDependency as CustomDependency -from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix as CustomEmailSubjectPrefix -from instana_client.models.custom_entity_model import CustomEntityModel as CustomEntityModel -from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata as CustomEntityWithMetadata -from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule as CustomEventMobileAppAlertRule -from instana_client.models.custom_event_specification import CustomEventSpecification as CustomEventSpecification -from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated as CustomEventSpecificationWithLastUpdated -from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule as CustomEventWebsiteAlertRule -from instana_client.models.custom_metric import CustomMetric as CustomMetric -from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration as CustomPayloadConfiguration -from instana_client.models.custom_payload_field import CustomPayloadField as CustomPayloadField -from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated as CustomPayloadWithLastUpdated -from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion as CustomPayloadWithVersion -from instana_client.models.dns_configuration import DNSConfiguration as DNSConfiguration -from instana_client.models.dns_filter_query_time import DNSFilterQueryTime as DNSFilterQueryTime -from instana_client.models.dns_filter_target_value import DNSFilterTargetValue as DNSFilterTargetValue -from instana_client.models.dashboard_api_token import DashboardApiToken as DashboardApiToken -from instana_client.models.database_integration import DatabaseIntegration as DatabaseIntegration -from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter as DeprecatedTagFilter -from instana_client.models.division import Division as Division -from instana_client.models.duration import Duration as Duration -from instana_client.models.dynamic_field import DynamicField as DynamicField -from instana_client.models.dynamic_field_value import DynamicFieldValue as DynamicFieldValue -from instana_client.models.dynamic_parameter import DynamicParameter as DynamicParameter -from instana_client.models.edit_user import EditUser as EditUser -from instana_client.models.email_integration import EmailIntegration as EmailIntegration -from instana_client.models.empty_configuration import EmptyConfiguration as EmptyConfiguration -from instana_client.models.endpoint import Endpoint as Endpoint -from instana_client.models.endpoint_config import EndpointConfig as EndpointConfig -from instana_client.models.endpoint_event_result import EndpointEventResult as EndpointEventResult -from instana_client.models.endpoint_item import EndpointItem as EndpointItem -from instana_client.models.endpoint_metric_result import EndpointMetricResult as EndpointMetricResult -from instana_client.models.endpoint_node import EndpointNode as EndpointNode -from instana_client.models.endpoint_result import EndpointResult as EndpointResult -from instana_client.models.endpoint_simple import EndpointSimple as EndpointSimple -from instana_client.models.entity_count_rule import EntityCountRule as EntityCountRule -from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule as EntityCountVerificationRule -from instana_client.models.entity_health_info import EntityHealthInfo as EntityHealthInfo -from instana_client.models.entity_id import EntityId as EntityId -from instana_client.models.entity_verification_rule import EntityVerificationRule as EntityVerificationRule -from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule as ErrorBudgetAlertRule -from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule as ErrorsApplicationAlertRule -from instana_client.models.event import Event as Event -from instana_client.models.event_filtering_configuration import EventFilteringConfiguration as EventFilteringConfiguration -from instana_client.models.event_result import EventResult as EventResult -from instana_client.models.event_specification_info import EventSpecificationInfo as EventSpecificationInfo -from instana_client.models.extended_service import ExtendedService as ExtendedService -from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule as FailureSyntheticAlertRule -from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule as FixedHttpPathSegmentMatchingRule -from instana_client.models.fixed_time_window import FixedTimeWindow as FixedTimeWindow -from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule as GenericInfraAlertRule -from instana_client.models.geo_location_configuration import GeoLocationConfiguration as GeoLocationConfiguration -from instana_client.models.geo_mapping_rule import GeoMappingRule as GeoMappingRule -from instana_client.models.geo_subdivision import GeoSubdivision as GeoSubdivision -from instana_client.models.get_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_snapshots_query import GetSnapshotsQuery as GetSnapshotsQuery -from instana_client.models.get_test_result import GetTestResult as GetTestResult -from instana_client.models.get_test_result_analytic import GetTestResultAnalytic as GetTestResultAnalytic -from instana_client.models.get_test_result_base import GetTestResultBase as GetTestResultBase -from instana_client.models.get_test_result_list import GetTestResultList as GetTestResultList -from instana_client.models.get_test_summary_result import GetTestSummaryResult as GetTestSummaryResult -from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem as GetTraceDownloadResultItem -from instana_client.models.get_trace_groups import GetTraceGroups as GetTraceGroups -from instana_client.models.get_traces import GetTraces as GetTraces -from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups as GetWebsiteBeaconGroups -from instana_client.models.get_website_beacons import GetWebsiteBeacons as GetWebsiteBeacons -from instana_client.models.get_website_metrics import GetWebsiteMetrics as GetWebsiteMetrics -from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 as GetWebsiteMetricsV2 -from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata as GlobalApplicationAlertConfigWithMetadata -from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig as GlobalApplicationsAlertConfig -from instana_client.models.google_chat_integration import GoogleChatIntegration as GoogleChatIntegration -from instana_client.models.graph_edge import GraphEdge as GraphEdge -from instana_client.models.graph_node import GraphNode as GraphNode -from instana_client.models.group import Group as Group -from instana_client.models.group_by_tag import GroupByTag as GroupByTag -from instana_client.models.group_mapping import GroupMapping as GroupMapping -from instana_client.models.group_mapping_overview import GroupMappingOverview as GroupMappingOverview -from instana_client.models.health_state import HealthState as HealthState -from instana_client.models.historic_baseline import HistoricBaseline as HistoricBaseline -from instana_client.models.host_availability_rule import HostAvailabilityRule as HostAvailabilityRule -from instana_client.models.http_action_configuration import HttpActionConfiguration as HttpActionConfiguration -from instana_client.models.http_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.hyper_param import HyperParam as HyperParam -from instana_client.models.identity_provider_patch import IdentityProviderPatch as IdentityProviderPatch -from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo as ImpactedBeaconInfo -from instana_client.models.infra_alert_config import InfraAlertConfig as InfraAlertConfig -from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata as InfraAlertConfigWithMetadata -from instana_client.models.infra_alert_rule import InfraAlertRule as InfraAlertRule -from instana_client.models.infra_event_result import InfraEventResult as InfraEventResult -from instana_client.models.infra_metric_configuration import InfraMetricConfiguration as InfraMetricConfiguration -from instana_client.models.infra_slo_entity import InfraSloEntity as InfraSloEntity -from instana_client.models.infra_time_threshold import InfraTimeThreshold as InfraTimeThreshold -from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult as InfrastructureEntitiesResult -from instana_client.models.infrastructure_group import InfrastructureGroup as InfrastructureGroup -from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult as InfrastructureGroupsResult -from instana_client.models.infrastructure_item import InfrastructureItem as InfrastructureItem -from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult as InfrastructureMetricResult -from instana_client.models.instana_version_info import InstanaVersionInfo as InstanaVersionInfo -from instana_client.models.integration_overview import IntegrationOverview as IntegrationOverview -from instana_client.models.invitation import Invitation as Invitation -from instana_client.models.invitation_response import InvitationResponse as InvitationResponse -from instana_client.models.invitation_result import InvitationResult as InvitationResult -from instana_client.models.ip_masking_configuration import IpMaskingConfiguration as IpMaskingConfiguration -from instana_client.models.js_stack_trace_line import JsStackTraceLine as JsStackTraceLine -from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext as KubernetesPhysicalContext -from instana_client.models.llm_egress_gateway import LLMEgressGateway as LLMEgressGateway -from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator as LatencyBlueprintIndicator -from instana_client.models.location_status import LocationStatus as LocationStatus -from instana_client.models.log_alert_config import LogAlertConfig as LogAlertConfig -from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata as LogAlertConfigWithMetadata -from instana_client.models.log_alert_rule import LogAlertRule as LogAlertRule -from instana_client.models.log_count_alert_rule import LogCountAlertRule as LogCountAlertRule -from instana_client.models.log_entry_actor import LogEntryActor as LogEntryActor -from instana_client.models.log_event_result import LogEventResult as LogEventResult -from instana_client.models.log_time_threshold import LogTimeThreshold as LogTimeThreshold -from instana_client.models.log_volume_group import LogVolumeGroup as LogVolumeGroup -from instana_client.models.log_volume_usage_item import LogVolumeUsageItem as LogVolumeUsageItem -from instana_client.models.log_volume_usage_result import LogVolumeUsageResult as LogVolumeUsageResult -from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule as LogsApplicationAlertRule -from instana_client.models.maintenance_config import MaintenanceConfig as MaintenanceConfig -from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling as MaintenanceConfigScheduling -from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 as MaintenanceConfigV2 -from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence as MaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated as MaintenanceConfigWithLastUpdated -from instana_client.models.maintenance_window import MaintenanceWindow as MaintenanceWindow -from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration as ManualAlertingChannelConfiguration -from instana_client.models.manual_close_info import ManualCloseInfo as ManualCloseInfo -from instana_client.models.manual_service_config import ManualServiceConfig as ManualServiceConfig -from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule as MatchAllHttpPathSegmentMatchingRule -from instana_client.models.match_expression_dto import MatchExpressionDTO as MatchExpressionDTO -from instana_client.models.meta_data import MetaData as MetaData -from instana_client.models.metric_api_result import MetricAPIResult as MetricAPIResult -from instana_client.models.metric_config import MetricConfig as MetricConfig -from instana_client.models.metric_configuration import MetricConfiguration as MetricConfiguration -from instana_client.models.metric_description import MetricDescription as MetricDescription -from instana_client.models.metric_instance import MetricInstance as MetricInstance -from instana_client.models.metric_item import MetricItem as MetricItem -from instana_client.models.metric_metadata import MetricMetadata as MetricMetadata -from instana_client.models.metric_pattern import MetricPattern as MetricPattern -from instana_client.models.metric_query import MetricQuery as MetricQuery -from instana_client.models.metrics_result import MetricsResult as MetricsResult -from instana_client.models.metrics_result_item import MetricsResultItem as MetricsResultItem -from instana_client.models.metrics_test_result_item import MetricsTestResultItem as MetricsTestResultItem -from instana_client.models.mobile_app import MobileApp as MobileApp -from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig as MobileAppAlertConfig -from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule as MobileAppAlertRule -from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem as MobileAppBeaconGroupsItem -from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult as MobileAppBeaconGroupsResult -from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult as MobileAppBeaconResult -from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup as MobileAppBeaconTagGroup -from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem as MobileAppBeaconsItem -from instana_client.models.mobile_app_event_result import MobileAppEventResult as MobileAppEventResult -from instana_client.models.mobile_app_metric_result import MobileAppMetricResult as MobileAppMetricResult -from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon as MobileAppMonitoringBeacon -from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription as MobileAppMonitoringMetricDescription -from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration as MobileAppMonitoringMetricsConfiguration -from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold as MobileAppTimeThreshold -from instana_client.models.model_field import ModelField as ModelField -from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats as MonitoredEntitiesStats -from instana_client.models.monitoring_state import MonitoringState as MonitoringState -from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration as MultipleScriptsConfiguration -from instana_client.models.multiplication import Multiplication as Multiplication -from instana_client.models.nested_operation import NestedOperation as NestedOperation -from instana_client.models.new_application_config import NewApplicationConfig as NewApplicationConfig -from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig as NewBusinessPerspectiveConfig -from instana_client.models.new_manual_service_config import NewManualServiceConfig as NewManualServiceConfig -from instana_client.models.o_auth_config import OAuthConfig as OAuthConfig -from instana_client.models.o_auth_integration import OAuthIntegration as OAuthIntegration -from instana_client.models.o_auth_token import OAuthToken as OAuthToken -from instana_client.models.occurrence import Occurrence as Occurrence -from instana_client.models.office365_integration import Office365Integration as Office365Integration -from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow as OneTimeMaintenanceWindow -from instana_client.models.opsgenie_integration import OpsgenieIntegration as OpsgenieIntegration -from instana_client.models.order import Order as Order -from instana_client.models.pagerduty_integration import PagerdutyIntegration as PagerdutyIntegration -from instana_client.models.paginated_result import PaginatedResult as PaginatedResult -from instana_client.models.pagination import Pagination as Pagination -from instana_client.models.parameter import Parameter as Parameter -from instana_client.models.parameter_value import ParameterValue as ParameterValue -from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule as PathParameterHttpPathSegmentMatchingRule -from instana_client.models.physical_context import PhysicalContext as PhysicalContext -from instana_client.models.plugin_result import PluginResult as PluginResult -from instana_client.models.policy import Policy as Policy -from instana_client.models.policy_runnable import PolicyRunnable as PolicyRunnable -from instana_client.models.policy_scheduling import PolicyScheduling as PolicyScheduling -from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest as PostMobileAppSourceMapConfigRequest -from instana_client.models.post_snapshots_result import PostSnapshotsResult as PostSnapshotsResult -from instana_client.models.problem import Problem as Problem -from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration as PrometheusWebhookIntegration -from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow as RecurrentMaintenanceWindow -from instana_client.models.release import Release as Release -from instana_client.models.release_scope import ReleaseScope as ReleaseScope -from instana_client.models.release_with_metadata import ReleaseWithMetadata as ReleaseWithMetadata -from instana_client.models.retention_period import RetentionPeriod as RetentionPeriod -from instana_client.models.rolling_time_window import RollingTimeWindow as RollingTimeWindow -from instana_client.models.rule_input import RuleInput as RuleInput -from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule as RuleWithThresholdApplicationAlertRule -from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule as RuleWithThresholdInfraAlertRule -from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule as RuleWithThresholdLogAlertRule -from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule as RuleWithThresholdMobileAppAlertRule -from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule as RuleWithThresholdWebsiteAlertRule -from instana_client.models.run_configuration import RunConfiguration as RunConfiguration -from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag as SLOConfigWithRBACTag -from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration as SSLCertificateConfiguration -from instana_client.models.ssl_certificate_validation import SSLCertificateValidation as SSLCertificateValidation -from instana_client.models.salesforce_integration import SalesforceIntegration as SalesforceIntegration -from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator as SaturationBlueprintIndicator -from instana_client.models.scope_binding import ScopeBinding as ScopeBinding -from instana_client.models.search_field_result import SearchFieldResult as SearchFieldResult -from instana_client.models.service import Service as Service -from instana_client.models.service_config import ServiceConfig as ServiceConfig -from instana_client.models.service_event_result import ServiceEventResult as ServiceEventResult -from instana_client.models.service_item import ServiceItem as ServiceItem -from instana_client.models.service_level_indicator import ServiceLevelIndicator as ServiceLevelIndicator -from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule as ServiceLevelObjectiveAlertRule -from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig as ServiceLevelsAlertConfig -from instana_client.models.service_levels_alert_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_settings import SessionSettings as SessionSettings -from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration as SimpleMetricConfiguration -from instana_client.models.single_value import SingleValue as SingleValue -from instana_client.models.slack_integration import SlackIntegration as SlackIntegration -from instana_client.models.sli_configuration import SliConfiguration as SliConfiguration -from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated as SliConfigurationWithLastUpdated -from instana_client.models.sli_entity import SliEntity as SliEntity -from instana_client.models.sli_report import SliReport as SliReport -from instana_client.models.slo_entity import SloEntity as SloEntity -from instana_client.models.slo_report import SloReport as SloReport -from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule as SlownessApplicationAlertRule -from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule as SlownessMobileAppAlertRule -from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule as SlownessWebsiteAlertRule -from instana_client.models.snapshot_item import SnapshotItem as SnapshotItem -from instana_client.models.snapshot_preview import SnapshotPreview as SnapshotPreview -from instana_client.models.snapshot_result import SnapshotResult as SnapshotResult -from instana_client.models.software_user import SoftwareUser as SoftwareUser -from instana_client.models.software_version import SoftwareVersion as SoftwareVersion -from instana_client.models.source_map_file_blob import SourceMapFileBlob as SourceMapFileBlob -from instana_client.models.source_map_file_meta import SourceMapFileMeta as SourceMapFileMeta -from instana_client.models.source_map_upload_config import SourceMapUploadConfig as SourceMapUploadConfig -from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs as SourceMapUploadConfigs -from instana_client.models.span_excerpt import SpanExcerpt as SpanExcerpt -from instana_client.models.span_relation import SpanRelation as SpanRelation -from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule as SpecificJsErrorsWebsiteAlertRule -from instana_client.models.splunk_integration import SplunkIntegration as SplunkIntegration -from instana_client.models.stack_trace_item import StackTraceItem as StackTraceItem -from instana_client.models.stack_trace_line import StackTraceLine as StackTraceLine -from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule as StaticBaselineThresholdRule -from instana_client.models.static_string_field import StaticStringField as StaticStringField -from instana_client.models.static_threshold import StaticThreshold as StaticThreshold -from instana_client.models.static_threshold_rule import StaticThresholdRule as StaticThresholdRule -from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule as StatusCodeApplicationAlertRule -from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule as StatusCodeMobileAppAlertRule -from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule as StatusCodeWebsiteAlertRule -from instana_client.models.subtraction import Subtraction as Subtraction -from instana_client.models.synthetic_alert_config import SyntheticAlertConfig as SyntheticAlertConfig -from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata as SyntheticAlertConfigWithMetadata -from instana_client.models.synthetic_alert_rule import SyntheticAlertRule as SyntheticAlertRule -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_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_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_time_threshold import SyntheticTimeThreshold as SyntheticTimeThreshold -from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration as SyntheticTypeConfiguration -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_last_error import TestLastError as TestLastError -from instana_client.models.test_result import TestResult as TestResult -from instana_client.models.test_result_common_properties import TestResultCommonProperties as TestResultCommonProperties -from instana_client.models.test_result_detail_data import TestResultDetailData as TestResultDetailData -from instana_client.models.test_result_item import TestResultItem as TestResultItem -from instana_client.models.test_result_list_item import TestResultListItem as TestResultListItem -from instana_client.models.test_result_list_result import TestResultListResult as TestResultListResult -from instana_client.models.test_result_metadata import TestResultMetadata as TestResultMetadata -from instana_client.models.test_result_subtransaction import TestResultSubtransaction as TestResultSubtransaction -from instana_client.models.threshold import Threshold as Threshold -from instana_client.models.threshold_config_rule import ThresholdConfigRule as ThresholdConfigRule -from instana_client.models.threshold_rule import ThresholdRule as ThresholdRule -from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule as ThroughputApplicationAlertRule -from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule as ThroughputMobileAppAlertRule -from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule as ThroughputWebsiteAlertRule -from instana_client.models.time_frame import TimeFrame as TimeFrame -from instana_client.models.time_window import TimeWindow as TimeWindow -from instana_client.models.topology import Topology as Topology -from instana_client.models.trace import Trace as Trace -from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails as TraceActivityTreeNodeDetails -from instana_client.models.trace_download_result import TraceDownloadResult as TraceDownloadResult -from instana_client.models.trace_groups_item import TraceGroupsItem as TraceGroupsItem -from instana_client.models.trace_groups_result import TraceGroupsResult as TraceGroupsResult -from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold as TraceImpactApplicationTimeThreshold -from instana_client.models.trace_item import TraceItem as TraceItem -from instana_client.models.trace_result import TraceResult as TraceResult -from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator as TrafficBlueprintIndicator -from instana_client.models.trigger import Trigger as Trigger -from instana_client.models.type_configuration import TypeConfiguration as TypeConfiguration -from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule as UnsupportedHttpPathSegmentMatchingRule -from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig as UpdatedBusinessPerspectiveConfig -from instana_client.models.usage_result import UsageResult as UsageResult -from instana_client.models.usage_result_items import UsageResultItems as UsageResultItems -from instana_client.models.user_basic_result import UserBasicResult as UserBasicResult -from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold as UserImpactMobileAppTimeThreshold -from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold as UserImpactWebsiteTimeThreshold -from instana_client.models.user_result import UserResult as UserResult -from instana_client.models.users_result import UsersResult as UsersResult -from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo as ValidatedAlertingChannelInputInfo -from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration as ValidatedAlertingConfiguration -from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence as ValidatedMaintenanceConfigV2WithStateAndOccurrence -from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus as ValidatedMaintenanceConfigWithStatus -from instana_client.models.victor_ops_integration import VictorOpsIntegration as VictorOpsIntegration -from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold as ViolationsInPeriodApplicationTimeThreshold -from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold as ViolationsInPeriodMobileAppTimeThreshold -from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold as ViolationsInPeriodWebsiteTimeThreshold -from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold as ViolationsInSequenceApplicationTimeThreshold -from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold as ViolationsInSequenceInfraTimeThreshold -from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold as ViolationsInSequenceLogTimeThreshold -from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold as ViolationsInSequenceMobileAppTimeThreshold -from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold as ViolationsInSequenceSyntheticTimeThreshold -from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold as ViolationsInSequenceWebsiteTimeThreshold -from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration as WatsonAIOpsWebhookIntegration -from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration as WebexTeamsWebhookIntegration -from instana_client.models.webhook_integration import WebhookIntegration as WebhookIntegration -from instana_client.models.webpage_action_configuration import WebpageActionConfiguration as WebpageActionConfiguration -from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration as WebpageScriptConfiguration -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_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_metadata 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__, - ) - ) +from instana_client.models.abstract_integration import AbstractIntegration +from instana_client.models.abstract_rule import AbstractRule +from instana_client.models.access_log_entry import AccessLogEntry +from instana_client.models.access_log_response import AccessLogResponse +from instana_client.models.access_rule import AccessRule +from instana_client.models.action import Action +from instana_client.models.action_configuration import ActionConfiguration +from instana_client.models.action_instance import ActionInstance +from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry +from instana_client.models.action_instance_parameter import ActionInstanceParameter +from instana_client.models.action_instance_request import ActionInstanceRequest +from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters +from instana_client.models.action_match import ActionMatch +from instana_client.models.action_search_space import ActionSearchSpace +from instana_client.models.adaptive_baseline import AdaptiveBaseline +from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule +from instana_client.models.addition import Addition +from instana_client.models.adjusted_timeframe import AdjustedTimeframe +from instana_client.models.agent_configuration_update import AgentConfigurationUpdate +from instana_client.models.alerting_configuration import AlertingConfiguration +from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated +from instana_client.models.alerting_time_window import AlertingTimeWindow +from instana_client.models.apdex_configuration import ApdexConfiguration +from instana_client.models.apdex_configuration_input import ApdexConfigurationInput +from instana_client.models.apdex_entity import ApdexEntity +from instana_client.models.apdex_report import ApdexReport +from instana_client.models.api_create_group import ApiCreateGroup +from instana_client.models.api_create_role import ApiCreateRole +from instana_client.models.api_group import ApiGroup +from instana_client.models.api_member import ApiMember +from instana_client.models.api_permission_set import ApiPermissionSet +from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter +from instana_client.models.api_role import ApiRole +from instana_client.models.api_tag import ApiTag +from instana_client.models.api_team import ApiTeam +from instana_client.models.api_team_info import ApiTeamInfo +from instana_client.models.api_team_member import ApiTeamMember +from instana_client.models.api_team_role import ApiTeamRole +from instana_client.models.api_team_scope import ApiTeamScope +from instana_client.models.api_token import ApiToken +from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration +from instana_client.models.application import Application +from instana_client.models.application_alert_config import ApplicationAlertConfig +from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata +from instana_client.models.application_alert_rule import ApplicationAlertRule +from instana_client.models.application_apdex_entity import ApplicationApdexEntity +from instana_client.models.application_config import ApplicationConfig +from instana_client.models.application_event_result import ApplicationEventResult +from instana_client.models.application_item import ApplicationItem +from instana_client.models.application_metric_result import ApplicationMetricResult +from instana_client.models.application_node import ApplicationNode +from instana_client.models.application_result import ApplicationResult +from instana_client.models.application_scope import ApplicationScope +from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata +from instana_client.models.application_sli_entity import ApplicationSliEntity +from instana_client.models.application_slo_entity import ApplicationSloEntity +from instana_client.models.application_time_threshold import ApplicationTimeThreshold +from instana_client.models.arithmetic_configuration import ArithmeticConfiguration +from instana_client.models.arithmetic_operand import ArithmeticOperand +from instana_client.models.arithmetic_operation import ArithmeticOperation +from instana_client.models.audit_log_entry import AuditLogEntry +from instana_client.models.audit_log_ui_response import AuditLogUiResponse +from instana_client.models.author import Author +from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator +from instana_client.models.availability_sli_entity import AvailabilitySliEntity +from instana_client.models.available_metrics import AvailableMetrics +from instana_client.models.available_plugins import AvailablePlugins +from instana_client.models.backend_trace_reference import BackendTraceReference +from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration +from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration +from instana_client.models.binary_operator_dto import BinaryOperatorDTO +from instana_client.models.browser_script_configuration import BrowserScriptConfiguration +from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate +from instana_client.models.built_in_event_specification import BuiltInEventSpecification +from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated +from instana_client.models.business_activity import BusinessActivity +from instana_client.models.business_perspective_config import BusinessPerspectiveConfig +from instana_client.models.call_groups_item import CallGroupsItem +from instana_client.models.call_groups_result import CallGroupsResult +from instana_client.models.call_relation import CallRelation +from instana_client.models.change_summary import ChangeSummary +from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext +from instana_client.models.condition import Condition +from instana_client.models.config_version import ConfigVersion +from instana_client.models.correction import Correction +from instana_client.models.correction_configuration import CorrectionConfiguration +from instana_client.models.correction_scheduling import CorrectionScheduling +from instana_client.models.correction_window import CorrectionWindow +from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule +from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner +from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem +from instana_client.models.cursor_pagination import CursorPagination +from instana_client.models.cursor_pagination_infra_explore_cursor import CursorPaginationInfraExploreCursor +from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator +from instana_client.models.custom_dashboard import CustomDashboard +from instana_client.models.custom_dashboard_preview import CustomDashboardPreview +from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation +from instana_client.models.custom_dependency import CustomDependency +from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix +from instana_client.models.custom_entity_model import CustomEntityModel +from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata +from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule +from instana_client.models.custom_event_specification import CustomEventSpecification +from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated +from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule +from instana_client.models.custom_metric import CustomMetric +from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration +from instana_client.models.custom_payload_field import CustomPayloadField +from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated +from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion +from instana_client.models.dns_configuration import DNSConfiguration +from instana_client.models.dns_configuration_update import DNSConfigurationUpdate +from instana_client.models.dns_filter_query_time import DNSFilterQueryTime +from instana_client.models.dns_filter_target_value import DNSFilterTargetValue +from instana_client.models.dashboard_api_token import DashboardApiToken +from instana_client.models.database_integration import DatabaseIntegration +from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter +from instana_client.models.division import Division +from instana_client.models.duration import Duration +from instana_client.models.dynamic_field import DynamicField +from instana_client.models.dynamic_field_value import DynamicFieldValue +from instana_client.models.dynamic_parameter import DynamicParameter +from instana_client.models.edit_user import EditUser +from instana_client.models.email_integration import EmailIntegration +from instana_client.models.empty_configuration import EmptyConfiguration +from instana_client.models.endpoint import Endpoint +from instana_client.models.endpoint_config import EndpointConfig +from instana_client.models.endpoint_event_result import EndpointEventResult +from instana_client.models.endpoint_item import EndpointItem +from instana_client.models.endpoint_metric_result import EndpointMetricResult +from instana_client.models.endpoint_node import EndpointNode +from instana_client.models.endpoint_result import EndpointResult +from instana_client.models.endpoint_simple import EndpointSimple +from instana_client.models.entity_count_rule import EntityCountRule +from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule +from instana_client.models.entity_health_info import EntityHealthInfo +from instana_client.models.entity_id import EntityId +from instana_client.models.entity_verification_rule import EntityVerificationRule +from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule +from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule +from instana_client.models.event import Event +from instana_client.models.event_filtering_configuration import EventFilteringConfiguration +from instana_client.models.event_result import EventResult +from instana_client.models.event_specification_info import EventSpecificationInfo +from instana_client.models.extended_service import ExtendedService +from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule +from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule +from instana_client.models.fixed_time_window import FixedTimeWindow +from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule +from instana_client.models.geo_location_configuration import GeoLocationConfiguration +from instana_client.models.geo_mapping_rule import GeoMappingRule +from instana_client.models.geo_subdivision import GeoSubdivision +from instana_client.models.get_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_snapshots_query import GetSnapshotsQuery +from instana_client.models.get_test_result import GetTestResult +from instana_client.models.get_test_result_analytic import GetTestResultAnalytic +from instana_client.models.get_test_result_base import GetTestResultBase +from instana_client.models.get_test_result_list import GetTestResultList +from instana_client.models.get_test_summary_result import GetTestSummaryResult +from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem +from instana_client.models.get_trace_groups import GetTraceGroups +from instana_client.models.get_traces import GetTraces +from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups +from instana_client.models.get_website_beacons import GetWebsiteBeacons +from instana_client.models.get_website_metrics import GetWebsiteMetrics +from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 +from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata +from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig +from instana_client.models.google_chat_integration import GoogleChatIntegration +from instana_client.models.graph_edge import GraphEdge +from instana_client.models.graph_node import GraphNode +from instana_client.models.group import Group +from instana_client.models.group_by_tag import GroupByTag +from instana_client.models.group_mapping import GroupMapping +from instana_client.models.group_mapping_overview import GroupMappingOverview +from instana_client.models.health_state import HealthState +from instana_client.models.historic_baseline import HistoricBaseline +from instana_client.models.host_availability_rule import HostAvailabilityRule +from instana_client.models.http_action_configuration import HttpActionConfiguration +from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate +from instana_client.models.http_endpoint_config import HttpEndpointConfig +from instana_client.models.http_endpoint_rule import HttpEndpointRule +from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule +from instana_client.models.http_script_configuration import HttpScriptConfiguration +from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate +from instana_client.models.hyper_param import HyperParam +from instana_client.models.identity_provider_patch import IdentityProviderPatch +from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo +from instana_client.models.infra_alert_config import InfraAlertConfig +from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata +from instana_client.models.infra_alert_rule import InfraAlertRule +from instana_client.models.infra_event_result import InfraEventResult +from instana_client.models.infra_metric_configuration import InfraMetricConfiguration +from instana_client.models.infra_slo_entity import InfraSloEntity +from instana_client.models.infra_time_threshold import InfraTimeThreshold +from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult +from instana_client.models.infrastructure_group import InfrastructureGroup +from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult +from instana_client.models.infrastructure_item import InfrastructureItem +from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult +from instana_client.models.instana_version_info import InstanaVersionInfo +from instana_client.models.integration_overview import IntegrationOverview +from instana_client.models.invitation import Invitation +from instana_client.models.invitation_response import InvitationResponse +from instana_client.models.invitation_result import InvitationResult +from instana_client.models.ip_masking_configuration import IpMaskingConfiguration +from instana_client.models.js_stack_trace_line import JsStackTraceLine +from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext +from instana_client.models.llm_egress_gateway import LLMEgressGateway +from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator +from instana_client.models.location_status import LocationStatus +from instana_client.models.log_alert_config import LogAlertConfig +from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata +from instana_client.models.log_alert_rule import LogAlertRule +from instana_client.models.log_count_alert_rule import LogCountAlertRule +from instana_client.models.log_entry_actor import LogEntryActor +from instana_client.models.log_event_result import LogEventResult +from instana_client.models.log_time_threshold import LogTimeThreshold +from instana_client.models.log_volume_group import LogVolumeGroup +from instana_client.models.log_volume_usage_item import LogVolumeUsageItem +from instana_client.models.log_volume_usage_result import LogVolumeUsageResult +from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule +from instana_client.models.maintenance_config import MaintenanceConfig +from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling +from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 +from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated +from instana_client.models.maintenance_window import MaintenanceWindow +from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration +from instana_client.models.manual_close_info import ManualCloseInfo +from instana_client.models.manual_service_config import ManualServiceConfig +from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule +from instana_client.models.match_expression_dto import MatchExpressionDTO +from instana_client.models.meta_data import MetaData +from instana_client.models.metric_api_result import MetricAPIResult +from instana_client.models.metric_config import MetricConfig +from instana_client.models.metric_configuration import MetricConfiguration +from instana_client.models.metric_description import MetricDescription +from instana_client.models.metric_instance import MetricInstance +from instana_client.models.metric_item import MetricItem +from instana_client.models.metric_metadata import MetricMetadata +from instana_client.models.metric_pattern import MetricPattern +from instana_client.models.metric_query import MetricQuery +from instana_client.models.metrics_result import MetricsResult +from instana_client.models.metrics_result_item import MetricsResultItem +from instana_client.models.metrics_test_result_item import MetricsTestResultItem +from instana_client.models.mobile_app import MobileApp +from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig +from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule +from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem +from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult +from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult +from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup +from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem +from instana_client.models.mobile_app_event_result import MobileAppEventResult +from instana_client.models.mobile_app_metric_result import MobileAppMetricResult +from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon +from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription +from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration +from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold +from instana_client.models.model_field import ModelField +from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats +from instana_client.models.monitoring_state import MonitoringState +from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration +from instana_client.models.multiplication import Multiplication +from instana_client.models.nested_operation import NestedOperation +from instana_client.models.new_application_config import NewApplicationConfig +from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig +from instana_client.models.new_manual_service_config import NewManualServiceConfig +from instana_client.models.o_auth_config import OAuthConfig +from instana_client.models.o_auth_integration import OAuthIntegration +from instana_client.models.o_auth_token import OAuthToken +from instana_client.models.occurrence import Occurrence +from instana_client.models.office365_integration import Office365Integration +from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow +from instana_client.models.opsgenie_integration import OpsgenieIntegration +from instana_client.models.order import Order +from instana_client.models.pagerduty_integration import PagerdutyIntegration +from instana_client.models.paginated_result import PaginatedResult +from instana_client.models.pagination import Pagination +from instana_client.models.parameter import Parameter +from instana_client.models.parameter_value import ParameterValue +from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule +from instana_client.models.physical_context import PhysicalContext +from instana_client.models.plugin_result import PluginResult +from instana_client.models.policy import Policy +from instana_client.models.policy_runnable import PolicyRunnable +from instana_client.models.policy_scheduling import PolicyScheduling +from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest +from instana_client.models.post_snapshots_result import PostSnapshotsResult +from instana_client.models.problem import Problem +from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration +from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow +from instana_client.models.release import Release +from instana_client.models.release_scope import ReleaseScope +from instana_client.models.release_with_metadata import ReleaseWithMetadata +from instana_client.models.retention_period import RetentionPeriod +from instana_client.models.rolling_time_window import RollingTimeWindow +from instana_client.models.rule_input import RuleInput +from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule +from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule +from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule +from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule +from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule +from instana_client.models.run_configuration import RunConfiguration +from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag +from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration +from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate +from instana_client.models.ssl_certificate_validation import SSLCertificateValidation +from instana_client.models.salesforce_integration import SalesforceIntegration +from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator +from instana_client.models.scope_binding import ScopeBinding +from instana_client.models.search_field_result import SearchFieldResult +from instana_client.models.service import Service +from instana_client.models.service_config import ServiceConfig +from instana_client.models.service_event_result import ServiceEventResult +from instana_client.models.service_item import ServiceItem +from instana_client.models.service_level_indicator import ServiceLevelIndicator +from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule +from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig +from instana_client.models.service_levels_alert_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_settings import SessionSettings +from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration +from instana_client.models.single_value import SingleValue +from instana_client.models.slack_integration import SlackIntegration +from instana_client.models.sli_configuration import SliConfiguration +from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated +from instana_client.models.sli_entity import SliEntity +from instana_client.models.sli_report import SliReport +from instana_client.models.slo_entity import SloEntity +from instana_client.models.slo_report import SloReport +from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule +from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule +from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule +from instana_client.models.snapshot_item import SnapshotItem +from instana_client.models.snapshot_preview import SnapshotPreview +from instana_client.models.snapshot_result import SnapshotResult +from instana_client.models.software_user import SoftwareUser +from instana_client.models.software_version import SoftwareVersion +from instana_client.models.source_map_file_blob import SourceMapFileBlob +from instana_client.models.source_map_file_meta import SourceMapFileMeta +from instana_client.models.source_map_upload_config import SourceMapUploadConfig +from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs +from instana_client.models.span_excerpt import SpanExcerpt +from instana_client.models.span_relation import SpanRelation +from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule +from instana_client.models.splunk_integration import SplunkIntegration +from instana_client.models.stack_trace_item import StackTraceItem +from instana_client.models.stack_trace_line import StackTraceLine +from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule +from instana_client.models.static_string_field import StaticStringField +from instana_client.models.static_threshold import StaticThreshold +from instana_client.models.static_threshold_rule import StaticThresholdRule +from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule +from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule +from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule +from instana_client.models.subtraction import Subtraction +from instana_client.models.synthetic_alert_config import SyntheticAlertConfig +from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata +from instana_client.models.synthetic_alert_rule import SyntheticAlertRule +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse +from instana_client.models.synthetic_call_config import SyntheticCallConfig +from instana_client.models.synthetic_call_rule import SyntheticCallRule +from instana_client.models.synthetic_call_with_defaults_config import SyntheticCallWithDefaultsConfig +from instana_client.models.synthetic_configuration import SyntheticConfiguration +from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate +from instana_client.models.synthetic_credential import SyntheticCredential +from instana_client.models.synthetic_datacenter import SyntheticDatacenter +from instana_client.models.synthetic_datacenter_configuration import SyntheticDatacenterConfiguration +from instana_client.models.synthetic_geo_point import SyntheticGeoPoint +from instana_client.models.synthetic_location import SyntheticLocation +from instana_client.models.synthetic_location_configuration import SyntheticLocationConfiguration +from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration +from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup +from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation +from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString +from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString +from instana_client.models.synthetic_slo_entity import SyntheticSloEntity +from instana_client.models.synthetic_test import SyntheticTest +from instana_client.models.synthetic_test_cicd import SyntheticTestCICD +from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization +from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem +from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse +from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate +from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate +from instana_client.models.synthetic_test_update import SyntheticTestUpdate +from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold +from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from instana_client.models.synthetics_event_result import SyntheticsEventResult +from instana_client.models.system_rule import SystemRule +from instana_client.models.system_rule_label import SystemRuleLabel +from instana_client.models.tag import Tag +from instana_client.models.tag_catalog import TagCatalog +from instana_client.models.tag_filter import TagFilter +from instana_client.models.tag_filter_expression import TagFilterExpression +from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement +from instana_client.models.tag_matcher_dto import TagMatcherDTO +from instana_client.models.tag_tree_level import TagTreeLevel +from instana_client.models.tag_tree_node import TagTreeNode +from instana_client.models.tag_tree_tag import TagTreeTag +from instana_client.models.test_common_properties import TestCommonProperties +from instana_client.models.test_last_error import TestLastError +from instana_client.models.test_result import TestResult +from instana_client.models.test_result_common_properties import TestResultCommonProperties +from instana_client.models.test_result_detail_data import TestResultDetailData +from instana_client.models.test_result_item import TestResultItem +from instana_client.models.test_result_list_item import TestResultListItem +from instana_client.models.test_result_list_result import TestResultListResult +from instana_client.models.test_result_metadata import TestResultMetadata +from instana_client.models.test_result_subtransaction import TestResultSubtransaction +from instana_client.models.threshold import Threshold +from instana_client.models.threshold_config_rule import ThresholdConfigRule +from instana_client.models.threshold_rule import ThresholdRule +from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule +from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule +from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule +from instana_client.models.time_frame import TimeFrame +from instana_client.models.time_window import TimeWindow +from instana_client.models.topology import Topology +from instana_client.models.trace import Trace +from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails +from instana_client.models.trace_download_result import TraceDownloadResult +from instana_client.models.trace_groups_item import TraceGroupsItem +from instana_client.models.trace_groups_result import TraceGroupsResult +from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold +from instana_client.models.trace_item import TraceItem +from instana_client.models.trace_result import TraceResult +from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator +from instana_client.models.trigger import Trigger +from instana_client.models.type_configuration import TypeConfiguration +from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule +from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig +from instana_client.models.usage_result import UsageResult +from instana_client.models.usage_result_items import UsageResultItems +from instana_client.models.user_basic_result import UserBasicResult +from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold +from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold +from instana_client.models.user_result import UserResult +from instana_client.models.users_result import UsersResult +from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo +from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration +from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence +from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus +from instana_client.models.victor_ops_integration import VictorOpsIntegration +from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold +from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold +from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold +from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold +from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold +from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold +from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold +from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold +from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold +from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration +from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration +from instana_client.models.webhook_integration import WebhookIntegration +from instana_client.models.webpage_action_configuration import WebpageActionConfiguration +from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate +from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration +from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate +from instana_client.models.website import Website +from instana_client.models.website_alert_config import WebsiteAlertConfig +from instana_client.models.website_alert_config_with_metadata import WebsiteAlertConfigWithMetadata +from instana_client.models.website_alert_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_metadata import WithMetadata +from instana_client.models.with_resolved_name import WithResolvedName +from instana_client.models.z_chat_ops_integration import ZChatOpsIntegration diff --git a/instana_client/api/__init__.py b/instana_client/api/__init__.py index 7cb0ef4..dba822f 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -1,77 +1,6 @@ # flake8: noqa -if __import__("typing").TYPE_CHECKING: - # import apis into api package - from instana_client.api.ai_management_api import AIManagementApi - from instana_client.api.api_token_api import APITokenApi - from instana_client.api.action_catalog_api import ActionCatalogApi - from instana_client.api.action_history_api import ActionHistoryApi - from instana_client.api.apdex_report_api import ApdexReportApi - from instana_client.api.apdex_settings_api import ApdexSettingsApi - from instana_client.api.application_alert_configuration_api import ApplicationAlertConfigurationApi - from instana_client.api.application_analyze_api import ApplicationAnalyzeApi - from instana_client.api.application_catalog_api import ApplicationCatalogApi - from instana_client.api.application_metrics_api import ApplicationMetricsApi - from instana_client.api.application_resources_api import ApplicationResourcesApi - from instana_client.api.application_settings_api import ApplicationSettingsApi - from instana_client.api.application_topology_api import ApplicationTopologyApi - from instana_client.api.audit_log_api import AuditLogApi - from instana_client.api.authentication_api import AuthenticationApi - from instana_client.api.business_monitoring_api import BusinessMonitoringApi - from instana_client.api.custom_dashboards_api import CustomDashboardsApi - from instana_client.api.custom_entities_api import CustomEntitiesApi - from instana_client.api.end_user_monitoring_api import EndUserMonitoringApi - from instana_client.api.event_settings_api import EventSettingsApi - from instana_client.api.events_api import EventsApi - from instana_client.api.global_application_alert_configuration_api import GlobalApplicationAlertConfigurationApi - from instana_client.api.groups_api import GroupsApi - from instana_client.api.health_api import HealthApi - from instana_client.api.host_agent_api import HostAgentApi - from instana_client.api.infrastructure_alert_configuration_api import InfrastructureAlertConfigurationApi - from instana_client.api.infrastructure_analyze_api import InfrastructureAnalyzeApi - from instana_client.api.infrastructure_catalog_api import InfrastructureCatalogApi - from instana_client.api.infrastructure_metrics_api import InfrastructureMetricsApi - from instana_client.api.infrastructure_resources_api import InfrastructureResourcesApi - from instana_client.api.infrastructure_topology_api import InfrastructureTopologyApi - from instana_client.api.log_alert_configuration_api import LogAlertConfigurationApi - from instana_client.api.logging_analyze_api import LoggingAnalyzeApi - from instana_client.api.maintenance_configuration_api import MaintenanceConfigurationApi - from instana_client.api.mobile_app_analyze_api import MobileAppAnalyzeApi - from instana_client.api.mobile_app_catalog_api import MobileAppCatalogApi - from instana_client.api.mobile_app_configuration_api import MobileAppConfigurationApi - from instana_client.api.mobile_app_metrics_api import MobileAppMetricsApi - from instana_client.api.policies_api import PoliciesApi - from instana_client.api.releases_api import ReleasesApi - from instana_client.api.roles_api import RolesApi - from instana_client.api.sli_report_api import SLIReportApi - from instana_client.api.sli_settings_api import SLISettingsApi - from instana_client.api.slo_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_configurations_api import ServiceLevelsObjectiveSLOConfigurationsApi - 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 - -else: - from lazy_imports import LazyModule, as_package, load - - load( - LazyModule( - *as_package(__file__), - """# import apis into api package +# 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 @@ -135,8 +64,3 @@ from instana_client.api.website_configuration_api import WebsiteConfigurationApi from instana_client.api.website_metrics_api import WebsiteMetricsApi -""", - name=__name__, - doc=__doc__, - ) - ) diff --git a/instana_client/api/action_catalog_api.py b/instana_client/api/action_catalog_api.py index e6a0985..ed2791e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 33fac9c..fddd9fb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dc2d849..7edb4e1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 579e5c3..64d61d4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 81889fb..1a78d76 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cf673f5..1494176 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -93,6 +93,7 @@ def delete_api_token( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -159,6 +160,7 @@ def delete_api_token_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -225,6 +227,7 @@ def delete_api_token_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -265,13 +268,6 @@ def _delete_api_token_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -352,6 +348,7 @@ def get_api_token( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiToken", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -419,6 +416,7 @@ def get_api_token_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiToken", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -486,6 +484,7 @@ def get_api_token_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiToken", + '404': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/application_alert_configuration_api.py b/instana_client/api/application_alert_configuration_api.py index 3a75c24..6066ec1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ca1c521..f19f74e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 df03a99..d0b848a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f9745f5..276f884 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4ba8f54..9efb06f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,7 +21,9 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.application_result import ApplicationResult +from instana_client.models.endpoint import Endpoint from instana_client.models.endpoint_result import EndpointResult +from instana_client.models.service import Service from instana_client.models.service_result import ServiceResult from instana_client.api_client import ApiClient, RequestSerialized @@ -45,6 +47,9 @@ def __init__(self, api_client=None) -> None: @validate_call def get_application_endpoints( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, + endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None, technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None, @@ -65,11 +70,17 @@ def get_application_endpoints( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EndpointResult: + ) -> Union[EndpointResult, Endpoint]: """Get endpoints Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter endpoints by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter endpoints by service) + :type service_id: str + :param endpoint_id: Endpoint ID (optional, used to get a specific endpoint) + :type endpoint_id: str :param name_filter: Name of service :type name_filter: str :param types: Type of Endpoint @@ -109,6 +120,9 @@ def get_application_endpoints( """ # noqa: E501 _param = self._get_application_endpoints_serialize( + app_id=app_id, + service_id=service_id, + endpoint_id=endpoint_id, name_filter=name_filter, types=types, technologies=technologies, @@ -123,9 +137,16 @@ def get_application_endpoints( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "EndpointResult", - } + # Determine response type based on parameters + if app_id and service_id and endpoint_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Endpoint", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "EndpointResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -140,6 +161,9 @@ def get_application_endpoints( @validate_call def get_application_endpoints_with_http_info( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, + endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None, technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None, @@ -160,11 +184,17 @@ def get_application_endpoints_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[EndpointResult]: + ) -> Union[ApiResponse[EndpointResult], ApiResponse[Endpoint]]: """Get endpoints Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter endpoints by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter endpoints by service) + :type service_id: str + :param endpoint_id: Endpoint ID (optional, used to get a specific endpoint) + :type endpoint_id: str :param name_filter: Name of service :type name_filter: str :param types: Type of Endpoint @@ -204,6 +234,9 @@ def get_application_endpoints_with_http_info( """ # noqa: E501 _param = self._get_application_endpoints_serialize( + app_id=app_id, + service_id=service_id, + endpoint_id=endpoint_id, name_filter=name_filter, types=types, technologies=technologies, @@ -218,9 +251,16 @@ def get_application_endpoints_with_http_info( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "EndpointResult", - } + # Determine response type based on parameters + if app_id and service_id and endpoint_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Endpoint", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "EndpointResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -235,6 +275,9 @@ def get_application_endpoints_with_http_info( @validate_call def get_application_endpoints_without_preload_content( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, + endpoint_id: Annotated[Optional[StrictStr], Field(description="Endpoint ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service")] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Type of Endpoint")] = None, technologies: Annotated[Optional[List[StrictStr]], Field(description="List of technologies")] = None, @@ -260,6 +303,12 @@ def get_application_endpoints_without_preload_content( Use this API endpoint if one wants to retrieve a list of Endpoints. A use case could be to view the endpoint id of an Endpoint. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter endpoints by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter endpoints by service) + :type service_id: str + :param endpoint_id: Endpoint ID (optional, used to get a specific endpoint) + :type endpoint_id: str :param name_filter: Name of service :type name_filter: str :param types: Type of Endpoint @@ -299,6 +348,9 @@ def get_application_endpoints_without_preload_content( """ # noqa: E501 _param = self._get_application_endpoints_serialize( + app_id=app_id, + service_id=service_id, + endpoint_id=endpoint_id, name_filter=name_filter, types=types, technologies=technologies, @@ -313,9 +365,16 @@ def get_application_endpoints_without_preload_content( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "EndpointResult", - } + # Determine response type based on parameters + if app_id and service_id and endpoint_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Endpoint", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "EndpointResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -325,6 +384,9 @@ def get_application_endpoints_without_preload_content( def _get_application_endpoints_serialize( self, + app_id, + service_id, + endpoint_id, name_filter, types, technologies, @@ -403,6 +465,16 @@ def _get_application_endpoints_serialize( ) + # Build dynamic resource path based on app_id, service_id, and endpoint_id + if app_id and service_id and endpoint_id: + resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}/endpoints;id={endpoint_id}' + elif app_id and service_id: + resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}/endpoints' + elif app_id: + resource_path = f'/api/application-monitoring/applications;id={app_id}/services/endpoints' + else: + resource_path = '/api/application-monitoring/applications/services/endpoints' + # authentication setting _auth_settings: List[str] = [ 'ApiKeyAuth' @@ -410,7 +482,7 @@ def _get_application_endpoints_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/application-monitoring/applications/services/endpoints', + resource_path=resource_path, path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -429,6 +501,8 @@ def _get_application_endpoints_serialize( @validate_call def get_application_services( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None, window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None, to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None, @@ -448,11 +522,15 @@ def get_application_services( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServiceResult: + ) -> Union[ServiceResult, Service]: """Get applications/services Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter services by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter specific service) + :type service_id: str :param name_filter: Name of service (partial match allowed) :type name_filter: str :param window_size: Size of time window in milliseconds @@ -490,6 +568,8 @@ def get_application_services( """ # noqa: E501 _param = self._get_application_services_serialize( + app_id=app_id, + service_id=service_id, name_filter=name_filter, window_size=window_size, to=to, @@ -503,9 +583,16 @@ def get_application_services( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceResult", - } + # Determine response type based on parameters + if app_id and service_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Service", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "ServiceResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -520,6 +607,8 @@ def get_application_services( @validate_call def get_application_services_with_http_info( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None, window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None, to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None, @@ -539,11 +628,15 @@ def get_application_services_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[ServiceResult]: + ) -> Union[ApiResponse[ServiceResult], ApiResponse[Service]]: """Get applications/services Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter services by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter specific service) + :type service_id: str :param name_filter: Name of service (partial match allowed) :type name_filter: str :param window_size: Size of time window in milliseconds @@ -581,6 +674,8 @@ def get_application_services_with_http_info( """ # noqa: E501 _param = self._get_application_services_serialize( + app_id=app_id, + service_id=service_id, name_filter=name_filter, window_size=window_size, to=to, @@ -594,9 +689,16 @@ def get_application_services_with_http_info( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceResult", - } + # Determine response type based on parameters + if app_id and service_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Service", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "ServiceResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -611,6 +713,8 @@ def get_application_services_with_http_info( @validate_call def get_application_services_without_preload_content( self, + app_id: Annotated[Optional[StrictStr], Field(description="Application ID")] = None, + service_id: Annotated[Optional[StrictStr], Field(description="Service ID")] = None, name_filter: Annotated[Optional[StrictStr], Field(description="Name of service (partial match allowed)")] = None, window_size: Annotated[Optional[StrictInt], Field(description="Size of time window in milliseconds")] = None, to: Annotated[Optional[StrictInt], Field(description="Timestamp since Unix Epoch in milliseconds of the end of the time window")] = None, @@ -635,6 +739,10 @@ def get_application_services_without_preload_content( Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. A use case could be to retrieve all service ids present in an Application Perspective. For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + :param app_id: Application ID (optional, used to filter services by application) + :type app_id: str + :param service_id: Service ID (optional, used to filter specific service) + :type service_id: str :param name_filter: Name of service (partial match allowed) :type name_filter: str :param window_size: Size of time window in milliseconds @@ -672,6 +780,8 @@ def get_application_services_without_preload_content( """ # noqa: E501 _param = self._get_application_services_serialize( + app_id=app_id, + service_id=service_id, name_filter=name_filter, window_size=window_size, to=to, @@ -685,9 +795,16 @@ def get_application_services_without_preload_content( _host_index=_host_index ) - _response_types_map: Dict[str, Optional[str]] = { - '200': "ServiceResult", - } + # Determine response type based on parameters + if app_id and service_id: + _response_types_map: Dict[str, Optional[str]] = { + '200': "Service", + } + else: + _response_types_map: Dict[str, Optional[str]] = { + '200': "ServiceResult", + } + response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout @@ -697,6 +814,8 @@ def get_application_services_without_preload_content( def _get_application_services_serialize( self, + app_id, + service_id, name_filter, window_size, to, @@ -768,6 +887,14 @@ def _get_application_services_serialize( ) + # Build dynamic resource path based on app_id and service_id + if app_id and service_id: + resource_path = f'/api/application-monitoring/applications;id={app_id}/services;id={service_id}' + elif app_id: + resource_path = f'/api/application-monitoring/applications;id={app_id}/services' + else: + resource_path = '/api/application-monitoring/applications/services' + # authentication setting _auth_settings: List[str] = [ 'ApiKeyAuth' @@ -775,7 +902,7 @@ def _get_application_services_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/application-monitoring/applications;id=/services', + resource_path=resource_path, path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/instana_client/api/application_settings_api.py b/instana_client/api/application_settings_api.py index 1219f3a..6190859 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index b37281a..7a947d2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 41dc02d..86e10dc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c4edf35..1d0a3ab 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -86,6 +86,7 @@ def delete_google_sso_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -148,6 +149,7 @@ def delete_google_sso_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -210,6 +212,7 @@ def delete_google_sso_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -247,13 +250,6 @@ def _delete_google_sso_config_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -329,6 +325,7 @@ def delete_ldap_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -391,6 +388,7 @@ def delete_ldap_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -453,6 +451,7 @@ def delete_ldap_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -490,13 +489,6 @@ def _delete_ldap_config_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -572,6 +564,7 @@ def delete_oidc_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -634,6 +627,7 @@ def delete_oidc_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -696,6 +690,7 @@ def delete_oidc_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -733,13 +728,6 @@ def _delete_oidc_config_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -815,6 +803,7 @@ def delete_saml_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -877,6 +866,7 @@ def delete_saml_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -939,6 +929,7 @@ def delete_saml_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -976,13 +967,6 @@ def _delete_saml_config_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting diff --git a/instana_client/api/business_monitoring_api.py b/instana_client/api/business_monitoring_api.py index 9bfe6fd..264d4a1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8cede07..550b127 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 bd99a11..3d68834 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,6 @@ from pydantic import StrictStr from instana_client.models.custom_entity_model import CustomEntityModel from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata -from instana_client.models.get_infrastructure_query import GetInfrastructureQuery from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -1110,280 +1109,6 @@ def _list_custom_entities_serialize( - @validate_call - def list_entities_from_infra_entities( - self, - get_infrastructure_query: GetInfrastructureQuery, - _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, - ) -> CustomEntityWithMetadata: - """List all entity types that match the custom entity metadata - - List all entity types that match the custom entity metadata - - :param get_infrastructure_query: (required) - :type get_infrastructure_query: GetInfrastructureQuery - :param _request_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._list_entities_from_infra_entities_serialize( - get_infrastructure_query=get_infrastructure_query, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "CustomEntityWithMetadata", - } - 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 list_entities_from_infra_entities_with_http_info( - self, - get_infrastructure_query: GetInfrastructureQuery, - _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[CustomEntityWithMetadata]: - """List all entity types that match the custom entity metadata - - List all entity types that match the custom entity metadata - - :param get_infrastructure_query: (required) - :type get_infrastructure_query: GetInfrastructureQuery - :param _request_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._list_entities_from_infra_entities_serialize( - get_infrastructure_query=get_infrastructure_query, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "CustomEntityWithMetadata", - } - 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 list_entities_from_infra_entities_without_preload_content( - self, - get_infrastructure_query: GetInfrastructureQuery, - _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: - """List all entity types that match the custom entity metadata - - List all entity types that match the custom entity metadata - - :param get_infrastructure_query: (required) - :type get_infrastructure_query: GetInfrastructureQuery - :param _request_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._list_entities_from_infra_entities_serialize( - get_infrastructure_query=get_infrastructure_query, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "CustomEntityWithMetadata", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _list_entities_from_infra_entities_serialize( - self, - get_infrastructure_query, - _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 get_infrastructure_query is not None: - _body_params = get_infrastructure_query - - - # 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/custom-entitytypes/entities', - 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_custom_entity( self, diff --git a/instana_client/api/end_user_monitoring_api.py b/instana_client/api/end_user_monitoring_api.py index f9154dc..b090cac 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5d278b1..3560bd9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -943,7 +943,7 @@ def delete_alerting_channel( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1010,7 +1010,7 @@ def delete_alerting_channel_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1077,7 +1077,7 @@ def delete_alerting_channel_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1196,6 +1196,9 @@ def delete_built_in_event_specification( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1261,6 +1264,9 @@ def delete_built_in_event_specification_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1326,6 +1332,9 @@ def delete_built_in_event_specification_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1366,13 +1375,6 @@ def _delete_built_in_event_specification_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -1451,6 +1453,9 @@ def delete_custom_event_specification( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1516,6 +1521,9 @@ def delete_custom_event_specification_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1581,6 +1589,9 @@ def delete_custom_event_specification_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -1621,13 +1632,6 @@ def _delete_custom_event_specification_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -1703,7 +1707,7 @@ def delete_custom_payload_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, '401': None, '403': None, } @@ -1768,7 +1772,7 @@ def delete_custom_payload_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, '401': None, '403': None, } @@ -1833,7 +1837,7 @@ def delete_custom_payload_configuration_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, + '204': None, '401': None, '403': None, } @@ -2476,6 +2480,9 @@ def disable_built_in_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2546,6 +2553,9 @@ def disable_built_in_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2616,6 +2626,9 @@ def disable_built_in_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2762,6 +2775,10 @@ def disable_custom_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2832,6 +2849,10 @@ def disable_custom_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2902,6 +2923,10 @@ def disable_custom_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -3624,6 +3649,9 @@ def enable_built_in_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -3694,6 +3722,9 @@ def enable_built_in_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -3764,6 +3795,9 @@ def enable_built_in_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -3910,6 +3944,10 @@ def enable_custom_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -3980,6 +4018,10 @@ def enable_custom_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -4050,6 +4092,10 @@ def enable_custom_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8018,6 +8064,9 @@ def get_built_in_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecification", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8084,6 +8133,9 @@ def get_built_in_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecification", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8150,6 +8202,9 @@ def get_built_in_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "BuiltInEventSpecification", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8547,6 +8602,9 @@ def get_custom_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8614,6 +8672,9 @@ def get_custom_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8681,6 +8742,9 @@ def get_custom_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '401': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -8804,6 +8868,8 @@ def get_custom_event_specifications( _response_types_map: Dict[str, Optional[str]] = { '200': "List[CustomEventSpecificationWithLastUpdated]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -8867,6 +8933,8 @@ def get_custom_event_specifications_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[CustomEventSpecificationWithLastUpdated]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -8930,6 +8998,8 @@ def get_custom_event_specifications_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[CustomEventSpecificationWithLastUpdated]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9571,6 +9641,8 @@ def get_event_specification_infos( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9634,6 +9706,8 @@ def get_event_specification_infos_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9697,6 +9771,8 @@ def get_event_specification_infos_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9821,6 +9897,8 @@ def get_event_specification_infos_by_ids( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9888,6 +9966,8 @@ def get_event_specification_infos_by_ids_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -9955,6 +10035,8 @@ def get_event_specification_infos_by_ids_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[EventSpecificationInfo]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -10092,6 +10174,8 @@ def get_system_rules( _response_types_map: Dict[str, Optional[str]] = { '200': "List[SystemRuleLabel]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -10155,6 +10239,8 @@ def get_system_rules_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[SystemRuleLabel]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -10218,6 +10304,8 @@ def get_system_rules_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[SystemRuleLabel]", + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -11208,6 +11296,9 @@ def post_custom_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -11274,6 +11365,9 @@ def post_custom_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -11340,6 +11434,9 @@ def post_custom_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -12080,6 +12177,10 @@ def put_custom_event_specification( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -12154,6 +12255,10 @@ def put_custom_event_specification_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -12228,6 +12333,10 @@ def put_custom_event_specification_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CustomEventSpecificationWithLastUpdated", + '400': None, + '401': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index 1c826d3..66c59f3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 16ce9ae..c1a5fc7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7f01eb9..ff94b47 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1226,6 +1226,8 @@ def delete_group( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1292,6 +1294,8 @@ def delete_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1358,6 +1362,8 @@ def delete_group_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1688,276 +1694,6 @@ def _delete_group_mapping_serialize( - @validate_call - def delete_group_mappings( - self, - body: 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 multiple group mappings - - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - - :param body: (required) - :type body: 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_group_mappings_serialize( - body=body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': 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 delete_group_mappings_with_http_info( - self, - body: 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 multiple group mappings - - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - - :param body: (required) - :type body: 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_group_mappings_serialize( - body=body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': 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 delete_group_mappings_without_preload_content( - self, - body: 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 multiple group mappings - - For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. - - :param body: (required) - :type body: 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_group_mappings_serialize( - body=body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '422': None, - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _delete_group_mappings_serialize( - self, - body, - _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 body is not None: - _body_params = body - - - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - 'ApiKeyAuth' - ] - - return self.api_client.param_serialize( - method='PUT', - resource_path='/api/settings/rbac/mappings/delete', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - @validate_call def delete_groups( self, @@ -4347,6 +4083,8 @@ def update_group( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiGroup", + '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -4418,6 +4156,8 @@ def update_group_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiGroup", + '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -4489,6 +4229,8 @@ def update_group_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiGroup", + '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index 5e46e64..4e5ff11 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c9ac3dd..74aafec 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 eee2821..5d6e5bd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -96,6 +96,7 @@ def create_infra_alert_config( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -162,6 +163,7 @@ def create_infra_alert_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -228,6 +230,7 @@ def create_infra_alert_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -366,6 +369,9 @@ def delete_infra_alert_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -431,6 +437,9 @@ def delete_infra_alert_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -496,6 +505,9 @@ def delete_infra_alert_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -536,13 +548,6 @@ def _delete_infra_alert_config_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -625,6 +630,9 @@ def disable_infra_alert_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -694,6 +702,9 @@ def disable_infra_alert_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -763,6 +774,9 @@ def disable_infra_alert_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -806,13 +820,6 @@ def _disable_infra_alert_config_serialize( _body_params = body - # 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: @@ -908,6 +915,9 @@ def enable_infra_alert_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -977,6 +987,9 @@ def enable_infra_alert_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1046,6 +1059,9 @@ def enable_infra_alert_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1089,13 +1105,6 @@ def _enable_infra_alert_config_serialize( _body_params = body - # 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: @@ -1457,6 +1466,7 @@ def find_infra_alert_config( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1528,6 +1538,7 @@ def find_infra_alert_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1599,6 +1610,7 @@ def find_infra_alert_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1731,6 +1743,7 @@ def find_infra_alert_config_versions( _response_types_map: Dict[str, Optional[str]] = { '200': "List[ConfigVersion]", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1798,6 +1811,7 @@ def find_infra_alert_config_versions_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[ConfigVersion]", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1865,6 +1879,7 @@ def find_infra_alert_config_versions_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[ConfigVersion]", + '404': None, } response_data = self.api_client.call_api( *_param, @@ -1998,6 +2013,9 @@ def restore_infra_alert_config( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2071,6 +2089,9 @@ def restore_infra_alert_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2144,6 +2165,9 @@ def restore_infra_alert_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '403': None, + '404': None, } response_data = self.api_client.call_api( *_param, @@ -2190,13 +2214,6 @@ def _restore_infra_alert_config_serialize( _body_params = body - # 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: @@ -2294,6 +2311,7 @@ def update_infra_alert_config( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -2365,6 +2383,7 @@ def update_infra_alert_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -2436,6 +2455,7 @@ def update_infra_alert_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "InfraAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/infrastructure_analyze_api.py b/instana_client/api/infrastructure_analyze_api.py index 82a98fa..19099b0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e21d7c7..91fc467 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 98ffda5..4b2b9df 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1bc56de..c35da72 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8236d25..694ee1e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6a7cf16..3fa7195 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -96,6 +96,7 @@ def create_log_alert_config( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -162,6 +163,7 @@ def create_log_alert_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -228,6 +230,7 @@ def create_log_alert_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", + '403': None, } response_data = self.api_client.call_api( *_param, @@ -2308,6 +2311,7 @@ def update_log_alert_config( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -2379,6 +2383,7 @@ def update_log_alert_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, @@ -2450,6 +2455,7 @@ def update_log_alert_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "LogAlertConfigWithMetadata", '204': None, + '403': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index 91af635..ef49f34 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index 9c3a4af..d300c88 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 866233a..1df387f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1341c4e..ed37530 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dc243de..5dec335 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c756456..4401d98 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6afb13d..6bf341f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 52c5ff9..4bf1109 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 aff5fc2..9b06d9a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -96,6 +96,7 @@ def create_role( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -163,6 +164,7 @@ def create_role_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -230,6 +232,7 @@ def create_role_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", + '422': None, } response_data = self.api_client.call_api( *_param, @@ -371,6 +374,7 @@ def delete_role( _response_types_map: Dict[str, Optional[str]] = { '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -439,6 +443,7 @@ def delete_role_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -507,6 +512,7 @@ def delete_role_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '204': None, '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -547,6 +553,13 @@ def _delete_role_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1162,6 +1175,7 @@ def update_role( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1234,6 +1248,7 @@ def update_role_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, @@ -1306,6 +1321,7 @@ def update_role_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "ApiRole", '404': None, + '412': "str", } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index 59d9374..965fd0c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/service_levels_objective_slo_configurations_api.py b/instana_client/api/service_levels_objective_slo_configurations_api.py index 28d94d8..4669f41 100644 --- a/instana_client/api/service_levels_objective_slo_configurations_api.py +++ b/instana_client/api/service_levels_objective_slo_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -870,12 +870,15 @@ def get_all_slo_configs( query: Optional[StrictStr] = None, tag: Optional[List[StrictStr]] = None, entity_type: Optional[List[StrictStr]] = None, + infra_entity_types: Optional[List[StrictStr]] = None, + kubernetes_cluster_uuid: Optional[StrictStr] = None, blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, + rbac_tags: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -906,6 +909,10 @@ def get_all_slo_configs( :type tag: List[str] :param entity_type: :type entity_type: List[str] + :param infra_entity_types: + :type infra_entity_types: List[str] + :param kubernetes_cluster_uuid: + :type kubernetes_cluster_uuid: str :param blueprint: :type blueprint: List[str] :param slo_ids: @@ -918,6 +925,8 @@ def get_all_slo_configs( :type grouped: bool :param refresh: :type refresh: bool + :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 @@ -948,12 +957,15 @@ def get_all_slo_configs( 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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -984,12 +996,15 @@ def get_all_slo_configs_with_http_info( query: Optional[StrictStr] = None, tag: Optional[List[StrictStr]] = None, entity_type: Optional[List[StrictStr]] = None, + infra_entity_types: Optional[List[StrictStr]] = None, + kubernetes_cluster_uuid: Optional[StrictStr] = None, blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, + rbac_tags: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1020,6 +1035,10 @@ def get_all_slo_configs_with_http_info( :type tag: List[str] :param entity_type: :type entity_type: List[str] + :param infra_entity_types: + :type infra_entity_types: List[str] + :param kubernetes_cluster_uuid: + :type kubernetes_cluster_uuid: str :param blueprint: :type blueprint: List[str] :param slo_ids: @@ -1032,6 +1051,8 @@ def get_all_slo_configs_with_http_info( :type grouped: bool :param refresh: :type refresh: bool + :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 @@ -1062,12 +1083,15 @@ def get_all_slo_configs_with_http_info( 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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1098,12 +1122,15 @@ def get_all_slo_configs_without_preload_content( query: Optional[StrictStr] = None, tag: Optional[List[StrictStr]] = None, entity_type: Optional[List[StrictStr]] = None, + infra_entity_types: Optional[List[StrictStr]] = None, + kubernetes_cluster_uuid: Optional[StrictStr] = None, blueprint: Optional[List[StrictStr]] = None, slo_ids: Optional[List[StrictStr]] = None, slo_status: Optional[StrictStr] = None, entity_ids: Optional[List[StrictStr]] = None, grouped: Optional[StrictBool] = None, refresh: Optional[StrictBool] = None, + rbac_tags: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1134,6 +1161,10 @@ def get_all_slo_configs_without_preload_content( :type tag: List[str] :param entity_type: :type entity_type: List[str] + :param infra_entity_types: + :type infra_entity_types: List[str] + :param kubernetes_cluster_uuid: + :type kubernetes_cluster_uuid: str :param blueprint: :type blueprint: List[str] :param slo_ids: @@ -1146,6 +1177,8 @@ def get_all_slo_configs_without_preload_content( :type grouped: bool :param refresh: :type refresh: bool + :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 @@ -1176,12 +1209,15 @@ def get_all_slo_configs_without_preload_content( 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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1207,12 +1243,15 @@ def _get_all_slo_configs_serialize( query, tag, entity_type, + infra_entity_types, + kubernetes_cluster_uuid, blueprint, slo_ids, slo_status, entity_ids, grouped, refresh, + rbac_tags, _request_auth, _content_type, _headers, @@ -1224,9 +1263,11 @@ def _get_all_slo_configs_serialize( _collection_formats: Dict[str, str] = { 'tag': 'multi', 'entityType': 'multi', + 'infraEntityTypes': 'multi', 'blueprint': 'multi', 'sloIds': 'multi', 'entityIds': 'multi', + 'rbacTags': 'multi', } _path_params: Dict[str, str] = {} @@ -1268,6 +1309,14 @@ def _get_all_slo_configs_serialize( _query_params.append(('entityType', entity_type)) + if infra_entity_types is not None: + + _query_params.append(('infraEntityTypes', infra_entity_types)) + + if kubernetes_cluster_uuid is not None: + + _query_params.append(('kubernetesClusterUuid', kubernetes_cluster_uuid)) + if blueprint is not None: _query_params.append(('blueprint', blueprint)) @@ -1292,6 +1341,10 @@ def _get_all_slo_configs_serialize( _query_params.append(('refresh', refresh)) + if rbac_tags is not None: + + _query_params.append(('rbacTags', rbac_tags)) + # process the header parameters # process the form parameters # process the body parameter 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 9627f87..5e78d4b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 42aa04c..b80b16b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f84ed65..e1b0c18 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 54cba0f..6909677 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index d44c7f3..7a09b98 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -94,6 +94,8 @@ def create_slo_correction_window_config( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, @@ -160,6 +162,8 @@ def create_slo_correction_window_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, @@ -226,6 +230,8 @@ def create_slo_correction_window_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, @@ -1297,7 +1303,8 @@ def update_slo_correction_window_config( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", - '404': "str", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, @@ -1368,7 +1375,8 @@ def update_slo_correction_window_config_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", - '404': "str", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, @@ -1439,7 +1447,8 @@ def update_slo_correction_window_config_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CorrectionConfiguration", - '404': "str", + '400': "str", + '500': None, } response_data = self.api_client.call_api( *_param, diff --git a/instana_client/api/slo_correction_windows_api.py b/instana_client/api/slo_correction_windows_api.py index e4c0c0d..2463a38 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 86b8500..7435019 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 854537c..b8f7a4a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1a773a..2025304 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cb0123a..53eae0c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f287f0f..691b5c9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import List, Optional from typing_extensions import Annotated +from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse from instana_client.models.synthetic_credential import SyntheticCredential from instana_client.models.synthetic_datacenter import SyntheticDatacenter from instana_client.models.synthetic_location import SyntheticLocation @@ -27,6 +28,7 @@ from instana_client.models.synthetic_test_cicd import SyntheticTestCICD 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_update import SyntheticTestUpdate from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -46,6 +48,573 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def bulk_delete_synthetic_tests( + self, + request_body: List[StrictStr], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[SyntheticBulkResponse]: + """Delete Synthetic tests + + API request to delete a list of Synthetic Tests. + + :param request_body: (required) + :type request_body: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_delete_synthetic_tests_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': 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 bulk_delete_synthetic_tests_with_http_info( + self, + request_body: List[StrictStr], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[SyntheticBulkResponse]]: + """Delete Synthetic tests + + API request to delete a list of Synthetic Tests. + + :param request_body: (required) + :type request_body: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_delete_synthetic_tests_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': 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 bulk_delete_synthetic_tests_without_preload_content( + self, + request_body: List[StrictStr], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete Synthetic tests + + API request to delete a list of Synthetic Tests. + + :param request_body: (required) + :type request_body: List[str] + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_delete_synthetic_tests_serialize( + request_body=request_body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_delete_synthetic_tests_serialize( + self, + request_body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'request_body': '', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if request_body is not None: + _body_params = request_body + + + # set the HTTP header `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/synthetics/settings/tests/bulk-delete', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def bulk_update_synthetic_tests( + self, + synthetic_test_update: SyntheticTestUpdate, + _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[SyntheticBulkResponse]: + """Update Synthetic tests + + API request to update a list of Synthetic Tests. + + :param synthetic_test_update: (required) + :type synthetic_test_update: SyntheticTestUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_update_synthetic_tests_serialize( + synthetic_test_update=synthetic_test_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': 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 bulk_update_synthetic_tests_with_http_info( + self, + synthetic_test_update: SyntheticTestUpdate, + _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[SyntheticBulkResponse]]: + """Update Synthetic tests + + API request to update a list of Synthetic Tests. + + :param synthetic_test_update: (required) + :type synthetic_test_update: SyntheticTestUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_update_synthetic_tests_serialize( + synthetic_test_update=synthetic_test_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': 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 bulk_update_synthetic_tests_without_preload_content( + self, + synthetic_test_update: SyntheticTestUpdate, + _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 Synthetic tests + + API request to update a list of Synthetic Tests. + + :param synthetic_test_update: (required) + :type synthetic_test_update: SyntheticTestUpdate + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._bulk_update_synthetic_tests_serialize( + synthetic_test_update=synthetic_test_update, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[SyntheticBulkResponse]", + '401': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _bulk_update_synthetic_tests_serialize( + self, + synthetic_test_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 synthetic_test_update is not None: + _body_params = synthetic_test_update + + + # 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/synthetics/settings/tests/bulk-update', + 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_synthetic_credential( self, diff --git a/instana_client/api/synthetic_test_playback_results_api.py b/instana_client/api/synthetic_test_playback_results_api.py index 09f7adc..ae051a1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 69e4942..06a9810 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index fd2968d..87aa120 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a308182..b7a65ef 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1594,267 +1594,6 @@ def _remove_user_from_tenant_serialize( - @validate_call - def remove_users_from_tenant( - self, - request_body: List[StrictStr], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """Remove users from tenant - - Remove multiple users access to the tenant. Removing a user from a tenant does not delete their user account. - - :param request_body: (required) - :type request_body: List[str] - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._remove_users_from_tenant_serialize( - request_body=request_body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '401': None, - '403': None, - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def remove_users_from_tenant_with_http_info( - self, - request_body: List[StrictStr], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """Remove users from tenant - - Remove multiple users access to the tenant. Removing a user from a tenant does not delete their user account. - - :param request_body: (required) - :type request_body: List[str] - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._remove_users_from_tenant_serialize( - request_body=request_body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '401': None, - '403': None, - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def remove_users_from_tenant_without_preload_content( - self, - request_body: List[StrictStr], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """Remove users from tenant - - Remove multiple users access to the tenant. Removing a user from a tenant does not delete their user account. - - :param request_body: (required) - :type request_body: List[str] - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._remove_users_from_tenant_serialize( - request_body=request_body, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '401': None, - '403': None, - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _remove_users_from_tenant_serialize( - self, - request_body, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - 'request_body': '', - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - if request_body is not None: - _body_params = request_body - - - - - # authentication setting - _auth_settings: List[str] = [ - 'ApiKeyAuth' - ] - - return self.api_client.param_serialize( - method='PUT', - resource_path='/api/settings/users/delete', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - @validate_call def revoke_pending_invitation( self, diff --git a/instana_client/api/website_analyze_api.py b/instana_client/api/website_analyze_api.py index 130ecb6..a9b30b9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 90596b5..8eef4df 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e2cf821..1d1035e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6d58804..a4d6067 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9dca406..7876b1f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,6 @@ import os import re import tempfile -import uuid from urllib.parse import quote from typing import Tuple, Optional, List, Dict, Union @@ -92,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.1/python' + self.user_agent = 'OpenAPI-Generator/1.0.2/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -358,8 +357,6 @@ 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 @@ -386,10 +383,6 @@ 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() @@ -412,7 +405,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 de505aa..9d4ddfa 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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.306.1368\n"\ - "SDK Package Version: 1.0.1".\ + "Version of the API: 1.309.1268\n"\ + "SDK Package Version: 1.0.2".\ 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 1bea578..74a04fe 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2e8364a..ba7e4d3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -14,520 +14,7 @@ """ # noqa: E501 -if __import__("typing").TYPE_CHECKING: - # import models into model package - from instana_client.models.abstract_integration import AbstractIntegration - from instana_client.models.abstract_rule import AbstractRule - from instana_client.models.access_log_entry import AccessLogEntry - from instana_client.models.access_log_response import AccessLogResponse - from instana_client.models.access_rule import AccessRule - from instana_client.models.action import Action - from instana_client.models.action_configuration import ActionConfiguration - from instana_client.models.action_instance import ActionInstance - from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry - from instana_client.models.action_instance_parameter import ActionInstanceParameter - from instana_client.models.action_instance_request import ActionInstanceRequest - from instana_client.models.action_instance_request_parameters import ActionInstanceRequestParameters - from instana_client.models.action_match import ActionMatch - from instana_client.models.action_search_space import ActionSearchSpace - from instana_client.models.adaptive_baseline import AdaptiveBaseline - from instana_client.models.adaptive_threshold_rule import AdaptiveThresholdRule - from instana_client.models.addition import Addition - from instana_client.models.adjusted_timeframe import AdjustedTimeframe - from instana_client.models.agent_configuration_update import AgentConfigurationUpdate - from instana_client.models.alerting_configuration import AlertingConfiguration - from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated - from instana_client.models.alerting_time_window import AlertingTimeWindow - from instana_client.models.apdex_configuration import ApdexConfiguration - from instana_client.models.apdex_configuration_input import ApdexConfigurationInput - from instana_client.models.apdex_entity import ApdexEntity - from instana_client.models.apdex_report import ApdexReport - from instana_client.models.api_create_group import ApiCreateGroup - from instana_client.models.api_create_role import ApiCreateRole - from instana_client.models.api_group import ApiGroup - from instana_client.models.api_member import ApiMember - from instana_client.models.api_permission_set import ApiPermissionSet - from instana_client.models.api_restricted_application_filter import ApiRestrictedApplicationFilter - from instana_client.models.api_role import ApiRole - from instana_client.models.api_tag import ApiTag - from instana_client.models.api_team import ApiTeam - from instana_client.models.api_team_info import ApiTeamInfo - from instana_client.models.api_team_member import ApiTeamMember - from instana_client.models.api_team_role import ApiTeamRole - from instana_client.models.api_team_scope import ApiTeamScope - from instana_client.models.api_token import ApiToken - from instana_client.models.app_data_metric_configuration import AppDataMetricConfiguration - from instana_client.models.application import Application - from instana_client.models.application_alert_config import ApplicationAlertConfig - from instana_client.models.application_alert_config_with_metadata import ApplicationAlertConfigWithMetadata - from instana_client.models.application_alert_rule import ApplicationAlertRule - from instana_client.models.application_apdex_entity import ApplicationApdexEntity - from instana_client.models.application_config import ApplicationConfig - from instana_client.models.application_event_result import ApplicationEventResult - from instana_client.models.application_item import ApplicationItem - from instana_client.models.application_metric_result import ApplicationMetricResult - from instana_client.models.application_node import ApplicationNode - from instana_client.models.application_result import ApplicationResult - from instana_client.models.application_scope import ApplicationScope - from instana_client.models.application_scope_with_metadata import ApplicationScopeWithMetadata - from instana_client.models.application_sli_entity import ApplicationSliEntity - from instana_client.models.application_slo_entity import ApplicationSloEntity - from instana_client.models.application_time_threshold import ApplicationTimeThreshold - from instana_client.models.arithmetic_configuration import ArithmeticConfiguration - from instana_client.models.arithmetic_operand import ArithmeticOperand - from instana_client.models.arithmetic_operation import ArithmeticOperation - from instana_client.models.audit_log_entry import AuditLogEntry - from instana_client.models.audit_log_ui_response import AuditLogUiResponse - from instana_client.models.author import Author - from instana_client.models.availability_blueprint_indicator import AvailabilityBlueprintIndicator - from instana_client.models.availability_sli_entity import AvailabilitySliEntity - from instana_client.models.available_metrics import AvailableMetrics - from instana_client.models.available_plugins import AvailablePlugins - from instana_client.models.backend_trace_reference import BackendTraceReference - from instana_client.models.bidirectional_ms_teams_app_integration import BidirectionalMsTeamsAppIntegration - from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration - from instana_client.models.binary_operator_dto import BinaryOperatorDTO - from instana_client.models.browser_script_configuration import BrowserScriptConfiguration - from instana_client.models.built_in_event_specification import BuiltInEventSpecification - from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated - from instana_client.models.business_activity import BusinessActivity - from instana_client.models.business_perspective_config import BusinessPerspectiveConfig - from instana_client.models.call_groups_item import CallGroupsItem - from instana_client.models.call_groups_result import CallGroupsResult - from instana_client.models.call_relation import CallRelation - from instana_client.models.change_summary import ChangeSummary - from instana_client.models.cloudfoundry_physical_context import CloudfoundryPhysicalContext - from instana_client.models.condition import Condition - from instana_client.models.config_version import ConfigVersion - from instana_client.models.correction import Correction - from instana_client.models.correction_configuration import CorrectionConfiguration - from instana_client.models.correction_scheduling import CorrectionScheduling - from instana_client.models.correction_window import CorrectionWindow - from instana_client.models.crash_mobile_app_alert_rule import CrashMobileAppAlertRule - from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner - from instana_client.models.cursor_paginated_business_activity_item import CursorPaginatedBusinessActivityItem - from instana_client.models.cursor_pagination import CursorPagination - from instana_client.models.cursor_pagination_infra_explore_cursor import CursorPaginationInfraExploreCursor - from instana_client.models.custom_blueprint_indicator import CustomBlueprintIndicator - from instana_client.models.custom_dashboard import CustomDashboard - from instana_client.models.custom_dashboard_preview import CustomDashboardPreview - from instana_client.models.custom_dashboard_with_user_specific_information import CustomDashboardWithUserSpecificInformation - from instana_client.models.custom_dependency import CustomDependency - from instana_client.models.custom_email_subject_prefix import CustomEmailSubjectPrefix - from instana_client.models.custom_entity_model import CustomEntityModel - from instana_client.models.custom_entity_with_metadata import CustomEntityWithMetadata - from instana_client.models.custom_event_mobile_app_alert_rule import CustomEventMobileAppAlertRule - from instana_client.models.custom_event_specification import CustomEventSpecification - from instana_client.models.custom_event_specification_with_last_updated import CustomEventSpecificationWithLastUpdated - from instana_client.models.custom_event_website_alert_rule import CustomEventWebsiteAlertRule - from instana_client.models.custom_metric import CustomMetric - from instana_client.models.custom_payload_configuration import CustomPayloadConfiguration - from instana_client.models.custom_payload_field import CustomPayloadField - from instana_client.models.custom_payload_with_last_updated import CustomPayloadWithLastUpdated - from instana_client.models.custom_payload_with_version import CustomPayloadWithVersion - from instana_client.models.dns_configuration import DNSConfiguration - from instana_client.models.dns_filter_query_time import DNSFilterQueryTime - from instana_client.models.dns_filter_target_value import DNSFilterTargetValue - from instana_client.models.dashboard_api_token import DashboardApiToken - from instana_client.models.database_integration import DatabaseIntegration - from instana_client.models.deprecated_tag_filter import DeprecatedTagFilter - from instana_client.models.division import Division - from instana_client.models.duration import Duration - from instana_client.models.dynamic_field import DynamicField - from instana_client.models.dynamic_field_value import DynamicFieldValue - from instana_client.models.dynamic_parameter import DynamicParameter - from instana_client.models.edit_user import EditUser - from instana_client.models.email_integration import EmailIntegration - from instana_client.models.empty_configuration import EmptyConfiguration - from instana_client.models.endpoint import Endpoint - from instana_client.models.endpoint_config import EndpointConfig - from instana_client.models.endpoint_event_result import EndpointEventResult - from instana_client.models.endpoint_item import EndpointItem - from instana_client.models.endpoint_metric_result import EndpointMetricResult - from instana_client.models.endpoint_node import EndpointNode - from instana_client.models.endpoint_result import EndpointResult - from instana_client.models.endpoint_simple import EndpointSimple - from instana_client.models.entity_count_rule import EntityCountRule - from instana_client.models.entity_count_verification_rule import EntityCountVerificationRule - from instana_client.models.entity_health_info import EntityHealthInfo - from instana_client.models.entity_id import EntityId - from instana_client.models.entity_verification_rule import EntityVerificationRule - from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule - from instana_client.models.errors_application_alert_rule import ErrorsApplicationAlertRule - from instana_client.models.event import Event - from instana_client.models.event_filtering_configuration import EventFilteringConfiguration - from instana_client.models.event_result import EventResult - from instana_client.models.event_specification_info import EventSpecificationInfo - from instana_client.models.extended_service import ExtendedService - from instana_client.models.failure_synthetic_alert_rule import FailureSyntheticAlertRule - from instana_client.models.fixed_http_path_segment_matching_rule import FixedHttpPathSegmentMatchingRule - from instana_client.models.fixed_time_window import FixedTimeWindow - from instana_client.models.generic_infra_alert_rule import GenericInfraAlertRule - from instana_client.models.geo_location_configuration import GeoLocationConfiguration - from instana_client.models.geo_mapping_rule import GeoMappingRule - from instana_client.models.geo_subdivision import GeoSubdivision - from instana_client.models.get_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_snapshots_query import GetSnapshotsQuery - from instana_client.models.get_test_result import GetTestResult - from instana_client.models.get_test_result_analytic import GetTestResultAnalytic - from instana_client.models.get_test_result_base import GetTestResultBase - from instana_client.models.get_test_result_list import GetTestResultList - from instana_client.models.get_test_summary_result import GetTestSummaryResult - from instana_client.models.get_trace_download_result_item import GetTraceDownloadResultItem - from instana_client.models.get_trace_groups import GetTraceGroups - from instana_client.models.get_traces import GetTraces - from instana_client.models.get_website_beacon_groups import GetWebsiteBeaconGroups - from instana_client.models.get_website_beacons import GetWebsiteBeacons - from instana_client.models.get_website_metrics import GetWebsiteMetrics - from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 - from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata - from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig - from instana_client.models.google_chat_integration import GoogleChatIntegration - from instana_client.models.graph_edge import GraphEdge - from instana_client.models.graph_node import GraphNode - from instana_client.models.group import Group - from instana_client.models.group_by_tag import GroupByTag - from instana_client.models.group_mapping import GroupMapping - from instana_client.models.group_mapping_overview import GroupMappingOverview - from instana_client.models.health_state import HealthState - from instana_client.models.historic_baseline import HistoricBaseline - from instana_client.models.host_availability_rule import HostAvailabilityRule - from instana_client.models.http_action_configuration import HttpActionConfiguration - from instana_client.models.http_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.hyper_param import HyperParam - from instana_client.models.identity_provider_patch import IdentityProviderPatch - from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo - from instana_client.models.infra_alert_config import InfraAlertConfig - from instana_client.models.infra_alert_config_with_metadata import InfraAlertConfigWithMetadata - from instana_client.models.infra_alert_rule import InfraAlertRule - from instana_client.models.infra_event_result import InfraEventResult - from instana_client.models.infra_metric_configuration import InfraMetricConfiguration - from instana_client.models.infra_slo_entity import InfraSloEntity - from instana_client.models.infra_time_threshold import InfraTimeThreshold - from instana_client.models.infrastructure_entities_result import InfrastructureEntitiesResult - from instana_client.models.infrastructure_group import InfrastructureGroup - from instana_client.models.infrastructure_groups_result import InfrastructureGroupsResult - from instana_client.models.infrastructure_item import InfrastructureItem - from instana_client.models.infrastructure_metric_result import InfrastructureMetricResult - from instana_client.models.instana_version_info import InstanaVersionInfo - from instana_client.models.integration_overview import IntegrationOverview - from instana_client.models.invitation import Invitation - from instana_client.models.invitation_response import InvitationResponse - from instana_client.models.invitation_result import InvitationResult - from instana_client.models.ip_masking_configuration import IpMaskingConfiguration - from instana_client.models.js_stack_trace_line import JsStackTraceLine - from instana_client.models.kubernetes_physical_context import KubernetesPhysicalContext - from instana_client.models.llm_egress_gateway import LLMEgressGateway - from instana_client.models.latency_blueprint_indicator import LatencyBlueprintIndicator - from instana_client.models.location_status import LocationStatus - from instana_client.models.log_alert_config import LogAlertConfig - from instana_client.models.log_alert_config_with_metadata import LogAlertConfigWithMetadata - from instana_client.models.log_alert_rule import LogAlertRule - from instana_client.models.log_count_alert_rule import LogCountAlertRule - from instana_client.models.log_entry_actor import LogEntryActor - from instana_client.models.log_event_result import LogEventResult - from instana_client.models.log_time_threshold import LogTimeThreshold - from instana_client.models.log_volume_group import LogVolumeGroup - from instana_client.models.log_volume_usage_item import LogVolumeUsageItem - from instana_client.models.log_volume_usage_result import LogVolumeUsageResult - from instana_client.models.logs_application_alert_rule import LogsApplicationAlertRule - from instana_client.models.maintenance_config import MaintenanceConfig - from instana_client.models.maintenance_config_scheduling import MaintenanceConfigScheduling - from instana_client.models.maintenance_config_v2 import MaintenanceConfigV2 - from instana_client.models.maintenance_config_v2_with_state_and_occurrence import MaintenanceConfigV2WithStateAndOccurrence - from instana_client.models.maintenance_config_with_last_updated import MaintenanceConfigWithLastUpdated - from instana_client.models.maintenance_window import MaintenanceWindow - from instana_client.models.manual_alerting_channel_configuration import ManualAlertingChannelConfiguration - from instana_client.models.manual_close_info import ManualCloseInfo - from instana_client.models.manual_service_config import ManualServiceConfig - from instana_client.models.match_all_http_path_segment_matching_rule import MatchAllHttpPathSegmentMatchingRule - from instana_client.models.match_expression_dto import MatchExpressionDTO - from instana_client.models.meta_data import MetaData - from instana_client.models.metric_api_result import MetricAPIResult - from instana_client.models.metric_config import MetricConfig - from instana_client.models.metric_configuration import MetricConfiguration - from instana_client.models.metric_description import MetricDescription - from instana_client.models.metric_instance import MetricInstance - from instana_client.models.metric_item import MetricItem - from instana_client.models.metric_metadata import MetricMetadata - from instana_client.models.metric_pattern import MetricPattern - from instana_client.models.metric_query import MetricQuery - from instana_client.models.metrics_result import MetricsResult - from instana_client.models.metrics_result_item import MetricsResultItem - from instana_client.models.metrics_test_result_item import MetricsTestResultItem - from instana_client.models.mobile_app import MobileApp - from instana_client.models.mobile_app_alert_config import MobileAppAlertConfig - from instana_client.models.mobile_app_alert_rule import MobileAppAlertRule - from instana_client.models.mobile_app_beacon_groups_item import MobileAppBeaconGroupsItem - from instana_client.models.mobile_app_beacon_groups_result import MobileAppBeaconGroupsResult - from instana_client.models.mobile_app_beacon_result import MobileAppBeaconResult - from instana_client.models.mobile_app_beacon_tag_group import MobileAppBeaconTagGroup - from instana_client.models.mobile_app_beacons_item import MobileAppBeaconsItem - from instana_client.models.mobile_app_event_result import MobileAppEventResult - from instana_client.models.mobile_app_metric_result import MobileAppMetricResult - from instana_client.models.mobile_app_monitoring_beacon import MobileAppMonitoringBeacon - from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription - from instana_client.models.mobile_app_monitoring_metrics_configuration import MobileAppMonitoringMetricsConfiguration - from instana_client.models.mobile_app_time_threshold import MobileAppTimeThreshold - from instana_client.models.model_field import ModelField - from instana_client.models.monitored_entities_stats import MonitoredEntitiesStats - from instana_client.models.monitoring_state import MonitoringState - from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration - from instana_client.models.multiplication import Multiplication - from instana_client.models.nested_operation import NestedOperation - from instana_client.models.new_application_config import NewApplicationConfig - from instana_client.models.new_business_perspective_config import NewBusinessPerspectiveConfig - from instana_client.models.new_manual_service_config import NewManualServiceConfig - from instana_client.models.o_auth_config import OAuthConfig - from instana_client.models.o_auth_integration import OAuthIntegration - from instana_client.models.o_auth_token import OAuthToken - from instana_client.models.occurrence import Occurrence - from instana_client.models.office365_integration import Office365Integration - from instana_client.models.one_time_maintenance_window import OneTimeMaintenanceWindow - from instana_client.models.opsgenie_integration import OpsgenieIntegration - from instana_client.models.order import Order - from instana_client.models.pagerduty_integration import PagerdutyIntegration - from instana_client.models.paginated_result import PaginatedResult - from instana_client.models.pagination import Pagination - from instana_client.models.parameter import Parameter - from instana_client.models.parameter_value import ParameterValue - from instana_client.models.path_parameter_http_path_segment_matching_rule import PathParameterHttpPathSegmentMatchingRule - from instana_client.models.physical_context import PhysicalContext - from instana_client.models.plugin_result import PluginResult - from instana_client.models.policy import Policy - from instana_client.models.policy_runnable import PolicyRunnable - from instana_client.models.policy_scheduling import PolicyScheduling - from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest - from instana_client.models.post_snapshots_result import PostSnapshotsResult - from instana_client.models.problem import Problem - from instana_client.models.prometheus_webhook_integration import PrometheusWebhookIntegration - from instana_client.models.recurrent_maintenance_window import RecurrentMaintenanceWindow - from instana_client.models.release import Release - from instana_client.models.release_scope import ReleaseScope - from instana_client.models.release_with_metadata import ReleaseWithMetadata - from instana_client.models.retention_period import RetentionPeriod - from instana_client.models.rolling_time_window import RollingTimeWindow - from instana_client.models.rule_input import RuleInput - from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule - from instana_client.models.rule_with_threshold_infra_alert_rule import RuleWithThresholdInfraAlertRule - from instana_client.models.rule_with_threshold_log_alert_rule import RuleWithThresholdLogAlertRule - from instana_client.models.rule_with_threshold_mobile_app_alert_rule import RuleWithThresholdMobileAppAlertRule - from instana_client.models.rule_with_threshold_website_alert_rule import RuleWithThresholdWebsiteAlertRule - from instana_client.models.run_configuration import RunConfiguration - from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag - from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration - from instana_client.models.ssl_certificate_validation import SSLCertificateValidation - from instana_client.models.salesforce_integration import SalesforceIntegration - from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator - from instana_client.models.scope_binding import ScopeBinding - from instana_client.models.search_field_result import SearchFieldResult - from instana_client.models.service import Service - from instana_client.models.service_config import ServiceConfig - from instana_client.models.service_event_result import ServiceEventResult - from instana_client.models.service_item import ServiceItem - from instana_client.models.service_level_indicator import ServiceLevelIndicator - from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule - from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig - from instana_client.models.service_levels_alert_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_settings import SessionSettings - from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration - from instana_client.models.single_value import SingleValue - from instana_client.models.slack_integration import SlackIntegration - from instana_client.models.sli_configuration import SliConfiguration - from instana_client.models.sli_configuration_with_last_updated import SliConfigurationWithLastUpdated - from instana_client.models.sli_entity import SliEntity - from instana_client.models.sli_report import SliReport - from instana_client.models.slo_entity import SloEntity - from instana_client.models.slo_report import SloReport - from instana_client.models.slowness_application_alert_rule import SlownessApplicationAlertRule - from instana_client.models.slowness_mobile_app_alert_rule import SlownessMobileAppAlertRule - from instana_client.models.slowness_website_alert_rule import SlownessWebsiteAlertRule - from instana_client.models.snapshot_item import SnapshotItem - from instana_client.models.snapshot_preview import SnapshotPreview - from instana_client.models.snapshot_result import SnapshotResult - from instana_client.models.software_user import SoftwareUser - from instana_client.models.software_version import SoftwareVersion - from instana_client.models.source_map_file_blob import SourceMapFileBlob - from instana_client.models.source_map_file_meta import SourceMapFileMeta - from instana_client.models.source_map_upload_config import SourceMapUploadConfig - from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs - from instana_client.models.span_excerpt import SpanExcerpt - from instana_client.models.span_relation import SpanRelation - from instana_client.models.specific_js_errors_website_alert_rule import SpecificJsErrorsWebsiteAlertRule - from instana_client.models.splunk_integration import SplunkIntegration - from instana_client.models.stack_trace_item import StackTraceItem - from instana_client.models.stack_trace_line import StackTraceLine - from instana_client.models.static_baseline_threshold_rule import StaticBaselineThresholdRule - from instana_client.models.static_string_field import StaticStringField - from instana_client.models.static_threshold import StaticThreshold - from instana_client.models.static_threshold_rule import StaticThresholdRule - from instana_client.models.status_code_application_alert_rule import StatusCodeApplicationAlertRule - from instana_client.models.status_code_mobile_app_alert_rule import StatusCodeMobileAppAlertRule - from instana_client.models.status_code_website_alert_rule import StatusCodeWebsiteAlertRule - from instana_client.models.subtraction import Subtraction - from instana_client.models.synthetic_alert_config import SyntheticAlertConfig - from instana_client.models.synthetic_alert_config_with_metadata import SyntheticAlertConfigWithMetadata - from instana_client.models.synthetic_alert_rule import SyntheticAlertRule - 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_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_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_time_threshold import SyntheticTimeThreshold - from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration - 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_last_error import TestLastError - from instana_client.models.test_result import TestResult - from instana_client.models.test_result_common_properties import TestResultCommonProperties - from instana_client.models.test_result_detail_data import TestResultDetailData - from instana_client.models.test_result_item import TestResultItem - from instana_client.models.test_result_list_item import TestResultListItem - from instana_client.models.test_result_list_result import TestResultListResult - from instana_client.models.test_result_metadata import TestResultMetadata - from instana_client.models.test_result_subtransaction import TestResultSubtransaction - from instana_client.models.threshold import Threshold - from instana_client.models.threshold_config_rule import ThresholdConfigRule - from instana_client.models.threshold_rule import ThresholdRule - from instana_client.models.throughput_application_alert_rule import ThroughputApplicationAlertRule - from instana_client.models.throughput_mobile_app_alert_rule import ThroughputMobileAppAlertRule - from instana_client.models.throughput_website_alert_rule import ThroughputWebsiteAlertRule - from instana_client.models.time_frame import TimeFrame - from instana_client.models.time_window import TimeWindow - from instana_client.models.topology import Topology - from instana_client.models.trace import Trace - from instana_client.models.trace_activity_tree_node_details import TraceActivityTreeNodeDetails - from instana_client.models.trace_download_result import TraceDownloadResult - from instana_client.models.trace_groups_item import TraceGroupsItem - from instana_client.models.trace_groups_result import TraceGroupsResult - from instana_client.models.trace_impact_application_time_threshold import TraceImpactApplicationTimeThreshold - from instana_client.models.trace_item import TraceItem - from instana_client.models.trace_result import TraceResult - from instana_client.models.traffic_blueprint_indicator import TrafficBlueprintIndicator - from instana_client.models.trigger import Trigger - from instana_client.models.type_configuration import TypeConfiguration - from instana_client.models.unsupported_http_path_segment_matching_rule import UnsupportedHttpPathSegmentMatchingRule - from instana_client.models.updated_business_perspective_config import UpdatedBusinessPerspectiveConfig - from instana_client.models.usage_result import UsageResult - from instana_client.models.usage_result_items import UsageResultItems - from instana_client.models.user_basic_result import UserBasicResult - from instana_client.models.user_impact_mobile_app_time_threshold import UserImpactMobileAppTimeThreshold - from instana_client.models.user_impact_website_time_threshold import UserImpactWebsiteTimeThreshold - from instana_client.models.user_result import UserResult - from instana_client.models.users_result import UsersResult - from instana_client.models.validated_alerting_channel_input_info import ValidatedAlertingChannelInputInfo - from instana_client.models.validated_alerting_configuration import ValidatedAlertingConfiguration - from instana_client.models.validated_maintenance_config_v2_with_state_and_occurrence import ValidatedMaintenanceConfigV2WithStateAndOccurrence - from instana_client.models.validated_maintenance_config_with_status import ValidatedMaintenanceConfigWithStatus - from instana_client.models.victor_ops_integration import VictorOpsIntegration - from instana_client.models.violations_in_period_application_time_threshold import ViolationsInPeriodApplicationTimeThreshold - from instana_client.models.violations_in_period_mobile_app_time_threshold import ViolationsInPeriodMobileAppTimeThreshold - from instana_client.models.violations_in_period_website_time_threshold import ViolationsInPeriodWebsiteTimeThreshold - from instana_client.models.violations_in_sequence_application_time_threshold import ViolationsInSequenceApplicationTimeThreshold - from instana_client.models.violations_in_sequence_infra_time_threshold import ViolationsInSequenceInfraTimeThreshold - from instana_client.models.violations_in_sequence_log_time_threshold import ViolationsInSequenceLogTimeThreshold - from instana_client.models.violations_in_sequence_mobile_app_time_threshold import ViolationsInSequenceMobileAppTimeThreshold - from instana_client.models.violations_in_sequence_synthetic_time_threshold import ViolationsInSequenceSyntheticTimeThreshold - from instana_client.models.violations_in_sequence_website_time_threshold import ViolationsInSequenceWebsiteTimeThreshold - from instana_client.models.watson_ai_ops_webhook_integration import WatsonAIOpsWebhookIntegration - from instana_client.models.webex_teams_webhook_integration import WebexTeamsWebhookIntegration - from instana_client.models.webhook_integration import WebhookIntegration - from instana_client.models.webpage_action_configuration import WebpageActionConfiguration - from instana_client.models.webpage_script_configuration import WebpageScriptConfiguration - 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_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_metadata 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 +# import models into model package from instana_client.models.abstract_integration import AbstractIntegration from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_log_entry import AccessLogEntry @@ -600,6 +87,7 @@ from instana_client.models.bidirectional_slack_app_integration import BidirectionalSlackAppIntegration from instana_client.models.binary_operator_dto import BinaryOperatorDTO from instana_client.models.browser_script_configuration import BrowserScriptConfiguration +from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate from instana_client.models.built_in_event_specification import BuiltInEventSpecification from instana_client.models.built_in_event_specification_with_last_updated import BuiltInEventSpecificationWithLastUpdated from instana_client.models.business_activity import BusinessActivity @@ -638,6 +126,7 @@ 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.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 @@ -722,10 +211,12 @@ from instana_client.models.historic_baseline import HistoricBaseline from instana_client.models.host_availability_rule import HostAvailabilityRule from instana_client.models.http_action_configuration import HttpActionConfiguration +from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate from instana_client.models.http_endpoint_config import HttpEndpointConfig from instana_client.models.http_endpoint_rule import HttpEndpointRule from instana_client.models.http_path_segment_matching_rule import HttpPathSegmentMatchingRule from instana_client.models.http_script_configuration import HttpScriptConfiguration +from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate from instana_client.models.hyper_param import HyperParam from instana_client.models.identity_provider_patch import IdentityProviderPatch from instana_client.models.impacted_beacon_info import ImpactedBeaconInfo @@ -848,6 +339,7 @@ from instana_client.models.run_configuration import RunConfiguration from instana_client.models.slo_config_with_rbac_tag import SLOConfigWithRBACTag from instana_client.models.ssl_certificate_configuration import SSLCertificateConfiguration +from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate from instana_client.models.ssl_certificate_validation import SSLCertificateValidation from instana_client.models.salesforce_integration import SalesforceIntegration from instana_client.models.saturation_blueprint_indicator import SaturationBlueprintIndicator @@ -918,10 +410,12 @@ 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_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 @@ -931,14 +425,22 @@ from instana_client.models.synthetic_metric_configuration import SyntheticMetricConfiguration from instana_client.models.synthetic_metric_tag_group import SyntheticMetricTagGroup from instana_client.models.synthetic_playback_capabilities import SyntheticPlaybackCapabilities +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation +from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString +from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString from instana_client.models.synthetic_slo_entity import SyntheticSloEntity from instana_client.models.synthetic_test import SyntheticTest from instana_client.models.synthetic_test_cicd import SyntheticTestCICD from instana_client.models.synthetic_test_cicd_customization import SyntheticTestCICDCustomization from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse +from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate +from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate +from instana_client.models.synthetic_test_update import SyntheticTestUpdate from instana_client.models.synthetic_time_threshold import SyntheticTimeThreshold from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from instana_client.models.synthetics_event_result import SyntheticsEventResult from instana_client.models.system_rule import SystemRule from instana_client.models.system_rule_label import SystemRuleLabel @@ -1008,7 +510,9 @@ 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 @@ -1032,9 +536,3 @@ from instana_client.models.with_metadata 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 cf7e6aa..cd1675f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/abstract_rule.py b/instana_client/models/abstract_rule.py index 5f7b068..5e0e6ee 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_log_entry.py b/instana_client/models/access_log_entry.py index 710a420..0985325 100644 --- a/instana_client/models/access_log_entry.py +++ b/instana_client/models/access_log_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,8 +41,8 @@ class AccessLogEntry(BaseModel): @field_validator('action') def action_validate_enum(cls, value): """Validates the enum""" - if value not in set(['GRANT_TEMP_ACCESS', 'FIRST_LOGIN', 'LOGIN', 'ACCESS', 'FAILED_LOGIN', 'LOGOUT', 'CREATE_API_TOKEN_BY_POLICY', 'IDP_MAPPING']): - raise ValueError("must be one of enum values ('GRANT_TEMP_ACCESS', 'FIRST_LOGIN', 'LOGIN', 'ACCESS', 'FAILED_LOGIN', 'LOGOUT', 'CREATE_API_TOKEN_BY_POLICY', 'IDP_MAPPING')") + if value not in set(['GRANT_TEMP_ACCESS', 'FIRST_LOGIN', 'LOGIN', 'ACCESS', 'FAILED_LOGIN', 'LOGOUT', 'CREATE_API_TOKEN_BY_POLICY', 'IDP_MAPPING', 'DISABLE_IP_RESTRICTION']): + raise ValueError("must be one of enum values ('GRANT_TEMP_ACCESS', 'FIRST_LOGIN', 'LOGIN', 'ACCESS', 'FAILED_LOGIN', 'LOGOUT', 'CREATE_API_TOKEN_BY_POLICY', 'IDP_MAPPING', 'DISABLE_IP_RESTRICTION')") return value model_config = ConfigDict( diff --git a/instana_client/models/access_log_response.py b/instana_client/models/access_log_response.py index f7ad1f6..59f8f7a 100644 --- a/instana_client/models/access_log_response.py +++ b/instana_client/models/access_log_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5cb7ba8..9bb0577 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 da6c8ed..4ed83bc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 143d1ab..90a2d64 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1d6d3df..da9eb89 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f0aee5a..efcac12 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fef2270..f1398ab 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1bb367c..5e7821c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ca55259..3a6a97c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4962ebb..0e4fde0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8201f4c..c4c370c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6e0e3b3..12962d5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6e8c7aa..ed605bd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/addition.py b/instana_client/models/addition.py index 9417a38..4dba35c 100644 --- a/instana_client/models/addition.py +++ b/instana_client/models/addition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e127032..7e7aac6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c28465e..7aeafed 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 df8e17b..260d104 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5ece201..638d12b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 673e954..4baf35e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5552838..42d12d1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 78a4861..dc24076 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 787f08a..5757e93 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9c647c8..6684a47 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a98bcb6..8594f91 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c08f8d0..9637c2a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b7714c2..c84d907 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2598826..3db6533 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8aff508..05a65a7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b26ecef..c4fb252 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 12f1e53..aa7631c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a02a1bb..4828b8e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4fab875..30e1662 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 19033cf..de34490 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 575fff4..65f1451 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f2cd9a2..bdca343 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6859a1f..d98e686 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8fa5aa8..ba202dd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -39,6 +39,7 @@ class ApiToken(BaseModel): can_configure_automation_actions: Optional[StrictBool] = Field(default=None, alias="canConfigureAutomationActions") can_configure_automation_policies: Optional[StrictBool] = Field(default=None, alias="canConfigureAutomationPolicies") can_configure_bizops: Optional[StrictBool] = Field(default=None, alias="canConfigureBizops") + can_configure_custom_entities: Optional[StrictBool] = Field(default=None, alias="canConfigureCustomEntities") can_configure_database_management: Optional[StrictBool] = Field(default=None, alias="canConfigureDatabaseManagement") can_configure_eum_applications: Optional[StrictBool] = Field(default=None, alias="canConfigureEumApplications") can_configure_events_and_alerts: Optional[StrictBool] = Field(default=None, alias="canConfigureEventsAndAlerts") @@ -67,6 +68,7 @@ class ApiToken(BaseModel): can_configure_synthetic_tests: Optional[StrictBool] = Field(default=None, alias="canConfigureSyntheticTests") can_configure_teams: Optional[StrictBool] = Field(default=None, alias="canConfigureTeams") can_configure_users: Optional[StrictBool] = Field(default=None, alias="canConfigureUsers") + can_configure_website_conversions: Optional[StrictBool] = Field(default=None, alias="canConfigureWebsiteConversions") can_configure_website_smart_alerts: Optional[StrictBool] = Field(default=None, alias="canConfigureWebsiteSmartAlerts") can_create_heap_dump: Optional[StrictBool] = Field(default=None, alias="canCreateHeapDump") can_create_public_custom_dashboards: Optional[StrictBool] = Field(default=None, alias="canCreatePublicCustomDashboards") @@ -113,6 +115,7 @@ class ApiToken(BaseModel): limited_pcf_scope: Optional[StrictBool] = Field(default=None, alias="limitedPcfScope") limited_phmc_scope: Optional[StrictBool] = Field(default=None, alias="limitedPhmcScope") limited_pvc_scope: Optional[StrictBool] = Field(default=None, alias="limitedPvcScope") + limited_sap_scope: Optional[StrictBool] = Field(default=None, alias="limitedSAPScope") limited_service_level_scope: Optional[StrictBool] = Field(default=None, alias="limitedServiceLevelScope") limited_synthetics_scope: Optional[StrictBool] = Field(default=None, alias="limitedSyntheticsScope") limited_vsphere_scope: Optional[StrictBool] = Field(default=None, alias="limitedVsphereScope") @@ -121,7 +124,7 @@ class ApiToken(BaseModel): limited_xen_server_scope: Optional[StrictBool] = Field(default=None, alias="limitedXenServerScope") limited_zhmc_scope: Optional[StrictBool] = Field(default=None, alias="limitedZhmcScope") name: StrictStr - __properties: ClassVar[List[str]] = ["accessGrantingToken", "canConfigureAgentRunMode", "canConfigureAgents", "canConfigureAiAgents", "canConfigureApdex", "canConfigureApiTokens", "canConfigureApplicationSmartAlerts", "canConfigureApplications", "canConfigureAuthenticationMethods", "canConfigureAutomationActions", "canConfigureAutomationPolicies", "canConfigureBizops", "canConfigureDatabaseManagement", "canConfigureEumApplications", "canConfigureEventsAndAlerts", "canConfigureGlobalAlertPayload", "canConfigureGlobalApplicationSmartAlerts", "canConfigureGlobalInfraSmartAlerts", "canConfigureGlobalLogSmartAlerts", "canConfigureGlobalSyntheticSmartAlerts", "canConfigureIntegrations", "canConfigureLLM", "canConfigureLogManagement", "canConfigureLogRetentionPeriod", "canConfigureMaintenanceWindows", "canConfigureMobileAppMonitoring", "canConfigureMobileAppSmartAlerts", "canConfigurePersonalApiTokens", "canConfigureReleases", "canConfigureServiceLevelCorrectionWindows", "canConfigureServiceLevelSmartAlerts", "canConfigureServiceLevels", "canConfigureServiceMapping", "canConfigureSessionSettings", "canConfigureSubtraces", "canConfigureSyntheticCredentials", "canConfigureSyntheticLocations", "canConfigureSyntheticTests", "canConfigureTeams", "canConfigureUsers", "canConfigureWebsiteSmartAlerts", "canCreateHeapDump", "canCreatePublicCustomDashboards", "canCreateThreadDump", "canDeleteAutomationActionHistory", "canDeleteLogs", "canEditAllAccessibleCustomDashboards", "canInstallNewAgents", "canInvokeAlertChannel", "canManuallyCloseIssue", "canRunAutomationActions", "canUseSyntheticCredentials", "canViewAccountAndBillingInformation", "canViewAuditLog", "canViewBizAlerts", "canViewBusinessActivities", "canViewBusinessProcessDetails", "canViewBusinessProcesses", "canViewLogVolume", "canViewLogs", "canViewSyntheticLocations", "canViewSyntheticTestResults", "canViewSyntheticTests", "canViewTraceDetails", "createdBy", "createdOn", "expiresOn", "id", "internalId", "lastUsedOn", "limitedAiGatewayScope", "limitedAlertChannelsScope", "limitedApplicationsScope", "limitedAutomationScope", "limitedBizOpsScope", "limitedGenAIScope", "limitedInfrastructureScope", "limitedKubernetesScope", "limitedLinuxKVMHypervisorScope", "limitedLogsScope", "limitedMobileAppsScope", "limitedNutanixScope", "limitedOpenstackScope", "limitedPcfScope", "limitedPhmcScope", "limitedPvcScope", "limitedServiceLevelScope", "limitedSyntheticsScope", "limitedVsphereScope", "limitedWebsitesScope", "limitedWindowsHypervisorScope", "limitedXenServerScope", "limitedZhmcScope", "name"] + __properties: ClassVar[List[str]] = ["accessGrantingToken", "canConfigureAgentRunMode", "canConfigureAgents", "canConfigureAiAgents", "canConfigureApdex", "canConfigureApiTokens", "canConfigureApplicationSmartAlerts", "canConfigureApplications", "canConfigureAuthenticationMethods", "canConfigureAutomationActions", "canConfigureAutomationPolicies", "canConfigureBizops", "canConfigureCustomEntities", "canConfigureDatabaseManagement", "canConfigureEumApplications", "canConfigureEventsAndAlerts", "canConfigureGlobalAlertPayload", "canConfigureGlobalApplicationSmartAlerts", "canConfigureGlobalInfraSmartAlerts", "canConfigureGlobalLogSmartAlerts", "canConfigureGlobalSyntheticSmartAlerts", "canConfigureIntegrations", "canConfigureLLM", "canConfigureLogManagement", "canConfigureLogRetentionPeriod", "canConfigureMaintenanceWindows", "canConfigureMobileAppMonitoring", "canConfigureMobileAppSmartAlerts", "canConfigurePersonalApiTokens", "canConfigureReleases", "canConfigureServiceLevelCorrectionWindows", "canConfigureServiceLevelSmartAlerts", "canConfigureServiceLevels", "canConfigureServiceMapping", "canConfigureSessionSettings", "canConfigureSubtraces", "canConfigureSyntheticCredentials", "canConfigureSyntheticLocations", "canConfigureSyntheticTests", "canConfigureTeams", "canConfigureUsers", "canConfigureWebsiteConversions", "canConfigureWebsiteSmartAlerts", "canCreateHeapDump", "canCreatePublicCustomDashboards", "canCreateThreadDump", "canDeleteAutomationActionHistory", "canDeleteLogs", "canEditAllAccessibleCustomDashboards", "canInstallNewAgents", "canInvokeAlertChannel", "canManuallyCloseIssue", "canRunAutomationActions", "canUseSyntheticCredentials", "canViewAccountAndBillingInformation", "canViewAuditLog", "canViewBizAlerts", "canViewBusinessActivities", "canViewBusinessProcessDetails", "canViewBusinessProcesses", "canViewLogVolume", "canViewLogs", "canViewSyntheticLocations", "canViewSyntheticTestResults", "canViewSyntheticTests", "canViewTraceDetails", "createdBy", "createdOn", "expiresOn", "id", "internalId", "lastUsedOn", "limitedAiGatewayScope", "limitedAlertChannelsScope", "limitedApplicationsScope", "limitedAutomationScope", "limitedBizOpsScope", "limitedGenAIScope", "limitedInfrastructureScope", "limitedKubernetesScope", "limitedLinuxKVMHypervisorScope", "limitedLogsScope", "limitedMobileAppsScope", "limitedNutanixScope", "limitedOpenstackScope", "limitedPcfScope", "limitedPhmcScope", "limitedPvcScope", "limitedSAPScope", "limitedServiceLevelScope", "limitedSyntheticsScope", "limitedVsphereScope", "limitedWebsitesScope", "limitedWindowsHypervisorScope", "limitedXenServerScope", "limitedZhmcScope", "name"] model_config = ConfigDict( populate_by_name=True, @@ -186,6 +189,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "canConfigureAutomationActions": obj.get("canConfigureAutomationActions"), "canConfigureAutomationPolicies": obj.get("canConfigureAutomationPolicies"), "canConfigureBizops": obj.get("canConfigureBizops"), + "canConfigureCustomEntities": obj.get("canConfigureCustomEntities"), "canConfigureDatabaseManagement": obj.get("canConfigureDatabaseManagement"), "canConfigureEumApplications": obj.get("canConfigureEumApplications"), "canConfigureEventsAndAlerts": obj.get("canConfigureEventsAndAlerts"), @@ -214,6 +218,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "canConfigureSyntheticTests": obj.get("canConfigureSyntheticTests"), "canConfigureTeams": obj.get("canConfigureTeams"), "canConfigureUsers": obj.get("canConfigureUsers"), + "canConfigureWebsiteConversions": obj.get("canConfigureWebsiteConversions"), "canConfigureWebsiteSmartAlerts": obj.get("canConfigureWebsiteSmartAlerts"), "canCreateHeapDump": obj.get("canCreateHeapDump"), "canCreatePublicCustomDashboards": obj.get("canCreatePublicCustomDashboards"), @@ -260,6 +265,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "limitedPcfScope": obj.get("limitedPcfScope"), "limitedPhmcScope": obj.get("limitedPhmcScope"), "limitedPvcScope": obj.get("limitedPvcScope"), + "limitedSAPScope": obj.get("limitedSAPScope"), "limitedServiceLevelScope": obj.get("limitedServiceLevelScope"), "limitedSyntheticsScope": obj.get("limitedSyntheticsScope"), "limitedVsphereScope": obj.get("limitedVsphereScope"), diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index 39802f1..c0d0878 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fb1612b..a8420ae 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7589fd8..15cf1f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 70c0097..2cf7896 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 65619d9..a97d2cc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d2b7390..40f2e81 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index 7b727cf..658e356 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index 3391447..4e1a8d2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class ApplicationEventResult(EventResult): ApplicationEventResult """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application.", alias="applicationId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "applicationId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId"] model_config = ConfigDict( populate_by_name=True, @@ -95,6 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/application_item.py b/instana_client/models/application_item.py index 0dfde5d..8508565 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 86890a2..7edd508 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 969d41a..fb39550 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 99b0187..492b0f8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3a288dc..3908119 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5a1d8db..046cc79 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fe8684e..93654c9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 90f00d1..d699219 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6ed16a0..e8986ee 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/arithmetic_configuration.py b/instana_client/models/arithmetic_configuration.py index cadd83a..f6c6360 100644 --- a/instana_client/models/arithmetic_configuration.py +++ b/instana_client/models/arithmetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union from instana_client.models.arithmetic_operation import ArithmeticOperation from typing import Optional, Set from typing_extensions import Self @@ -32,10 +32,11 @@ class ArithmeticConfiguration(BaseModel): cross_series_aggregation: Optional[StrictStr] = Field(default=None, alias="crossSeriesAggregation") granularity: Optional[StrictInt] = Field(default=None, description=" * If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) ") metric: StrictStr + missing_value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="missingValue") regex: Optional[StrictBool] = None required: Optional[StrictBool] = Field(default=None, description="When true, metric must be present with values") operation: Optional[ArithmeticOperation] = None - __properties: ClassVar[List[str]] = ["aggregation", "crossSeriesAggregation", "granularity", "metric", "regex", "required", "operation"] + __properties: ClassVar[List[str]] = ["aggregation", "crossSeriesAggregation", "granularity", "metric", "missingValue", "regex", "required", "operation"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "crossSeriesAggregation": obj.get("crossSeriesAggregation"), "granularity": obj.get("granularity"), "metric": obj.get("metric"), + "missingValue": obj.get("missingValue"), "regex": obj.get("regex"), "required": obj.get("required"), "operation": ArithmeticOperation.from_dict(obj["operation"]) if obj.get("operation") is not None else None diff --git a/instana_client/models/arithmetic_operand.py b/instana_client/models/arithmetic_operand.py index 634038a..d21b8a0 100644 --- a/instana_client/models/arithmetic_operand.py +++ b/instana_client/models/arithmetic_operand.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/arithmetic_operation.py b/instana_client/models/arithmetic_operation.py index 5241188..344ab51 100644 --- a/instana_client/models/arithmetic_operation.py +++ b/instana_client/models/arithmetic_operation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_entry.py b/instana_client/models/audit_log_entry.py index 1314460..cd8a9df 100644 --- a/instana_client/models/audit_log_entry.py +++ b/instana_client/models/audit_log_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 043c116..2c3820e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c0fe92e..7d13325 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7394a67..ef1c936 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 06a88ae..6a65062 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 abce5cf..290dd0b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a764f5c..17dcfff 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 563ca3f..fb98a02 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9c98259..63483af 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index fb3cccd..2e2a444 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,9 +32,10 @@ class BidirectionalSlackAppIntegration(AbstractIntegration): channel_id: Optional[StrictStr] = Field(default=None, alias="channelId") channel_name: Optional[StrictStr] = Field(default=None, alias="channelName") emoji_rendering: Optional[StrictBool] = Field(default=None, alias="emojiRendering") + status: Optional[StrictStr] = None team_id: Optional[StrictStr] = Field(default=None, alias="teamId") team_name: Optional[StrictStr] = Field(default=None, alias="teamName") - __properties: ClassVar[List[str]] = ["id", "kind", "name", "appId", "channelId", "channelName", "emojiRendering", "teamId", "teamName"] + __properties: ClassVar[List[str]] = ["id", "kind", "name", "appId", "channelId", "channelName", "emojiRendering", "status", "teamId", "teamName"] model_config = ConfigDict( populate_by_name=True, @@ -94,6 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "channelId": obj.get("channelId"), "channelName": obj.get("channelName"), "emojiRendering": obj.get("emojiRendering"), + "status": obj.get("status"), "teamId": obj.get("teamId"), "teamName": obj.get("teamName") }) diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 16a717a..53a5621 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9460f4f..097d1f4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..b912c79 --- /dev/null +++ b/instana_client/models/browser_script_configuration_update.py @@ -0,0 +1,129 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class BrowserScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + BrowserScriptConfigurationUpdate + """ # noqa: E501 + browser: Optional[StrictStr] = None + file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") + script: Optional[StrictStr] = None + script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") + scripts: Optional[MultipleScriptsConfiguration] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script", "scriptType", "scripts"] + + @field_validator('browser') + def browser_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['chrome', 'firefox']): + raise ValueError("must be one of enum values ('chrome', 'firefox')") + return value + + @field_validator('script_type') + def script_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Basic', 'Jest']): + raise ValueError("must be one of enum values ('Basic', 'Jest')") + return 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 BrowserScriptConfigurationUpdate 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 scripts + if self.scripts: + _dict['scripts'] = self.scripts.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrowserScriptConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "browser": obj.get("browser"), + "fileName": obj.get("fileName"), + "recordVideo": obj.get("recordVideo"), + "script": obj.get("script"), + "scriptType": obj.get("scriptType"), + "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None + }) + return _obj + + diff --git a/instana_client/models/built_in_event_specification.py b/instana_client/models/built_in_event_specification.py index 8e97524..0991eba 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5e03975..c8db81d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 76f05a4..67857f6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7d7e690..b53f308 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e5ccb0d..2a93e66 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3d458e8..d32910e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ba4e896..504b56a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index cc01ea1..b9b032e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a1f895c..53bfe36 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fed6da2..9c23efd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 0486cfd..91de3e6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e7eafae..1182d13 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 67d6ac5..2349c17 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from instana_client.models.correction_scheduling import CorrectionScheduling from typing import Optional, Set from typing_extensions import Self @@ -32,12 +33,12 @@ class CorrectionConfiguration(BaseModel): active: Optional[StrictBool] = Field(default=None, description="If value is true, then the correction window is active") created_date: Optional[datetime] = Field(default=None, description="Created date of SLO Correction Window Configuration", alias="createdDate") description: Optional[StrictStr] = Field(default=None, description="Description of the SLO Correction Window Configuration") - id: Optional[StrictStr] = Field(default=None, description="SLO Correction Window Configuration ID") + id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, description="SLO Correction Window Configuration ID") last_updated: Optional[datetime] = Field(default=None, description="Last updated date of SLO Correction Window Configuration", alias="lastUpdated") name: StrictStr = Field(description="Name of the SLO Correction Window Configuration") scheduling: CorrectionScheduling - slo_ids: List[StrictStr] = Field(description="This is the list of SLO configurations related to this Correction Window.", alias="sloIds") - tags: List[StrictStr] = Field(description="List of tags associated with SLO Correction Window Configuration") + slo_ids: Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1024)]] = Field(default=None, description="This is the list of SLO configurations related to this Correction Window.", alias="sloIds") + tags: Optional[List[StrictStr]] = Field(default=None, description="List of tags associated with SLO Correction Window Configuration") __properties: ClassVar[List[str]] = ["active", "createdDate", "description", "id", "lastUpdated", "name", "scheduling", "sloIds", "tags"] model_config = ConfigDict( diff --git a/instana_client/models/correction_scheduling.py b/instana_client/models/correction_scheduling.py index 6248123..60aa3df 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -31,8 +32,8 @@ class CorrectionScheduling(BaseModel): duration: StrictInt = Field(description="Duration of the correction window, defined by the count of time units.") duration_unit: StrictStr = Field(description="Unit for duration. Supported values: `MINUTE`, `HOUR`, `DAY`.", alias="durationUnit") recurrent: Optional[StrictBool] = None - recurrent_rule: Optional[StrictStr] = Field(default=None, description="Recurrence Rule defines how the event recurs, using iCalendar RRULE format (e.g., `FREQ=DAILY;INTERVAL=1`).It supports fields like FREQ, INTERVAL, BYDAY, etc. Refer to RFC 5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10", alias="recurrentRule") - start_time: datetime = Field(description="Start time of the correction window in milliseconds since epoch (UTC) (e.g., `1706713140000`).", alias="startTime") + recurrent_rule: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=2048)]] = Field(default=None, description="Recurrence Rule defines how the event recurs, using iCalendar RRULE format (e.g., `FREQ=DAILY;INTERVAL=1`).It supports fields like FREQ, INTERVAL, BYDAY, etc. Refer to RFC 5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10", alias="recurrentRule") + start_time: Optional[datetime] = Field(default=None, description="Start time of the correction window in milliseconds since epoch (UTC) (e.g., `1706713140000`).", alias="startTime") __properties: ClassVar[List[str]] = ["duration", "durationUnit", "recurrent", "recurrentRule", "startTime"] @field_validator('duration_unit') diff --git a/instana_client/models/correction_window.py b/instana_client/models/correction_window.py index 98146ba..5ae8515 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8d9f9e0..ee241dc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d77a54e..c75392a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ef8de99..64598e0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 67998a0..199c0c8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination_infra_explore_cursor.py b/instana_client/models/cursor_pagination_infra_explore_cursor.py index 1330793..6c30ff7 100644 --- a/instana_client/models/cursor_pagination_infra_explore_cursor.py +++ b/instana_client/models/cursor_pagination_infra_explore_cursor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 49e0213..2e1c973 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 154f964..214878c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 38e40c1..3df841f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9ef55ba..e140521 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6610813..a50ae1e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -27,12 +28,13 @@ class CustomDependency(BaseModel): """ CustomDependency """ # noqa: E501 - direction: Optional[StrictStr] = None - entity_type: Optional[StrictStr] = Field(default=None, description="If entityType is set, the dependency will be added to the plugin for that entity type. Otherwise, the dependency will be applied to the custom entity itself.", alias="entityType") - identifiers: Optional[List[StrictStr]] = Field(default=None, description="Will take the identifiers values for building the key of the dependency.") - name: Optional[StrictStr] = None - type: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["direction", "entityType", "identifiers", "name", "type"] + direction: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]] = None + entity_type: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, description="If entityType is set, the dependency will be added to the plugin for that entity type. Otherwise, the dependency will be applied to the custom entity itself.", alias="entityType") + identifiers: Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=512)]] = Field(default=None, description="Will take the identifiers values for building the key of the dependency.") + name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=256)]] = None + separator: Optional[StrictStr] = Field(default=None, description="Separator between identifiers for building the key of the dependency.") + type: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=8)]] = None + __properties: ClassVar[List[str]] = ["direction", "entityType", "identifiers", "name", "separator", "type"] @field_validator('direction') def direction_validate_enum(cls, value): @@ -109,6 +111,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "entityType": obj.get("entityType"), "identifiers": obj.get("identifiers"), "name": obj.get("name"), + "separator": obj.get("separator"), "type": obj.get("type") }) return _obj diff --git a/instana_client/models/custom_email_subject_prefix.py b/instana_client/models/custom_email_subject_prefix.py index cfcb6d1..08c0758 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ab0754d..4268e1e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5455ef8..c72252d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d149c8e..c2129f2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d650bd0..05f4821 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cb04d15..93b19a7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e8219b4..d822fe0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 84a5cc4..7502319 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a8954ad..1d6bb26 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 828a8c5..4f452bd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 aee3157..ac1a1cb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e8628c9..31cb9a4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 31326f9..db4ffe8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 315784c..2e24ac8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 55e6a4d..1e6570b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/division.py b/instana_client/models/division.py index a266a78..59317a3 100644 --- a/instana_client/models/division.py +++ b/instana_client/models/division.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a3ac5ed..df4d9b6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..5177e98 --- /dev/null +++ b/instana_client/models/dns_configuration_update.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.dns_filter_query_time import DNSFilterQueryTime +from instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class DNSConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + DNSConfigurationUpdate + """ # noqa: E501 + accept_cname: Optional[StrictBool] = Field(default=None, alias="acceptCNAME") + lookup: Optional[StrictStr] = None + lookup_server_name: Optional[StrictBool] = Field(default=None, alias="lookupServerName") + port: Optional[StrictInt] = None + query_time: Optional[DNSFilterQueryTime] = Field(default=None, alias="queryTime") + query_type: Optional[StrictStr] = Field(default=None, alias="queryType") + recursive_lookups: Optional[StrictBool] = Field(default=None, alias="recursiveLookups") + server: Optional[StrictStr] = None + server_retries: Optional[StrictInt] = Field(default=None, alias="serverRetries") + target_values: Optional[SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue] = Field(default=None, alias="targetValues") + transport: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "acceptCNAME", "lookup", "lookupServerName", "port", "queryTime", "queryType", "recursiveLookups", "server", "serverRetries", "targetValues", "transport"] + + @field_validator('query_type') + def query_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['ALL', 'ALL_CONDITIONS', 'ANY', 'A', 'AAAA', 'CNAME', 'NS']): + raise ValueError("must be one of enum values ('ALL', 'ALL_CONDITIONS', 'ANY', 'A', 'AAAA', 'CNAME', 'NS')") + return value + + @field_validator('transport') + def transport_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TCP', 'UDP']): + raise ValueError("must be one of enum values ('TCP', 'UDP')") + return 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 DNSConfigurationUpdate 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 query_time + if self.query_time: + _dict['queryTime'] = self.query_time.to_dict() + # override the default output from pydantic by calling `to_dict()` of target_values + if self.target_values: + _dict['targetValues'] = self.target_values.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DNSConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "acceptCNAME": obj.get("acceptCNAME"), + "lookup": obj.get("lookup"), + "lookupServerName": obj.get("lookupServerName"), + "port": obj.get("port"), + "queryTime": DNSFilterQueryTime.from_dict(obj["queryTime"]) if obj.get("queryTime") is not None else None, + "queryType": obj.get("queryType"), + "recursiveLookups": obj.get("recursiveLookups"), + "server": obj.get("server"), + "serverRetries": obj.get("serverRetries"), + "targetValues": SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.from_dict(obj["targetValues"]) if obj.get("targetValues") is not None else None, + "transport": obj.get("transport") + }) + return _obj + + diff --git a/instana_client/models/dns_filter_query_time.py b/instana_client/models/dns_filter_query_time.py index 650b69c..f2a816c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a9de8e3..5c1469f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 251ff40..91ae08a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e0c7673..6ff2d48 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 17eceda..1c5a03d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a1f1d91..4753ddd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 63f1b3c..174431a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6feda38..07b04fe 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/empty_configuration.py b/instana_client/models/empty_configuration.py index 4324710..18ebc96 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 50b8cc6..b87e132 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8414473..1172b78 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 29e0ade..1196885 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class EndpointEventResult(EventResult): application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this endpoint is in scope of.", alias="applicationId") endpoint_id: Optional[StrictStr] = Field(default=None, description="ID of the endpoint.", alias="endpointId") endpoint_service_id: Optional[StrictStr] = Field(default=None, description="ID service related to this endpoint.", alias="endpointServiceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "applicationId", "endpointId", "endpointServiceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "endpointId", "endpointServiceId"] model_config = ConfigDict( populate_by_name=True, @@ -97,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/endpoint_item.py b/instana_client/models/endpoint_item.py index 16815dc..b30e7db 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b7dcf08..b739cbd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 659012f..7fe4365 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 625c62f..4e129ab 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9367a06..cfd2d5c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 96edc94..323032b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b7a3ca0..e7dcff7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cbe4955..04cb1f0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a10afe3..b161667 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6d92122..f04d40a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a0dbe53..2b60abe 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8ecdd0b..8827bf5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2ab316e..5d13365 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,6 +29,7 @@ class Event(BaseModel): """ Event """ # noqa: E501 + affected_entities: Optional[List[StrictStr]] = Field(default=None, alias="affectedEntities") end: Optional[Annotated[int, Field(strict=True, ge=1)]] = None endpoint_service_id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, alias="endpointServiceId") entity_id: Annotated[str, Field(min_length=0, strict=True, max_length=64)] = Field(alias="entityId") @@ -41,10 +42,11 @@ class Event(BaseModel): plugin: Annotated[str, Field(min_length=0, strict=True, max_length=256)] problem: Optional[Problem] = None rca: Optional[Dict[str, Dict[str, Any]]] = None + short_code: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=64)]] = Field(default=None, alias="shortCode") start: Optional[Annotated[int, Field(strict=True, ge=1)]] = None state: Annotated[str, Field(min_length=0, strict=True, max_length=8)] type: Annotated[str, Field(min_length=0, strict=True, max_length=64)] - __properties: ClassVar[List[str]] = ["end", "endpointServiceId", "entityId", "entityType", "eventConfigurationType", "id", "longFormPluginId", "metadata", "metricAccessId", "plugin", "problem", "rca", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["affectedEntities", "end", "endpointServiceId", "entityId", "entityType", "eventConfigurationType", "id", "longFormPluginId", "metadata", "metricAccessId", "plugin", "problem", "rca", "shortCode", "start", "state", "type"] @field_validator('entity_type') def entity_type_validate_enum(cls, value): @@ -110,6 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "affectedEntities": obj.get("affectedEntities"), "end": obj.get("end"), "endpointServiceId": obj.get("endpointServiceId"), "entityId": obj.get("entityId"), @@ -122,6 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "plugin": obj.get("plugin"), "problem": Problem.from_dict(obj["problem"]) if obj.get("problem") is not None else None, "rca": obj.get("rca"), + "shortCode": obj.get("shortCode"), "start": obj.get("start"), "state": obj.get("state"), "type": obj.get("type") diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index 889f529..3b79df7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4ee0f33..581a676 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -52,11 +52,12 @@ class EventResult(BaseModel): problem: Optional[StrictStr] = Field(default=None, description="Main problem title of the Event.") recent_events: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="List of related recent events. Only present in case of \"Incident\" type events.", alias="recentEvents") severity: Optional[StrictInt] = Field(default=None, description="The severity of the Event when triggered.") + short_code: Optional[StrictStr] = Field(default=None, description="A short code for the event", alias="shortCode") snapshot_id: Optional[StrictStr] = Field(default=None, description="The snapshot ID of the affected entity of this event.", alias="snapshotId") start: Optional[StrictInt] = Field(default=None, description="A Unix timestamp representing the start time of the Event.") state: Optional[StrictStr] = Field(default=None, description="The state of the Event, \"open\" or \"close\". ") type: Optional[StrictStr] = Field(default=None, description="The type of Event.") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] model_config = ConfigDict( populate_by_name=True, diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index 4b9ac02..b8b32c2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 04f2e09..5707817 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 56c38b6..a85bca7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 27c5afc..f01c21f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b8119db..3cc4dcb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 477103c..39aa03c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c3546dd..2f6bcec 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 510818f..f2899b1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c6cf40e..ba558b0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 23722f8..470b856 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7c2c2dd..8971ae1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fd5a85c..fe5c078 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 56deec5..de1259e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 427f27c..36afdb5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 23560dd..eee004d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 0d23c1d..1bfabb5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2183e12..caae0f6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c74db70..c7de5b4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 663c426..d7912d7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 bde59f9..bdafdba 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 70895d6..e80334d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9281c27..aecc5c3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4f38d27..8733e0b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f29f145..d387ec4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4dd033f..9a71c5c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 12ddbcb..5fa4b28 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5eb7373..3ff04c5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8e8a7a0..e77a3d4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9b71a4c..8004ced 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cf80b61..96a3d28 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2199066..3ff340e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e897839..cda9f8c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a3a7843..3fdb7d1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 65e8c8a..ad95cb0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dc71d19..2c02e45 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2b79aa5..6844bc3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d9a69e3..d8d68ea 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 049606f..51dabad 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d78f923..b3a1364 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1106ed..5b67d8b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d030b95..6965c4c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 0421c87..00d8e41 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9abaed6..bcddea7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index 1236f4e..6d8cb2b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 60d3ec1..0bd2a9a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b3e07c5..5644b62 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fbfabdb..e9e2210 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a8ce801..bd6fe33 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 de63db4..91a5234 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 78fcc46..fd8b93f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d160347..87a1101 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3651592..20479b6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 10683d1..ffcbde1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..d7fb68f --- /dev/null +++ b/instana_client/models/http_action_configuration_update.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +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_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class HttpActionConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + HttpActionConfigurationUpdate + """ # noqa: E501 + allow_insecure: Optional[StrictBool] = Field(default=None, alias="allowInsecure") + body: Optional[StrictStr] = None + expect_exists: Optional[SyntheticResourceUpdateListStringListString] = Field(default=None, alias="expectExists") + expect_json: Optional[Dict[str, Any]] = Field(default=None, alias="expectJson") + expect_match: Optional[StrictStr] = Field(default=None, alias="expectMatch") + expect_not_empty: Optional[SyntheticResourceUpdateListStringListString] = Field(default=None, alias="expectNotEmpty") + expect_status: Optional[StrictInt] = Field(default=None, alias="expectStatus") + follow_redirect: Optional[StrictBool] = Field(default=None, alias="followRedirect") + headers: Optional[SyntheticResourceUpdateMapStringStringListString] = None + operation: Optional[StrictStr] = None + url: Optional[StrictStr] = None + validation_string: Optional[StrictStr] = Field(default=None, alias="validationString") + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "allowInsecure", "body", "expectExists", "expectJson", "expectMatch", "expectNotEmpty", "expectStatus", "followRedirect", "headers", "operation", "url", "validationString"] + + @field_validator('operation') + def operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT']): + raise ValueError("must be one of enum values ('DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT')") + return 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 HttpActionConfigurationUpdate 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 expect_exists + if self.expect_exists: + _dict['expectExists'] = self.expect_exists.to_dict() + # override the default output from pydantic by calling `to_dict()` of expect_not_empty + if self.expect_not_empty: + _dict['expectNotEmpty'] = self.expect_not_empty.to_dict() + # override the default output from pydantic by calling `to_dict()` of headers + if self.headers: + _dict['headers'] = self.headers.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of HttpActionConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "allowInsecure": obj.get("allowInsecure"), + "body": obj.get("body"), + "expectExists": SyntheticResourceUpdateListStringListString.from_dict(obj["expectExists"]) if obj.get("expectExists") is not None else None, + "expectJson": obj.get("expectJson"), + "expectMatch": obj.get("expectMatch"), + "expectNotEmpty": SyntheticResourceUpdateListStringListString.from_dict(obj["expectNotEmpty"]) if obj.get("expectNotEmpty") is not None else None, + "expectStatus": obj.get("expectStatus"), + "followRedirect": obj.get("followRedirect"), + "headers": SyntheticResourceUpdateMapStringStringListString.from_dict(obj["headers"]) if obj.get("headers") is not None else None, + "operation": obj.get("operation"), + "url": obj.get("url"), + "validationString": obj.get("validationString") + }) + return _obj + + diff --git a/instana_client/models/http_endpoint_config.py b/instana_client/models/http_endpoint_config.py index 6d3fd7f..1a9d9f3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 aaa3e5e..5d26173 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 22d0f00..bbee4b7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f86f905..b3bf0fb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..ccd5127 --- /dev/null +++ b/instana_client/models/http_script_configuration_update.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class HttpScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + HttpScriptConfigurationUpdate + """ # noqa: E501 + file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + script: Optional[StrictStr] = None + script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") + scripts: Optional[MultipleScriptsConfiguration] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "fileName", "script", "scriptType", "scripts"] + + @field_validator('script_type') + def script_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Basic', 'Jest']): + raise ValueError("must be one of enum values ('Basic', 'Jest')") + return 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 HttpScriptConfigurationUpdate 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 scripts + if self.scripts: + _dict['scripts'] = self.scripts.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of HttpScriptConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "fileName": obj.get("fileName"), + "script": obj.get("script"), + "scriptType": obj.get("scriptType"), + "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None + }) + return _obj + + diff --git a/instana_client/models/hyper_param.py b/instana_client/models/hyper_param.py index fac30a9..8254ea2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c7dbed4..804d7d2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e6fd83a..8361f0b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8432404..48801f6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2be6bbe..d7bfa05 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 86ea9e2..dd7459d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 77a510b..e568db0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class InfraEventResult(EventResult): """ # noqa: E501 ibm_mq_file_transfer: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="IBM MQ file transfer information, if relevant for this entity and event.", alias="ibmMqFileTransfer") snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "ibmMqFileTransfer"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "ibmMqFileTransfer"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/infra_metric_configuration.py b/instana_client/models/infra_metric_configuration.py index 37ff2ec..9e70593 100644 --- a/instana_client/models/infra_metric_configuration.py +++ b/instana_client/models/infra_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 865f01c..0f5c395 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fcf3d0d..a65b19b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 be96727..4c1e80a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c03b782..cbcc12f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 70d8600..0dca05f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4c044d4..5cc015b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6eb4f36..3b330b1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 151505b..a02c037 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9af1781..3ea7b98 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 25373bb..f0374ce 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,8 @@ class Invitation(BaseModel): group_id: StrictStr = Field(alias="groupId") message: Optional[StrictStr] = None path: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["email", "groupId", "message", "path"] + team_id: Optional[StrictStr] = Field(default=None, alias="teamId") + __properties: ClassVar[List[str]] = ["email", "groupId", "message", "path", "teamId"] model_config = ConfigDict( populate_by_name=True, @@ -87,7 +88,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "email": obj.get("email"), "groupId": obj.get("groupId"), "message": obj.get("message"), - "path": obj.get("path") + "path": obj.get("path"), + "teamId": obj.get("teamId") }) return _obj diff --git a/instana_client/models/invitation_response.py b/instana_client/models/invitation_response.py index 71636d2..9543d41 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 73fd468..a6b8dca 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a96a19e..3cb6978 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1877490..76c93f8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b887ff7..428fcd7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ea5d850..a120b0e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7c49477..6acfa9a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,6 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from uuid import UUID from typing import Optional, Set from typing_extensions import Self @@ -35,7 +34,7 @@ class LLMEgressGateway(BaseModel): enabled: Optional[StrictBool] = None endpoint_api_key: Optional[StrictStr] = Field(default=None, alias="endpointApiKey") endpoint_url: Optional[StrictStr] = Field(default=None, alias="endpointUrl") - id: UUID + id: StrictStr instana_agents: Optional[Dict[str, Any]] = Field(default=None, alias="instanaAgents") metadata: Optional[Dict[str, Any]] = None modified_at: StrictStr = Field(alias="modifiedAt") diff --git a/instana_client/models/location_status.py b/instana_client/models/location_status.py index 3aec0a1..310c9a6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ab965e6..5e7ae44 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 005f514..9612a1d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c391d40..7d44202 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3ec262d..3ec8f35 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_entry_actor.py b/instana_client/models/log_entry_actor.py index b76a98f..ae52107 100644 --- a/instana_client/models/log_entry_actor.py +++ b/instana_client/models/log_entry_actor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f72f065..94a86ac 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class LogEventResult(EventResult): LogEventResult """ # noqa: E501 snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] model_config = ConfigDict( populate_by_name=True, @@ -95,6 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/log_time_threshold.py b/instana_client/models/log_time_threshold.py index 2588091..42d9f88 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b756ea0..19d84d4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ea89b3a..bcd929a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1a77e0b..0d8d4b8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 37df983..15158eb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index 72a2b9c..df226e4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 42b72a7..30a3daf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c8dda64..1fb239b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c1a171a..a857f75 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d8dacb0..3c60ad1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7551e79..fc42aed 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6b799fe..bd95046 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c30c149..704ed2b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 277f4bc..0bbd40e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_all_http_path_segment_matching_rule.py b/instana_client/models/match_all_http_path_segment_matching_rule.py index 671c4ad..dfcec46 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f5a6bb0..47af1aa 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 da3278b..38d7b51 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fd9740d..16502cf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2806536..29223f5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3a5cc92..3f981c4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5eae4cd..682ec58 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5274e5a..28d30d7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2c2712b..28b8ea7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 99fbe99..53b88ab 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index b05cf6d..f01abe8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_query.py b/instana_client/models/metric_query.py index aae427e..16f9f79 100644 --- a/instana_client/models/metric_query.py +++ b/instana_client/models/metric_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3969b35..5116843 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e5f72a3..7de5a7e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1d4b68d..e868f6e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8e09053..db0c5d5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8685747..a1fc27a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 825d8d6..b6e43ae 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2f8a3e1..ba0e0ee 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 989b8d8..179bd64 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5dd8a17..0ea80b5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 480c27d..8a7d587 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 162618e..891332e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 481e6fe..5e7277d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class MobileAppEventResult(EventResult): MobileAppEventResult """ # noqa: E501 mobile_app_id: Optional[StrictStr] = Field(default=None, description="ID of the mobile app.", alias="mobileAppId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "mobileAppId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "mobileAppId"] model_config = ConfigDict( populate_by_name=True, @@ -95,6 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/mobile_app_metric_result.py b/instana_client/models/mobile_app_metric_result.py index 0bf4d01..644cce6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8318c59..ec3efbf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 75fbb37..ffbc92f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1feb29a..cb46a8d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4c2c0f3..1948beb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a5f0258..07ada90 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9e3b2c0..6330464 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 58adf69..aa3a713 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 15ec024..50c9ede 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiplication.py b/instana_client/models/multiplication.py index 3c21f12..9cf1cc9 100644 --- a/instana_client/models/multiplication.py +++ b/instana_client/models/multiplication.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/nested_operation.py b/instana_client/models/nested_operation.py index ab66169..28df79d 100644 --- a/instana_client/models/nested_operation.py +++ b/instana_client/models/nested_operation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 215c6ac..4d0937f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index e1a87bc..19feef3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 06fa362..b7e337a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index b249ac4..16eefa2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class OAuthConfig(BaseModel): additional_parameters: Optional[Dict[str, StrictStr]] = Field(default=None, alias="additionalParameters") client_id: StrictStr = Field(alias="clientId") client_secret: StrictStr = Field(alias="clientSecret") - grant_type: StrictStr = Field(alias="grantType") + grant_type: Optional[StrictStr] = Field(default=None, alias="grantType") password: Optional[StrictStr] = None token_url: StrictStr = Field(alias="tokenUrl") username: Optional[StrictStr] = None @@ -39,6 +39,9 @@ class OAuthConfig(BaseModel): @field_validator('grant_type') def grant_type_validate_enum(cls, value): """Validates the enum""" + if value is None: + return value + if value not in set(['CLIENT_CREDENTIALS', 'PASSWORD']): raise ValueError("must be one of enum values ('CLIENT_CREDENTIALS', 'PASSWORD')") return value diff --git a/instana_client/models/o_auth_integration.py b/instana_client/models/o_auth_integration.py index 28a4df5..096338f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8c2e0d1..9d1bfb6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from datetime import datetime -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -31,16 +31,11 @@ class OAuthToken(BaseModel): access_token: Optional[StrictStr] = Field(default=None, alias="accessToken") created_at: Optional[datetime] = Field(default=None, alias="createdAt") expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - failed_refresh_attempts: Optional[StrictInt] = Field(default=None, alias="failedRefreshAttempts") - last_refresh_attempt: Optional[datetime] = Field(default=None, alias="lastRefreshAttempt") - milliseconds_until_refresh_needed: Optional[StrictInt] = Field(default=None, alias="millisecondsUntilRefreshNeeded") refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") - scope: Optional[StrictStr] = None status: Optional[StrictStr] = None token_type: Optional[StrictStr] = Field(default=None, alias="tokenType") - updated_at: Optional[datetime] = Field(default=None, alias="updatedAt") valid: Optional[StrictBool] = None - __properties: ClassVar[List[str]] = ["accessToken", "createdAt", "expiresAt", "failedRefreshAttempts", "lastRefreshAttempt", "millisecondsUntilRefreshNeeded", "refreshToken", "scope", "status", "tokenType", "updatedAt", "valid"] + __properties: ClassVar[List[str]] = ["accessToken", "createdAt", "expiresAt", "refreshToken", "status", "tokenType", "valid"] @field_validator('status') def status_validate_enum(cls, value): @@ -48,8 +43,8 @@ def status_validate_enum(cls, value): if value is None: return value - if value not in set(['VALID', 'EXPIRED', 'REFRESH_NEEDED', 'ERROR']): - raise ValueError("must be one of enum values ('VALID', 'EXPIRED', 'REFRESH_NEEDED', 'ERROR')") + if value not in set(['VALID', 'INVALID']): + raise ValueError("must be one of enum values ('VALID', 'INVALID')") return value model_config = ConfigDict( @@ -106,14 +101,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "accessToken": obj.get("accessToken"), "createdAt": obj.get("createdAt"), "expiresAt": obj.get("expiresAt"), - "failedRefreshAttempts": obj.get("failedRefreshAttempts"), - "lastRefreshAttempt": obj.get("lastRefreshAttempt"), - "millisecondsUntilRefreshNeeded": obj.get("millisecondsUntilRefreshNeeded"), "refreshToken": obj.get("refreshToken"), - "scope": obj.get("scope"), "status": obj.get("status"), "tokenType": obj.get("tokenType"), - "updatedAt": obj.get("updatedAt"), "valid": obj.get("valid") }) return _obj diff --git a/instana_client/models/occurrence.py b/instana_client/models/occurrence.py index 6412395..6871709 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 06e26a9..05e418e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index 98b0e79..9d1cc01 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 be096c3..2848aff 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 71aa8c1..997a517 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 82a56c5..cb57d13 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index cbc897e..660fd7c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 67ba971..fd4f527 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3b1f86d..de8b5c4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4de4ff5..d801f54 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 02f7096..f795adb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c36adb0..12bf0e9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 de71491..12c53a1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 344f3f3..dad1380 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 182a669..143e748 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fd9fc29..a3b8a69 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5d6d922..cbc0c32 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 91b72cf..c5bb17d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e6d4524..530badf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b5774be..4304b33 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7fd29ee..84416b8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6f1c8ff..5dec4ba 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 66ed21a..7e33793 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2eb27a5..5a90df5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 07ee2a0..7429834 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a009991..146fe44 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 06265e2..26c2b98 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1bdc29a..ed7a510 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 70ba7d9..e1339ee 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cedb5b7..d7f7d6a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ce195a6..c66939b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ec4f9ac..09b0e22 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b66fa46..91b2fb1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 97552a0..dbac590 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5b95aec..2068398 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4304ce6..098d483 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4180f77..f131bca 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a985377..bb18706 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 740997b..25402d5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 881b0f4..19e73e6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class ServiceEventResult(EventResult): """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this service is in scope of.", alias="applicationId") service_id: Optional[StrictStr] = Field(default=None, description="ID of the service.", alias="serviceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "applicationId", "serviceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "serviceId"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/service_item.py b/instana_client/models/service_item.py index 0bf5577..1389bf8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 292bcfd..b98c5b8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9895b43..53c7b35 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 034e184..c2b2c97 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c68ca10..dcc9918 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f85ba06..37cb6c7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 472425d..99367fd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 311da8b..c34d818 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 09866b0..68185eb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fba6221..1b9d260 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c218533..c1d5af2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5ebd5c0..d43ef16 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7c378ab..3863f95 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 98d2563..32cf4f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9c90e99..846b690 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b79eeb5..9c8181a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index 6aaaf52..1edd671 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index caec678..92bc701 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e69653d..5881045 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4f53549..7775c9a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b5785c6..d830088 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7d07609..f3719b9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b4c240a..147535f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 0ba42c9..7745e05 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4f9da3e..cf9f81c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union from instana_client.models.arithmetic_operation import ArithmeticOperation from typing import Optional, Set from typing_extensions import Self @@ -32,10 +32,11 @@ class SimpleMetricConfiguration(BaseModel): cross_series_aggregation: Optional[StrictStr] = Field(default=None, alias="crossSeriesAggregation") granularity: Optional[StrictInt] = Field(default=None, description=" * If granularity is not specified an aggregated value for the selected timeframe is returned. * If granularity is specified data points are returned with the specified granularity * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) ") metric: StrictStr + missing_value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="missingValue") regex: Optional[StrictBool] = None required: Optional[StrictBool] = Field(default=None, description="When true, metric must be present with values") operation: Optional[ArithmeticOperation] = None - __properties: ClassVar[List[str]] = ["aggregation", "crossSeriesAggregation", "granularity", "metric", "regex", "required", "operation"] + __properties: ClassVar[List[str]] = ["aggregation", "crossSeriesAggregation", "granularity", "metric", "missingValue", "regex", "required", "operation"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "crossSeriesAggregation": obj.get("crossSeriesAggregation"), "granularity": obj.get("granularity"), "metric": obj.get("metric"), + "missingValue": obj.get("missingValue"), "regex": obj.get("regex"), "required": obj.get("required"), "operation": ArithmeticOperation.from_dict(obj["operation"]) if obj.get("operation") is not None else None diff --git a/instana_client/models/single_value.py b/instana_client/models/single_value.py index 4c5f9e3..c8bbee4 100644 --- a/instana_client/models/single_value.py +++ b/instana_client/models/single_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9c46bb2..4bc4d05 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index ba2decd..f43b0e3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1ebbaf1..447a328 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2a82ee4..a6f23bb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3839770..fc30f7a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1737556..d9c68dd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1e3e03..564224e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index bc7619c..c6dfb8b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index a5de5d7..cd52eec 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2149b6e..e71859b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 34d83f4..9b11780 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dd33543..c707e0f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9779b2c..c6c2745 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2bb770c..f05107a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 377d143..fb5a688 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 954d928..492a8cd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 72fb242..37c18f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a10023e..d9057f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2ce28d4..5f7c140 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 589c3f4..97e0fd9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 bf0ff50..dc792f7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 82f974d..5e7cdcf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2938db2..b42e580 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 84c839e..3aa3756 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration.py b/instana_client/models/ssl_certificate_configuration.py index 328a8aa..3c63682 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..8f022f6 --- /dev/null +++ b/instana_client/models/ssl_certificate_configuration_update.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class SSLCertificateConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + SSLCertificateConfigurationUpdate + """ # noqa: E501 + accept_self_signed_certificate: Optional[StrictBool] = Field(default=None, alias="acceptSelfSignedCertificate") + days_remaining_check: Optional[StrictInt] = Field(default=None, alias="daysRemainingCheck") + hostname: Optional[StrictStr] = None + port: Optional[StrictInt] = None + validation_rules: Optional[SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation] = Field(default=None, alias="validationRules") + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "acceptSelfSignedCertificate", "daysRemainingCheck", "hostname", "port", "validationRules"] + + 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 SSLCertificateConfigurationUpdate 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 validation_rules + if self.validation_rules: + _dict['validationRules'] = self.validation_rules.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SSLCertificateConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "acceptSelfSignedCertificate": obj.get("acceptSelfSignedCertificate"), + "daysRemainingCheck": obj.get("daysRemainingCheck"), + "hostname": obj.get("hostname"), + "port": obj.get("port"), + "validationRules": SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.from_dict(obj["validationRules"]) if obj.get("validationRules") is not None else None + }) + return _obj + + diff --git a/instana_client/models/ssl_certificate_validation.py b/instana_client/models/ssl_certificate_validation.py index 102a8d3..aeb812f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 fcd1986..54c9ed3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1fd469..619414e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1636f94..8f6c2f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 eec1a8c..4a6b460 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6293a4d..5b7bfdb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ba316d4..fcc1129 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e16f6af..6072e91 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 52f0dfd..dfc9a8c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5a875e3..37c97ea 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/subtraction.py b/instana_client/models/subtraction.py index 60e9f7a..570e042 100644 --- a/instana_client/models/subtraction.py +++ b/instana_client/models/subtraction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8dc39cb..089b0c7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 690d89c..6315f16 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2780c67..74109df 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..d1930aa --- /dev/null +++ b/instana_client/models/synthetic_bulk_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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 SyntheticBulkResponse(BaseModel): + """ + SyntheticBulkResponse + """ # noqa: E501 + error_message: Optional[StrictStr] = Field(default=None, alias="errorMessage") + id: Optional[StrictStr] = None + status: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["errorMessage", "id", "status"] + + 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 SyntheticBulkResponse 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 SyntheticBulkResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errorMessage": obj.get("errorMessage"), + "id": obj.get("id"), + "status": obj.get("status") + }) + return _obj + + diff --git a/instana_client/models/synthetic_call_config.py b/instana_client/models/synthetic_call_config.py index 7d43239..e18f54a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 408612b..d8cf611 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 25afa46..3a94cef 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 751c273..c70d91c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..e4ee5c1 --- /dev/null +++ b/instana_client/models/synthetic_configuration_update.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticConfigurationUpdate(BaseModel): + """ + SyntheticConfigurationUpdate + """ # noqa: E501 + mark_synthetic_call: Optional[StrictBool] = Field(default=None, alias="markSyntheticCall") + retries: Optional[Annotated[int, Field(le=2, strict=True, ge=0)]] = None + retry_interval: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=None, alias="retryInterval") + timeout: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "timeout"] + + 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 SyntheticConfigurationUpdate 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 SyntheticConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "timeout": obj.get("timeout") + }) + return _obj + + diff --git a/instana_client/models/synthetic_credential.py b/instana_client/models/synthetic_credential.py index 065cd42..af01041 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b0578a8..7d26eb3 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7efe1ce..5fe5641 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f0b5e36..1acc931 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d6adc9c..83aa8e0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5799922..fee5e4e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 0703cdf..2c27957 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b8510c6..690c992 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -28,10 +28,20 @@ class SyntheticMetricTagGroup(BaseModel): """ Grouping of data under `groupbyTag`, where `groupbyTagEntity` and `groupbyTagSecondLevelKey` are aspects of `groupbyTag`. """ # noqa: E501 + direction: StrictStr groupby_tag: Annotated[str, Field(min_length=0, strict=True, max_length=256)] = Field(description="The name of the group tag (e.g. `agent.tag` or `docker.label`).", alias="groupbyTag") groupby_tag_entity: StrictStr = Field(description="The entity by which the data should be grouped. This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. `SOURCE`: the tag filter should apply to the source entity. `DESTINATION`: the tag filter should apply to the destination entity. `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). ", alias="groupbyTagEntity") groupby_tag_second_level_key: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=256)]] = Field(default=None, description="If present, it's the 2nd level key part (e.g. `customKey` on `docker.label.customKey`)", alias="groupbyTagSecondLevelKey") - __properties: ClassVar[List[str]] = ["groupbyTag", "groupbyTagEntity", "groupbyTagSecondLevelKey"] + include_others: Optional[StrictBool] = Field(default=None, alias="includeOthers") + max_results: Optional[Annotated[int, Field(le=50, strict=True, ge=1)]] = Field(default=None, alias="maxResults") + __properties: ClassVar[List[str]] = ["direction", "groupbyTag", "groupbyTagEntity", "groupbyTagSecondLevelKey", "includeOthers", "maxResults"] + + @field_validator('direction') + def direction_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['ASC', 'DESC']): + raise ValueError("must be one of enum values ('ASC', 'DESC')") + return value @field_validator('groupby_tag_entity') def groupby_tag_entity_validate_enum(cls, value): @@ -91,9 +101,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "direction": obj.get("direction"), "groupbyTag": obj.get("groupbyTag"), "groupbyTagEntity": obj.get("groupbyTagEntity"), - "groupbyTagSecondLevelKey": obj.get("groupbyTagSecondLevelKey") + "groupbyTagSecondLevelKey": obj.get("groupbyTagSecondLevelKey"), + "includeOthers": obj.get("includeOthers"), + "maxResults": obj.get("maxResults") }) return _obj diff --git a/instana_client/models/synthetic_playback_capabilities.py b/instana_client/models/synthetic_playback_capabilities.py index 17bb053..93041f4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py new file mode 100644 index 0000000..f1f8134 --- /dev/null +++ b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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 +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.dns_filter_target_value import DNSFilterTargetValue +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue(BaseModel): + """ + SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + """ # noqa: E501 + add: Optional[List[DNSFilterTargetValue]] = None + remove: Optional[List[DNSFilterTargetValue]] = None + __properties: ClassVar[List[str]] = ["add", "remove"] + + 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 SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue 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 add (list) + _items = [] + if self.add: + for _item_add in self.add: + if _item_add: + _items.append(_item_add.to_dict()) + _dict['add'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in remove (list) + _items = [] + if self.remove: + for _item_remove in self.remove: + if _item_remove: + _items.append(_item_remove.to_dict()) + _dict['remove'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "add": [DNSFilterTargetValue.from_dict(_item) for _item in obj["add"]] if obj.get("add") is not None else None, + "remove": [DNSFilterTargetValue.from_dict(_item) for _item in obj["remove"]] if obj.get("remove") is not None else None + }) + return _obj + + 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 new file mode 100644 index 0000000..99bef25 --- /dev/null +++ b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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 +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.ssl_certificate_validation import SSLCertificateValidation +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation(BaseModel): + """ + SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + """ # noqa: E501 + add: Optional[List[SSLCertificateValidation]] = None + remove: Optional[List[SSLCertificateValidation]] = None + __properties: ClassVar[List[str]] = ["add", "remove"] + + 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 SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation 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 add (list) + _items = [] + if self.add: + for _item_add in self.add: + if _item_add: + _items.append(_item_add.to_dict()) + _dict['add'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in remove (list) + _items = [] + if self.remove: + for _item_remove in self.remove: + if _item_remove: + _items.append(_item_remove.to_dict()) + _dict['remove'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "add": [SSLCertificateValidation.from_dict(_item) for _item in obj["add"]] if obj.get("add") is not None else None, + "remove": [SSLCertificateValidation.from_dict(_item) for _item in obj["remove"]] if obj.get("remove") is not None else None + }) + return _obj + + 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 new file mode 100644 index 0000000..bc4dc93 --- /dev/null +++ b/instana_client/models/synthetic_resource_update_list_string_list_string.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticResourceUpdateListStringListString(BaseModel): + """ + SyntheticResourceUpdateListStringListString + """ # noqa: E501 + add: Optional[List[StrictStr]] = None + remove: Optional[List[StrictStr]] = None + __properties: ClassVar[List[str]] = ["add", "remove"] + + 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 SyntheticResourceUpdateListStringListString 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 SyntheticResourceUpdateListStringListString from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "add": obj.get("add"), + "remove": obj.get("remove") + }) + return _obj + + 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 new file mode 100644 index 0000000..5b706fe --- /dev/null +++ b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticResourceUpdateMapStringStringListString(BaseModel): + """ + SyntheticResourceUpdateMapStringStringListString + """ # noqa: E501 + add: Optional[Dict[str, StrictStr]] = None + remove: Optional[List[StrictStr]] = None + __properties: ClassVar[List[str]] = ["add", "remove"] + + 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 SyntheticResourceUpdateMapStringStringListString 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 SyntheticResourceUpdateMapStringStringListString from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "add": obj.get("add"), + "remove": obj.get("remove") + }) + return _obj + + diff --git a/instana_client/models/synthetic_slo_entity.py b/instana_client/models/synthetic_slo_entity.py index ea0a192..169e7b7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1f059b..691aaeb 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 60288c7..00f1416 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3b69ef4..586d799 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 903b20c..026d056 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 aa8ae24..86f0df9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..185ce75 --- /dev/null +++ b/instana_client/models/synthetic_test_deep_update.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Optional +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_test_update import SyntheticTestUpdate +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticTestDeepUpdate(SyntheticTestUpdate): + """ + SyntheticTestDeepUpdate + """ # noqa: E501 + configuration: Optional[SyntheticTypeConfigurationUpdate] = None + __properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites", "configuration"] + + 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 SyntheticTestDeepUpdate 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 applications + if self.applications: + _dict['applications'] = self.applications.to_dict() + # override the default output from pydantic by calling `to_dict()` of custom_properties + if self.custom_properties: + _dict['customProperties'] = self.custom_properties.to_dict() + # override the default output from pydantic by calling `to_dict()` of locations + if self.locations: + _dict['locations'] = self.locations.to_dict() + # override the default output from pydantic by calling `to_dict()` of mobile_apps + if self.mobile_apps: + _dict['mobileApps'] = self.mobile_apps.to_dict() + # override the default output from pydantic by calling `to_dict()` of websites + if self.websites: + _dict['websites'] = self.websites.to_dict() + # override the default output from pydantic by calling `to_dict()` of configuration + if self.configuration: + _dict['configuration'] = self.configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SyntheticTestDeepUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "active": obj.get("active"), + "applications": SyntheticResourceUpdateListStringListString.from_dict(obj["applications"]) if obj.get("applications") is not None else None, + "customProperties": SyntheticResourceUpdateMapStringStringListString.from_dict(obj["customProperties"]) if obj.get("customProperties") is not None else None, + "ids": obj.get("ids"), + "lastModifiedAt": obj.get("lastModifiedAt"), + "locations": SyntheticResourceUpdateListStringListString.from_dict(obj["locations"]) if obj.get("locations") is not None else None, + "mobileApps": SyntheticResourceUpdateListStringListString.from_dict(obj["mobileApps"]) if obj.get("mobileApps") is not None else None, + "modifiedBy": obj.get("modifiedBy"), + "shallowUpdate": obj.get("shallowUpdate"), + "syntheticUpdateType": obj.get("syntheticUpdateType"), + "testFrequency": obj.get("testFrequency"), + "websites": SyntheticResourceUpdateListStringListString.from_dict(obj["websites"]) if obj.get("websites") is not None else None, + "configuration": SyntheticTypeConfigurationUpdate.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None + }) + return _obj + + diff --git a/instana_client/models/synthetic_test_shallow_update.py b/instana_client/models/synthetic_test_shallow_update.py new file mode 100644 index 0000000..8e6c466 --- /dev/null +++ b/instana_client/models/synthetic_test_shallow_update.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Optional +from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate +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_test_update import SyntheticTestUpdate +from typing import Optional, Set +from typing_extensions import Self + +class SyntheticTestShallowUpdate(SyntheticTestUpdate): + """ + SyntheticTestShallowUpdate + """ # noqa: E501 + configuration: Optional[SyntheticConfigurationUpdate] = None + __properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites", "configuration"] + + 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 SyntheticTestShallowUpdate 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 applications + if self.applications: + _dict['applications'] = self.applications.to_dict() + # override the default output from pydantic by calling `to_dict()` of custom_properties + if self.custom_properties: + _dict['customProperties'] = self.custom_properties.to_dict() + # override the default output from pydantic by calling `to_dict()` of locations + if self.locations: + _dict['locations'] = self.locations.to_dict() + # override the default output from pydantic by calling `to_dict()` of mobile_apps + if self.mobile_apps: + _dict['mobileApps'] = self.mobile_apps.to_dict() + # override the default output from pydantic by calling `to_dict()` of websites + if self.websites: + _dict['websites'] = self.websites.to_dict() + # override the default output from pydantic by calling `to_dict()` of configuration + if self.configuration: + _dict['configuration'] = self.configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SyntheticTestShallowUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "active": obj.get("active"), + "applications": SyntheticResourceUpdateListStringListString.from_dict(obj["applications"]) if obj.get("applications") is not None else None, + "customProperties": SyntheticResourceUpdateMapStringStringListString.from_dict(obj["customProperties"]) if obj.get("customProperties") is not None else None, + "ids": obj.get("ids"), + "lastModifiedAt": obj.get("lastModifiedAt"), + "locations": SyntheticResourceUpdateListStringListString.from_dict(obj["locations"]) if obj.get("locations") is not None else None, + "mobileApps": SyntheticResourceUpdateListStringListString.from_dict(obj["mobileApps"]) if obj.get("mobileApps") is not None else None, + "modifiedBy": obj.get("modifiedBy"), + "shallowUpdate": obj.get("shallowUpdate"), + "syntheticUpdateType": obj.get("syntheticUpdateType"), + "testFrequency": obj.get("testFrequency"), + "websites": SyntheticResourceUpdateListStringListString.from_dict(obj["websites"]) if obj.get("websites") is not None else None, + "configuration": SyntheticConfigurationUpdate.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None + }) + return _obj + + diff --git a/instana_client/models/synthetic_test_update.py b/instana_client/models/synthetic_test_update.py new file mode 100644 index 0000000..b65df25 --- /dev/null +++ b/instana_client/models/synthetic_test_update.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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 importlib import import_module +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +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 typing import Optional, Set +from typing_extensions import Self + +from typing import TYPE_CHECKING +if TYPE_CHECKING: + from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate + from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate + +class SyntheticTestUpdate(BaseModel): + """ + Identifies the type of the synthetic tests updated on this request. Valid types are Deep and Shallow. + """ # noqa: E501 + active: Optional[StrictBool] = None + applications: Optional[SyntheticResourceUpdateListStringListString] = None + custom_properties: Optional[SyntheticResourceUpdateMapStringStringListString] = Field(default=None, alias="customProperties") + ids: Optional[List[StrictStr]] = None + last_modified_at: Optional[List[StrictInt]] = Field(default=None, alias="lastModifiedAt") + locations: Optional[SyntheticResourceUpdateListStringListString] = None + mobile_apps: Optional[SyntheticResourceUpdateListStringListString] = Field(default=None, alias="mobileApps") + modified_by: Optional[StrictStr] = Field(default=None, alias="modifiedBy") + shallow_update: Optional[StrictBool] = Field(default=None, alias="shallowUpdate") + synthetic_update_type: StrictStr = Field(description="Indicates the type of update to apply to a set of tests of same syntheticType (Deep) or a mix of syntheticType values (Shallow). When Shallow is used, only the configuration properties retries, retryInterval and timeout can be updated ", alias="syntheticUpdateType") + test_frequency: Optional[Annotated[int, Field(le=1440, strict=True, ge=1)]] = Field(default=None, alias="testFrequency") + websites: Optional[SyntheticResourceUpdateListStringListString] = None + __properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites"] + + @field_validator('synthetic_update_type') + def synthetic_update_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['Deep', 'Shallow']): + raise ValueError("must be one of enum values ('Deep', 'Shallow')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + # JSON field name that stores the object type + __discriminator_property_name: ClassVar[str] = 'syntheticUpdateType' + + # discriminator mappings + __discriminator_value_class_map: ClassVar[Dict[str, str]] = { + 'Deep': 'SyntheticTestDeepUpdate','Shallow': 'SyntheticTestShallowUpdate' + } + + @classmethod + def get_discriminator_value(cls, obj: Dict[str, Any]) -> Optional[str]: + """Returns the discriminator value (object type) of the data""" + discriminator_value = obj[cls.__discriminator_property_name] + if discriminator_value: + return cls.__discriminator_value_class_map.get(discriminator_value) + else: + return None + + 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[Union[SyntheticTestDeepUpdate, SyntheticTestShallowUpdate]]: + """Create an instance of SyntheticTestUpdate 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 applications + if self.applications: + _dict['applications'] = self.applications.to_dict() + # override the default output from pydantic by calling `to_dict()` of custom_properties + if self.custom_properties: + _dict['customProperties'] = self.custom_properties.to_dict() + # override the default output from pydantic by calling `to_dict()` of locations + if self.locations: + _dict['locations'] = self.locations.to_dict() + # override the default output from pydantic by calling `to_dict()` of mobile_apps + if self.mobile_apps: + _dict['mobileApps'] = self.mobile_apps.to_dict() + # override the default output from pydantic by calling `to_dict()` of websites + if self.websites: + _dict['websites'] = self.websites.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[SyntheticTestDeepUpdate, SyntheticTestShallowUpdate]]: + """Create an instance of SyntheticTestUpdate from a dict""" + # look up the object type based on discriminator mapping + object_type = cls.get_discriminator_value(obj) + if object_type == 'SyntheticTestDeepUpdate': + return import_module("instana_client.models.synthetic_test_deep_update").SyntheticTestDeepUpdate.from_dict(obj) + if object_type == 'SyntheticTestShallowUpdate': + return import_module("instana_client.models.synthetic_test_shallow_update").SyntheticTestShallowUpdate.from_dict(obj) + + raise ValueError("SyntheticTestUpdate failed to lookup discriminator value from " + + json.dumps(obj) + ". Discriminator property name: " + cls.__discriminator_property_name + + ", mapping: " + json.dumps(cls.__discriminator_value_class_map)) + + diff --git a/instana_client/models/synthetic_time_threshold.py b/instana_client/models/synthetic_time_threshold.py index 8f821e0..1fa10cc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dad8a29..c7fb8fe 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..7552df6 --- /dev/null +++ b/instana_client/models/synthetic_type_configuration_update.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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 importlib import import_module +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +from typing import TYPE_CHECKING +if TYPE_CHECKING: + from instana_client.models.browser_script_configuration_update import BrowserScriptConfigurationUpdate + from instana_client.models.dns_configuration_update import DNSConfigurationUpdate + from instana_client.models.http_action_configuration_update import HttpActionConfigurationUpdate + from instana_client.models.http_script_configuration_update import HttpScriptConfigurationUpdate + from instana_client.models.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate + from instana_client.models.webpage_action_configuration_update import WebpageActionConfigurationUpdate + from instana_client.models.webpage_script_configuration_update import WebpageScriptConfigurationUpdate + +class SyntheticTypeConfigurationUpdate(BaseModel): + """ + Synthetic test configuration that is unique to a synthetic type. Valid types are BrowserScript, DNS, HTTPAction, HTTPScript, SSLCertificate, WebpageAction, and WebpageScript. + """ # noqa: E501 + mark_synthetic_call: Optional[StrictBool] = Field(default=None, alias="markSyntheticCall") + retries: Optional[Annotated[int, Field(le=2, strict=True, ge=0)]] = None + retry_interval: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=None, alias="retryInterval") + synthetic_test: Optional[StrictStr] = Field(default=None, alias="syntheticTest") + synthetic_type: Optional[StrictStr] = Field(default=None, alias="syntheticType") + timeout: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout"] + + @field_validator('synthetic_test') + def synthetic_test_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BrowserScript', 'DNS', 'HTTPAction', 'HTTPScript', 'SSLCertificate', 'WebpageAction', 'WebpageScript', 'NotConfigured']): + raise ValueError("must be one of enum values ('BrowserScript', 'DNS', 'HTTPAction', 'HTTPScript', 'SSLCertificate', 'WebpageAction', 'WebpageScript', 'NotConfigured')") + return value + + @field_validator('synthetic_type') + def synthetic_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BrowserScript', 'DNS', 'HTTPAction', 'HTTPScript', 'SSLCertificate', 'WebpageAction', 'WebpageScript', 'NotConfigured']): + raise ValueError("must be one of enum values ('BrowserScript', 'DNS', 'HTTPAction', 'HTTPScript', 'SSLCertificate', 'WebpageAction', 'WebpageScript', 'NotConfigured')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + # JSON field name that stores the object type + __discriminator_property_name: ClassVar[str] = 'syntheticType' + + # discriminator mappings + __discriminator_value_class_map: ClassVar[Dict[str, str]] = { + 'BrowserScript': 'BrowserScriptConfigurationUpdate','DNS': 'DNSConfigurationUpdate','HTTPAction': 'HttpActionConfigurationUpdate','HTTPScript': 'HttpScriptConfigurationUpdate','SSLCertificate': 'SSLCertificateConfigurationUpdate','WebpageAction': 'WebpageActionConfigurationUpdate','WebpageScript': 'WebpageScriptConfigurationUpdate' + } + + @classmethod + def get_discriminator_value(cls, obj: Dict[str, Any]) -> Optional[str]: + """Returns the discriminator value (object type) of the data""" + discriminator_value = obj[cls.__discriminator_property_name] + if discriminator_value: + return cls.__discriminator_value_class_map.get(discriminator_value) + else: + return None + + 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[Union[BrowserScriptConfigurationUpdate, DNSConfigurationUpdate, HttpActionConfigurationUpdate, HttpScriptConfigurationUpdate, SSLCertificateConfigurationUpdate, WebpageActionConfigurationUpdate, WebpageScriptConfigurationUpdate]]: + """Create an instance of SyntheticTypeConfigurationUpdate 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: Dict[str, Any]) -> Optional[Union[BrowserScriptConfigurationUpdate, DNSConfigurationUpdate, HttpActionConfigurationUpdate, HttpScriptConfigurationUpdate, SSLCertificateConfigurationUpdate, WebpageActionConfigurationUpdate, WebpageScriptConfigurationUpdate]]: + """Create an instance of SyntheticTypeConfigurationUpdate from a dict""" + # look up the object type based on discriminator mapping + object_type = cls.get_discriminator_value(obj) + if object_type == 'BrowserScriptConfigurationUpdate': + return import_module("instana_client.models.browser_script_configuration_update").BrowserScriptConfigurationUpdate.from_dict(obj) + if object_type == 'DNSConfigurationUpdate': + return import_module("instana_client.models.dns_configuration_update").DNSConfigurationUpdate.from_dict(obj) + if object_type == 'HttpActionConfigurationUpdate': + return import_module("instana_client.models.http_action_configuration_update").HttpActionConfigurationUpdate.from_dict(obj) + if object_type == 'HttpScriptConfigurationUpdate': + return import_module("instana_client.models.http_script_configuration_update").HttpScriptConfigurationUpdate.from_dict(obj) + if object_type == 'SSLCertificateConfigurationUpdate': + return import_module("instana_client.models.ssl_certificate_configuration_update").SSLCertificateConfigurationUpdate.from_dict(obj) + if object_type == 'WebpageActionConfigurationUpdate': + return import_module("instana_client.models.webpage_action_configuration_update").WebpageActionConfigurationUpdate.from_dict(obj) + if object_type == 'WebpageScriptConfigurationUpdate': + return import_module("instana_client.models.webpage_script_configuration_update").WebpageScriptConfigurationUpdate.from_dict(obj) + + raise ValueError("SyntheticTypeConfigurationUpdate failed to lookup discriminator value from " + + json.dumps(obj) + ". Discriminator property name: " + cls.__discriminator_property_name + + ", mapping: " + json.dumps(cls.__discriminator_value_class_map)) + + diff --git a/instana_client/models/synthetics_event_result.py b/instana_client/models/synthetics_event_result.py index 6a97cc6..d31587b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class SyntheticsEventResult(EventResult): """ # noqa: E501 location_ids: Optional[List[StrictStr]] = Field(default=None, description="IDs of the locations.", alias="locationIds") synthetic_test_id: Optional[StrictStr] = Field(default=None, description="ID of the synthetic test.", alias="syntheticTestId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "locationIds", "syntheticTestId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "locationIds", "syntheticTestId"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/system_rule.py b/instana_client/models/system_rule.py index cb432fe..762ca67 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 de6902f..e52002d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 3f24269..0f0f5f1 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cfc9527..b7eac3a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter.py b/instana_client/models/tag_filter.py index 2800fa6..5019868 100644 --- a/instana_client/models/tag_filter.py +++ b/instana_client/models/tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ import json from pydantic import ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from instana_client.models.tag_filter_expression_element import TagFilterExpressionElement from typing import Optional, Set @@ -33,8 +33,11 @@ class TagFilter(TagFilterExpressionElement): key: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=512)]] = Field(default=None, description="Tag key in case of a key/value tag.") name: Annotated[str, Field(min_length=0, strict=True, max_length=128)] = Field(description="Name of the tag.") operator: StrictStr - value: Optional[Dict[str, Any]] = Field(default=None, description="Tag value to filter on. Can be a string, number, or boolean value.") - __properties: ClassVar[List[str]] = ["type", "entity", "key", "name", "operator", "value"] + value: Optional[Union[str, int, float, bool, Dict[str, Any]]] = Field(default=None, description="Tag value to filter on. Can be a string, number, boolean, or dictionary.") + string_value: Optional[str] = Field(default=None, alias="stringValue", description="String value for the tag filter.") + number_value: Optional[float] = Field(default=None, alias="numberValue", description="Number value for the tag filter.") + boolean_value: Optional[bool] = Field(default=None, alias="booleanValue", description="Boolean value for the tag filter.") + __properties: ClassVar[List[str]] = ["type", "entity", "key", "name", "operator", "value", "stringValue", "numberValue", "booleanValue"] @field_validator('entity') def entity_validate_enum(cls, value): @@ -89,6 +92,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # Ensure the new fields are included with their aliases + if self.string_value is not None: + _dict['stringValue'] = self.string_value + if self.number_value is not None: + _dict['numberValue'] = self.number_value + if self.boolean_value is not None: + _dict['booleanValue'] = self.boolean_value return _dict @classmethod @@ -106,8 +116,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "key": obj.get("key"), "name": obj.get("name"), "operator": obj.get("operator"), - "value": obj.get("value") + "value": obj.get("value"), + "stringValue": obj.get("stringValue"), + "numberValue": obj.get("numberValue"), + "booleanValue": obj.get("booleanValue") }) return _obj - diff --git a/instana_client/models/tag_filter_expression.py b/instana_client/models/tag_filter_expression.py index 2b121fa..5399869 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 af1607c..1de8cb7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6a3d5b3..e942070 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4d1dfa1..59b12cd 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 6c32ee4..e15a9d9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8dbfa41..15b282d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 02f737e..8baaf55 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 77ac034..38b617d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d9107f2..2c7d86b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9fd4329..0039940 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8786b36..a6230bf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f932227..d529f32 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d1d8171..fb6d6c7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4c75aba..45235c7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2a9440e..c2ded3b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 eb6ade1..5a59f5b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 120087c..f2e208e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f534796..87bf453 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 f9c9a36..6bf3f4f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e33187f..7337491 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 376fce5..14cd943 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7b332f5..3a73a44 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 37d45db..bcaea02 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 cad8b5a..d80be24 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ef48f5a..4a0423f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b0361e5..9144ea5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 07f243e..4a42936 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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, StrictBool, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from instana_client.models.span_excerpt import SpanExcerpt @@ -41,11 +41,22 @@ class TraceActivityTreeNodeDetails(BaseModel): logs: List[SpanExcerpt] = Field(description="Information about the logs attached to the call, if available.") min_self_time: Optional[StrictInt] = Field(default=None, description="The smallest self time in the batch. May be null to indicate that `minSelfTime` is unknown when this node has only an exit span and no children. The time measured is in milliseconds.", alias="minSelfTime") network_time: Optional[StrictInt] = Field(default=None, description="The time difference between the Exit Span Time of the caller and the Entry Span Time of the call. This value is measured in milliseconds and may be null if network time is not applicable.", alias="networkTime") + raw_span_load_error: Optional[StrictStr] = Field(default=None, description="Whether an error occurred loading raw spans from external storage.", alias="rawSpanLoadError") source: Optional[SpanRelation] = None spans: Annotated[List[SpanExcerpt], Field(min_length=1, max_length=2)] = Field(description="Information about the spans from which the call is composed.") start: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The timestamp when the call or request was initiated. For example, Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December 2024 04:27:59.870 GMT`") synthetic: Optional[StrictBool] = None - __properties: ClassVar[List[str]] = ["batchSelfTime", "batchSize", "destination", "duration", "errorCount", "id", "isSynthetic", "label", "logs", "minSelfTime", "networkTime", "source", "spans", "start", "synthetic"] + __properties: ClassVar[List[str]] = ["batchSelfTime", "batchSize", "destination", "duration", "errorCount", "id", "isSynthetic", "label", "logs", "minSelfTime", "networkTime", "rawSpanLoadError", "source", "spans", "start", "synthetic"] + + @field_validator('raw_span_load_error') + def raw_span_load_error_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['UNKNOWN_ERROR', 'NOT_FOUND', 'PERMISSION_DENIED', 'NO_ERROR']): + raise ValueError("must be one of enum values ('UNKNOWN_ERROR', 'NOT_FOUND', 'PERMISSION_DENIED', 'NO_ERROR')") + return value model_config = ConfigDict( populate_by_name=True, @@ -129,6 +140,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "logs": [SpanExcerpt.from_dict(_item) for _item in obj["logs"]] if obj.get("logs") is not None else None, "minSelfTime": obj.get("minSelfTime"), "networkTime": obj.get("networkTime"), + "rawSpanLoadError": obj.get("rawSpanLoadError"), "source": SpanRelation.from_dict(obj["source"]) if obj.get("source") is not None else None, "spans": [SpanExcerpt.from_dict(_item) for _item in obj["spans"]] if obj.get("spans") is not None else None, "start": obj.get("start"), diff --git a/instana_client/models/trace_download_result.py b/instana_client/models/trace_download_result.py index b4b1b97..fda09a7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 dd76b3c..e129d48 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ad15e3c..f7844c4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a6e771e..7b37a21 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8830b14..e2b99f4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8a6e047..81a22c7 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 ab2eb50..ee25afc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 13edf94..c1404f2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4e2c1df..16ee93e 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 8d5eb47..df4a92f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9f0e8e3..d0d56f5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 2e51be5..446042d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 21a16e3..e6c0a6c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9b1c515..4489584 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 bb9bb9c..805454a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 5ccf4ba..e746fb5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 4bc3442..6047421 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9dc9642..1f6b95d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 35d58c6..8a88fae 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index e50f95c..e766f1b 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 90ad47e..27aa5d9 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1baeb93..a07bfe5 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 930c8b8..d73fcaa 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) 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 6e58880..9f5d5af 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 13e24d7..bba54fc 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 234f068..0e00325 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e8a9bdc..b34f933 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 eb0a107..a716890 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 e75338c..c599eb6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 80a539f..810dfde 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 7bfb918..1b67fb2 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 76e9dbd..732e994 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 15daee4..5ed12ee 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webex_teams_webhook_integration.py b/instana_client/models/webex_teams_webhook_integration.py index f5adedd..238f6cf 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index b240176..d9d0282 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index 81a1ab0..72d680a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..7326035 --- /dev/null +++ b/instana_client/models/webpage_action_configuration_update.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class WebpageActionConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + WebpageActionConfigurationUpdate + """ # noqa: E501 + browser: Optional[StrictStr] = None + record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") + url: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "recordVideo", "url"] + + @field_validator('browser') + def browser_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['chrome', 'firefox']): + raise ValueError("must be one of enum values ('chrome', 'firefox')") + return 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 WebpageActionConfigurationUpdate 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 WebpageActionConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "browser": obj.get("browser"), + "recordVideo": obj.get("recordVideo"), + "url": obj.get("url") + }) + return _obj + + diff --git a/instana_client/models/webpage_script_configuration.py b/instana_client/models/webpage_script_configuration.py index 0b355dd..a6a2d4c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 new file mode 100644 index 0000000..3a9b5a9 --- /dev/null +++ b/instana_client/models/webpage_script_configuration_update.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate +from typing import Optional, Set +from typing_extensions import Self + +class WebpageScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): + """ + WebpageScriptConfigurationUpdate + """ # noqa: E501 + browser: Optional[StrictStr] = None + file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") + script: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script"] + + @field_validator('browser') + def browser_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['chrome', 'firefox']): + raise ValueError("must be one of enum values ('chrome', 'firefox')") + return 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 WebpageScriptConfigurationUpdate 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 WebpageScriptConfigurationUpdate from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "markSyntheticCall": obj.get("markSyntheticCall"), + "retries": obj.get("retries"), + "retryInterval": obj.get("retryInterval"), + "syntheticTest": obj.get("syntheticTest"), + "syntheticType": obj.get("syntheticType"), + "timeout": obj.get("timeout"), + "browser": obj.get("browser"), + "fileName": obj.get("fileName"), + "recordVideo": obj.get("recordVideo"), + "script": obj.get("script") + }) + return _obj + + diff --git a/instana_client/models/website.py b/instana_client/models/website.py index 28e63e5..c5eb94f 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 152cbf7..982b159 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 d2791fc..736f108 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 35c4e22..5727dce 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 88ad316..61d7bf8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 30774b7..f09526c 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a7cc59a..e399691 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 45240f6..eb3bde8 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 555871a..a98293d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 1ed4a09..b0a2397 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 efedeba..ed38a30 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 b1037cb..26698b4 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class WebsiteEventResult(EventResult): WebsiteEventResult """ # noqa: E501 website_id: Optional[StrictStr] = Field(default=None, description="ID of the website.", alias="websiteId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "snapshotId", "start", "state", "type", "websiteId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "websiteId"] model_config = ConfigDict( populate_by_name=True, @@ -95,6 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "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"), diff --git a/instana_client/models/website_metric_result.py b/instana_client/models/website_metric_result.py index 1d2c76f..2f15488 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 79750a1..d4f8c29 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index 63457c1..c6e28b6 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 9e8162e..907f011 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 789e6da..81eacfa 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 c98e528..6dd3991 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 a312642..be8d6ea 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 67e0169..c9866a0 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_metadata.py b/instana_client/models/with_metadata.py index 34bd861..780bed9 100644 --- a/instana_client/models/with_metadata.py +++ b/instana_client/models/with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 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 46104a3..ce6a5da 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.306.1368 + The version of the OpenAPI document: 1.309.1268 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 77cb5bc..89ef72a 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/rest.py b/instana_client/rest.py index fc0b004..ac8699d 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.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi-generator-config.json b/openapi-generator-config.json new file mode 100644 index 0000000..9498fc0 --- /dev/null +++ b/openapi-generator-config.json @@ -0,0 +1,6 @@ +{ + "packageName": "instana_client", + "projectName": "instana-client", + "packageVersion": "1.0.2", + "packageUrl": "https://github.com/instana/client-python" +} diff --git a/openapi.yaml b/openapi.yaml new file mode 100644 index 0000000..7011485 --- /dev/null +++ b/openapi.yaml @@ -0,0 +1,40957 @@ +openapi: 3.0.1 +info: + contact: + email: support@instana.com + name: © Instana + url: http://instana.com + description: Documentation for INSTANA REST API + termsOfService: https://www.instana.com/terms-of-use/ + title: Instana REST API documentation + version: 1.309.1268 + x-description: info + x-ibm-ahub-try: true + x-logo: + altText: instana logo + backgroundColor: '#FAFBFC' + url: header-logo.svg +servers: +- description: Instana Backend + url: https://{unit}-{tenant}.instana.io + variables: + tenant: + default: tenant + description: Customer tenant unit + unit: + default: unit + description: Customer tenant name +- description: Instana Self-Hosted Backend + url: https://{domain} + variables: + domain: + default: example.com + description: Customer Self-Hosted domain +tags: +- name: Infrastructure Analyze + x-description: tagInfrastructureAnalyze +- name: Infrastructure Metrics + x-description: tagInfrastructureMetrics +- name: Infrastructure Resources + x-description: tagInfrastructureResources +- name: Infrastructure Catalog + x-description: tagInfrastructureCatalog +- name: Infrastructure Topology + x-description: tagInfrastructureTopology +- name: Logging Analyze + x-description: tagLoggingAnalyze +- name: Application Metrics + x-description: tagApplicationMetrics +- name: Application Catalog + x-description: tagApplicationCatalog +- name: Application Resources + x-description: tagApplicationResources +- name: Application Analyze + x-description: tagApplicationAnalyze +- name: Application Settings + x-description: tagApplicationSettings +- name: Application Topology + x-description: tagApplicationTopology +- name: Website Metrics + x-description: tagWebsiteMetrics +- name: Website Catalog + x-description: tagWebsiteCatalog +- name: Website Configuration + x-description: tagWebsiteConfiguration +- name: Website Analyze + x-description: tagWebsiteAnalyze +- name: Mobile App Metrics + x-description: tagMobileAppMetrics +- name: Mobile App Catalog + x-description: tagMobileAppCatalog +- name: Mobile App Configuration + x-description: tagMobileAppConfiguration +- name: Mobile App Analyze + x-description: tagMobileAppAnalyze +- name: Events + x-description: tagEvents +- name: Event Settings + x-description: tagEventSettings +- name: Application Alert Configuration + x-description: tagApplicationAlertConfiguration +- name: Global Application Alert Configuration + x-description: tagGlobalApplicationAlertConfiguration +- name: Infrastructure Alert Configuration + x-description: tagInfrastructureAlertConfiguration +- name: Synthetic Alert Configuration + x-description: tagSyntheticAlertConfiguration +- name: Host Agent + x-description: tagHostAgent +- name: User + x-description: tagUser +- name: Groups + x-description: tagGroups +- name: Teams + x-description: tagTeams +- name: Role + x-description: tagRoles +- name: Audit Log + x-description: tagAuditLog +- name: API Token + x-description: tagAPIToken +- name: Session Settings + x-description: sessionSettings +- name: Maintenance Configuration + x-description: tagMaintenanceConfiguration +- name: Synthetic Calls + x-description: tagSyntheticCalls +- name: Releases + x-description: tagReleases +- name: SLI Settings + x-description: tagSLISettings +- name: SLI Report + x-description: tagSLIReport +- name: Health + x-description: tagHealth +- name: Custom Dashboards + x-description: tagCustomDashboards +- name: Usage + x-description: tagUsage +- name: Synthetic Catalog + x-description: tagSyntheticCatalog +- name: Synthetic Metrics + x-description: tagSyntheticMetrics +- name: Synthetic Settings + x-description: tagSyntheticSettings +- name: Synthetic Test Playback Results + x-description: tagSyntheticResults +- name: Action Catalog + x-description: tagActionCatalog +- name: Action History + x-description: tagActionHistory +- name: Policies + x-description: tagAutomationPolicies +- name: Authentication + x-description: tagAuthentication +- name: Log Alert Configuration + x-description: tagLogAlertConfiguration +- name: End User Monitoring + x-description: endUserMonitoring +- name: AI Management + x-description: tagAiManagement +paths: + /api/apdex/report/{apdexId}: + get: + description: Generate Apdex Report for a specified Apdex ID. + operationId: getApdexReport + parameters: + - description: Apdex Configuration ID + example: nCtEoR6NSPqG61QkIkwwCw + in: path + name: apdexId + required: true + schema: + type: string + - description: Starting point for the data retrieval, specified as 13 digit + Unix Timestamp milliseconds + example: 1706713140000 + in: query + name: from + required: true + schema: + type: integer + format: int64 + - description: Ending point for the data retrieval, specified as 13 digit Unix + Timestamp milliseconds + example: 1706813100000 + in: query + name: to + required: true + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + apdexId: nCtEoR6NSPqG61QkIkwwCw + from: 1706713140000 + to: 1706813100000 + apdexScore: + - - 1706713140000 + - 0.5 + - - 1706779500000 + - 0.5 + schema: + type: array + items: + $ref: '#/components/schemas/ApdexReport' + description: OK + '404': + content: + application/json: + example: + errors: + - There is no Apdex configuration for the given ID. + schema: + type: array + items: + type: string + description: No Apdex configuration for the given ID + security: + - ApiKeyAuth: + - Default + summary: Generate Apdex report + tags: + - Apdex Report + x-ibm-ahub-byok: true + /api/application-monitoring/analyze/backend-correlation: + get: + description: |- + Resolves backend trace IDs using correlation IDs from website and mobile app monitoring beacons. + For more information on Application Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze. + operationId: getCorrelatedTraces + parameters: + - description: | + Here, the `backendTraceId` is typically used which can be obtained from the `Get all beacons` API endpoint for website and mobile app monitoring. + For XHR, fetch, or HTTP beacons, the `beaconId` retrieved from the same API endpoint can also serve as the `correlationId`. + example: 0v7f55879ca12345 + in: query + name: correlationId + required: true + schema: + type: string + maxLength: 128 + minLength: 0 + responses: + '200': + content: + application/json: + example: + - traceId: c606ccf3578135c6 + schema: + type: array + items: + $ref: '#/components/schemas/BackendTraceReference' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Resolve Trace IDs from Monitoring Beacons. + tags: + - Application Analyze + x-ibm-ahub-byok: true + /api/application-monitoring/analyze/call-groups: + post: + description: |2- + + For more information on Application Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze. + operationId: getCallGroup + parameters: + - description: If enabled, fill the missing data points in the metric result + with timestamp and value 0. + in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + example: + group: + groupbyTag: service.name + groupbyTagEntity: DESTINATION + metrics: + - aggregation: SUM + metric: calls + - aggregation: P75 + metric: latency + granularity: 360 + includeInternal: false + includeSynthetic: false + order: + by: calls + direction: DESC + pagination: + retrievalSize: 20 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: call.type + operator: EQUALS + entity: NOT_APPLICABLE + value: DATABASE + - type: TAG_FILTER + name: service.name + operator: EQUALS + entity: DESTINATION + value: ratings + timeFrame: + to: '1688366990000' + windowSize: '600000' + schema: + $ref: '#/components/schemas/GetCallGroups' + x-payload: getCallGroup + responses: + '200': + content: + application/json: + example: + items: + - name: ratings + timestamp: 1688366520000 + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1688980829000 + offset: 1 + metrics: + latency.p75.360: + - - 1688366520000 + - 1.0 + canLoadMore: false + totalHits: 1 + totalRepresentedItemCount: 1 + totalRetainedItemCount: 1 + adjustedTimeframe: + windowSize: 360000 + to: 1688366880000 + schema: + $ref: '#/components/schemas/CallGroupsResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get grouped call metrics + tags: + - Application Analyze + x-description: getCallGroup + x-ibm-ahub-byok: true + /api/application-monitoring/analyze/trace-groups: + post: + description: "In this endpoint, the supported `groupbyTag` are `trace.endpoint.name`\ + \ and `trace.service.name`. \nFor more information on Application Analyze\ + \ please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze." + operationId: getTraceGroups + parameters: + - description: If enabled, fill the missing data points in the metric result + with timestamp and value 0. + in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + example: + group: + groupbyTag: trace.endpoint.name + groupbyTagEntity: NOT_APPLICABLE + metrics: + - aggregation: SUM + metric: latency + order: + by: latency + direction: ASC + pagination: + retrievalSize: 20 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: call.type + operator: EQUALS + entity: NOT_APPLICABLE + value: DATABASE + - type: TAG_FILTER + name: service.name + operator: EQUALS + entity: DESTINATION + value: ratings + schema: + $ref: '#/components/schemas/GetTraceGroups' + x-payload: getTraceGroups + responses: + '200': + content: + application/json: + example: + items: + - name: GET /api/cart-total + timestamp: 1688542673148 + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1688543264000 + offset: 1 + metrics: + latency.sum: + - - 1688543260000 + - 31.0 + canLoadMore: true + totalHits: 2595 + totalRepresentedItemCount: 2595 + totalRetainedItemCount: 2595 + adjustedTimeframe: + windowSize: 600000 + to: 1687939110000 + schema: + $ref: '#/components/schemas/TraceGroupsResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get grouped trace metrics + tags: + - Application Analyze + x-description: getTraceGroups + x-ibm-ahub-byok: true + /api/application-monitoring/analyze/traces: + post: + description: |2- + + For more information on Application Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze. + operationId: getTraces + requestBody: + content: + application/json: + examples: + analyze/traces: + description: analyze/traces + value: + includeInternal: false + includeSynthetic: false + pagination: + retrievalSize: 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: endpoint.name + operator: EQUALS + entity: DESTINATION + value: GET / + - type: TAG_FILTER + name: service.name + operator: EQUALS + entity: DESTINATION + value: groundskeeper + order: + by: traceLabel + direction: DESC + schema: + $ref: '#/components/schemas/GetTraces' + x-payload: getTraces + responses: + '200': + content: + application/json: + example: + items: + - trace: + id: 506aef767d8ec147 + label: sdk.reloading-config-cache + startTime: 1725601763937 + duration: 0 + erroneous: false + service: + id: 84b5041665ce4ed6f60b47d1fd96c12d4132c9ed + label: appdata-processor + types: [ + ] + technologies: [ + ] + snapshotIds: [ + ] + entityType: SERVICE + endpoint: null + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1725601787000 + offset: 1 + canLoadMore: true + totalHits: 154 + totalRepresentedItemCount: 154 + totalRetainedItemCount: 154 + adjustedTimeframe: + windowSize: 600000 + to: 1725601780000 + schema: + $ref: '#/components/schemas/TraceResult' + description: OK + x-example: TraceResult + security: + - ApiKeyAuth: + - Default + summary: Get all traces + tags: + - Application Analyze + x-description: getTraces + x-ibm-ahub-byok: true + /api/application-monitoring/applications: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of Application Perspectives. + A use case could be to view the application id of an Application Perspective. + + For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + operationId: getApplications + parameters: + - description: Name of application + in: query + name: nameFilter + schema: + type: string + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + - description: Page number from results + in: query + name: page + schema: + type: integer + format: int32 + - description: Number of items per page + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: 'Filter for application scope, i.e: INBOUND or ALL' + in: query + name: applicationBoundaryScope + schema: + type: string + enum: + - ALL + - INBOUND + responses: + '200': + content: + application/json: + example: + items: + - boundaryScope: INBOUND + entityType: APPLICATION + id: e8krH1wNRV6daAo-NEmG8g + label: Robot Shop + page: 1 + pageSize: 1 + totalHits: 1 + schema: + $ref: '#/components/schemas/ApplicationResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get applications + tags: + - Application Resources + x-ibm-ahub-byok: true + /api/application-monitoring/applications;id=/services: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of services in an Application Perspective. + A use case could be to retrieve all service ids present in an Application Perspective. + + For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + operationId: getApplicationServices + parameters: + - description: Name of service (partial match allowed) + in: query + name: nameFilter + schema: + type: string + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + - description: Page number from results + in: query + name: page + schema: + type: integer + format: int32 + - description: Number of items per page + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: 'Filter for application scope, i.e: INBOUND or ALL' + in: query + name: applicationBoundaryScope + schema: + type: string + enum: + - ALL + - INBOUND + - description: Include snapshot ids in the results + in: query + name: includeSnapshotIds + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + items: + - entityType: SERVICE + id: 79f1430f4a42a707a97621ca00617e40bd51c31d + label: www.paypal.com + snapshotIds: + - CywiRxmGIwtQIKezVs-XMcTX2xg + technologies: + - kafkaCluster + types: + - MESSAGING + page: 1 + pageSize: 1 + totalHits: 1 + schema: + $ref: '#/components/schemas/ServiceResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get applications/services + tags: + - Application Resources + x-ibm-ahub-byok: true + /api/application-monitoring/applications/services/endpoints: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of Endpoints. + A use case could be to view the endpoint id of an Endpoint. + + For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + operationId: getApplicationEndpoints + parameters: + - description: Name of service + in: query + name: nameFilter + schema: + type: string + - description: Type of Endpoint + in: query + name: types + schema: + type: array + items: + type: string + uniqueItems: true + - description: List of technologies + in: query + name: technologies + schema: + type: array + items: + type: string + uniqueItems: true + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + - description: Page number from results + in: query + name: page + schema: + type: integer + format: int32 + - description: Number of items per page + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: 'Filter for application scope, i.e: INBOUND or ALL' + in: query + name: applicationBoundaryScope + schema: + type: string + enum: + - ALL + - INBOUND + responses: + '200': + content: + application/json: + example: + items: + - entityType: ENDPOINT + id: IWeMKSzcvJHijAQoaA-luyHriDQ + label: websites + serviceId: a25c02069636022456e6139ebfe4f4bfec23ae31 + synthetic: false + syntheticType: NON_SYNTHETIC + technologies: + - postgreSqlDatabase + type: DATABASE + page: 1 + pageSize: 1 + totalHits: 1 + schema: + $ref: '#/components/schemas/EndpointResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get endpoints + tags: + - Application Resources + x-ibm-ahub-byok: true + /api/application-monitoring/catalog: + get: + description: |2- + + For more information on Application Catalog please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-catalog. + operationId: getApplicationTagCatalog + parameters: + - description: | + The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. + Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. + in: query + name: from + schema: + type: integer + format: int64 + - description: The source from where queryable tags should be fetched from. + In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` + and `Traces`. + in: query + name: dataSource + schema: + type: string + enum: + - CALLS + - TRACES + - description: | + The subset of queryable tags that is available for a particular use case. + For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. + useCase is helpful when one wants to know which tags are supported for querying. + in: query + name: useCase + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Agent + description: null + icon: null + children: + - label: Zone + icon: lib_views_tag + tagName: agent.zone + queryable: true + type: TAG + type: LEVEL + queryable: false + tags: + - name: marathon.label + label: Label + type: KEY_VALUE_PAIR + description: marathon label + canApplyToSource: true + canApplyToDestination: true + idTag: false + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get application tag catalog + tags: + - Application Catalog + x-description: getApplicationTagsCatalog + x-ibm-ahub-byok: true + /api/application-monitoring/catalog/metrics: + get: + description: |2- + + For more information on Application Catalog please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-catalog. + operationId: getApplicationCatalogMetrics + responses: + '200': + content: + application/json: + example: + - metricId: calls + label: Call count + formatter: NUMBER + description: Number of received calls + aggregations: + - PER_SECOND + - SUM + defaultAggregation: null + schema: + type: array + items: + $ref: '#/components/schemas/MetricDescription' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Metric catalog + tags: + - Application Catalog + x-description: getApplicationCatalogMetrics + x-ibm-ahub-byok: true + /api/application-monitoring/catalog/tags: + get: + deprecated: true + description: |2- + + For more information on Application Catalog please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-catalog. + operationId: getApplicationTags + parameters: + - description: | + The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. + Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. + in: query + name: from + schema: + type: integer + format: int64 + - description: The source from where queryable tags should be fetched from. + In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` + and `Traces`. + in: query + name: dataSource + schema: + type: string + enum: + - CALLS + - TRACES + - description: | + The subset of queryable tags that is available for a particular use case. + For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. + useCase is helpful when one wants to know which tags are supported for querying. + in: query + name: useCase + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tag' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get application tags + tags: + - Application Catalog + x-description: getApplicationCatalogTags + x-ibm-ahub-byok: true + /api/application-monitoring/metrics/applications: + post: + description: |- + Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Application Perspective. + For eg: retrieve `MEAN` aggregation of `latency` metric for an Application Perspective `app`. + For more information on supported metrics, refer `Get Metric catalog`. + + For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics. + operationId: getApplicationMetrics + parameters: + - description: If enabled, fill the missing data points in the metric result + with timestamp and value 0. + in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + examples: + metrics/applications: + description: | + Attribute in "order by" should + be provided in "metrics" as well + value: + metrics: + - aggregation: MEAN + metric: latency + order: + by: latency.mean + direction: DESC + pagination: + page: 1 + pageSize: 1 + timeFrame: + to: 1646037122400 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetApplications' + x-payload: getApplicationMetrics + responses: + '200': + content: + application/json: + example: + items: + - application: + id: Jv83WpUmSKiiCWIpi-reSQ + label: demoApp + boundaryScope: ALL + entityType: APPLICATION + metrics: + latency.mean: + - - 1669190580000 + - 4.0 + page: 1 + pageSize: 1 + totalHits: 1616 + adjustedTimeframe: + windowSize: 3600000 + to: 1646037120000 + schema: + $ref: '#/components/schemas/ApplicationMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Application Metrics + tags: + - Application Metrics + x-ibm-ahub-byok: true + /api/application-monitoring/metrics/endpoints: + post: + description: |- + Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for an Endpoint. + For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`. + For more information on supported metrics, refer `Get Metric catalog`. + + For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics. + operationId: getEndpointsMetrics + parameters: + - description: If enabled, fill the missing data points in the metric result + with timestamp and value 0. + in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + examples: + metrics/endpoints: + description: | + Order by is supported for following attributes: endpointLabel or valid metrics if provided such as latency.mean + value: + applicationBoundaryScope: ALL + endpointId: murzTwzJlGyqc_CFtEKx8INVCfY + excludeSynthetic: true + metrics: + - aggregation: MEAN + metric: latency + order: + by: latency.mean + direction: ASC + pagination: + page: 1 + pageSize: 1 + timeFrame: + to: 1669190589000 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetEndpoints' + x-payload: getEndpoints + responses: + '200': + content: + application/json: + example: + items: + - endpoint: + id: murzTwzJlGyqc_CFtEKx8INVCfY + label: robot-shop + type: MESSAGING + serviceId: 05b145cfb6fbc24d08a8e01155c0aa2bf8460c87 + technologies: + - golangRuntimePlatform + - kubernetesService + syntheticType: NON_SYNTHETIC + synthetic: false + entityType: ENDPOINT + metrics: + latency.mean: + - - 1669190580000 + - 2434.5625 + page: 1 + pageSize: 1 + totalHits: 1 + adjustedTimeframe: + windowSize: 3600000 + to: 1669190580000 + schema: + $ref: '#/components/schemas/EndpointMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Endpoint metrics + tags: + - Application Metrics + x-ibm-ahub-byok: true + /api/application-monitoring/metrics/services: + post: + description: |- + Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a Service. + For eg: retrieve `MEAN` aggregation of `latency` metric for a Service `payment`. + For more information on supported metrics, refer `Get Metric catalog`. + + For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics. + operationId: getServicesMetrics + parameters: + - description: If enabled, fill the missing data points in the metric result + with timestamp and value 0. + in: query + name: fillTimeSeries + schema: + type: boolean + - in: query + name: includeSnapshotIds + schema: + type: boolean + requestBody: + content: + application/json: + examples: + metrics/services: + description: | + Order by is supported for following attributes: types, technologies, serviceLabel and + valid metrics if provided such as latency.mean + value: + applicationBoundaryScope: ALL + contextScope: NONE + metrics: + - aggregation: mean + metric: latency + order: + by: latency.mean + direction: DESC + pagination: + page: 1 + pageSize: 1 + serviceId: c467ca0fa21477fee3cde75a140b2963307388a7 + technologies: + - springbootApplicationContainer + timeFrame: + to: 1669190589000 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetServices' + x-payload: getServices + responses: + '200': + content: + application/json: + example: + items: + - service: + id: c467ca0fa21477fee3cde75a140b2963307388a7 + label: discount + types: + - HTTP + technologies: + - springbootApplicationContainer + snapshotIds: [ + ] + entityType: SERVICE + metrics: + endpoints.distinct_count: + - - 1669190580000 + - 4.0 + page: 1 + pageSize: 1 + totalHits: 1 + adjustedTimeframe: + windowSize: 3600000 + to: 1669190580000 + schema: + $ref: '#/components/schemas/ServiceMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Service metrics + tags: + - Application Metrics + x-ibm-ahub-byok: true + /api/application-monitoring/services: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of Services. + A use case could be to view the service id of a Service. + + For more information on Application Resources please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-resources. + operationId: getServices + parameters: + - description: Name of service + in: query + name: nameFilter + schema: + type: string + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + - description: Page number from results + in: query + name: page + schema: + type: integer + format: int32 + - description: Number of items per page + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: Include snapshot ids in the results + in: query + name: includeSnapshotIds + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + items: + - entityType: SERVICE + id: 79f1430f4a42a707a97621ca00617e40bd51c31d + label: Robot Shop + snapshotIds: + - CywiRxmGIwtQIKezVs-XMcTX2xg + technologies: + - kafkaCluster + types: + - MESSAGING + page: 1 + pageSize: 1 + totalHits: 1 + schema: + $ref: '#/components/schemas/ServiceResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get services + tags: + - Application Resources + x-ibm-ahub-byok: true + /api/application-monitoring/settings/application: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of all Application Perspectives with their configuration settings. + This endpoint requires `canConfigureApplications` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureApplications` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Configuration of applications` to `true`. + + ## Deprecated Parameters + **matchSpecification:** A binary tree sturcture of match expression connected with binary operator AND or OR. It is replaced by **tagFilterExpression** which is also used in Application Analyze API endpoints. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getApplicationConfigs + responses: + '200': + content: + application/json: + example: + - id: CxJ55sRbQwqBIfw5DzpRmQ + label: Discount Canary Build 6987 + matchSpecification: null + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + boundaryScope: INBOUND + accessRules: + - accessType: READ_WRITE + relationType: GLOBAL + relatedId: null + schema: + type: array + items: + $ref: '#/components/schemas/ApplicationConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: All Application configurations + tags: + - Application Settings + x-ibm-ahub-byok: true + 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. + operationId: addApplicationConfig + requestBody: + content: + application/json: + example: + accessRules: + - accessType: READ_WRITE + relationType: GLOBAL + relatedId: null + boundaryScope: INBOUND + label: Discount Build 6987 + scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/NewApplicationConfig' + required: true + x-payload: addApplicationConfig + responses: + '200': + content: + application/json: + example: + id: oLyuFtIfQ3eKzAqM5vBGkQ + label: Discount Build 6987 + matchSpecification: null + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + boundaryScope: INBOUND + accessRules: + - accessType: READ_WRITE + relationType: GLOBAL + relatedId: null + schema: + $ref: '#/components/schemas/ApplicationConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Add application configuration + tags: + - Application Settings + x-description: addApplicationConfig + x-ibm-ahub-byok: true + /api/application-monitoring/settings/application/{id}: + delete: + description: |- + Use this API endpoint if one wants to delete an Application Perspective. This endpoint requires `canConfigureApplications` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureApplications` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + + ## Deprecated Parameters + **matchSpecification:** A binary tree structure of match expression connected with binary operator AND or OR. It is replaced by **tagFilterExpression** which is also used in Application Analyze API endpoints. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: deleteApplicationConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Delete application configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + get: + description: |- + Use this API endpoint if one wants to retrieve an Application Perspective with its configuration setting. + This endpoint requires `canConfigureApplications` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureApplications` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Configuration of applications` to `true`. + + ## Deprecated Parameters + **matchSpecification:** A binary tree structure of match expression connected with binary operator AND or OR. It is replaced by **tagFilterExpression** which is also used in Application Analyze API endpoints. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getApplicationConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + responses: + '200': + content: + application/json: + example: + id: CxJ55sRbQwqBIfw5DzpRmQ + label: Discount Canary Build 6987 + matchSpecification: null + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + boundaryScope: INBOUND + accessRules: + - accessType: READ_WRITE + relationType: GLOBAL + relatedId: null + schema: + $ref: '#/components/schemas/ApplicationConfig' + description: OK + '403': + description: Insufficient permission + '404': + description: No config found for provided application id + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Application configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + 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. + operationId: putApplicationConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + requestBody: + content: + application/json: + example: + accessRules: + - accessType: READ + relationType: ROLE + boundaryScope: INBOUND + id: CxJ55sRbQwqBIfw5DzpRmQ + label: Discount Build 1 + scope: INCLUDE_NO_DOWNSTREAM + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/ApplicationConfig' + required: true + x-payload: putApplicationConfig + responses: + '200': + content: + application/json: + example: + id: CxJ55sRbQwqBIfw5DzpRmQ + label: Discount Canary Build 6987 + matchSpecification: null + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.label + stringValue: stage=canary + numberValue: null + booleanValue: null + key: stage + value: canary + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: build=6987 + numberValue: null + booleanValue: null + key: build + value: '6987' + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: kubernetes.label + stringValue: app=discount + numberValue: null + booleanValue: null + key: app + value: discount + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + boundaryScope: INBOUND + accessRules: + - accessType: READ_WRITE + relationType: GLOBAL + relatedId: null + schema: + $ref: '#/components/schemas/ApplicationConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Update application configuration + tags: + - Application Settings + x-description: updateApplicationConfig + x-ibm-ahub-byok: true + /api/application-monitoring/settings/endpoint: + get: + description: |- + Use this API endpoint if one wants to retrieve a list of all endpoint configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getEndpointConfigs + responses: + '200': + content: + application/json: + example: + - serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointCase: LOWER + endpointNameByFirstPathSegmentRuleEnabled: false + endpointNameByCollectedPathTemplateRuleEnabled: false + rules: null + - serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointCase: UPPER + endpointNameByFirstPathSegmentRuleEnabled: false + endpointNameByCollectedPathTemplateRuleEnabled: false + rules: null + schema: + type: array + items: + $ref: '#/components/schemas/EndpointConfig' + description: OK + security: + - ApiKeyAuth: + - CanConfigureServiceMapping + summary: All Endpoint configurations + tags: + - Application Settings + x-ibm-ahub-byok: true + post: + description: |- + Use this API endpoint if one wants to create an endpoint configuration of a service. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: createEndpointConfig + requestBody: + content: + application/json: + example: + serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointCase: LOWER + endpointNameByFirstPathSegmentRuleEnabled: false + endpointNameByCollectedPathTemplateRuleEnabled: false + rules: null + schema: + $ref: '#/components/schemas/EndpointConfig' + required: true + x-payload: createEndpointConfig + responses: + '200': + content: + application/json: + example: + serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointCase: LOWER + endpointNameByFirstPathSegmentRuleEnabled: false + endpointNameByCollectedPathTemplateRuleEnabled: false + rules: null + schema: + $ref: '#/components/schemas/EndpointConfig' + description: OK + security: + - ApiKeyAuth: + - CanConfigureServiceMapping + summary: Create endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/endpoint/{id}: + delete: + description: |- + Use this API endpoint if one wants to delete an endpoint configuration of a service. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: deleteEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureServiceMapping + summary: Delete endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + get: + description: |- + Use this API endpoint if one wants to retrieve the endpoint configuration of a service. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + responses: + '200': + content: + application/json: + example: + serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointCase: LOWER + endpointNameByFirstPathSegmentRuleEnabled: false + endpointNameByCollectedPathTemplateRuleEnabled: false + rules: null + schema: + $ref: '#/components/schemas/EndpointConfig' + description: OK + '403': + description: Insufficient permission + '404': + description: No config found for provided service id + security: + - ApiKeyAuth: + - CanConfigureServiceMapping + summary: Endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + put: + description: |- + Use this API endpoint if one wants to update an existing endpoint configuration of a service. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: updateEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + requestBody: + content: + application/json: + example: + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + testCases: + - /api/v2/users + endpointCase: UPPER + schema: + $ref: '#/components/schemas/EndpointConfig' + required: true + x-payload: updateEndpointConfig + responses: + '200': + content: + application/json: + example: + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + testCases: + - /api/v2/users + endpointCase: UPPER + schema: + $ref: '#/components/schemas/EndpointConfig' + description: OK + security: + - ApiKeyAuth: + - CanConfigureServiceMapping + summary: Update endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/http-endpoint: + get: + deprecated: true + description: |- + This is a deprecated endpoint. Use `All Endpoint configurations` instead. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getHttpEndpointConfigs + responses: + '200': + content: + application/json: + example: + serviceId: d0cedae516f2182ede16f57f67476dd4c7dab9cd + endpointNameByFirstPathSegmentRuleEnabled: true + endpointNameByCollectedPathTemplateRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + - type: MATCH_ALL + testCases: + - /api/v2/users + schema: + type: array + items: + $ref: '#/components/schemas/HttpEndpointConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: All HTTP endpoint configurations + tags: + - Application Settings + x-ibm-ahub-byok: true + post: + deprecated: true + description: |- + This is a deprecated endpoint. Use `Create endpoint configuration` instead. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: createHttpEndpointConfig + requestBody: + content: + application/json: + example: + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - type: MATCH_ALL + testCases: + - /api/v2/users + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + schema: + $ref: '#/components/schemas/HttpEndpointConfig' + required: true + x-payload: createEndpointConfig + responses: + '200': + content: + application/json: + example: + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + endpointNameByFirstPathSegmentRuleEnabled: true + endpointNameByCollectedPathTemplateRuleEnabled: true + rules: + - enabled: true + pathSegments: + - type: MATCH_ALL + testCases: + - /api/v2/users + schema: + $ref: '#/components/schemas/HttpEndpointConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Create HTTP endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/http-endpoint/{id}: + delete: + deprecated: true + description: |- + This is a deprecated endpoint. Use `Delete endpoint configuration` instead. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: deleteHttpEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Delete HTTP endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + get: + deprecated: true + description: |- + This is a deprecated endpoint. Use `Endpoint configuration` instead. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getHttpEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + responses: + '200': + content: + application/json: + example: + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + - type: MATCH_ALL + testCases: + - /api/v2/users + serviceId: 20ba31821b079e7d845a08096124880db3eeeb47 + schema: + $ref: '#/components/schemas/HttpEndpointConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: HTTP Endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + put: + deprecated: true + description: |- + This is a deprecated endpoint. Use `Update endpoint configuration` instead. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: updateHttpEndpointConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + requestBody: + content: + application/json: + example: + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + - type: MATCH_ALL + testCases: + - /api/v2/users + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + schema: + $ref: '#/components/schemas/HttpEndpointConfig' + required: true + x-payload: updateEndpointConfig + responses: + '200': + content: + application/json: + example: + endpointNameByCollectedPathTemplateRuleEnabled: true + endpointNameByFirstPathSegmentRuleEnabled: true + rules: + - enabled: true + pathSegments: + - name: api + type: FIXED + - name: version + type: PARAMETER + - type: MATCH_ALL + testCases: + - /api/v2/users + serviceId: 20ba31821b079e7d845a08096124880db3eeeb40 + schema: + $ref: '#/components/schemas/HttpEndpointConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Update HTTP endpoint configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/manual-service: + get: + description: |2- + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getAllManualServiceConfigs + responses: + '200': + content: + application/json: + example: + - id: wh49Z209S82aGvRl8ZZ0dQ + tagFilterExpression: + type: TAG_FILTER + name: call.database.connection + stringValue: redis:6379 + numberValue: null + booleanValue: null + key: null + value: redis:6379 + operator: EQUALS + entity: NOT_APPLICABLE + unmonitoredServiceName: null + existingServiceId: 2224a6ad91373ef2504dc6b5795d421bff8e4a4d + description: null + enabled: true + schema: + type: array + items: + $ref: '#/components/schemas/ManualServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: All manual service configurations + tags: + - Application Settings + x-description: getAllManualServiceConfigs + x-ibm-ahub-byok: true + 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. + operationId: addManualServiceConfig + requestBody: + content: + application/json: + example: + description: Map source service example + enabled: true + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + schema: + $ref: '#/components/schemas/NewManualServiceConfig' + required: true + responses: + '200': + content: + application/json: + example: + id: FpG0_9tZT5OjzYM7m5VgUQ + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + description: Map source service example + enabled: true + schema: + $ref: '#/components/schemas/ManualServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Add manual service configuration + tags: + - Application Settings + x-description: addManualServiceConfigs + x-ibm-ahub-byok: true + 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. + operationId: replaceAllManualServiceConfigs + requestBody: + content: + application/json: + example: + - description: Map source service + enabled: true + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + schema: + type: array + items: + $ref: '#/components/schemas/NewManualServiceConfig' + required: true + responses: + '200': + content: + application/json: + example: + - id: undcnbu-S7OWi_4q4BnG4Q + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + description: Map source service + enabled: true + schema: + type: array + items: + $ref: '#/components/schemas/ManualServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Replace all manual service configurations + tags: + - Application Settings + x-description: replaceAllManualServiceConfigs + x-ibm-ahub-byok: true + /api/application-monitoring/settings/manual-service/{id}: + delete: + description: |2- + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: deleteManualServiceConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: A unique id of the manual service configuration. + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Delete manual service configuration + tags: + - Application Settings + x-description: deleteManualServiceConfigs + x-ibm-ahub-byok: true + 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. + operationId: updateManualServiceConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: A unique id of the manual service configuration. + requestBody: + content: + application/json: + example: + description: Map source service example + enabled: true + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + id: BDGeDcG4TRSzRkJ1mGOk-Q + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + schema: + $ref: '#/components/schemas/ManualServiceConfig' + required: true + responses: + '200': + content: + application/json: + example: + id: BDGeDcG4TRSzRkJ1mGOk-Q + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: front + numberValue: null + booleanValue: null + key: null + value: front + operator: EQUALS + entity: SOURCE + unmonitoredServiceName: null + existingServiceId: c467ca0fa21477fee3cde75a140b2963307388a7 + description: Map source service example + enabled: true + schema: + $ref: '#/components/schemas/ManualServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Update manual service configuration + tags: + - Application Settings + x-description: updateManualServiceConfigs + x-ibm-ahub-byok: true + /api/application-monitoring/settings/service: + get: + description: |- + Use this API endpoint if one wants to retrive a list of all service configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getServiceConfigs + responses: + '200': + content: + application/json: + example: + - id: MyhomcyCRz2DF3O2KNXpGg + name: Rule + comment: null + label: '{docker.container.name}' + enabled: false + matchSpecification: + - key: docker.container.name + value: .* + schema: + type: array + items: + $ref: '#/components/schemas/ServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: All service configurations + tags: + - Application Settings + x-ibm-ahub-byok: true + post: + description: |- + Use this API endpoint if one wants to create a custom service rule. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + ## Errata: + + The following field is documented in the request schema: + - The `id` field is not mandatory and one can't have a service configuration id before creating one configuration. + Instana creates it automatically. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: addServiceConfig + requestBody: + content: + application/json: + example: + comment: null + enabled: true + label: '{gce.zone}-{jvm.args.abc}' + matchSpecification: + - key: gce.zone + value: .* + - key: jvm.args.abc + value: .* + name: ABC is good + schema: + $ref: '#/components/schemas/ServiceConfig' + required: true + x-payload: addEndpointConfig + responses: + '200': + content: + application/json: + example: + id: oMsVfR0fSCuTKF2TFdYRmQ + name: ABC is good + comment: null + label: '{gce.zone}-{jvm.args.abc}' + enabled: true + matchSpecification: + - key: gce.zone + value: .* + - key: jvm.args.abc + value: .* + schema: + $ref: '#/components/schemas/ServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Add service configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + put: + description: |- + Use this API endpoint if one wants to modify 1 or more existing service configuration. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: replaceAll + requestBody: + content: + application/json: + example: + - comment: null + enabled: true + id: 8C-jGYx8Rsue854tzkh8KQ + label: '{docker.container.name}' + matchSpecification: + - key: docker.container.name + value: .* + name: Rule + schema: + type: array + items: + $ref: '#/components/schemas/ServiceConfig' + required: true + responses: + '200': + content: + application/json: + example: + - id: 9uma4MhnTTSyBzwu_FKBJA + name: Rule + comment: null + label: '{docker.container.name}' + enabled: true + matchSpecification: + - key: docker.container.name + value: .* + schema: + type: array + items: + $ref: '#/components/schemas/ServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Replace all service configurations + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/service/order: + put: + description: |- + Use this API endpoint if one wants to change the order of service configurations aka custom service rules. + Note that all service configuration IDs have to be passed in the request to re-order the configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: orderServiceConfig + requestBody: + content: + application/json: + example: + - 9uma4MhnTTSyBzwu_FKBJA + - oMsVfR0fSCuTKF2TFdYRmQ + schema: + type: array + items: + type: string + required: true + responses: + '204': + description: Order of Service rules modified + '400': + description: Provided config is not found + '401': + description: Unauthorized request + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Order of service configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/settings/service/{id}: + delete: + description: |- + Use this API endpoint if one wants to delete a service configuration. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: deleteServiceConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'A unique string for the service configuration. Eg: `G510hmXYSDysLZ5kuj0BaQ`' + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Delete service configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + get: + description: |- + Use this API endpoint if one wants to retrieve a particular custom service rule. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: getServiceConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'A unique string for the service configuration. Eg: `G510hmXYSDysLZ5kuj0BaQ`' + responses: + '200': + content: + application/json: + example: + id: P_37IlGQT0qQy9fxLxvFqA + name: Rule + comment: null + label: '{docker.container.name}' + enabled: true + matchSpecification: + - key: docker.container.name + value: .* + schema: + $ref: '#/components/schemas/ServiceConfig' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Service configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + put: + description: |- + Use this API endpoint if one wants to update a particular custom service rule. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Application Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-settings. + operationId: putServiceConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: 'A unique string for the service configuration. Eg: `G510hmXYSDysLZ5kuj0BaQ`' + requestBody: + content: + application/json: + example: + comment: null + enabled: true + id: 9uma4MhnTTSyBzwu_FKBJA + label: '{gce.zone}-{jvm.args.abc}' + matchSpecification: + - key: gce.zone + value: .* + - key: jvm.args.abc + value: .* + name: DEF is good + schema: + $ref: '#/components/schemas/ServiceConfig' + required: true + responses: + '200': + content: + application/json: + example: + id: 9uma4MhnTTSyBzwu_FKBJA + name: DEF is good + comment: null + label: '{gce.zone}-{jvm.args.abc}' + enabled: true + matchSpecification: + - key: gce.zone + value: .* + - key: jvm.args.abc + value: .* + schema: + $ref: '#/components/schemas/ServiceConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Update service configuration + tags: + - Application Settings + x-ibm-ahub-byok: true + /api/application-monitoring/topology/services: + get: + description: | + Use this API endpoint if one wants to retrieve services and connections (call paths) between them for calls in the scope given by the parameters. + + ## Errata: + + The following fields are unsupported but documented in the schema for the result `services`: + - The `applications` field is always missing and the `snapshotIds` field is always empty, despite being declared as required in the result schema. + - The `maxSeverity` and `numberOfOpenIssues` fields are always missing. + operationId: getServicesMap + parameters: + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + - description: Filter by application ID + in: query + name: applicationId + schema: + type: string + - description: Filter by application scope, i.e., INBOUND or ALL. The default + value is INBOUND. Applies only if application ID filter is specified. + in: query + name: applicationBoundaryScope + schema: + type: string + enum: + - ALL + - INBOUND + responses: + '200': + content: + application/json: + example: + connections: + - from: 8bfb4e1aa590eab8f08f837b97acf5803a5737ed + to: f17e7efb3b9b2d62bfec6b07905759fb81e99797 + calls: 2179 + latency: 1.6103717301514455 + errorRate: 0.0 + services: + - id: f17e7efb3b9b2d62bfec6b07905759fb81e99797 + label: robot-shop + types: + - MESSAGING + technologies: + - kubernetesService + - rabbitMq + snapshotIds: [ + ] + entityType: SERVICE + schema: + $ref: '#/components/schemas/ServiceMap' + description: OK + '400': + description: Bad Request + '401': + description: Unauthorized + '403': + description: Forbidden + security: + - ApiKeyAuth: + - Default + summary: Gets the service topology + tags: + - Application Topology + x-ibm-ahub-byok: true + /api/application-monitoring/v2/analyze/traces/{id}: + get: + description: |- + Use this API endpoint if one wants to retrive comprehensive details of a particular trace. + For more information on Application Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze. + operationId: getTraceDownload + parameters: + - in: path + name: id + required: true + schema: + type: string + description: An Instana generated unique identifier for a trace. + - in: query + name: retrievalSize + schema: + type: integer + format: int32 + description: | + The number of records to retrieve in a single request. + For example, when retrievalSize is set to 30, offset is 20, and ingestionTime is 1725519793, the API request will fetch 30 records starting from the 21st record after the specified `ingestionTime`. + Minimum value is 1 and maximum value is 10000. + maximum: 10000 + minimum: 1 + - in: query + name: offset + schema: + type: integer + format: int32 + description: | + The number of records to be skipped from the `ingestionTime`. + For example: when `offset` is 20 and `ingestionTime` is 1725519793, the API response should have records starting from the 21st record after the specified `ingestionTime`. + Note that if `offset` value is not empty, `ingestionTime` can't be empty. + - in: query + name: ingestionTime + schema: + type: integer + format: int64 + description: | + The timestamp indicating the starting point from which data was ingested. + The format of the timestamp is in Unix epoch Time. + For example, `Thursday, 5 September 2024 07:03:13 GMT` can be represented as `1725519793`. + responses: + '200': + content: + application/json: + example: + items: + - id: daa9141549aea210 + timestamp: 1688544599223 + parentId: null + foreignParentId: null + name: GET /api/shipping/cities/dk + duration: 30 + minSelfTime: 1 + networkTime: null + callCount: 1 + errorCount: 0 + destination: + service: + id: ce4b152bac7b99744d8314838e49b799afd6dd96 + label: nginx-web + endpoint: + id: wAS2omB44e0EK4xqL7f-e-wt4C4 + label: upstream shipping + type: HTTP + technologies: [ + ] + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1688547327000 + offset: 1 + canLoadMore: false + totalHits: 3 + totalRepresentedItemCount: 3 + totalRetainedItemCount: 3 + schema: + $ref: '#/components/schemas/TraceDownloadResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get trace detail + tags: + - Application Analyze + x-ibm-ahub-byok: true + /api/application-monitoring/v2/analyze/traces/{traceId}/calls/{callId}/details: + get: + description: |- + Use this API endpoint to retrieve a vast information about a call present in a trace. + + For more information on Application Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-analyze. + operationId: getCallDetails + parameters: + - in: path + name: traceId + required: true + schema: + type: string + description: An Instana generated unique identifier for a trace. + - in: path + name: callId + required: true + schema: + type: string + description: 'The call ID. A unique identifier for an individual call. For + example: `1bcad5c82338deaf`.' + responses: + '200': + content: + application/json: + example: + id: 14219b3deb6a6bc5 + label: GET /api/shipping/cities/bg + start: 1707295859759 + duration: 3597 + minSelfTime: 2 + networkTime: null + errorCount: 0 + batchSize: 1 + batchSelfTime: 3597 + source: + applications: [ + ] + service: + id: ROOT + label: '' + endpoint: + id: XCjGvnwuiak0m3ISke3naE-NrGA + label: Unspecified + type: UNDEFINED + physicalContext: { + } + destination: + applications: [ + ] + service: + id: ce4b152bac7b99744d8314838e49b799afd6dd96 + label: nginx-web + endpoint: + id: wAS2omB44e0EK4xqL7f-e-wt4C4 + label: upstream shipping + type: HTTP + physicalContext: + process: + id: jXvrnXHuBqfhlZQTux-ck1PYd6Y + time: 1707258023000 + label: Node @30303 + plugin: nginx + data: null + spans: + - id: 14219b3deb6a6bc5 + parentId: '' + name: sdk.http.entry + kind: ENTRY + foreignParentId: '' + start: 1707295859759 + duration: 3597 + errorCount: 0 + stackTrace: [ + ] + data: + service: nginx-web + http: + path: /api/shipping/cities/bg + protocol: http + route_id: upstream shipping + method: GET + host: web:8080 + url: http://web:8080//api/shipping/cities/bg + status: 200 + logs: [ + ] + synthetic: false + schema: + $ref: '#/components/schemas/TraceActivityTreeNodeDetails' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get call detail + tags: + - Application Analyze + x-ibm-ahub-byok: true + /api/application-monitoring/v2/metrics: + post: + description: |- + Use this API endpoint if one wants to retrieve one or more supported aggregation of supported metrics for a combination of entities. + For eg: retrieve `MEAN` aggregation of `latency` metric for an Endpoint `GET /api/foo`, Service `payment` and Application Perspective `app`. + Consider this API endpoint an upgraded version of `Get Application Metrics`, `Get Endpoint metrics` and `Get Service metrics`. + For more information on supported metrics, refer `Get Metric catalog`. + + For more information on Application Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-metrics. + operationId: getApplicationDataMetricsV2 + requestBody: + content: + application/json: + example: + includeInternal: true + includeSynthetic: true + metrics: + - aggregation: MEAN + metric: latency + tagFilterExpression: + type: TAG_FILTER + name: service.name + operator: EQUALS + entity: DESTINATION + value: warehouse + timeFrame: + to: 1669190589000 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetApplicationMetrics' + responses: + '200': + content: + application/json: + example: + metrics: + latency.mean: + - - 1669190580000 + - 106.85055708882756 + adjustedTimeframe: + windowSize: 3600000 + to: 1669190580000 + schema: + $ref: '#/components/schemas/MetricAPIResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Application Data Metrics + tags: + - Application Metrics + x-ibm-ahub-byok: true + /api/automation/actioninstances: + delete: + description: Deletes the automation action run results from the action run history. + The results to delete is filtered by the filter values given in the query + parameters. The automation action run result will be deleted only if the action + run result was created within the timeframe specified in the `from` and `to` + query parameters. This call requires `Deletion of automation action history` + permission and, `from` and `to` query parameters. + operationId: deleteActionInstances + parameters: + - description: From date filter in milliseconds (13-digit) to look up the action + run results to delete + example: 1706713140000 + in: query + name: from + required: true + schema: + type: integer + format: int64 + - description: To date filter in milliseconds (13-digit) to look up the action + run results to delete + example: 1706713140000 + in: query + name: to + required: true + schema: + type: integer + format: int64 + - description: Target snapshot ID to look up the action run results to delete + example: aCtEoR6NSPqG61QkIkwwCw + in: query + name: targetSnapshotId + schema: + type: string + - description: Event ID filter to look up the action run results to delete + example: bCtEoR6NSPqG61QkIkwwCw + in: query + name: eventId + schema: + type: string + - description: Event specification ID filter to look up the action run results + to delete + example: 1706713140000 + in: query + name: eventSpecificationId + schema: + type: string + - description: Text in action run result name, description and event name to + filter the action run results to delete + example: 1706713140000 + in: query + name: search + schema: + type: string + - description: Action type filter to look up the action run results to delete + example: One or more of the following types HTTP, SCRIPT, ANSIBLE, GITHUB, + GITLAB, JIRA + in: query + name: types + schema: + type: array + items: + type: string + - description: Action status filter to look up the action run results to delete + example: One or more of the following status SUBMITTED, IN_PROGRESS, SUCCESS, + FAILED, TIMEOUT + in: query + name: actionStatuses + schema: + type: array + items: + type: string + - description: List of action IDs to filter the action run results to delete + example: cCtEoR6NSPqG61QkIkwwCw + in: query + name: actionIds + schema: + type: array + items: + type: string + - description: Policy ID filter to look up the action run results to delete + example: bCtEoR6NSPqG61QkIkwwCw + in: query + name: policyId + schema: + type: string + responses: + '200': + content: + application/json: + example: + deletedDocumentsCount: '2' + description: Automation action run results are deleted. + '400': + description: '`from` date or `to` date query parameter is missing.' + '403': + description: Automation feature is not enabled or Insufficient permissions. + '500': + description: The request do not contain a valid user or API Token. + security: + - ApiKeyAuth: + - canDeleteAutomationActionHistory + summary: Delete automation action run results. + tags: + - Action History + x-ibm-ahub-byok: true + get: + description: Get the details of automation action run results from action run + history. The results are filtered by the filters in the query parameters. + The automation action run result will be fetched only if the action run results + were created within the timeframe specified by the `windowSize` and `to` query + parameters. The `windowSize` parameter is used to compute the from date (`from + = to - windowSize`) of the timeframe. The default value for `windowSize` is + 10 minutes and the default value for `to` is current system time. When using + personal access tokens, the user must have at least `Viewer` access for Automation + and the automation action run results returned are also filtered based on + the access set in `Limited access` permission settings. This API returns paginated + result as specified in query parameters `page` and `pageSize`. The response + contains list of automation action run results whose contents corresponds + to the `page` query parameter and whose size corresponds to the `pageSize` + query parameter. + operationId: getActionInstances + parameters: + - description: Window size filter in milliseconds (to compute the from date) + to get the action run result details + example: 10000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: To date filter in milliseconds (13-digit) to get the action run + result details + example: 1706713140000 + in: query + name: to + schema: + type: integer + format: int64 + - description: Page to fetch -- used for paging the action run result records + example: 2 + in: query + name: page + schema: + type: integer + format: int32 + - description: Number of records to return in each page -- used for paging the + action run result records + example: 50 + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: Target snapshot ID filter to get the action run result details + example: nCtEoR6NSPqG61QkIkwwCw + in: query + name: targetSnapshotId + schema: + type: string + - description: Event ID filter to get the action run result details + example: nCtEoR6NSPqG61QkIkwwCw + in: query + name: eventId + schema: + type: string + - description: Event specification ID filter to get the action run result details + example: 1706713140000 + in: query + name: eventSpecificationId + schema: + type: string + - description: Text in action run result name, description and event name filter + to get the action run result details + example: 1706713140000 + in: query + name: search + schema: + type: string + - description: Action type filter to get the action run result details + example: One or more of the following types HTTP, SCRIPT, ANSIBLE, GITHUB, + GITLAB, JIRA + in: query + name: types + schema: + type: array + items: + type: string + - description: Action status filter to get the action run result details + example: One or more of the following status SUBMITTED, IN_PROGRESS, SUCCESS, + FAILED, TIMEOUT + in: query + name: actionStatuses + schema: + type: array + items: + type: string + - description: Action IDs filter to get the action run result details for only + these actions + in: query + name: actionIds + schema: + type: array + items: + type: string + - description: Policy ID filter to get the action run result details + example: nCtEoR6NSPqG61QkIkwwCw + in: query + name: policyId + schema: + type: string + - description: Action run result column to order the result set. + example: Name of the action run result column. Default is action run result + start date. + in: query + name: orderBy + schema: + type: string + - description: Sort order direction. + example: asc or desc + in: query + name: orderDirection + schema: + type: string + responses: + '200': + content: + application/json: + example: + items: + - actionInstanceId: fqiH0HOgR1-4Ygoy5EDycw + actionId: d473c1b0-0740-4d08-95fe-31e5d0a9faff + actionName: Hello World + type: SCRIPT + status: SUCCESS + createdDate: 1710162882369 + startDate: 1710162882653 + endDate: 1710162882826 + eventId: M3wuBxuaSDyecZJ7ICioiw + eventSpecificationId: en0FW6XRWu7aRsD4055dbMLAuSU + problemText: Test event + hostSnapshotId: 2nIOVtEW-iPbsEIi89-yDqJHi2g + targetSnapshotId: jfSmhACY-Oa3a8zfjJxvOxJeDSk + metadata: [ + ] + page: 1 + pageSize: 50 + totalHits: 500 + schema: + $ref: '#/components/schemas/PaginatedResult' + description: Automation action run result details are returned. + '403': + description: Automation feature is not enabled or Insufficient permissions. + security: + - ApiKeyAuth: + - Default + summary: Get the details of automation action run results from action run history. + tags: + - Action History + x-ibm-ahub-byok: true + post: + description: Submits the automation action for execution on an agent. The automation + action to execute and the agent on which to execute the action must be specified + as actionId and hostId. For more details on the request payload see the request + sample. This call requires `Execution of automation actions` permission. + operationId: addActionInstance + requestBody: + content: + application/json: + example: + hostId: aHostId + actionId: d473c1b0-0740-4d08-95fe-31e5d0a9faff + policyId: 2nIOVtEW-iPbsEIi89-yDqJabc + inputParameters: + - name: name + type: type + value: value + eventId: M3wuBxuaSDyecZJ7ICioiw + async: 'true' + timeout: '600' + schema: + $ref: '#/components/schemas/ActionInstanceRequest' + required: true + responses: + '200': + content: + application/json: + example: + actionInstanceId: fqiH0HOgR1-4Ygoy5EDycw + actionId: d473c1b0-0740-4d08-95fe-31e5d0a9faff + actionName: Hello World + type: SCRIPT + status: SUBMITTED + createdDate: 1710162882369 + eventId: M3wuBxuaSDyecZJ7ICioiw + eventSpecificationId: en0FW6XRWu7aRsD4055dbMLAuSU + problemText: Test event + hostSnapshotId: 2nIOVtEW-iPbsEIi89-yDqJHi2g + targetSnapshotId: jfSmhACY-Oa3a8zfjJxvOxJeDSk + inputParameters: [ + ] + outputParameters: [ + ] + metadata: [ + ] + externalSourceType: '' + actorId: 5ee5195fbea6150001758c40 + actorName: Stan + actorType: USER + eventEntityType: '' + actionDescription: Simple script action for testing + policyId: 2nIOVtEW-iPbsEIi89-yDqJabc + schema: + $ref: '#/components/schemas/ActionInstance' + description: Automation action submitted for execution on the agent. + '400': + description: The payload in the request body is not valid or the action + ID (actionId) in the payload is invalid or the agent host ID (hostId) + in the payload is invalid. + '403': + description: Automation feature is not enabled or Insufficient permissions. + security: + - ApiKeyAuth: + - canRunAutomationActions + summary: Run an automation action. + tags: + - Action History + x-ibm-ahub-byok: true + /api/automation/actioninstances/{actionInstanceId}: + delete: + description: Deletes the automation action run result specified in the request + path from the action run history. The automation action run result will be + deleted only if the action run result was created within the timeframe specified + in the `from` and `to` query parameters. To get the automation action run + result ID and the created time, you can run `/api/automation/actioninstances` + and `/api/automation/actioninstances/<{actionInstanceId}>` REST calls. This + call requires `Deletion of automation action history` permission. + operationId: deleteActionInstance + parameters: + - description: Automation action run result ID to delete. + example: nCtEoR6NSPqG61QkIkwwCw + in: path + name: actionInstanceId + required: true + schema: + type: string + - description: From date filter in milliseconds (13-digit) to look up the action + run result ID. + example: 1706713140000 + in: query + name: from + required: true + schema: + type: integer + format: int64 + - description: To date filter in milliseconds (13-digit) to look up the action + run result ID. + example: 1706713190000 + in: query + name: to + required: true + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + deletedDocumentsCount: '2' + description: Automation action run result is deleted. + '400': + description: Automation action run result ID is missing in the request path, + or `from` date or `to` date is missing in the query parameters. + '403': + description: Automation feature is not enabled or Insufficient permissions. + '500': + description: The request do not contain a valid user or API Token. + security: + - ApiKeyAuth: + - canDeleteAutomationActionHistory + summary: Deletes an automation action run result from the action run history + by ID. + tags: + - Action History + x-ibm-ahub-byok: true + get: + description: Get the details of automation action run result specified in the + request path from action run history. The automation action run result will + be fetched only if the action run result was created within the timeframe + specified by the `windowSize` and `to` query parameters. The `windowSize` + parameter is used to compute the from date (`from = to - windowSize`) of the + timeframe. The default value for `windowSize` is 10 minutes and the default + value for `to` is current system time. To get the automation action run result + ID and the created time, you can run `/api/automation/actioninstances` REST + calls. When using personal access tokens, the user must have at least `Viewer` + access for Automation. + operationId: getActionInstance + parameters: + - description: action run result ID to get action run result details + example: nCtEoR6NSPqG61QkIkwwCw + in: path + name: actionInstanceId + required: true + schema: + type: string + - description: Window size in milliseconds. This value is used compute the from + date `(from = to - windowSize)` to get the action run result details. The + default `windowSize` is set to 10 minutes if this value is not provided. + example: 10000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: To date filter in milliseconds (13-digit) to get the action run + result details. The default `to` date is set to `System.currentTimeMillis()` + if this value is not provided. + example: 1706713140000 + in: query + name: to + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + actionInstanceId: fqiH0HOgR1-4Ygoy5EDycw + actionId: d473c1b0-0740-4d08-95fe-31e5d0a9faff + actionName: Hello World + type: SCRIPT + status: SUCCESS + returnCode: 0 + errorMessage: '' + createdDate: 1710162882369 + startDate: 1710162882653 + endDate: 1710162882826 + eventId: M3wuBxuaSDyecZJ7ICioiw + eventSpecificationId: en0FW6XRWu7aRsD4055dbMLAuSU + problemText: Test event + hostSnapshotId: 2nIOVtEW-iPbsEIi89-yDqJHi2g + inputParameters: [ + ] + outputParameters: [ + ] + metadata: [ + ] + targetSnapshotId: jfSmhACY-Oa3a8zfjJxvOxJeDSk + externalSourceType: '' + actorId: 5ee5195fbea6150001758c40 + actorName: Stan + actorType: USER + eventEntityType: '' + actionDescription: Simple script action for testing + policyId: 2nIOVtEW-iPbsEIi89-yDqJabc + output: Hello world! + schema: + $ref: '#/components/schemas/ActionInstance' + description: The automation action run result detail is returned. + '400': + description: Missing automation action run result ID. + '403': + description: Automation feature is not enabled or Insufficient permissions. + security: + - ApiKeyAuth: + - Default + summary: Get the details of an automation action run result by ID from action + run history. + tags: + - Action History + x-ibm-ahub-byok: true + /api/automation/actions: + get: + description: Get all automation actions. When using personal access tokens, + the user must have at least `Viewer` access for Automation and the actions + returned are also filtered based on the access set in `Limited access` permission + settings. + operationId: getActions + responses: + '200': + content: + application/json: + example: + - id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + type: array + items: + $ref: '#/components/schemas/Action' + description: Automation actions are returned. + '403': + description: Automation feature is not enabled or Insufficient permissions. + '500': + description: Failed to retrieve the automation actions. + security: + - ApiKeyAuth: + - Default + summary: Get all automation actions. + tags: + - Action Catalog + x-ibm-ahub-byok: true + /api/automation/actions/{id}: + get: + description: Get an automation action by ID specified in the request path. When + using personal access tokens, the user must have at least `Viewer` access + for Automation and the actions returned are also filtered based on the access + set in `Limited access` permission settings. + operationId: getActionByID + parameters: + - description: Automation action ID + example: d473c1b0-0740-4d08-95fe-31e5d0a9faff + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + $ref: '#/components/schemas/Action' + description: Automation action is returned. + '403': + description: Automation feature is not enabled or Insufficient permissions. + '404': + description: Automation action not found. + security: + - ApiKeyAuth: + - Default + summary: Get an automation action by ID. + tags: + - Action Catalog + x-ibm-ahub-byok: true + /api/automation/ai/action/match: + get: + description: Get automation actions that match based on application ID or snapshot + ID within a specified time window. + operationId: getActionMatchesByIdAndTimeWindow + parameters: + - in: query + name: applicationId + schema: + type: string + - in: query + name: snapshotId + schema: + type: string + - in: query + name: to + schema: + type: integer + format: int64 + - in: query + name: windowSize + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ActionMatch' + description: The automation actions that match are returned. + '400': + description: Either applicationId or snapshotId must be provided, but not + both. + '403': + description: Automation feature is not enabled or Insufficient permissions. + '500': + description: Failed to retrieve the matching automation actions. + security: + - ApiKeyAuth: + - Default + summary: Get action matches by application ID or snapshot ID. + tags: + - Action Catalog + x-ibm-ahub-byok: true + post: + description: Get automation actions that match the incident or issue data in + the request body. + operationId: getActionMatches + parameters: + - in: query + name: targetSnapshotId + schema: + type: string + requestBody: + content: + application/json: + example: + name: CPU spends significant time waiting for input/output + description: Checks whether the system spends significant time waiting + for input/output. + schema: + $ref: '#/components/schemas/ActionSearchSpace' + required: true + responses: + '200': + content: + application/json: + example: + - score: 0.12087341955930318 + action: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - sample + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + color: low + confidence: low + aiEngine: NLP + schema: + type: array + items: + $ref: '#/components/schemas/ActionMatch' + description: The automation actions that match the incident are returned. + '403': + description: Automation feature is not enabled or Insufficient permissions. + '500': + description: Failed to retrieve the matching automation actions. + security: + - ApiKeyAuth: + - Default + summary: Get automation actions that match the incidents or issues. + tags: + - Action Catalog + x-ibm-ahub-byok: true + /api/automation/parameters/dynamic: + put: + operationId: resolve + requestBody: + content: + application/json: + example: + eventId: 7UPTIakhR3uVaMnSQuG3TA + timestamp: 1710168530000 + parameters: + - name: Application name + tagName: application.name + schema: + $ref: '#/components/schemas/GetDynamicParameterValues' + required: true + responses: + '200': + content: + application/json: + example: + eventId: 7UPTIakhR3uVaMnSQuG3TA + timestamp: 1710168530000 + parameters: + - name: Application name + tagName: application.name + resolvedValue: '["Demo Application"]' + schema: + $ref: '#/components/schemas/GetDynamicParameterValues' + description: OK + '500': + description: Internal server error + security: + - ApiKeyAuth: + - canRunAutomationActions + summary: Resolve dynamic parameter values + tags: + - Action Catalog + x-ibm-ahub-byok: true + /api/automation/parameters/dynamic/catalog: + get: + operationId: getDynamicParametersTagCatalog + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Application + description: null + icon: null + children: + - label: Name + icon: lib_application + tagName: application.name + queryable: true + type: TAG + type: LEVEL + queryable: false + tags: + - name: application.name + label: Name + type: STRING_SET + description: null + canApplyToSource: true + canApplyToDestination: true + idTag: false + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '500': + description: Internal server error + security: + - ApiKeyAuth: + - Default + summary: Get tag catalog for dynamic parameters + tags: + - Action Catalog + x-description: getDynamicParametersTagCatalog + x-ibm-ahub-byok: true + /api/automation/policies: + get: + description: Returns all the automation policies filtered by the values in optional + query parameters. When using personal access tokens, the user must have at + least `Viewer` access for Automation and the automation policies returned + are also filtered based on the access set in `Limited access` permission settings. + operationId: getPolicies + parameters: + - description: Filter policies by the event or alert type that can trigger a + policy. This is an optional parameter. Valid values are customEvent, builtinEvent, + applicationSmartAlert, globalApplicationSmartAlert, websiteSmartAlert, infraSmartAlert, + mobileAppSmartAlert, syntheticsSmartAlert, logSmartAlert, sloSmartAlert + in: query + name: triggerType + schema: + type: string + - description: Trigger identifier. This is an optional parameter. + in: query + name: triggerId + schema: + type: string + - description: Filter policies by policy execution type. This is an optional + parameter. Valid values are automatic or manual + in: query + name: executionType + schema: + type: string + - description: Filter policies by action ID. This is an optional parameter. + in: query + name: actionId + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Policy for test + description: Policy for test + trigger: + type: customEvent + id: C3Ha8PffQHfJ0Hk6 + name: Test Event + typeConfigurations: + - name: manual + runnable: + type: action + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + runConfiguration: + actions: + - action: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + - idempotent + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + type: array + items: + $ref: '#/components/schemas/Policy' + description: Automation policies list filtered by the values in query parameters. + '403': + description: Insufficient permissions. + '500': + description: Failed to retrieve the automation policies. + security: + - ApiKeyAuth: + - Default + summary: Get all automation policies. + tags: + - Policies + x-ibm-ahub-byok: true + post: + description: Creates a new automation policy. Policy creation requires `Configuration + of automation policies` permission. + operationId: addPolicy + requestBody: + content: + application/json: + example: + name: builtin-action-custom-event + trigger: + name: test event + type: customEvent + id: 2X5r-Un18MIE59rE + typeConfigurations: + - name: manual + runnable: + type: action + id: c5ba4453-0bc2-3c3e-bdbe-b3ce68239145 + runConfiguration: + actions: + - action: + id: c5ba4453-0bc2-3c3e-bdbe-b3ce68239145 + schema: + $ref: '#/components/schemas/Policy' + required: true + responses: + '201': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Policy for test + description: Policy for test + trigger: + type: customEvent + id: C3Ha8PffQHfJ0Hk6 + name: Test Event + typeConfigurations: + - name: manual + runnable: + type: action + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + runConfiguration: + actions: + - action: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + $ref: '#/components/schemas/Policy' + description: New policy created. + '400': + description: Bad request. + '403': + description: Insufficient permissions. + '412': + description: Invalid input value. + '500': + description: Internal Server Error. + security: + - ApiKeyAuth: + - canConfigureAutomationPolicies + summary: Create an automation policy. + tags: + - Policies + x-ibm-ahub-byok: true + /api/automation/policies/bulk: + post: + description: Creates a list of automation policies. Policy creation requires + `Configuration of automation policies` permission. + operationId: addPolicies + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Policy' + required: true + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Policy' + description: Created. + '400': + description: Bad request. + '403': + description: Insufficient permissions. + '412': + description: Invalid input value. + '500': + description: Internal Server Error. + security: + - ApiKeyAuth: + - canConfigureAutomationPolicies + summary: Create automation policies. + tags: + - Policies + x-ibm-ahub-byok: true + /api/automation/policies/{id}: + delete: + description: Deletes an automation policy by identifier. Policy deletion requires + `Configuration of automation policies` permission. When using personal tokens + the automation policies deleted are based on the access set in `Limited access` + permission settings. + operationId: deletePolicy + parameters: + - description: Automation policy ID to delete + example: a14700b0-401b-47eb-a751-deda0035fde3 + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Automation policy successfully deleted + '403': + description: Insufficient permissions. + '412': + description: Automation policy does not exist + security: + - ApiKeyAuth: + - canConfigureAutomationPolicies + summary: Deletes an automation policy by identifier. + tags: + - Policies + x-ibm-ahub-byok: true + get: + description: Returns the automation policy filtered by the ID in request parameter. + When using personal access tokens, the user must have at least `Viewer` access + for Automation and the automation policies returned are also filtered based + on the access set in `Limited access` permission settings. + operationId: getPolicyByID + parameters: + - description: Automation policy ID + example: a14700b0-401b-47eb-a751-deda0035fde3 + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Policy for test + description: Policy for test + trigger: + type: customEvent + id: C3Ha8PffQHfJ0Hk6 + name: Test Event + typeConfigurations: + - name: manual + runnable: + type: action + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + runConfiguration: + actions: + - action: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + $ref: '#/components/schemas/Policy' + description: Automation policy filtered by the ID in request parameter. + '403': + description: Insufficient permissions. + '404': + description: Automation policy not found. + security: + - ApiKeyAuth: + - Default + summary: Get an automation policy by ID. + tags: + - Policies + x-ibm-ahub-byok: true + put: + description: Updates an automation policy by identifier. Policy updates requires + `Configuration of automation policies` permission. When using personal tokens + the automation policies updated are based on the access set in `Limited access` + permission settings. + operationId: updatePolicy + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: builtin-action-custom-event + trigger: + name: test event + type: customEvent + id: 2X5r-Un18MIE59rE + typeConfigurations: + - name: manual + runnable: + type: action + id: c5ba4453-0bc2-3c3e-bdbe-b3ce68239145 + runConfiguration: + actions: + - action: + id: c5ba4453-0bc2-3c3e-bdbe-b3ce68239145 + schema: + $ref: '#/components/schemas/Policy' + required: true + responses: + '200': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Policy for test + description: Policy for test + trigger: + type: customEvent + id: C3Ha8PffQHfJ0Hk6 + name: Test Event + typeConfigurations: + - name: manual + runnable: + type: action + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + runConfiguration: + actions: + - action: + id: d473c1b0-0740-4d08-95fe-31e5d0a9faff + name: Hello World + description: Simple script action for testing + type: SCRIPT + fields: + - name: subtype + description: script subtype + encoding: base64 + value: YmFzaA== + secured: false + - name: script_ssh + description: script content + encoding: base64 + value: ZWNobyBoZWxsbyB3b3JsZA== + secured: false + - name: timeout + description: timeout of the action execution in seconds + encoding: ascii + value: '' + secured: false + inputParameters: [ + ] + tags: + - Test + createdAt: 1.694442511129923E9 + modifiedAt: 1.703191040321448E9 + schema: + $ref: '#/components/schemas/Policy' + description: Automation policy successfully updated. + '403': + description: Insufficient permissions. + '412': + description: Invalid input value. + '500': + description: Server Error. + security: + - ApiKeyAuth: + - canConfigureAutomationPolicies + summary: Updates an automation policy by identifier. + tags: + - Policies + x-ibm-ahub-byok: true + /api/business-monitoring/activities: + post: + operationId: getActivities + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetActivities' + x-payload: getActivities + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CursorPaginatedBusinessActivityItem' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get Business Activities + tags: + - Business Monitoring + x-ibm-ahub-byok: true + /api/business-monitoring/activities/csv: + post: + operationId: getActivitiesCsv + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetActivities' + x-payload: getActivitiesCsv + responses: + '200': + content: + text/csv: + schema: + $ref: '#/components/schemas/BusinessActivity' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Download Business Activities + tags: + - Business Monitoring + x-ibm-ahub-byok: true + /api/business-monitoring/business-perspectives: + get: + operationId: getBusinessPerspectives + responses: + '200': + content: + application/json: + example: + - id: gBwNFIbjS6Ozwt0a12regg + label: biz-perspective + name: biz-perspective + description: This is an example business perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/BusinessPerspectiveConfig' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get all business perspectives + tags: + - Business Monitoring + x-ibm-ahub-byok: true + post: + operationId: createBusinessPerspective + requestBody: + content: + application/json: + example: + label: biz-perspective + name: biz-perspective + description: This is an example business perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/NewBusinessPerspectiveConfig' + required: true + x-payload: createBusinessPerspective + responses: + '200': + content: + application/json: + example: + id: gBwNFIbjS6Ozwt0a12regg + label: biz-perspective + name: biz-perspective + description: This is an example business perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/BusinessPerspectiveConfig' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Create business perspective + tags: + - Business Monitoring + x-description: createBusinessPerspective + x-ibm-ahub-byok: true + /api/business-monitoring/business-perspectives/{id}: + delete: + operationId: deleteBusinessPerspective + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - Default + summary: Delete business perspective + tags: + - Business Monitoring + x-ibm-ahub-byok: true + get: + operationId: getBusinessPerspective + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: gBwNFIbjS6Ozwt0a12regg + label: biz-perspective + name: biz-perspective + description: This is an example business perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/BusinessPerspectiveConfig' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get business perspective + tags: + - Business Monitoring + x-ibm-ahub-byok: true + put: + operationId: updateBusinessPerspective + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + label: biz-perspective + name: biz-perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/UpdatedBusinessPerspectiveConfig' + required: true + x-payload: updateBusinessPerspective + responses: + '200': + content: + application/json: + example: + id: gBwNFIbjS6Ozwt0a12regg + label: biz-perspective + name: biz-perspective + description: This is an example business perspective + rbacTags: + - id: 0xHKaxfaS161Al6Qc23g4w + displayName: team 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: AND + elements: + - type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: service.id + stringValue: my-service-1 + numberValue: null + booleanValue: null + key: null + value: my-service-1 + operator: EQUALS + entity: DESTINATION + - type: TAG_FILTER + name: service.id + stringValue: my-service-2 + numberValue: null + booleanValue: null + key: null + value: my-service-2 + operator: EQUALS + entity: DESTINATION + schema: + $ref: '#/components/schemas/BusinessPerspectiveConfig' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Update business perspective + tags: + - Business Monitoring + x-description: updateBusinessPerspective + x-ibm-ahub-byok: true + /api/business-monitoring/catalog: + get: + operationId: getBusinessTagCatalog + parameters: + - in: query + name: from + schema: + type: integer + format: int64 + - in: query + name: useCase + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Region or Environment + description: null + icon: null + children: + - label: Zone + description: null + icon: null + children: + - label: Agent Zone + tagName: agent.zone + type: TAG + - label: Ec2 Zone + tagName: aws.ec2.zone + type: TAG + - label: Azure Zone + tagName: azure.zone + type: TAG + type: LEVEL + queryable: false + - label: Cloud + description: null + icon: null + children: + - label: Aws Arn + tagName: aws.arn + type: TAG + - label: Ec2 Ipv4 + tagName: aws.ec2.ipv4 + type: TAG + - label: Ec2 PublicName + tagName: aws.ec2.publicName + type: TAG + - label: Ec2 Tag + tagName: aws.ec2.tag + type: TAG + - label: Ec2 Zone + tagName: aws.ec2.zone + type: TAG + - label: Ecs Cluster Name + tagName: aws.ecs.cluster.name + type: TAG + - label: Azure Zone + tagName: azure.zone + type: TAG + - label: Gce Tag + tagName: gce.tag + type: TAG + - label: Gce Zone + tagName: gce.zone + type: TAG + - label: Cloud Provider + tagName: cloud.provider + type: TAG + type: LEVEL + queryable: false + - label: Host + description: null + icon: null + children: + - label: Http Host + tagName: call.http.host + type: TAG + - label: Host Fqdn + tagName: host.fqdn + type: TAG + - label: Host Ip + tagName: host.ip + type: TAG + - label: Host Name + tagName: host.name + type: TAG + - label: Host Zone + tagName: host.zone + type: TAG + - label: Jboss Node Name + tagName: jboss.node.name + type: TAG + - label: Kubernetes Cluster Name + tagName: kubernetes.cluster.name + type: TAG + - label: Kubernetes Node Name + tagName: kubernetes.node.name + type: TAG + type: LEVEL + queryable: false + type: LEVEL + queryable: false + - label: custom + description: null + icon: null + children: + - label: HTTP + description: null + icon: null + children: + - label: Http Header + tagName: call.http.header + type: TAG + - label: Http Params + tagName: call.http.params + type: TAG + - label: Http PathTemplate + tagName: call.http.pathTemplate + type: TAG + type: LEVEL + queryable: false + - label: Miscellaneous + description: null + icon: null + children: + - label: Agent Tag + tagName: agent.tag + type: TAG + - label: Ec2 Tag + tagName: aws.ec2.tag + type: TAG + - label: Call Tag + tagName: call.tag + type: TAG + type: LEVEL + queryable: false + - label: Platform + description: null + icon: null + children: + - label: Docker Label + tagName: docker.label + type: TAG + - label: Kubernetes Label + tagName: kubernetes.label + type: TAG + - label: Kubernetes Deployment Label + tagName: kubernetes.deployment.label + type: TAG + - label: Kubernetes Pod Label + tagName: kubernetes.pod.label + type: TAG + - label: Openshift Deploymentconfig Label + tagName: openshift.deploymentconfig.label + type: TAG + type: LEVEL + queryable: false + type: LEVEL + queryable: false + tags: [ + ] + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get business tag catalog + tags: + - Business Monitoring + x-description: getBusinessTagCatalog + x-ibm-ahub-byok: true + /api/custom-dashboard: + get: + description: |- + Get all accessible custom dashboards details. + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: getCustomDashboards + parameters: + - description: query + example: BeeInstana + in: query + name: query + schema: + type: string + - description: pageSize + example: 2 + in: query + name: pageSize + schema: + type: integer + format: int32 + - description: page + example: 1 + in: query + name: page + schema: + type: integer + format: int32 + - description: withTotalHits + example: false + in: query + name: withTotalHits + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + - id: gBtvG96xRpScauwsclG-KA + title: BeeInstana - aggregator + annotations: + - SHARED + - id: UtaUyPjGSTOAmPFICSbwqw + title: BeeInstana - alerting + annotations: + - SHARED + schema: + type: array + items: + $ref: '#/components/schemas/CustomDashboardPreview' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get accessible custom dashboards + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + post: + description: |2- + + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: addCustomDashboard + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDashboard' + x-payload: customDashboard + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDashboard' + description: OK + '403': + description: When attempting to share dashboards without the canCreatePublicCustomDashboards + permission. + '422': + description: When the custom dashboard payload is invalid. + security: + - ApiKeyAuth: + - Default + summary: Add custom dashboard + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + /api/custom-dashboard/shareable-api-tokens: + get: + description: |- + Get all API tokens that have access to shareable custom dashboards. + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: getShareableApiTokens + responses: + '200': + content: + application/json: + example: + - id: foJfJVpyS5eAQAhfxSRctw + name: New API Token + - id: O_OKWG48S2WemaL_e3j_vQ + name: New API Token + - id: ATBzggrzTE-aRpUMBLmG9g + name: New API Token + schema: + type: array + items: + $ref: '#/components/schemas/DashboardApiToken' + description: OK + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - CreatePublicCustomDashboards + summary: Get all API tokens. + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + /api/custom-dashboard/shareable-users: + get: + description: |- + Get all users (without invitations) that have access to shareable custom dashboards. + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: getShareableUsers + responses: + '200': + content: + application/json: + example: + - id: 63721be55108940001ead6fa + email: JohnMcClane@instana.com + fullName: John McClane + - id: 6360a5ad034a430001c500d0 + email: HansGruber@instana.com + fullName: Hans Gruber + schema: + type: array + items: + $ref: '#/components/schemas/UserBasicResult' + description: OK + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - CreatePublicCustomDashboards + summary: Get all users (without invitations). + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + /api/custom-dashboard/{customDashboardId}: + delete: + description: |2- + + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: deleteCustomDashboard + parameters: + - in: path + name: customDashboardId + required: true + schema: + type: string + responses: + '204': + description: Custom dashboard successfully removed + security: + - ApiKeyAuth: + - Default + summary: Remove custom dashboard + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + get: + description: |- + Get all Custom Dashboard Info for specified customDashboardId. + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: getCustomDashboard + parameters: + - description: customDashboardId + example: alHaYV5aSkKku_wcg53teQ + in: path + name: customDashboardId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: | + { + "id": "alHaYV5aSkKku_wcg53teQ", + "title": "{string}", + "accessRules": [ + { + "accessType": "READ_WRITE", + "relationType": "USER", + "relatedId": "5ee8a3e8cd70020001ecb007" + }, + { + "accessType": "READ", + "relationType": "GLOBAL", + "relatedId": null + } + ], + "widgets": [ + { + "id": "dIxxq0LCdqZomve2", + "title": "SUM of bytes received for a particular container", + "width": 2, + "height": 4, + "x": 0, + "y": 0, + "type": "bigNumber", + "config": { + "formatter": "bytes.detailed", + "comparisonDecreaseColor": "greenish", + "metricConfiguration": { + "metric": "network.rx.bytes", + "timeShift": 0, + "tagFilterExpression": { + "name": "docker.containerId", + "type": "TAG_FILTER", + "value": "faaa7f1732d16faa7fc27a0cb49fdf5c07716f3d3be1315e20f24d099657bbe0", + "entity": "NOT_APPLICABLE", + "operator": "EQUALS" + }, + "aggregation": "SUM", + "source": "INFRASTRUCTURE_METRICS", + "crossSeriesAggregation": "SUM", + "type": "docker" + }, + "comparisonIncreaseColor": "redish" + } + } + ], + "writable": true, + "ownerId": {string} + } + schema: + $ref: '#/components/schemas/CustomDashboardWithUserSpecificInformation' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get custom dashboard + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + put: + description: |2- + + For more information on custom dashboards please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#custom-dashboards. + operationId: updateCustomDashboard + parameters: + - in: path + name: customDashboardId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDashboard' + x-payload: customDashboard + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDashboard' + description: OK + '403': + description: When attempting to share dashboards without the canCreatePublicCustomDashboards + permission. + '422': + description: When the custom dashboard payload is invalid. + security: + - ApiKeyAuth: + - Default + summary: Update custom dashboard + tags: + - Custom Dashboards + x-ibm-ahub-byok: true + /api/custom-entitytypes: + get: + description: This end point lists custom Entity Type Definition + operationId: listCustomEntities + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + summary: List custom Entity Type Definition + tags: + - Custom Entities + x-ibm-ahub-byok: true + post: + description: This end point creates a custom entity type + operationId: createCustomEntities + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityModel' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureCustomEntities + summary: Create a Custom Entity type + tags: + - Custom Entities + x-ibm-ahub-byok: true + /api/custom-entitytypes/{id}: + delete: + description: This end point deletes a custom Entity type definition + operationId: deleteCustomEntity + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityModel' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityWithMetadata' + description: Entity Deleted + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureCustomEntities + summary: Delete a Custom Entity Type + tags: + - Custom Entities + x-ibm-ahub-byok: true + get: + description: This endpoint gets custom Entity Type by ID + operationId: getCustomEntity + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get custom Entity Types + tags: + - Custom Entities + x-ibm-ahub-byok: true + put: + description: This end points updates the definition of a custom entity type + operationId: updateCustomEntity + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityModel' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEntityWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureCustomEntities + summary: Update a Custom Entity Type + tags: + - Custom Entities + x-ibm-ahub-byok: true + /api/eum/impact/report/{eventId}: + get: + description: Gets a report of users impacted by an event which was created from + a smart alert violation + operationId: getImpactedUsersReport + parameters: + - in: path + name: eventId + required: true + schema: + type: string + responses: + '200': + content: + text/csv: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get impacted users report + tags: + - End User Monitoring + x-ibm-ahub-byok: true + /api/events: + get: + description: 'Get all Events within a timeframe. The timeframe is defined as + `[from, to]` or `[to - windowSize, to]`. ' + operationId: getEvents + parameters: + - description: A Unix timestamp representing the end of the requested timeframe. + Defaults to the current system time + example: 1704096000000 + in: query + name: to + schema: + type: integer + format: int64 + - description: The size of the requested timeframe, in milliseconds, relative + to the 'to' parameter. Defaults to 10 minutes (600000 milliseconds) if neither + 'windowSize' nor 'from' are provided. Resulting timeframe range = [to - + windowSize, to] + example: 600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: A Unix timestamp representing the start of the requested timeframe. + Can be used as an alternative to 'windowSize' to define the timeframe. If + both 'from' and 'windowSize' are provided, 'from' takes precedence. Resulting + timeframe range = [from, to] + example: 1672560000000 + in: query + name: from + schema: + type: integer + format: int64 + - description: Flag to filter the results to only show events with state changes + within the timeframe. + example: true + in: query + name: filterEventUpdates + schema: + type: boolean + - description: Flag to filter the results to exclude events that have been triggered + before the timeframe. This also filters out events with state changes within + the timeframe if the events' start times begin before the timeframe. + example: true + in: query + name: excludeTriggeredBefore + schema: + type: boolean + - deprecated: true + description: Flag to filter the results to include Agent Monitoring Issues. + example: true + in: query + name: includeAgentMonitoringIssues + schema: + type: boolean + - deprecated: true + description: Flag to filter the results to include Kubernetes Info Events. + example: true + in: query + name: includeKubernetesInfoEvents + schema: + type: boolean + - description: A string representing an event type - an INCIDENT, ISSUE, or + CHANGE. This query can be repeated to use multiple filters. + example: INCIDENT + in: query + name: eventTypeFilters + schema: + type: array + items: + type: string + enum: + - INCIDENT + - ISSUE + - CHANGE + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - eventId: gM73SycATrOFMcL5qspByQ + start: 1706774419000 + end: 1706783931000 + type: incident + state: open + problem: New Event-test-01 + detail: test + severity: 5 + entityName: .NET App + entityLabel: powershell.exe + metrics: + - metricName: threads.lck_crs + snapshotId: zqEuPom1v7YK61jRU8cEpRhCI1w + entityId: + steadyId: '55428' + pluginId: com.instana.forge.infrastructure.runtime.clr.ClrRuntimePlatform + host: 00:15:5d:ff:fe:98:d1:f6 + entityType: INFRASTRUCTURE + fixSuggestion: test + snapshotId: zqEuPom1v7YK61jRU8cEpRhCI1w + recentEvents: + - eventId: ZzaptuusSOutGLGmqD-wzA + - eventId: oeqTbltKQw6pp1OJi_QH_Q + - eventId: Cnv-8y96SOW2CzZbn7SK7Q + - eventId: vidr6ZX9QmqhtdvBrYFR3Q + - eventId: NWfYJEUjSLSPJbxfCEW6kA + - eventId: iJ2Bm8Y5Qq-Fh-IAwAnRqQ + - eventId: kHiCKKByTdW0sMhhjxvgQg + - eventId: w-hl_-8NQXKEIemcNR5ouw + - eventId: Vn0weJOGROaFKwRtqNDaeg + - eventId: Z9yz38EOR3aR0rYlBN3oRQ + - eventId: h7-N1PT9Sim4dCbyM-sf3g + - eventId: nnWCZ2L2STi8lXFbPNUgUg + - eventId: j1NlsfUYTz69t3dqSMekPQ + probableCause: [ + ] + probableCauseMetadata: { + } + schema: + type: array + items: + $ref: '#/components/schemas/EventResult' + description: OK + '400': + description: Bad request. + security: + - ApiKeyAuth: + - Default + summary: Get all Events + tags: + - Events + x-ibm-ahub-byok: true + post: + description: 'Gets a set of events by their IDs. ' + operationId: getEventsByIds + requestBody: + content: + application/json: + example: + - VOMNl0OgRv2HXlsR0iUYGg + - h66yezD9Sfi5YNh_cmeG7Q + schema: + type: array + items: + type: string + required: true + responses: + '200': + content: + application/json: + example: + - eventId: VOMNl0OgRv2HXlsR0iUYGg + start: 1722027687446 + end: 1722028317446 + type: issue + state: open + problem: Calls are slower than usual + detail: Calls are slower or equal to 50 ms based on latency (90th). + severity: 5 + entityName: Endpoint + entityLabel: POST /integration/slack/event + metrics: + - metricAggregation: P90 + metricName: latency + entityType: ENDPOINT + fixSuggestion: Calls are slower or equal to 50 ms based on latency + (90th). + snapshotId: A-fDmFeA5Mzl3yIs8hXs5Megwz8 + endpointId: A-fDmFeA5Mzl3yIs8hXs5Megwz8 + endpointServiceId: fc3b86a089d24ed3b7d50ac3a7639c682101d6b9 + applicationId: qOlcrsSlS_eWLGnBjooqWA + - eventId: h66yezD9Sfi5YNh_cmeG7Q + start: 1721764921276 + end: 1722028014839 + type: issue + state: open + problem: _RP Static camunda Archive Invoice for k8s-demo + detail: Calls are slower or equal to the expectation based on latency + (90th). + severity: 5 + entityName: Endpoint + entityLabel: Archive Invoice + metrics: + - metricAggregation: P90 + metricName: latency + entityType: ENDPOINT + fixSuggestion: Calls are slower or equal to the expectation based + on latency (90th). + snapshotId: MN1thidNpDc15zM-NP4ilfJs87k + endpointId: MN1thidNpDc15zM-NP4ilfJs87k + endpointServiceId: 1f0ee2b46a33c2dbfedfec9c45ad81ff1c8e7e37 + applicationId: acfRC1IqTVi41OMLAJU4Cw + schema: + type: array + items: + $ref: '#/components/schemas/EventResult' + description: OK + '206': + description: Some of the requested events do not exist. + '422': + description: Unprocessable entity. + security: + - ApiKeyAuth: + - Default + summary: Get Events by IDs + tags: + - Events + x-ibm-ahub-byok: true + /api/events/agent-monitoring-events: + get: + description: 'Gets all Agent Monitoring Events within a timeframe. The timeframe + is defined as `[from, to]` or `[to - windowSize, to]`. ' + operationId: agentMonitoringEvents + parameters: + - description: A Unix timestamp representing the end of the requested timeframe. + Defaults to the current system time + example: 1704096000000 + in: query + name: to + schema: + type: integer + format: int64 + - description: The size of the requested timeframe, in milliseconds, relative + to the 'to' parameter. Defaults to 10 minutes (600000 milliseconds) if neither + 'windowSize' nor 'from' are provided. Resulting timeframe range = [to - + windowSize, to] + example: 600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: A Unix timestamp representing the start of the requested timeframe. + Can be used as an alternative to 'windowSize' to define the timeframe. If + both 'from' and 'windowSize' are provided, 'from' takes precedence. Resulting + timeframe range = [from, to] + example: 1672560000000 + in: query + name: from + schema: + type: integer + format: int64 + - description: Flag to filter the results to only show events with state changes + within the timeframe. + example: true + in: query + name: filterEventUpdates + schema: + type: boolean + - description: Flag to filter the results to exclude events that have been triggered + before the timeframe. This also filters out events with state changes within + the timeframe if the events' start times begin before the timeframe. + example: true + in: query + name: excludeTriggeredBefore + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + - eventId: n8DamRZKSs6Z2f0wiZ9tVQ + start: 1707472014671 + end: 1707472674671 + type: agent_monitoring_issue + state: open + problem: 'Monitoring issue: jvm_attach_generic' + detail: 'Our Agent observed a problem with monitoring the linked process. + To resolve this issue, please check our docs (https://www.instana.com/docs/) + for error code: jvm_attach_generic' + severity: 5 + entityName: Process + entityLabel: java + entityType: INFRASTRUCTURE + fixSuggestion: 'Our Agent observed a problem with monitoring the linked + process. To resolve this issue, please check our docs (https://www.instana.com/docs/) + for error code: jvm_attach_generic' + snapshotId: 2fDFOytDpF4FYKrTdfwdlklDOPY + schema: + type: array + items: + $ref: '#/components/schemas/EventResult' + description: OK + '404': + description: The events do not exist in the timeframe. + security: + - ApiKeyAuth: + - Default + summary: Get Agent Monitoring Events + tags: + - Events + x-ibm-ahub-byok: true + /api/events/kubernetes-info-events: + get: + description: 'Gets all Kubernetes Info Events within a timeframe. The timeframe + is defined as `[from, to]` or `[to - windowSize, to]`. ' + operationId: kubernetesInfoEvents + parameters: + - description: A Unix timestamp representing the end of the requested timeframe. + Defaults to the current system time + example: 1704096000000 + in: query + name: to + schema: + type: integer + format: int64 + - description: The size of the requested timeframe, in milliseconds, relative + to the 'to' parameter. Defaults to 10 minutes (600000 milliseconds) if neither + 'windowSize' nor 'from' are provided. Resulting timeframe range = [to - + windowSize, to] + example: 600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: A Unix timestamp representing the start of the requested timeframe. + Can be used as an alternative to 'windowSize' to define the timeframe. If + both 'from' and 'windowSize' are provided, 'from' takes precedence. Resulting + timeframe range = [from, to] + example: 1672560000000 + in: query + name: from + schema: + type: integer + format: int64 + - description: Flag to filter the results to only show events with state changes + within the timeframe. + example: true + in: query + name: filterEventUpdates + schema: + type: boolean + - description: Flag to filter the results to exclude events that have been triggered + before the timeframe. This also filters out events with state changes within + the timeframe if the events' start times begin before the timeframe. + example: true + in: query + name: excludeTriggeredBefore + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + - eventId: nOYcBAncQIyZHdVNnBRmzQ + start: 1707472297000 + end: 1707472297000 + type: change + state: closed + problem: BackOff + detail: Back-off pulling image "gcr.io/kubernetes-helm/tiller:v2.14.1" + severity: -2 + entityName: Kubernetes Pod + entityLabel: kube-system/tiller-deploy-7bf78cdbf7-gnjg5 (pod) + entityType: INFRASTRUCTURE + fixSuggestion: Back-off pulling image "gcr.io/kubernetes-helm/tiller:v2.14.1" + snapshotId: wTRNW3DaFeQhk7G3Cx5bKC5Psgk + schema: + type: array + items: + $ref: '#/components/schemas/EventResult' + description: OK + '404': + description: The events do not exist in the timeframe. + security: + - ApiKeyAuth: + - Default + summary: Get Kubernetes Info Events + tags: + - Events + x-ibm-ahub-byok: true + /api/events/settings/alertingChannels: + get: + description: Gets all the alerting channels. Requires the permission called + CanConfigureIntegrations. + operationId: getAlertingChannels + parameters: + - description: List of IDs of alert channels defined in Instana. Can be left + empty. + example: '[YbcFlaG8k5oIkxD0, OYcbU9gdP6OTBThJ, qbhfsL9vTtlaBOAt]' + in: query + name: ids + schema: + type: array + items: + type: string + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - id: 18iiwkDxHD7_A4mIlouise + name: Email Alert Channel + customEmailSubjectPrefix: null + emails: + - youremail@email.com + kind: EMAIL + - id: 1pFirIMvrZk9NO2R + name: Stan Test Slack Channel + webhookUrl: https://hooks.slack.com/testwebhook + iconUrl: '' + channel: team-stan-test-channel + emojiRendering: false + kind: SLACK + schema: + type: array + items: + $ref: '#/components/schemas/AbstractIntegration' + description: OK + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Get all Alerting Channels + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: Creates an alerting channel. Requires the permission called CanConfigureIntegrations. + operationId: postAlertingChannel + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AbstractIntegration' + required: true + responses: + '200': + content: + application/json: + example: + id: 18iiwkDxHD7_A4mIlouise + name: Email Alert Channel + customEmailSubjectPrefix: null + emails: + - youremail@email.com + kind: EMAIL + schema: + $ref: '#/components/schemas/AbstractIntegration' + description: created the alert channel setting + '302': + description: 'Redirect to the integration service for continuing the configuration + with the 3rd party system ' + '400': + content: + application/json: + schema: + type: string + description: Failed creating the alert channel setting + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Create Alert Channel + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alertingChannels/infos: + get: + description: Gets the overview information of all alerting channels. Requires + the permission called CanConfigureIntegrations. + operationId: getAlertingChannelsOverview + parameters: + - description: List of IDs of alert channels defined in Instana. Can be left + empty. + example: '[YbcFlaG8k5oIkxD0, OYcbU9gdP6OTBThJ, qbhfsL9vTtlaBOAt]' + in: query + name: ids + schema: + type: array + items: + type: string + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - id: qbhfsL9vTtlaBOAt + kind: WEB_HOOK + name: alert-response-generic-webhook + properties: { + } + - id: V_gYaoRFPe6S-T-l + kind: OPS_GENIE + name: OpsGenie QA + properties: + Alias: '' + Tags: k8s-test + schema: + type: array + items: + $ref: '#/components/schemas/IntegrationOverview' + description: OK + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Get Overview of Alerting Channels + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alertingChannels/notify/{id}: + post: + description: Sends alert for a specific event to an alerting channel. Provided + the event Id, an alert could be sent to the alerting channel. This endpoint + requires `canInvokeAlertChannel` permission. + operationId: sendTestAlertingById + parameters: + - description: ID of the alerting channel to be notified on. + example: YbcFlaG8k5oIkxD0 + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ManualAlertingChannelConfiguration' + required: true + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Notify manually to Alerting Channel. Requires the permission called + CanConfigureIntegrations. + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alertingChannels/test: + put: + description: Sends a test alert to an alert channel. This is for testing if + an potential alert channel is able to receive alerts from Instana. Requires + the permission called CanConfigureIntegrations. + operationId: sendTestAlerting + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AbstractIntegration' + x-example: alertingChannelTestCall + required: true + responses: + '200': + content: + application/json: + examples: + Failure: + description: Failure + value: + status: failure + message: Alerting channel was unsuccessful. + Success: + description: Success + value: + status: success + message: Alerting Channel was successfully triggered, please check + the channel! + description: Test alerting channel response + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Test Alerting Channel + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alertingChannels/{id}: + delete: + description: Deletes an alert channel. Requires the permission called CanConfigureIntegrations. + operationId: deleteAlertingChannel + parameters: + - description: ID of the Alerting Channel to delete. + example: YbcFlaG8k5oIkxD0 + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Delete Alerting Channel + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + description: Gets an alerting channel. Requires the permission called CanConfigureIntegrations. + operationId: getAlertingChannel + parameters: + - description: ID of the Alerting Channel to get. + example: YbcFlaG8k5oIkxD0 + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: 18iiwkDxHD7_A4mIlouise + name: Email Alert Channel + customEmailSubjectPrefix: null + emails: + - youremail@email.com + kind: EMAIL + schema: + $ref: '#/components/schemas/AbstractIntegration' + description: OK + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Get Alerting Channel + tags: + - Event Settings + x-ibm-ahub-byok: true + put: + description: Updates an alerting channel. Requires the permission called CanConfigureIntegrations. + operationId: putAlertingChannel + parameters: + - description: ID of the Alerting Channel to update. + example: YbcFlaG8k5oIkxD0 + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AbstractIntegration' + required: true + responses: + '200': + content: + application/json: + example: + id: 18iiwkDxHD7_A4mIlouise + name: Email Alert Channel + customEmailSubjectPrefix: null + emails: + - youremail@email.com + kind: EMAIL + schema: + $ref: '#/components/schemas/AbstractIntegration' + description: Updated the alert channel setting + '302': + description: 'Redirect to the integration service for continuing the configuration + with the 3rd party system ' + '400': + content: + application/json: + schema: + type: string + description: Failed updating the alert channel setting + security: + - ApiKeyAuth: + - CanConfigureIntegrations + summary: Update Alert Channel + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alerts: + get: + description: Gets all Alert Configurations + operationId: getAlerts + responses: + '200': + content: + application/json: + example: + - id: 5GJXiK9aciVaBPnu + alertName: CMH Alert Test + muteUntil: 9007199254740991 + integrationIds: + - GcqLyri-worP8sXX + eventFilteringConfiguration: + query: entity.host.fqdn:robot-shop-pink1.fyre.ibm.com + ruleIds: + - roILHzyaMBRDZE3FxaeZ5T_wx4Q + eventTypes: [ + ] + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: + - type: staticString + key: cmhtest + value: cmhval + lastUpdated: 1702590551696 + invalid: false + alertChannelNames: + - CMH Email test + applicationNames: [ + ] + - id: E8Z88ThbA7RDPgbz + alertName: SQL Server Write txns Alert + muteUntil: 0 + integrationIds: + - Hrigl1epXxAc0Tym + eventFilteringConfiguration: + query: null + ruleIds: + - v1jc5yEjHRNbX8_i + eventTypes: [ + ] + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: [ + ] + lastUpdated: 1702590551748 + invalid: false + alertChannelNames: + - Servicenow Webhook Sunny + applicationNames: [ + ] + - id: Z9eXY8LOfTuAf43e + alertName: IBM i All Alerts + muteUntil: 0 + integrationIds: [ + ] + eventFilteringConfiguration: + query: entity.ibmi.os.hostname:ut31p37.rch.stglabs.ibm.com AND event.text:* + ruleIds: [ + ] + eventTypes: + - warning + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: [ + ] + lastUpdated: 1704894496752 + invalid: false + alertChannelNames: [ + ] + applicationNames: [ + ] + schema: + type: array + items: + $ref: '#/components/schemas/ValidatedAlertingConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Get all Alert Configurations + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alerts/infos: + get: + description: Gets all alert configurations that relate to the given alert channel. + operationId: getAlertingConfigurationInfos + parameters: + - description: ID of a specific alert channel configuration. + example: hu6ynJbwgB4X1rjk + in: query + name: integrationId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: Xt67tttZF4yzemPQ + label: Production Availability Alerts + query: entity.zone:prod + eventTypes: [ + ] + selectedEvents: 2 + enabled: true + type: Alert + entityId: null + invalid: false + - id: wNbFtdyvQgeA4k8JdBSsyA + label: Database Cluster Alerts + query: null + eventTypes: null + selectedEvents: null + enabled: false + type: ApplicationSmartAlert + entityId: mwVo3lG-TD-4ssDa3w0pGA + invalid: false + schema: + type: array + items: + $ref: '#/components/schemas/ValidatedAlertingChannelInputInfo' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: All alerting configuration info + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/alerts/{id}: + delete: + description: Delete a specific Alert Configuration by ID + operationId: deleteAlert + parameters: + - description: ID of a specific Alert Configuration to delete. + example: hu6ynJbwgB4X1rjkkw + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Delete Alert Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + description: Get a specific Alert Configuration by ID. + operationId: getAlert + parameters: + - description: ID of a specific Alert Configuration to retrieve. + example: iSjG7UWK3Dy6bDUc + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: iSjG7UWK3Dy6bDUc + alertName: test-email-alert + muteUntil: 0 + integrationIds: + - B1PdA6BUdA9JJRZG + eventFilteringConfiguration: + query: event.text:*BRUCE* + ruleIds: [ + ] + eventTypes: + - warning + - incident + - critical + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: [ + ] + lastUpdated: 1718828552918 + schema: + $ref: '#/components/schemas/AlertingConfigurationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Get Alert Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + put: + description: Create or update a specific Alert configuration by ID + operationId: putAlert + parameters: + - description: ID of a specific Alert Configuration to create or update. + example: hu6ynJbwgB4X1rjk + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + id: hu6ynJbwgB4X1rjk + alertName: Alerts Test + muteUntil: 9007199254740991 + integrationIds: + - ctCR9Q373YAY27H_ + - wyAPFbP_xZCeEUn6 + - M01h5MDfb7YVQPAz + - BH4nVcoPdSpJH_4U + - ldF14o6dCKmQFJxP + - IbQkmZ46_oUGV-L7 + - wpWi9SYL7cJOu_UZ + - ds1Lpvix2WVoWTKg + eventFilteringConfiguration: + query: null + ruleIds: [ + ] + eventTypes: + - incident + - critical + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: + - type: staticString + key: assignment_group + value: ITSM App-Dev + - type: staticString + key: category + value: Software + - type: staticString + key: change_test + value: test kevin + - type: staticString + key: assigned_to + value: Antony Alldis + schema: + $ref: '#/components/schemas/AlertingConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: hu6ynJbwgB4X1rjk + alertName: Alerts Test + muteUntil: 0 + integrationIds: + - ctCR9Q373YAY27H_ + - wyAPFbP_xZCeEUn6 + - M01h5MDfb7YVQPAz + - BH4nVcoPdSpJH_4U + - ldF14o6dCKmQFJxP + - IbQkmZ46_oUGV-L7 + - wpWi9SYL7cJOu_UZ + - ds1Lpvix2WVoWTKg + eventFilteringConfiguration: + query: null + ruleIds: [ + ] + eventTypes: + - incident + - critical + applicationAlertConfigIds: [ + ] + validVersion: 1 + customPayloadFields: + - type: staticString + key: assignment_group + value: ITSM App-Dev + - type: staticString + key: category + value: Software + - type: staticString + key: change_test + value: test kevin + - type: staticString + key: assigned_to + value: Antony Alldis + schema: + $ref: '#/components/schemas/AlertingConfigurationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable request - missing/invalid data. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Create or update Alert Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs: + get: + description: |- + Gets all the Smart Alert Configurations pertaining to a specific application. Configurations are sorted by creation date in descending order. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: findAllActiveApplicationAlertConfigs + parameters: + - description: The ID of a specific Application. + example: IYS1XOEcTNiT1eOD8pxgXg + in: query + name: applicationId + required: true + schema: + type: string + - description: A list of Smart Alert Configuration IDs. This allows fetching + of a specific set of Configurations. This query can be repeated to use multiple + IDs. + example: IYS1XOEcTNiT1eOD8pxgXg + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: Erroneous call rate is higher than normal + description: The erroneous call rate is higher or equal to 4%. + boundaryScope: ALL + applicationId: IYS1XOEcTNiT1eOD8pxgXg + applications: + IYS1XOEcTNiT1eOD8pxgXg: + applicationId: IYS1XOEcTNiT1eOD8pxgXg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: errors + metricName: errors + aggregation: MEAN + threshold: + type: staticThreshold + operator: '>=' + value: 0.04 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: A5VvSXR_SVG6z7YbnIHiHQ + created: 1707751873882 + initialCreated: 1707751873882 + readOnly: false + enabled: true + derivedFromGlobalAlert: false + schema: + type: array + items: + $ref: '#/components/schemas/ApplicationAlertConfigWithMetadata' + description: OK - Returns an empty list if no configurations match the criteria + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - Default + summary: Get all Smart Alert Configs + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Creates a new Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: createApplicationAlertConfig + requestBody: + content: + application/json: + example: + name: Calls are slower than usual + description: Calls are slower or equal to the expectation based on latency + (90th). + boundaryScope: INBOUND + applicationId: ZOi0te_ERE-mRm-9zsbwdg + applications: + ZOi0te_ERE-mRm-9zsbwdg: + applicationId: ZOi0te_ERE-mRm-9zsbwdg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: TAG_FILTER + name: endpoint.name + stringValue: null + numberValue: null + booleanValue: null + key: null + value: null + operator: NOT_EMPTY + entity: DESTINATION + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 1 + - 3 + - - 600000 + - 1 + - 3 + deviationFactor: 3 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/ApplicationAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: Calls are slower than usual + description: Calls are slower or equal to the expectation based on + latency (90th). + boundaryScope: INBOUND + applicationId: ZOi0te_ERE-mRm-9zsbwdg + applications: + ZOi0te_ERE-mRm-9zsbwdg: + applicationId: ZOi0te_ERE-mRm-9zsbwdg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: TAG_FILTER + name: endpoint.name + stringValue: null + numberValue: null + booleanValue: null + key: null + value: null + operator: NOT_EMPTY + entity: DESTINATION + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 1 + - 3 + - - 600000 + - 1 + - 3 + deviationFactor: 3 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: DKp0JArJRAiQIav9CoKSWQ + created: 1706617456952 + initialCreated: 1706617456952 + readOnly: false + enabled: true + derivedFromGlobalAlert: false + schema: + $ref: '#/components/schemas/ApplicationAlertConfigWithMetadata' + description: Smart Alert Configuration created. + '400': + description: Invalid Configuration. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '428': + description: Baseline calculation failed due to insufficient data. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Create Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}: + delete: + description: |- + Deletes an Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: deleteApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to delete. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Smart Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Delete Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + get: + description: |- + Gets a specific Smart Alert Configuration. This may return a deleted Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: findApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to retrieve. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the Configuration + was active. If no timestamp is provided, the latest active version will + be retrieved. ' + example: 1706617456952 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: Calls are slower than usual + description: Calls are slower or equal to the expectation based on + latency (90th). + boundaryScope: INBOUND + applicationId: ZOi0te_ERE-mRm-9zsbwdg + applications: + ZOi0te_ERE-mRm-9zsbwdg: + applicationId: ZOi0te_ERE-mRm-9zsbwdg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: TAG_FILTER + name: endpoint.name + stringValue: null + numberValue: null + booleanValue: null + key: null + value: null + operator: NOT_EMPTY + entity: DESTINATION + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 1 + - 3 + - - 600000 + - 1 + - 3 + deviationFactor: 3 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: DKp0JArJRAiQIav9CoKSWQ + created: 1706617456952 + initialCreated: 1706617456952 + readOnly: false + enabled: true + derivedFromGlobalAlert: false + schema: + $ref: '#/components/schemas/ApplicationAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Updates an existing Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: updateApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to update. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: Calls are slower than usual + description: Calls are slower or equal to the expectation based on latency + (90th). + boundaryScope: INBOUND + applicationId: ZOi0te_ERE-mRm-9zsbwdg + applications: + ZOi0te_ERE-mRm-9zsbwdg: + applicationId: ZOi0te_ERE-mRm-9zsbwdg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: TAG_FILTER + name: endpoint.name + stringValue: null + numberValue: null + booleanValue: null + key: null + value: null + operator: NOT_EMPTY + entity: DESTINATION + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 1 + - 3 + - - 600000 + - 1 + - 3 + deviationFactor: 3 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/ApplicationAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: Calls are slower than usual + description: Calls are slower or equal to the expectation based on + latency (90th). + boundaryScope: INBOUND + applicationId: ZOi0te_ERE-mRm-9zsbwdg + applications: + ZOi0te_ERE-mRm-9zsbwdg: + applicationId: ZOi0te_ERE-mRm-9zsbwdg + inclusive: true + services: { + } + severity: 5 + triggering: false + tagFilterExpression: + type: TAG_FILTER + name: endpoint.name + stringValue: null + numberValue: null + booleanValue: null + key: null + value: null + operator: NOT_EMPTY + entity: DESTINATION + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 1 + - 3 + - - 600000 + - 1 + - 3 + deviationFactor: 3 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: DKp0JArJRAiQIav9CoKSWQ + created: 1706617456952 + initialCreated: 1706617456952 + readOnly: false + enabled: true + derivedFromGlobalAlert: false + schema: + $ref: '#/components/schemas/ApplicationAlertConfigWithMetadata' + description: Smart Alert Configuration updated. + '204': + description: Smart Alert Configuration did not change. + '400': + description: Invalid Application ID provided. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '428': + description: Baseline calculation failed due to insufficient data. + '500': + description: Internal error. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Update Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}/disable: + put: + description: |- + Disables an Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: disableApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to disable. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Smart Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Disable Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}/enable: + put: + description: |- + Enables an Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: enableApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to enable. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Smart Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Enable Application Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}/restore/{created}: + put: + description: |- + Restores a deleted Smart Alert Configuration. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: restoreApplicationAlertConfig + parameters: + - description: ID of a specific Smart Alert Configuration to restore. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + - description: Unix timestamp representing the creation time of a specific Smart + Alert Configuration. + example: 1707726529124 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Smart Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Restore Smart Alert Config + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}/update-baseline: + post: + description: |- + Recalculates and updates the historic baseline (static seasonal threshold) of a Configuration. The `LastUpdated` field of the Configuration is changed to the current time. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: updateApplicationHistoricBaseline + parameters: + - description: ID of a specific Smart Alert Configuration to recalculate. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + responses: + '200': + description: Smart Alert Configuration baseline successfully recalculated + and updated. + '204': + description: Baseline recalculation completed with no changes needed. + '400': + description: Invalid configuration type or configuration is read-only. + '403': + description: Insufficient permissions to access this configuration. + '404': + description: Smart Alert Configuration not found. + '428': + description: Baseline calculation failed due to insufficient data. + security: + - ApiKeyAuth: + - CanConfigureApplicationSmartAlerts + summary: Recalculate Smart Alert Config Baseline + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/application-alert-configs/{id}/versions: + get: + description: |- + Gets all versions of an Smart Alert Configuration. This may return deleted Configurations. Configurations are sorted by creation date in descending order. + For more information on Application Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#application-alert-configuration. + operationId: findApplicationAlertConfigVersions + parameters: + - description: ID of a specific Smart Alert Configuration to retrieve. + example: DKp0JArJRAiQIav9CoKSWQ + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: DKp0JArJRAiQIav9CoKSWQ + created: 1706617456952 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: 5ee8a3e8cd70020001ecb007 + type: USER + fullName: Stan + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Smart Alert Config Versions + tags: + - Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/custom-payload-configurations: + delete: + description: Deletes a Global Custom Payload Configuration. + operationId: deleteCustomPayloadConfiguration + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalAlertPayload + summary: Delete Custom Payload Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + description: Gets All Global Custom Payload Configurations. + operationId: getCustomPayloadConfigurations + parameters: + - in: query + name: context + schema: + type: string + default: ALL + description: The type of Smart Alert that the custom payload is associated + with. + enum: + - ALL + - APPLICATION + - WEBSITE + - SYNTHETIC + - MOBILE_APP + - INFRA + - LOG + responses: + '200': + content: + application/json: + example: + - fields: + - type: dynamic + key: zone + value: + tagName: agent.zone + key: app + - type: staticString + key: global_custom_payload + value: 42+1 + lastUpdated: 1723212859513 + schema: + $ref: '#/components/schemas/CustomPayloadWithVersion' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalAlertPayload + summary: Get All Global Custom Payload Configurations + tags: + - Event Settings + x-ibm-ahub-byok: true + put: + description: Creates or Updates Global Custom Payload Configuration. + operationId: upsertCustomPayloadConfiguration + requestBody: + content: + application/json: + example: + fields: + - type: staticString + key: string + value: customValue + - type: dynamic + key: string + value: + tagName: agent.zone + key: string + schema: + $ref: '#/components/schemas/CustomPayloadConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + - fields: + - type: staticString + key: string + value: customValue + - type: dynamic + key: string + value: + tagName: agent.zone + key: string + lastUpdated: 1723212859513 + schema: + type: array + items: + $ref: '#/components/schemas/CustomPayloadWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '422': + description: Unable to process request, request data is invalid. + security: + - ApiKeyAuth: + - CanConfigureGlobalAlertPayload + summary: Create/Update Global Custom Payload Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/custom-payload-configurations/catalog: + get: + description: Custom payload tags used to filter, extract and aggregate specific + data like AP calls for alert notifications. The catalog defines available + tags like application.name and their types, and other attributes. + operationId: getCustomPayloadTagCatalog + responses: + '200': + content: + application/json: + example: + - tagTree: + - label: Agent + description: null + icon: null + children: + - label: Tag + icon: lib_views_tag + tagName: agent.tag + queryable: true + type: TAG + scoreBoost: null + type: LEVEL + queryable: false + tags: + - name: azure.appservice.name + label: App Service Name + type: STRING + description: null + canApplyToSource: true + canApplyToDestination: true + idTag: false + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalAlertPayload + summary: Get Tag Catalog for Custom Payload + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/custom-payload-configurations/v2: + put: + description: Creates or Updates Global Custom Payload Configuration. + operationId: upsertCustomPayloadConfigurationV2 + requestBody: + content: + application/json: + example: |2 + "fields": + [ + { + "type": "staticString", + "key": "string", + "value": "customValue" + }, + { + "type": "dynamic", + "key": "string", + "value": { + "tagName": "agent.zone", + "key": "string" + } + } + ], + "version": 1 + schema: + $ref: '#/components/schemas/CustomPayloadConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + - fields: + - type: staticString + key: string + value: customValue + - type: dynamic + key: string + value: + tagName: agent.zone + key: string + lastUpdated: 1723212859513 + version: 1 + schema: + type: array + items: + $ref: '#/components/schemas/CustomPayloadWithVersion' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '409': + description: Version conflict. + '422': + description: Unable to process request, request data is invalid. + security: + - ApiKeyAuth: + - CanConfigureGlobalAlertPayload + summary: Create/Update Global Custom Payload Configuration + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/built-in: + get: + description: Get all built-in event specifications + operationId: getBuiltInEventSpecifications + parameters: + - in: query + name: ids + schema: + type: array + items: + type: string + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - id: 5J-4V_gLWm-pofGW8BEoFU7C_6s + shortPluginId: otelHost + name: CPU spends significant time waiting for input/output + description: Assesses whether the system is spending a significant + amount of time waiting for input/output operations. + hyperParams: + - id: CsSGNuJ9MCsYvN5tXoWOPIWGiyM + name: Sliding Window + description: Sliding window + defaultValue: 60000 + minValue: 60000 + maxValue: 72000000 + valueFormat: MILLIS + - id: dfLU7K_vx1Qd8FrR4M1XAmiSM0w + name: Maximum wait percentage + description: Specifies the maximum allowable CPU wait percentage. + Metric values that exceed this threshold are deemed violations. + defaultValue: 0.25 + minValue: 0 + maxValue: 1 + valueFormat: PERCENTAGE + - id: eq_Y3yLA37aralhMCV1AYuEVVoA + name: Allowed CPU Wait violations + description: Specifies the number of permitted CPU Wait violations + within the given time window. + defaultValue: 9 + minValue: 0 + maxValue: 9223372036854776000 + valueFormat: NUMBER + ruleInputs: + - inputKind: METRIC + inputName: cpu.wait + severity: 5 + triggering: false + enabled: true + hidden: false + lastUpdated: 1729198411351 + - id: kLC5kTFUUM4HiMWEkqlggo6dF-s + shortPluginId: ibmCloudEventStream + name: Event Stream has more than the recommended number of connected + Kafka clients + description: Checks whether the number of connected Kafka clients + exceeds the recommended maximum + hyperParams: + - id: qkxsXUDoELI6cHEoWSXQ4FR8-8M + name: Kafka Max Connectd Clients Percent Severe + description: Kafka max connected clients percent critical threshold + defaultValue: 0.95 + minValue: 0 + maxValue: 1 + valueFormat: PERCENTAGE + - id: x00McJfR0Y2twIIE8Hf3oxoUEoE + name: Kafka Max Connectd Clients Percent Warning + description: Kafka max connected clients percent warning threshold + defaultValue: 0.9 + minValue: 0 + maxValue: 1 + valueFormat: PERCENTAGE + ruleInputs: + - inputKind: METRIC + inputName: kafka_recommended_max_connected_clients_percent + severity: 5 + triggering: false + enabled: true + hidden: false + lastUpdated: 1729198411681 + schema: + type: array + items: + $ref: '#/components/schemas/BuiltInEventSpecificationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: All built-in event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/built-in/{eventSpecificationId}: + delete: + operationId: deleteBuiltInEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Delete built-in event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + operationId: getBuiltInEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/BuiltInEventSpecification' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Built-in event specification not found + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Built-in event specifications + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/built-in/{eventSpecificationId}/disable: + post: + operationId: disableBuiltInEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/BuiltInEventSpecificationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Built-in event specification not found + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Disable built-in event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/built-in/{eventSpecificationId}/enable: + post: + operationId: enableBuiltInEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/BuiltInEventSpecificationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Built-in event specification not found + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Enable built-in event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/custom: + get: + description: ' This API helps in getting all the custom event specifications.' + operationId: getCustomEventSpecifications + responses: + '200': + content: + application/json: + example: + - id: Yojfl6Yn9SXaFhJG + name: DP_Domain_MemoryUsage + entityType: ibmDataPowerDomain + query: null + triggering: true + description: Average Memory Usage for the DP Domain >= 0% + expirationTime: 60000 + enabled: true + rules: + - ruleType: threshold + metricName: currentMemUsage + metricPattern: null + rollup: 0 + window: 600000 + aggregation: avg + conditionOperator: '>=' + conditionValue: 0.0 + severity: 5 + ruleLogicalOperator: AND + lastUpdated: 1670404707763 + validVersion: 1 + actions: null + migrated: false + applicationAlertConfigId: null + deleted: false + schema: + type: array + items: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: All custom event specifications + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + operationId: postCustomEventSpecification + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecification' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '400': + description: 'Invalid request: unsupported entity type or incorrect query.' + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Create new custom event specification + tags: + - Event Settings + x-description: postCustomEventSpecification + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/custom/systemRules: + get: + description: This API helps to get all the system rules for custom event specifications. + operationId: getSystemRules + responses: + '200': + content: + application/json: + example: + - id: entity.offline + name: Offline event detection (System Rule) + schema: + type: array + items: + $ref: '#/components/schemas/SystemRuleLabel' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: All system rules for custom event specifications + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/custom/{eventSpecificationId}: + delete: + operationId: deleteCustomEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Delete custom event specification + tags: + - Event Settings + x-description: deleteCustomEventSpecification + x-ibm-ahub-byok: true + get: + description: This API helps to get the Custom Event specification for the given + ID. + operationId: getCustomEventSpecification + parameters: + - description: eventSpecificationId + example: Yojfl6Yn9SXaFhJG + in: path + name: eventSpecificationId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: Yojfl6Yn9SXaFhJG + name: DP_Domain_MemoryUsage + entityType: ibmDataPowerDomain + query: null + triggering: true + description: Average Memory Usage for the DP Domain >= 0% + expirationTime: 60000 + enabled: true + rules: + - ruleType: threshold + severity: 5 + metricName: currentMemUsage + rollup: 0 + window: 600000 + metricPattern: null + aggregation: avg + conditionOperator: '>=' + conditionValue: 0.0 + metricLabel: Current Memory Usage + metricFormat: PERCENTAGE + ruleLogicalOperator: AND + lastUpdated: 1670404707763 + validVersion: 1 + actions: null + migrated: false + applicationAlertConfigId: null + deleted: false + schema: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Custom Event does not exist + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Custom event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + put: + operationId: putCustomEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + - in: query + name: allowRestore + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecification' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '400': + description: 'Invalid request: unsupported entity type, incorrect query, + or event is deleted or migrated.' + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Custom event cannot be updated. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Create or update custom event specification + tags: + - Event Settings + x-description: putCustomEventSpecification + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/custom/{eventSpecificationId}/disable: + post: + operationId: disableCustomEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '400': + description: The event configuration was already migrated + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Custom Event does not exist + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Disable custom event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/custom/{eventSpecificationId}/enable: + post: + operationId: enableCustomEventSpecification + parameters: + - in: path + name: eventSpecificationId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEventSpecificationWithLastUpdated' + description: OK + '400': + description: The event configuration was already migrated + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Custom Event does not exist + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Enable custom event specification + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/event-specifications/infos: + get: + description: This API helps to get the summary of all build-in and custom event + specifications + operationId: getEventSpecificationInfos + responses: + '200': + content: + application/json: + example: + - id: yBGNFSh-pcKzZVBFnxoBu_36Yw4 + name: Frequent TCP errors + description: Checks whether the host has an unusual high number of + TCP errors. + entityType: host + type: BUILT_IN + severity: 5 + triggering: false + invalid: false + enabled: true + migrated: false + schema: + type: array + items: + $ref: '#/components/schemas/EventSpecificationInfo' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: Summary of all built-in and custom event specifications + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: Summary of all built-in and custom event specifications by IDs + operationId: getEventSpecificationInfosByIds + requestBody: + content: + application/json: + schema: + type: array + items: + type: string + required: true + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/EventSpecificationInfo' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureCustomAlerts + summary: All built-in and custom event specifications + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications: + get: + description: |- + Gets all Global Smart Alert Configuration. Configurations are sorted by creation date in descending order. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: findActiveGlobalApplicationAlertConfigs + parameters: + - description: The ID of a specific global application. + example: j02SxMRTSf-NCBXf5IdsjQ + in: query + name: applicationId + required: true + schema: + type: string + - description: A list of Global Smart Alert Configuration IDs. This allows fetching + of a specific set of Configurations. This query can be repeated to use multiple + IDs. + example: IYS1XOEcTNiT1eOD8pxgXg + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: vlFnxhVTS3KVb-wsN26PeQ + created: 1707305626330 + initialCreated: 1707305626330 + readOnly: false + enabled: true + builtIn: false + schema: + type: array + items: + $ref: '#/components/schemas/GlobalApplicationAlertConfigWithMetadata' + description: OK - Returns an empty list if no configurations match the criteria + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - Default + summary: Get all Global Smart Alert Configs + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Creates a new Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: createGlobalApplicationAlertConfig + requestBody: + content: + application/json: + example: + name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/GlobalApplicationsAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: vlFnxhVTS3KVb-wsN26PeQ + created: 1707305626330 + initialCreated: 1707305626330 + readOnly: false + enabled: true + builtIn: false + schema: + $ref: '#/components/schemas/GlobalApplicationAlertConfigWithMetadata' + description: Global Smart Alert Configuration created. + '400': + description: Invalid Configuration. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Create Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications/{id}: + delete: + description: |- + Disables a Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: deleteGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to delete. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Global Smart Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Delete Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + get: + description: |- + Gets a specific Global Smart Alert Configuration. This may return a deleted Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: findGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to retrieve. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the Configuration + was active. If no timestamp is provided, the latest active version will + be retrieved. ' + example: 1707305626330 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: vlFnxhVTS3KVb-wsN26PeQ + created: 1707305626330 + initialCreated: 1707305626330 + readOnly: false + enabled: true + builtIn: false + schema: + $ref: '#/components/schemas/GlobalApplicationAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Updates an existing Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: updateGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to update. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/GlobalApplicationsAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: Slow calls than usual + description: Calls are slower or equal to 2 ms based on latency (90th). + boundaryScope: INBOUND + applications: + j02SxMRTSf-NCBXf5IdsjQ: + applicationId: j02SxMRTSf-NCBXf5IdsjQ + inclusive: true + services: { + } + applicationIds: + - j02SxMRTSf-NCBXf5IdsjQ + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + includeInternal: false + includeSynthetic: false + rule: + alertType: slowness + aggregation: P90 + metricName: latency + threshold: + type: staticThreshold + operator: '>=' + value: 2.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + evaluationType: PER_AP + customPayloadFields: [ + ] + id: vlFnxhVTS3KVb-wsN26PeQ + created: 1707305626330 + initialCreated: 1707305626330 + readOnly: false + enabled: true + builtIn: false + schema: + $ref: '#/components/schemas/GlobalApplicationAlertConfigWithMetadata' + description: Global Smart Alert Configuration updated. + '204': + description: Global Smart Alert Configuration did not change. + '400': + description: Invalid Application ID provided. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '500': + description: Internal error. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Update Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications/{id}/disable: + put: + description: |- + Disables a Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: disableGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to disable. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Global Smart Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Disable Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications/{id}/enable: + put: + description: |- + Enables a Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: enableGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to enable. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Global Smart Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Enable Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications/{id}/restore/{created}: + put: + description: |- + Restores a deleted Global Smart Alert Configuration. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: restoreGlobalApplicationAlertConfig + parameters: + - description: ID of a specific Global Smart Alert Configuration to restore. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + - description: Unix timestamp representing the creation time of a specific Global + Smart Alert Configuration. + example: 1707305626330 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Global Smart Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalApplicationSmartAlerts + summary: Restore Global Smart Alert Config + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/applications/{id}/versions: + get: + description: |- + Gets all versions of a Global Smart Alert Configuration. This may return deleted Configurations. Configurations are sorted by creation date in descending order. + For more information on Global Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Applications#global-application-alert-configuration. + operationId: findGlobalApplicationAlertConfigVersions + parameters: + - description: ID of a specific Global Smart Alert Configuration to retrieve. + example: vlFnxhVTS3KVb-wsN26PeQ + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: vlFnxhVTS3KVb-wsN26PeQ + created: 1707305626330 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: 5ee8a3e8cd70020001ecb007 + type: USER + fullName: Stan + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Global Smart Alert Config Versions + tags: + - Global Application Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs: + get: + description: Configs are sorted descending by their created date. + operationId: findActiveLogAlertConfigs + parameters: + - in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/LogAlertConfigWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + summary: All Log Alert Configs + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: createLogAlertConfig + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/LogAlertConfig' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/LogAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Create Log Alert Config + tags: + - Log Alert Configuration + x-description: createLogAlertConfig + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs/{id}: + delete: + operationId: deleteLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Log Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Delete Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + get: + description: Find a Log Alert Config by ID. This will deliver deleted configs + too. + operationId: findLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + - in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/LogAlertConfigWithMetadata' + description: OK + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - Default + summary: Get Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: updateLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/LogAlertConfig' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/LogAlertConfigWithMetadata' + description: Log Smart Alert successfully updated + '204': + description: Log Smart Alert did not change + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Update Log Alert Config + tags: + - Log Alert Configuration + x-description: updateLogAlertConfig + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs/{id}/disable: + put: + operationId: disableLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Log Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Disable Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs/{id}/enable: + put: + operationId: enableLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Log Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Enable Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs/{id}/restore/{created}: + put: + operationId: restoreLogAlertConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + - in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Log Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalLogSmartAlerts + summary: Restore Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/logs/{id}/versions: + get: + description: Find all versions of a Log Alert Config by ID. This will deliver + deleted configs too. Configs are sorted descending by their created date. + operationId: findLogAlertConfigVersions + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - Default + summary: Get versions of Log Alert Config + tags: + - Log Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels: + get: + description: Configs are sorted descending by their created date. + operationId: findActiveServiceLevelsAlertConfigs + parameters: + - description: Service Levels Objective(SLO) Configuration ID + example: SLOEANnWh9tQOa2h88kGxK6wQ + in: query + name: sloId + schema: + type: string + - description: List of Service Levels Alert Configuration IDs + example: ln3IGogYS-S7CPqcOQYTNA + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + name: Error Budget Remaining is low + description: Error Budget Remaining is less than or equal to 5%. + severity: 5 + triggering: true + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + threshold: + type: staticThreshold + operator: '>=' + value: 0.05 + lastUpdated: 1716454787342 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + alertChannelIds: [ + ] + timeThreshold: + expiry: null + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: foo + value: bar + id: ln3IGogYS-S7CPqcOQYTNA + created: 1717668384754 + initialCreated: 1717668384754 + readOnly: false + enabled: true + schema: + type: array + items: + $ref: '#/components/schemas/ServiceLevelseAlertConfigWithMetadata' + description: Fetched list of the Service Level Alert Configurations Successfully + security: + - ApiKeyAuth: + - Default + summary: All Service levels Alert Configs + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: createServiceLevelsAlertConfig + requestBody: + content: + application/json: + example: + alertChannelIds: [ + ] + customPayloadFields: + - key: foo + id: avvh9tbxpfRE65t + type: staticString + value: bar + description: Error Budget Remaining is less than or equal to 5%. + name: Error Budget Remaining is low + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + severity: 5 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + threshold: + type: staticThreshold + value: 0.05 + operator: '>=' + lastUpdated: 1716454787342 + timeThreshold: + timeWindow: 600000 + triggering: true + schema: + $ref: '#/components/schemas/ServiceLevelsAlertConfig' + description: Create Request Body + required: true + responses: + '200': + content: + application/json: + example: + name: Error Budget Remaining is low + description: Error Budget Remaining is less than or equal to 5%. + severity: 5 + triggering: true + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + threshold: + type: staticThreshold + operator: '>=' + value: 0.05 + lastUpdated: 1716454787342 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + alertChannelIds: [ + ] + timeThreshold: + expiry: null + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: foo + value: bar + id: ln3IGogYS-S7CPqcOQYTNA + created: 1717668384754 + initialCreated: 1717668384754 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/ServiceLevelseAlertConfigWithMetadata' + description: Created new Service Levels Alert Configuration Successfully + '400': + content: + application/json: + example: + errors: + - Website SLOs do not support triggering -> true + schema: + type: array + items: + type: string + description: Service levels Alert Config with Website SLOs do not support + triggering + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Create Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-description: createServiceLevelsAlertConfig + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels/{id}: + delete: + operationId: deleteServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Service Levels Alert Configuration Deleted Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Delete Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + get: + description: Find a Service levels Alert Config by ID. This will deliver deleted + configs too. + operationId: findServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + - description: Service Levels Alert Version Creation Date + example: 1706617456952 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: Error Budget Remaining is low + description: Error Budget Remaining is less than or equal to 5%. + severity: 5 + triggering: true + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + threshold: + type: staticThreshold + operator: '>=' + value: 0.05 + lastUpdated: 1716454787342 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + alertChannelIds: [ + ] + timeThreshold: + expiry: null + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: foo + value: bar + id: ln3IGogYS-S7CPqcOQYTNA + created: 1717668384754 + initialCreated: 1717668384754 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/ServiceLevelseAlertConfigWithMetadata' + description: Fetched Service Level Alert Configuration Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - Default + summary: Get Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: updateServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + alertChannelIds: [ + ] + customPayloadFields: + - key: foo + id: avvh9tbxpfRE65t + type: staticString + value: bar + description: Error Budget Remaining is less than or equal to 5%. + name: Error Budget Remaining is low + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + severity: 5 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + threshold: + type: staticThreshold + value: 0.05 + operator: '>=' + lastUpdated: 1716454787342 + timeThreshold: + timeWindow: 600000 + triggering: true + schema: + $ref: '#/components/schemas/ServiceLevelsAlertConfig' + description: Update Request Body + required: true + responses: + '200': + content: + application/json: + example: + name: Error Budget Remaining is low + description: Error Budget Remaining is less than or equal to 5%. + severity: 5 + triggering: true + rule: + alertType: ERROR_BUDGET + metric: BURNED_PERCENTAGE + threshold: + type: staticThreshold + operator: '>=' + value: 0.05 + lastUpdated: 1716454787342 + sloIds: + - SLOEANnWh9tQOa2h88kGxK6wQ + alertChannelIds: [ + ] + timeThreshold: + expiry: null + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: foo + value: bar + id: ln3IGogYS-S7CPqcOQYTNA + created: 1717668384754 + initialCreated: 1717668384754 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/ServiceLevelseAlertConfigWithMetadata' + description: Updated Service Levels Alert Configuration Successfully + '204': + description: Service Levels Smart Alert Configuration did not change + '400': + content: + application/json: + example: + errors: + - Website SLOs do not support triggering -> true + schema: + type: array + items: + type: string + description: Service levels Alert Config with Website SLOs do not support + triggering + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Update Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-description: updateServiceLevelsAlertConfig + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels/{id}/disable: + put: + operationId: disableServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Service Levels Alert Configuration Disabled Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Disable Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels/{id}/enable: + put: + operationId: enableServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Service Levels Alert Configuration Enabled Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Enable Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels/{id}/restore/{created}: + put: + operationId: restoreServiceLevelsAlertConfig + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + - description: Service Levels Alert Version Creation Date + example: 1706617456952 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Service Levels Alert Configuration Restored Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - canConfigureServiceLevelSmartAlerts + summary: Restore Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/service-levels/{id}/versions: + get: + description: Find all versions of a Service levels Alert Config by ID. This + will deliver deleted configs too. Configs are sorted descending by their created + date. + operationId: findServiceLevelsAlertConfigVersions + parameters: + - description: Service Levels Alert Configuration ID + example: ln3IGogYS-S7CPqcOQYTNA + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: ln3IGogYS-S7CPqcOQYTNA + created: 1717507017767 + enabled: false + deleted: false + changeSummary: + changeType: DISABLE + author: + id: SCzqyU_LTtmO9CCnvvVOAg + type: API + fullName: userToken + - id: ln3IGogYS-S7CPqcOQYTNA + created: 1717506979607 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: SCzqyU_LTtmO9CCnvvVOAg + type: API + fullName: userToken + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: Fetched list of Service Level Alert Configuration Versions + Successfully + '404': + content: + application/json: + example: '{"errors":["Config with id: -DZZjflTQTmZ7yGvBilPlQ is not + found"]}' + schema: + type: string + description: Service levels Alert Config with given ID not found + security: + - ApiKeyAuth: + - Default + summary: Get versions of Service levels Alert Config + tags: + - Service Levels Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics: + get: + description: |- + Gets all the Synthetic Smart Alert Configuration pertaining to a specific synthetic test. Configurations are sorted by creation date in descending order. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: findActiveSyntheticAlertConfigs + parameters: + - description: 'The ID of a specific Synthetic Test. ' + example: ic25Vt1T5dgKzi0K7812 + in: query + name: syntheticTestId + schema: + type: string + - description: A list of Smart Alert Configuration IDs. This allows fetching + of a specific set of Configurations. This query can be repeated to use multiple + IDs. + example: smRTFp08juKWtn8I + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: Tests in EU are failing + description: Tests in EU failed for 1 consecutive time + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: synthetic.serviceId + stringValue: '12' + numberValue: null + booleanValue: null + key: null + value: '12' + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: synthetic.locationLabel + stringValue: US-west1 + numberValue: null + booleanValue: null + key: null + value: '123' + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: [ + ] + timeThreshold: + type: violationsInSequence + violationsCount: 1 + customPayloadFields: [ + ] + id: 2K1YQIeaSQKIcIkHPH7D3g + created: 1707486254161 + initialCreated: 1706531043586 + readOnly: false + enabled: true + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticAlertConfigWithMetadata' + description: Success. Returns empty result if syntheticTestId is invalid. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - Default + summary: Get all Synthetic Smart Alert Configs + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Creates a new Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: createSyntheticAlertConfig + requestBody: + content: + application/json: + example: + name: 2 consecutive failures of ${synthetic.testName} at locations${synthetic.locationLabel} + description: Alert created without test but with AppId - Synthetic test + failed for 2 consecutive times + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: TAG_FILTER + name: synthetic.applicationId + stringValue: 2BPCBLz_RBG8J6mjyuxm6w + numberValue: null + booleanValue: null + key: null + value: 2BPCBLz_RBG8J6mjyuxm6w + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: + - 0o1ISHPfR8-N4iUK + timeThreshold: + type: violationsInSequence + violationsCount: 2 + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/SyntheticAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: 2 consecutive failures of ${synthetic.testName} at locations${synthetic.locationLabel} + description: Alert created without test but with AppId - Synthetic + test failed for 2 consecutive times + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: TAG_FILTER + name: synthetic.applicationId + stringValue: 2BPCBLz_RBG8J6mjyuxm6w + numberValue: null + booleanValue: null + key: null + value: 2BPCBLz_RBG8J6mjyuxm6w + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: + - 0o1ISHPfR8-N4iUK + timeThreshold: + type: violationsInSequence + violationsCount: 2 + customPayloadFields: [ + ] + id: qgEwvI0vRfe3Al_D7T7LSA + created: 1707149760053 + initialCreated: 1707145201046 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/SyntheticAlertConfigWithMetadata' + description: Synthetic Smart Alert Configuration created. + '400': + description: Invalid configuration. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Create Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics/{id}: + delete: + description: |- + Deletes a Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: deleteSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to delete. + example: 2K1YQIeaSQKIcIkHPH7D3g + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Synthetic Smart Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Delete Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + get: + description: |- + Gets a specific Synthetic Smart Alert Configuration. This may return a deleted Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: findSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to retrieve. + example: qgEwvI0vRfe3Al_D7T7LSA + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the Configuration + was active. If no timestamp is provided, the latest active version will + be retrieved. ' + example: 1707149760053 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: 2 consecutive failures of ${synthetic.testName} at locations${synthetic.locationLabel} + description: Alert created without test but with AppId - Synthetic + test failed for 2 consecutive times + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: TAG_FILTER + name: synthetic.applicationId + stringValue: 2BPCBLz_RBG8J6mjyuxm6w + numberValue: null + booleanValue: null + key: null + value: 2BPCBLz_RBG8J6mjyuxm6w + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: + - 0o1ISHPfR8-N4iUK + timeThreshold: + type: violationsInSequence + violationsCount: 2 + customPayloadFields: [ + ] + id: qgEwvI0vRfe3Al_D7T7LSA + created: 1707149760053 + initialCreated: 1707145201046 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/SyntheticAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + post: + description: |- + Updates an existing Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: updateSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to update. + example: qgEwvI0vRfe3Al_D7T7LSA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: 2 consecutive failures of ${synthetic.testName} at locations${synthetic.locationLabel} + description: Alert created without test but with AppId - Synthetic test + failed for 2 consecutive times + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: TAG_FILTER + name: synthetic.applicationId + stringValue: 2BPCBLz_RBG8J6mjyuxm6w + numberValue: null + booleanValue: null + key: null + value: 2BPCBLz_RBG8J6mjyuxm6w + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: + - 0o1ISHPfR8-N4iUK + timeThreshold: + type: violationsInSequence + violationsCount: 2 + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/SyntheticAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: 2 consecutive failures of ${synthetic.testName} at locations${synthetic.locationLabel} + description: Alert created without test but with AppId - Synthetic + test failed for 2 consecutive times + syntheticTestIds: + - ic25Vt1T5dgKzi0K7812 + - 2gBxQz3oKtXgFXzRoQ6O + severity: 5 + tagFilterExpression: + type: TAG_FILTER + name: synthetic.applicationId + stringValue: 2BPCBLz_RBG8J6mjyuxm6w + numberValue: null + booleanValue: null + key: null + value: 2BPCBLz_RBG8J6mjyuxm6w + operator: EQUALS + entity: NOT_APPLICABLE + rule: + alertType: failure + metricName: status + aggregation: SUM + alertChannelIds: + - 0o1ISHPfR8-N4iUK + timeThreshold: + type: violationsInSequence + violationsCount: 2 + customPayloadFields: [ + ] + id: qgEwvI0vRfe3Al_D7T7LSA + created: 1707149760053 + initialCreated: 1707145201046 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/SyntheticAlertConfigWithMetadata' + description: Synthetic Smart Alert Configuration updated + '204': + description: Synthetic Smart Alert Configuration did not change + '400': + description: Invalid Configuration ID provided. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '500': + description: Internal error. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Update Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics/{id}/disable: + put: + description: |- + Disables a Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: disableSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to disable. + example: 2K1YQIeaSQKIcIkHPH7D3g + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Synthetic Smart Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Disable Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics/{id}/enable: + put: + description: |- + Enables a Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: enableSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to enable. + example: 2K1YQIeaSQKIcIkHPH7D3g + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Synthetic Smart Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Enable Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics/{id}/restore/{created}: + put: + description: |- + Restores a deleted Synthetic Smart Alert Configuration. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: restoreSyntheticAlertConfig + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to restore. + example: 2K1YQIeaSQKIcIkHPH7D3g + in: path + name: id + required: true + schema: + type: string + - description: Unix timestamp representing the creation time of a specific Synthetic + Smart Alert Configuration. + example: 1707726529124 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Synthetic Smart Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureGlobalSyntheticSmartAlerts + summary: Restore Synthetic Smart Alert Config + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/global-alert-configs/synthetics/{id}/versions: + get: + description: |- + Gets all versions of a Synthetic Smart Alert Configuration. This may return deleted Configurations. Configurations are sorted by creation date in descending order. + For more information on Synthetic Alert Configuration please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-alert-configuration. + operationId: findSyntheticAlertConfigVersions + parameters: + - description: ID of a specific Synthetic Smart Alert Configuration to retrieve. + example: qgEwvI0vRfe3Al_D7T7LSA + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: qgEwvI0vRfe3Al_D7T7LSA + created: 1707149760053 + enabled: true + deleted: false + changeSummary: + changeType: UPDATE + author: + id: 6244073003b38f0001209ec5 + type: USER + fullName: John Doe + - id: qgEwvI0vRfe3Al_D7T7LSA + created: 1707145201046 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: 6244073003b38f0001209ec5 + type: USER + fullName: John Doe + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic Smart Alert Config Versions + tags: + - Synthetic Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs: + get: + description: Configs are sorted descending by their created date. + operationId: findActiveInfraAlertConfigs + parameters: + - description: List of IDs of Infra Smart Alert configurations + example: '[4kxgJAXdSDiu6swQaKXrJw, ZLo28grvQaiMqIaikJK1RQ]' + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: high-mean-memory-usage + description: Something is going wrong in your infrastructure. + severity: 5 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.cluster.name + stringValue: 200_PoP_Cluster + numberValue: null + booleanValue: null + key: null + value: 200_PoP_Cluster + operator: EQUALS + entity: NOT_APPLICABLE + groupBy: + - kubernetes.cluster.name + - kubernetes.namespace.name + - kubernetes.pod.name + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + threshold: + type: staticThreshold + operator: '>=' + value: 1 + lastUpdated: 1724720573744 + forecastingConfig: null + alertChannelIds: + - VjS1NvcXpOARmTvA + - CrLI3QeIZKygaNLH + granularity: 60000 + timeThreshold: + type: violationsInSequence + timeWindow: 180000 + id: 4kxgJAXdSDiu6swQaKXrJw + created: 1724720587414 + initialCreated: 1714766649532 + readOnly: false + enabled: false + customPayloadFields: + - type: staticString + key: testKey + value: team-ar + rules: + - thresholdOperator: '>=' + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + thresholds: + WARNING: + type: staticThreshold + value: 1 + CRITICAL: + type: staticThreshold + value: 4 + schema: + type: array + items: + $ref: '#/components/schemas/InfraAlertConfigWithMetadata' + description: OK + security: + - ApiKeyAuth: + - Default + summary: All Infra Alert Configs + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: createInfraAlertConfig + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InfraAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: high-mean-memory-usage + description: Something is going wrong in your infrastructure. + severity: 5 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.cluster.name + stringValue: 200_PoP_Cluster + numberValue: null + booleanValue: null + key: null + value: 200_PoP_Cluster + operator: EQUALS + entity: NOT_APPLICABLE + groupBy: + - kubernetes.cluster.name + - kubernetes.namespace.name + - kubernetes.pod.name + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + threshold: + type: staticThreshold + operator: '>=' + value: 1 + lastUpdated: 1724720573744 + forecastingConfig: null + alertChannelIds: + - VjS1NvcXpOARmTvA + - CrLI3QeIZKygaNLH + granularity: 60000 + timeThreshold: + type: violationsInSequence + timeWindow: 180000 + id: 4kxgJAXdSDiu6swQaKXrJw + created: 1724720587414 + initialCreated: 1714766649532 + readOnly: false + enabled: false + customPayloadFields: + - type: staticString + key: testKey + value: team-ar + rules: + - thresholdOperator: '>=' + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + thresholds: + WARNING: + type: staticThreshold + value: 1 + CRITICAL: + type: staticThreshold + value: 4 + schema: + $ref: '#/components/schemas/InfraAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Create Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs/{id}: + delete: + operationId: deleteInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration to delete + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Delete Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + get: + description: Find a Infra Alert Config by ID. This will deliver deleted configs + too. + operationId: findInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the config was + active. If no timestamp is provided, the latest active version will be retrieved. ' + example: 1722877985000 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: high-mean-memory-usage + description: Something is going wrong in your infrastructure. + severity: 5 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.cluster.name + stringValue: 200_PoP_Cluster + numberValue: null + booleanValue: null + key: null + value: 200_PoP_Cluster + operator: EQUALS + entity: NOT_APPLICABLE + groupBy: + - kubernetes.cluster.name + - kubernetes.namespace.name + - kubernetes.pod.name + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + threshold: + type: staticThreshold + operator: '>=' + value: 1 + lastUpdated: 1724720573744 + forecastingConfig: null + alertChannelIds: + - VjS1NvcXpOARmTvA + - CrLI3QeIZKygaNLH + granularity: 60000 + timeThreshold: + type: violationsInSequence + timeWindow: 180000 + id: 4kxgJAXdSDiu6swQaKXrJw + created: 1724720587414 + initialCreated: 1714766649532 + readOnly: false + enabled: false + customPayloadFields: + - type: staticString + key: testKey + value: team-ar + rules: + - thresholdOperator: '>=' + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + thresholds: + WARNING: + type: staticThreshold + value: 1 + CRITICAL: + type: staticThreshold + value: 4 + schema: + $ref: '#/components/schemas/InfraAlertConfigWithMetadata' + description: OK + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - Default + summary: Get Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + post: + operationId: updateInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration to update + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InfraAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: high-mean-memory-usage + description: Something is going wrong in your infrastructure. + severity: 5 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: kubernetes.cluster.name + stringValue: 200_PoP_Cluster + numberValue: null + booleanValue: null + key: null + value: 200_PoP_Cluster + operator: EQUALS + entity: NOT_APPLICABLE + groupBy: + - kubernetes.cluster.name + - kubernetes.namespace.name + - kubernetes.pod.name + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + threshold: + type: staticThreshold + operator: '>=' + value: 1 + lastUpdated: 1724720573744 + forecastingConfig: null + alertChannelIds: + - VjS1NvcXpOARmTvA + - CrLI3QeIZKygaNLH + granularity: 60000 + timeThreshold: + type: violationsInSequence + timeWindow: 180000 + id: 4kxgJAXdSDiu6swQaKXrJw + created: 1724720587414 + initialCreated: 1714766649532 + readOnly: false + enabled: false + customPayloadFields: + - type: staticString + key: testKey + value: team-ar + rules: + - thresholdOperator: '>=' + rule: + alertType: genericRule + metricName: memory.usage + entityType: crio + aggregation: MEAN + crossSeriesAggregation: MEAN + regex: false + thresholds: + WARNING: + type: staticThreshold + value: 1 + CRITICAL: + type: staticThreshold + value: 4 + schema: + $ref: '#/components/schemas/InfraAlertConfigWithMetadata' + description: OK + '204': + description: Infra Smart Alert did not change + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Update Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs/{id}/disable: + put: + operationId: disableInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration to disable + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Successful - no content to return. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Disable Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs/{id}/enable: + put: + operationId: enableInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration to enable + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Successful - no content to return. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Enable Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs/{id}/restore/{created}: + put: + operationId: restoreInfraAlertConfig + parameters: + - description: ID of the Infra Smart Alert configuration to restore + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + - description: A Unix Timestamp of when the alert was created + example: 1722877985000 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Successful - no content to return. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureGlobalInfraSmartAlerts + summary: Restore Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/infra-alert-configs/{id}/versions: + get: + description: Find all versions of a Infra Alert Config by ID. This will deliver + deleted configs too. Configs are sorted descending by their created date. + operationId: findInfraAlertConfigVersions + parameters: + - description: ID of the Infra Smart Alert configuration + example: 4kxgJAXdSDiu6swQaKXrJw + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: 4kxgJAXdSDiu6swQaKXrJw + created: 1724720587414 + enabled: false + deleted: false + changeSummary: + changeType: DISABLE + author: + id: 5ee8a3e8cd70020001ecb007 + type: USER + fullName: Stan + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - Default + summary: Get versions of Infra Alert Config + tags: + - Infrastructure Alert Configuration + x-ibm-ahub-byok: true + /api/events/settings/manual-close: + post: + description: Manually close a set of events. A close notification will be sent + out and the event state will be updated accordingly for each event + operationId: multiCloseEvent + requestBody: + content: + application/json: + example: + eventIds: + - DPmhOKanQ3KmQCCElqOBeg + - PRYfcm_7QRid9IRRhW3Y4w + username: user123 + reasonForClosing: Routine maintenance completed + closeTimestamp: 1691505637000 + muteAlerts: true + schema: + $ref: '#/components/schemas/ManualCloseInfo' + required: true + responses: + '200': + content: + application/json: + example: + successfulRequests: + - DPmhOKanQ3KmQCCElqOBeg + - PRYfcm_7QRid9IRRhW3Y4w + failedRequests: [ + ] + schema: + $ref: '#/components/schemas/Json' + description: The multi close operation was successful + '207': + description: At least one of the manual close operations failed + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '501': + description: The multi close feature is not enabled. + security: + - ApiKeyAuth: + - CanManuallyCloseIssue + summary: Manually closing multiple events + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/manual-close/{eventId}: + post: + description: Manually close an event (issue or incident). A close notification + will be sent out and the event state will be updated accordingly. + operationId: manuallyCloseEvent + parameters: + - example: exampleEventId + in: path + name: eventId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + username: user123 + reasonForClosing: Routine maintenance completed + closeTimestamp: 1691505637000 + muteAlerts: true + schema: + $ref: '#/components/schemas/ManualCloseInfo' + required: true + x-payload: manuallyCloseEvent + responses: + '200': + content: + application/json: + example: | + { + "type": "issue", + "key": "__6oRuc3-oYSbWm2xjiFW7c-7RjLg__com.instana.forge.application.Endpoint__7-eW690TQA-dH4yxMDFpTQ.6oRuc3-oYSbWm2xjiFW7c-7RjLg57517532", + "id": "GdKPDQV0SR6bc184Hg4wig", + "problem": { + "id": "3Lp8tyWNTvKdypvFskzDGA", + "plugin_id": "com.instana.forge.application.Endpoint", + "steady_id": "6oRuc3-oYSbWm2xjiFW7c-7RjLg", + "host_id": "", + "problem_text": "_woot", + "fix_suggestion": "Calls are slower or equal to 3440 ms based on latency (90th).", + "explanation": "", + "severity": 5, + "experimental": false + }, + "state": "MANUALLY_CLOSED", + "metadata": { + "app20EndpointServiceLabel": "otel-shop-shipping", + "entityLabel": "/cities/{code}", + "incidentNeeded": false, + "manualCloseReason": "Routine maintenance completed", + "manualCloseTimestamp": 1730755686351, + "app20EndpointId": "6oRuc3-oYSbWm2xjiFW7c-7RjLg", + "triggeringTime": 1730754600000, + "entityName": "Endpoint", + "metricAccessId": "MjSTRXXEiDXlDRiUUZH_3pKkeNw", + "windowWarmupTime": 1200000, + "app20ApplicationId": "btg-B701Rx6o9QNXUS4TVw", + "disableEvent": false, + "manualCloseUsername": "user123", + "thresholdType": "staticThreshold", + "muteAlerts": true, + "eventConfigurationType": "Application Smart Alert", + "endpointIds": ["6oRuc3-oYSbWm2xjiFW7c-7RjLg"], + "app20ServiceId": "29af274138b88060667309e933725265a7c45208", + "serviceIds": ["29af274138b88060667309e933725265a7c45208"], + "eventSpecificationId": "7-eW690TQA-dH4yxMDFpTQ", + "alertConfigCreated": 1662545340108, + "granularity": 600000, + "metricViolationTimestamps": [1730754600000], + "custom_issue": true, + "applicationId": "btg-B701Rx6o9QNXUS4TVw", + "smartAlertInfo": { + "metricAggregation": "P90", + "metricName": "latency", + "metricValue": 44300.0, + "thresholdValue": 3440.0, + "metricUnit": "MILLIS" + }, + "customPayloads": { + "appName": ["All Services"], + "podName": ["otel-shop-shipping-5b9bd5448d-9r7h9"] + }, + "incidents": [], + "triggering": false, + "start": 1730755339666, + "end": 1730757446576, + "affectedEntities": ["MjSTRXXEiDXlDRiUUZH_3pKkeNw"], + "type": "issue", + "eventMode": "ENDPOINT_20" + } + schema: + $ref: '#/components/schemas/Event' + description: The event associated with that event id was successfully closed. + '400': + description: The manual close information is required. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: The event id refers to an event that is not open. + security: + - ApiKeyAuth: + - CanManuallyCloseIssue + summary: Manually close an event. + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs: + get: + description: Gets all the Mobile Smart Alert Configuration pertaining to a specific + mobile app.Configurations are sorted by creation date in descending order. + operationId: findActiveMobileAppAlertConfigs + parameters: + - description: The ID of a specific Mobile Application. + example: tk2OLeusR3aQJD5h-rBh2A + in: query + name: mobileAppId + required: true + schema: + type: string + - description: A list of Smart Alert Configuration IDs. This allows Website + Smart Alert Configuration of a specific set of Configurations. This query + can be repeated to use multiple IDs. + example: smRTFp08juKWtn8I + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is + above the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + id: qOW5jlR5TQafXKWDIceRkA + created: 1707224011842 + initialCreated: 1707224011842 + readOnly: false + enabled: true + completeTagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.id + stringValue: tk2OLeusR3aQJD5h-rBh2A + numberValue: null + booleanValue: null + key: null + value: tk2OLeusR3aQJD5h-rBh2A + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: mobileBeacon.http.status + stringValue: '5' + numberValue: null + booleanValue: null + key: null + value: '5' + operator: STARTS_WITH + entity: NOT_APPLICABLE + schema: + type: array + items: + $ref: '#/components/schemas/WithMetadata' + description: Success. Returns empty result if mobileAppId is invalid. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Get all Mobile Smart Alert Configs + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: 'Creates a new Mobile Smart Alert Configuration. ' + operationId: createMobileAppAlertConfig + requestBody: + content: + application/json: + example: + name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is above + the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/MobileAppAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is + above the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + id: qOW5jlR5TQafXKWDIceRkA + created: 1707224011842 + initialCreated: 1707224011842 + readOnly: false + enabled: true + completeTagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.id + stringValue: tk2OLeusR3aQJD5h-rBh2A + numberValue: null + booleanValue: null + key: null + value: tk2OLeusR3aQJD5h-rBh2A + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: mobileBeacon.http.status + stringValue: '5' + numberValue: null + booleanValue: null + key: null + value: '5' + operator: STARTS_WITH + entity: NOT_APPLICABLE + schema: + $ref: '#/components/schemas/WithMetadata' + description: Mobile Smart Alert Configuration created. + '400': + description: Invalid Configuration. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Create Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}: + delete: + description: Deletes a Mobile Smart Alert Configuration + operationId: deleteMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to delete. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Mobile Smart Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Delete Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + description: Gets a specific Mobile Smart Alert Configuration. This may return + a deleted Configuration. + operationId: findMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to retrieve + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the Configuration + was active. If no timestamp is provided, the latest active version will + be retrieved. ' + example: 1722877985000 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is + above the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + id: qOW5jlR5TQafXKWDIceRkA + created: 1707224011842 + initialCreated: 1707224011842 + readOnly: false + enabled: true + completeTagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.id + stringValue: tk2OLeusR3aQJD5h-rBh2A + numberValue: null + booleanValue: null + key: null + value: tk2OLeusR3aQJD5h-rBh2A + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: mobileBeacon.http.status + stringValue: '5' + numberValue: null + booleanValue: null + key: null + value: '5' + operator: STARTS_WITH + entity: NOT_APPLICABLE + schema: + $ref: '#/components/schemas/WithMetadata' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Get Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: 'Updates an existing Mobile Smart Alert Configuration. ' + operationId: updateMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to update. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is above + the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + schema: + $ref: '#/components/schemas/MobileAppAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: 'HTTP Status Code(s): 5XX' + description: Occurrences of HTTP Status Code 5XX (Server Error) is + above the expectation. + mobileAppId: tk2OLeusR3aQJD5h-rBh2A + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: statusCode + metricName: httpxxx + operator: STARTS_WITH + value: '5' + aggregation: SUM + threshold: + type: staticThreshold + operator: '>=' + value: 5.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: [ + ] + id: qOW5jlR5TQafXKWDIceRkA + created: 1707224011842 + initialCreated: 1707224011842 + readOnly: false + enabled: true + completeTagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.id + stringValue: tk2OLeusR3aQJD5h-rBh2A + numberValue: null + booleanValue: null + key: null + value: tk2OLeusR3aQJD5h-rBh2A + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: mobileBeacon.http.status + stringValue: '5' + numberValue: null + booleanValue: null + key: null + value: '5' + operator: STARTS_WITH + entity: NOT_APPLICABLE + schema: + $ref: '#/components/schemas/WithMetadata' + description: Mobile Smart Alert Configuration updated. + '204': + description: Mobile Smart Alert Configuration did not change. + '400': + description: Invalid Mobile App ID provided. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '500': + description: Internal error. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Update Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}/disable: + put: + description: Disables a Mobile Smart Alert Configuration. + operationId: disableMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to disable. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Mobile Smart Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Disable Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}/enable: + put: + description: Enables a Mobile Smart Alert Configuration. + operationId: enableMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to enable. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Mobile Smart Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Enable Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}/restore/{created}: + put: + description: Restores a Mobile Smart Alert Configuration. + operationId: restoreMobileAppAlertConfig + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to restore. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + - description: Unix timestamp representing the creation time of a specific Mobile + Smart Alert Configuration. + example: 1707726529124 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Mobile Smart Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Restore Mobile Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}/update-baseline: + post: + description: Recalculates and updates the historic baseline (static seasonal + threshold) of a Configuration. The `LastUpdated` field of the Configuration + is changed to the current time. + operationId: updateMobileAppHistoricBaseline + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to recalculate. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + responses: + '200': + description: Mobile Smart Alert Configuration baseline successfully recalculated + and updated. + '204': + description: Baseline recalculation completed with no changes needed. + '400': + description: Invalid configuration type or configuration is read-only. + '403': + description: Insufficient permissions to access this configuration. + '404': + description: Mobile Smart Alert Configuration not found. + '428': + description: Baseline calculation failed due to insufficient data. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Recalculate Mobile Smart Alert Config Baseline + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/mobile-app-alert-configs/{id}/versions: + get: + description: Gets all versions of a Mobile Smart Alert Configuration. This may + return deleted Configurations. Configurations are sorted by creation date + in descending order. + operationId: findMobileAppAlertConfigVersions + parameters: + - description: ID of a specific Mobile Smart Alert Configuration to retrieve. + example: qOW5jlR5TQafXKWDIceRkA + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: qOW5jlR5TQafXKWDIceRkA + created: 1706686318650 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: 5ee8a3e8cd70020001ecb007 + type: USER + fullName: Stan + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - CanConfigureMobileAppSmartAlerts + summary: Get Mobile Smart Alert Config Versions + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs: + get: + description: Gets all the Website Smart Alert Configuration pertaining to a + specific website. Configurations are sorted by creation date in descending + order. + operationId: findActiveWebsiteAlertConfigs + parameters: + - description: The ID of a specific Website + example: XIZGGVT1TX2O-0OFeT2Yig + in: query + name: websiteId + required: true + schema: + type: string + - description: A list of Smart Alert Configuration IDs. This allows fetching + of a specific set of Configurations. This query can be repeated to use multiple + IDs. + example: smRTFp08juKWtn8I + in: query + name: alertIds + schema: + type: array + items: + type: string + maxItems: 1000 + minItems: 0 + uniqueItems: true + responses: + '200': + content: + application/json: + example: + - name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + id: G-h5p0znTHan2m2U3c-Z1Q + created: 1707726529124 + initialCreated: 1707726529124 + readOnly: false + enabled: true + schema: + type: array + items: + $ref: '#/components/schemas/WebsiteAlertConfigWithMetadata' + description: Success. Returns empty result if websiteId is invalid. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Get all Website Smart Alert Configs + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: Creates a new Website Smart Alert Configuration. + operationId: createWebsiteAlertConfig + requestBody: + content: + application/json: + example: + name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + schema: + $ref: '#/components/schemas/WebsiteAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + id: G-h5p0znTHan2m2U3c-Z1Q + created: 1707726529124 + initialCreated: 1707726529124 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/WebsiteAlertConfigWithMetadata' + description: Website Smart Alert Configuration created. + '400': + description: Invalid configuration. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable entity. + '428': + description: Baseline calculation failed due to insufficient data. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Create Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}: + delete: + description: Deletes a Website Smart Alert Configuration. + operationId: deleteWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to delete. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Website Smart Alert Configuration deleted. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Delete Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + get: + description: Gets a specific Website Smart Alert Configuration. This may return + a deleted Configuration. + operationId: findWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to retrieve. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + - description: 'A Unix timestamp representing a specific time the config was + active. If no timestamp is provided, the latest active version will be retrieved. ' + example: 1722877985000 + in: query + name: validOn + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + id: G-h5p0znTHan2m2U3c-Z1Q + created: 1707726529124 + initialCreated: 1707726529124 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/WebsiteAlertConfigWithMetadata' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested configuration does not exist. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Get Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + post: + description: Updates an existing Website Smart Alert Configuration. + operationId: updateWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to update. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + schema: + $ref: '#/components/schemas/WebsiteAlertConfig' + required: true + responses: + '200': + content: + application/json: + example: + name: onLoad Time (90th) is too high + description: The onLoad Time (90th) is above the expectation. + websiteId: XIZGGVT1TX2O-0OFeT2Yig + severity: 5 + triggering: false + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + rule: + alertType: slowness + metricName: onLoadTime + aggregation: P90 + threshold: + type: historicBaseline + operator: '>=' + seasonality: DAILY + baseline: + - - 0 + - 239.164 + - 6.1026 + - - 600000 + - 240.0013 + - 7.4109 + - - 85200000 + - 241.3653 + - 3 + - - 85800000 + - 239.4759 + - 3.9012 + deviationFactor: 3.0 + lastUpdated: 0 + alertChannelIds: [ + ] + granularity: 600000 + timeThreshold: + type: violationsInSequence + timeWindow: 600000 + customPayloadFields: + - type: staticString + key: '1' + value: '2' + - type: dynamic + key: '2' + value: + tagName: beacon.website.name + key: null + id: G-h5p0znTHan2m2U3c-Z1Q + created: 1707726529124 + initialCreated: 1707726529124 + readOnly: false + enabled: true + schema: + $ref: '#/components/schemas/WebsiteAlertConfigWithMetadata' + description: Website Smart Alert Configuration updated. + '204': + description: Website Smart Alert Configuration did not change. + '400': + description: Invalid Configuration ID provided. + '403': + description: Insufficient permissions. + '404': + description: The requested configuration does not exist. + '422': + description: Unprocessable entity. + '428': + description: Baseline calculation failed due to insufficient data. + '500': + description: Internal error. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Update Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}/disable: + put: + description: Disables a Website Smart Alert Configuration. + operationId: disableWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to disable. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Website Smart Alert Configuration disabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Disable Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}/enable: + put: + description: Enables a website alert configuration. + operationId: enableWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to enable. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Website Smart Alert Configuration enabled. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration ID provided. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Enable Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}/restore/{created}: + put: + description: Restores a deleted Website Smart Alert Configuration. + operationId: restoreWebsiteAlertConfig + parameters: + - description: ID of a specific Website Smart Alert Configuration to restore. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + - description: Unix timestamp representing the creation time of a specific Website + Smart Alert Configuration. + example: 1707726529124 + in: path + name: created + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + type: string + nullable: true + responses: + '204': + description: Website Smart Alert Configuration restored. + '403': + description: Insufficient permissions. + '404': + description: Invalid Configuration provided. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Restore Website Smart Alert Config + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}/update-baseline: + post: + description: Recalculates and updates the historic baseline (static seasonal + threshold) of a Configuration. The `LastUpdated` field of the Configuration + is changed to the current time. + operationId: updateWebsiteHistoricBaseline + parameters: + - description: ID of a specific Website Smart Alert Configuration to recalculate. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + responses: + '200': + description: Website Smart Alert Configuration baseline successfully recalculated + and updated. + '204': + description: Baseline recalculation completed with no changes needed. + '400': + description: Invalid configuration type or configuration is read-only. + '403': + description: Insufficient permissions to access this configuration. + '404': + description: Website Smart Alert Configuration not found. + '428': + description: Baseline calculation failed due to insufficient data. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: Recalculate Website Smart Alert Config Baseline + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/settings/website-alert-configs/{id}/versions: + get: + description: Gets all versions of a Website Smart Alert Configuration. This + may return deleted Configurations. Configurations are sorted by creation date + in descending order. + operationId: findWebsiteAlertConfigVersions + parameters: + - description: ID of a specific Website Smart Alert Configuration to retrieve. + example: G-h5p0znTHan2m2U3c-Z1Q + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: G-h5p0znTHan2m2U3c-Z1Q + created: 1706709825308 + enabled: true + deleted: false + changeSummary: + changeType: CREATE + author: + id: 5ee8a3e8cd70020001ecb007 + type: USER + fullName: Stan + schema: + type: array + items: + $ref: '#/components/schemas/ConfigVersion' + description: OK + '403': + description: Insufficient permissions. + '404': + description: The requested Configuration does not exist. + security: + - ApiKeyAuth: + - CanConfigureWebsiteSmartAlerts + summary: 'Get Website Smart Alert Config Versions. ' + tags: + - Event Settings + x-ibm-ahub-byok: true + /api/events/{eventId}: + get: + description: Gets a specific event. + operationId: getEvent + parameters: + - description: ID of a specific Event to retrieve. + example: LZOGo1lXR4WeCB2ftgtGGQ + in: path + name: eventId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + eventId: LZOGo1lXR4WeCB2ftgtGGQ + start: 1706783553000 + end: 1706783553000 + type: change + state: closed + problem: Pulled + detail: Successfully pulled image "registry.redhat.io/redhat/redhat-marketplace-index:v4.14" + in 830.603468ms (830.624088ms including waiting) + severity: -2 + entityName: Kubernetes Pod + entityLabel: openshift-marketplace/redhat-marketplace-qbn8f (pod) + entityType: INFRASTRUCTURE + fixSuggestion: Successfully pulled image "registry.redhat.io/redhat/redhat-marketplace-index:v4.14" + in 830.603468ms (830.624088ms including waiting) + snapshotId: xLziJivLyeepxBf0UnNR1ff-9MI + schema: + $ref: '#/components/schemas/EventResult' + description: OK + '404': + description: The requested event does not exist. + security: + - ApiKeyAuth: + - Default + summary: Get Event + tags: + - Events + x-ibm-ahub-byok: true + /api/host-agent: + get: + operationId: searchHostAgents + parameters: + - in: query + name: query + schema: + type: string + - in: query + name: to + schema: + type: integer + format: int64 + - in: query + name: windowSize + schema: + type: integer + format: int64 + - in: query + name: size + schema: + type: integer + format: int32 + - in: query + name: offline + schema: + type: boolean + responses: + '200': + content: + application/json: + example: |2 + { + "items": [ + { + "snapshotId": "iRsnjcH9cls2rlx3wm8ENPapljk", + "plugin": "instanaAgent", + "from": 1706712590000, + "to": null, + "tags": [], + "label": "Instana Agent @ ip-10-255-207-205", + "host": "EC2-i-0a8be85269f7e2b92" + }, + ] + } + schema: + $ref: '#/components/schemas/SnapshotResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Query host agent snapshots + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/host-agent/configuration: + post: + operationId: updateConfigurationByQuery + parameters: + - in: query + name: query + schema: + type: string + - in: query + name: to + schema: + type: integer + format: int64 + - in: query + name: windowSize + schema: + type: integer + format: int64 + - in: query + name: size + schema: + type: integer + format: int32 + - in: query + name: offline + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AgentConfigurationUpdate' + x-payload: updateConfigurationByQuery + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Update agent configuration by query + tags: + - Host Agent + x-description: updateConfigurationByQuery + x-ibm-ahub-byok: true + /api/host-agent/{hostId}/clr-logs: + get: + operationId: getAgentClrLogs + parameters: + - in: path + name: hostId + required: true + schema: + type: string + - in: query + name: download + schema: + type: boolean + responses: + default: + content: + application/octet-stream: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Agent CLR download logs + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/host-agent/{hostId}/configuration: + post: + operationId: updateConfigurationByHost + parameters: + - in: path + name: hostId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AgentConfigurationUpdate' + x-payload: updateConfigurationByHost + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Update agent configuration by host + tags: + - Host Agent + x-description: updateConfigurationByHost + x-ibm-ahub-byok: true + /api/host-agent/{hostId}/logs: + get: + operationId: getAgentLogs + parameters: + - in: path + name: hostId + required: true + schema: + type: string + - in: query + name: download + schema: + type: boolean + - in: query + name: file + required: true + schema: + type: array + items: + type: string + uniqueItems: true + responses: + default: + content: + application/octet-stream: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Agent download logs + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/host-agent/{hostId}/support-info: + get: + operationId: getAgentSupportInformation + parameters: + - in: path + name: hostId + required: true + schema: + type: string + - in: query + name: supportInfoId + required: true + schema: + type: string + responses: + default: + content: + application/octet-stream: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Agent download support information + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/host-agent/{hostId}/update: + post: + operationId: updateAgent + parameters: + - in: path + name: hostId + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - Default + - ApiKeyAuth: + - canConfigureAgents + summary: Agent update + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/host-agent/{id}: + get: + operationId: getAgentSnapshot + parameters: + - in: path + name: id + required: true + schema: + type: string + - in: query + name: to + schema: + type: integer + format: int64 + - in: query + name: windowSize + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: |2 + { + "snapshotId": "snapshot id", + "plugin": "instanaAgent", + "from": 1706791431000, + "tags": [], + "label": "Instana Agent @ ip-10-255-207-205", + "entityId": { + "host": "EC2-i-0a8be85269f7e2b92", + "pluginId": "plugin id", + "steadyId": "self" + }, + "data": { + "memory.nativeTotal": 134217728, + "capabilities": [ + "gitops", + "logdownload", + "agentprofiler", + "agentSupportInfo", + { + "java-trace-commands": [ + "get-agent-statistics", + "get-loader-statistics", + "get-tracer-statistics", + "get-instrumentation-install-messages", + "get-instrumentation-install-errors", + "get-instrumentation-runtime-errors", + "get-instrumented-classes", + "get-raw-matchers", + "get-weak-concurrent-maps", + "log-reset", + "log-trace-context", + "log-rejected", + "start-debug-tracer", + "stop-debug-tracer" + ] + }, + "log4j-safe-lib" + ], + "origin": "public_docker", + "startedAt": 1705917107361, + "memory.total": 181805056, + "pid": "29001", + "mode": 2, + "hostname": "ip-10-255-207-205", + "java": { + "vmversion": "25.392-b08", + "version": "1.8.0_392", + "vmname": "vm name", + "vmvendor": "vendor name" + }, + "git": { + "present": true, + "initialized": false + }, + "hasCpuLoad": true, + "updateMode": "Auto", + "log.counts.byMessage": { + "?:?": "WARN ? "Can no longer query container metrics for k8s.io: 8ac777f1ca6231299050ee5482ecac6c1747b2545b3b1d890f69d0a849b3adb4 ... requesting sensor shutdown"" + }, + "loglevel": "INFO", + "agentVersion": "Latest", + "metrics": true, + "boot": "1.2.30", + "pids": [ + "14096", + "19502", + "2001", + "29812", + "981", + "28411", + "29522", + "1267", + "2475", + "27182" + ], + "user": "root", + "logAsRate": true + } + } + schema: + $ref: '#/components/schemas/SnapshotItem' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get host agent snapshot details + tags: + - Host Agent + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/analyze/entities: + post: + description: |- + This endpoint retrieves entities for a given entity type along with the requested metrics. + For more information on Infrastructure Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-analyze. + operationId: getEntities + requestBody: + content: + application/json: + examples: + ? This example retrieves a JVM entity labeled "custom-metrics.jar" with + metrics for memory used and blocked threads (both using a one hour + granularity and a one minute granularity). + : description: This example retrieves a JVM entity labeled "custom-metrics.jar" + with metrics for memory used and blocked threads (both using a one + hour granularity and a one minute granularity). + value: + tagFilterExpression: + type: TAG_FILTER + entity: NOT_APPLICABLE + name: label + operator: EQUALS + value: custom-metrics.jar + timeFrame: + to: 1673969562715 + windowSize: 3600000 + pagination: + retrievalSize: 200 + type: jvmRuntimePlatform + metrics: + - metric: memory.used + granularity: 3600000 + aggregation: MAX + - metric: memory.used + granularity: 600000 + aggregation: MAX + - metric: threads.blocked + granularity: 3600000 + aggregation: MEAN + - metric: threads.blocked + granularity: 600000 + aggregation: MEAN + schema: + $ref: '#/components/schemas/GetInfrastructureQuery' + x-payload: getInfrastructureQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InfrastructureEntitiesResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get infrastructure entities + tags: + - Infrastructure Analyze + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/analyze/entity-groups: + post: + description: |- + This endpoint groups entities for a given entity type and aggregates metrics for these groups. + For more information on Infrastructure Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-analyze. + operationId: getEntityGroups + requestBody: + content: + application/json: + examples: + ? This example retrieves JVM entities grouped with the same host name + ordered by label, aggregating memory used and blocked threads (both + using a one hour granularity and a one minute granularity). + : description: This example retrieves JVM entities grouped with the + same host name ordered by label, aggregating memory used and blocked + threads (both using a one hour granularity and a one minute granularity). + value: + timeFrame: + to: 1674075565075 + windowSize: 3600000 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + pagination: + retrievalSize: 20 + groupBy: + - host.name + type: jvmRuntimePlatform + metrics: + - metric: memory.used + granularity: 3600000 + aggregation: MEAN + - metric: memory.used + granularity: 600000 + aggregation: MEAN + - metric: threads.blocked + granularity: 3600000 + aggregation: MEAN + - metric: threads.blocked + granularity: 600000 + aggregation: MEAN + order: + by: label + direction: ASC + schema: + $ref: '#/components/schemas/GetInfrastructureGroupsQuery' + x-payload: GetInfrastructureGroupsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InfrastructureGroupsResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get grouped infrastructure entities with aggregated metrics + tags: + - Infrastructure Analyze + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/analyze/entity-types: + post: + description: |- + This endpoint retrieves available entity types. + For more information on Infrastructure Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-analyze. + operationId: getAvailablePlugins + requestBody: + content: + application/json: + examples: + This example retrieves all entity types.: + description: This example retrieves all entity types. + value: + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + timeFrame: + to: 1673969562715 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetAvailablePluginsQuery' + x-payload: GetAvailablePluginsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/AvailablePlugins' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get available entity types + tags: + - Infrastructure Analyze + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/analyze/metrics: + post: + description: |- + This endpoint retrieves available metrics for an entity type. + For more information on Infrastructure Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-analyze. + operationId: getAvailableMetrics + requestBody: + content: + application/json: + examples: + This example retrieves all available metrics for JVM entities.: + description: This example retrieves all available metrics for JVM + entities. + value: + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + timeFrame: + to: 1673969562715 + windowSize: 3600000 + query: '' + type: jvmRuntimePlatform + schema: + $ref: '#/components/schemas/GetAvailableMetricsQuery' + x-payload: GetAvailableMetricsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/AvailableMetrics' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get available metrics + tags: + - Infrastructure Analyze + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/metrics/{plugin}: + get: + operationId: getInfrastructureCatalogMetrics + parameters: + - in: path + name: plugin + required: true + schema: + type: string + - in: query + name: filter + schema: + type: string + - in: query + name: label + schema: + type: string + - in: query + name: limit + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/MetricInstance' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get metric catalog + tags: + - Infrastructure Catalog + x-description: getInfrastructureCatalogMetrics + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/payloads/{pluginId}: + get: + description: 'This endpoint retrieves the list of keys that can be used to retrieve + payloads for a plugin. ' + operationId: getAvailablePayloadKeysByPluginId + parameters: + - description: plugin id + example: db2Database + in: path + name: pluginId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/GetPayloadKeysResult' + description: OK + links: + payload for snapshot: + operationId: getPluginPayload + parameters: + payloadKey: $response.body#/[*] + security: + - ApiKeyAuth: + - Default + summary: Get payload keys for plugin + tags: + - Infrastructure Catalog + x-description: getAvailablePayloadKeysByPluginId + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/plugins: + get: + operationId: getInfrastructureCatalogPlugins + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PluginResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get plugin catalog + tags: + - Infrastructure Catalog + x-description: getInfrastructureCatalogPlugins + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/plugins-with-custom-metrics: + get: + description: This endpoint retrieves a list of all plugins that have custom + metrics + operationId: getInfrastructureCatalogPluginsWithCustomMetrics + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PluginResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get all plugins with custom metrics catalog + tags: + - Infrastructure Catalog + x-description: getInfrastructureCatalogPluginsWithCustomMetrics + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/search: + get: + operationId: getInfrastructureCatalogSearchFields + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SearchFieldResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: get search field catalog + tags: + - Infrastructure Catalog + x-description: getInfrastructureCatalogSearchFields + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/tags: + get: + description: This endpoint retrieves the tag catalog. + operationId: getTagCatalogAll + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get available tags + tags: + - Infrastructure Catalog + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/catalog/tags/{plugin}: + get: + description: This endpoint retrieves the tag catalog filtered by plugin. + operationId: getTagCatalog + parameters: + - description: plugin + example: host + in: path + name: plugin + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get available tags for a particular plugin + tags: + - Infrastructure Catalog + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/graph/related-hosts/{snapshotId}: + get: + description: Gets the Related Hosts + operationId: getRelatedHosts + parameters: + - description: Snapshot ID running on the host + in: path + name: snapshotId + required: true + schema: + type: string + - description: Size of time window in milliseconds + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: Timestamp since Unix Epoch in milliseconds of the end of the + time window + in: query + name: to + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + - ZoKkksp277FMLSXIghPKdjZcvfE + schema: + type: array + items: + type: string + description: Returns the snapshot ID of the hosts + security: + - ApiKeyAuth: + - Default + summary: Related hosts + tags: + - Infrastructure Topology + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/metrics: + post: + description: |2- + + For more information on Infrastructure Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Infrastructure#infrastructure-metrics. + operationId: getInfrastructureMetrics + parameters: + - in: query + name: offline + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetCombinedMetrics' + x-payload: getInfrastructureMetrics + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InfrastructureMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get infrastructure metrics + tags: + - Infrastructure Metrics + x-description: getInfrastructureMetrics + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/monitoring-state: + get: + description: This API endpoint retrieves the current monitoring state of the + system, providing details about the number of monitored hosts and serverless + entities. It responds with a JSON object containing this information. + operationId: getMonitoringState + responses: + '200': + content: + application/json: + example: + hasEntities: true + hostCount: 122 + serverlessCount: 7 + schema: + $ref: '#/components/schemas/MonitoringState' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Monitored host count + tags: + - Infrastructure Resources + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/payloads/{snapshotId}/{payloadKey}: + get: + description: This endpoint retrieves the payload for a snapshot. Please note + that this endpoint is only available for instances of db2. + operationId: getPluginPayload + parameters: + - description: Snapshot id. + in: path + name: snapshotId + required: true + schema: + type: string + - description: Payload key. Use [getAvailablePayloadKeysByPluginId](/openapi/#operation/getAvailablePayloadKeysByPluginId) + to retrieve the list of possible keys. + example: topqueries + in: path + name: payloadKey + required: true + schema: + type: string + - description: End of timeframe expressed as the Unix epoch time in milliseconds. + example: 1689018652000 + in: query + name: to + schema: + type: integer + format: int64 + - description: Window size in milliseconds. + example: 3600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + raw_payload: + - DEFERRED_VALUE: '64' + DEFERRED_VALUE_FLAGS: NONE + VALUE: '64' + NAME: app_ctl_heap_sz + VALUE_FLAGS: NONE + timestamp: 1707833086000 + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get a payload for a snapshot + tags: + - Infrastructure Resources + x-description: getPluginPayload + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/snapshots: + get: + operationId: getSnapshots + parameters: + - description: query to use to filter snapshot retrieval + example: entity.zone:myZone* + in: query + name: query + schema: + type: string + - description: end of timeframe expressed as the Unix epoch time in milliseconds + example: 1689018652000 + in: query + name: to + schema: + type: integer + format: int64 + - description: windowSize in milliseconds + example: 3600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + - description: maximum number of snapshots to retrieve + example: 100 + in: query + name: size + schema: + type: integer + format: int32 + - description: entity type + example: host + in: query + name: plugin + schema: + type: string + - description: retrieve snapshots which were online during the timeframe, otherwise, + return only snapshot which were online at the end of the timeframe + example: false + in: query + name: offline + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + items: + - snapshotId: ZoKkksp277FMLSXIghPKdjZcvfE + plugin: host + from: 1706785156000 + to: null + tags: [ + ] + label: ip-10-255-200-30.instana.io + host: EC2-i-03afb0ac5188f57f3 + - snapshotId: ONRQyD-iztZX6QS9QnjKbFFy-oI + plugin: host + from: 1706756437000 + to: null + tags: [ + ] + label: ip-10-255-218-45.instana.io + host: EC2-i-091cba86bac58cc77 + - snapshotId: 0GvRrdko-0Ds9OWPzJVEm0j0vTA + plugin: host + from: 1706785131000 + to: null + tags: [ + ] + label: ip-10-255-203-60.instana.io + host: EC2-i-0d2743935b9596c85 + schema: + $ref: '#/components/schemas/SnapshotResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Search snapshots + tags: + - Infrastructure Resources + x-description: getSnapshots + x-ibm-ahub-byok: true + post: + description: This endpoint retrieves detail information for one or more snapshots. + timeFrame defaults to the last 10 minutes if not specified. + operationId: postSnapshots + requestBody: + content: + application/json: + examples: + This example retrieves the detail information for two snapshots.: + description: This example retrieves the detail information for two + snapshots. + value: + snapshotIds: + - AB3DeFGHIJkLm9OpQrstUVwxY_z + - ZY4XwVUTSRqPo8MlKjihGFedC_a + timeFrame: + to: 1689018652000 + windowSize: 3600000 + schema: + $ref: '#/components/schemas/GetSnapshotsQuery' + x-payload: getSnapshotsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PostSnapshotsResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get snapshot details for multiple snapshots + tags: + - Infrastructure Resources + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/snapshots/{id}: + get: + description: Get all snapshot information + operationId: getSnapshot + parameters: + - description: snapshot id + in: path + name: id + required: true + schema: + type: string + - description: end of timeframe expressed as the Unix epoch time in milliseconds + example: 1689018652000 + in: query + name: to + schema: + type: integer + format: int64 + - description: windowSize in milliseconds + example: 3600000 + in: query + name: windowSize + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + snapshotId: ZoKkksp277FMLSXIghPKdjZcvfE + plugin: host + from: 1706785156000 + tags: [ + ] + label: ip-10-255-200-30.instana.io + entityId: + host: EC2-i-03afb0ac5188f57f3 + pluginId: com.instana.forge.infrastructure.os.host.Host + steadyId: h + data: + interfaces: + eth0: + addresses: + - subnet: 10.255.200.0 + fqdn: + - 10-255-200-30.instana-agent-headless.instana-agent.svc.cluster.local + - 10-255-200-30.instana-agent.instana-agent.svc.cluster.local + - 10-255-200-30.prometheus-prometheus-node-exporter.prometheus.svc.cluster.local + ip: 10.255.200.30 + mac: 06:00:E9:32:99:C5 + eth1: + addresses: + - subnet: 10.255.200.0 + ip: 10.255.205.14 + mac: 06:93:A2:5B:97:D9 + cpu.model: AMD EPYC 7R13 Processor + fqdn: ip-10-255-200-30.instana.io + bootId: 3b7e2fe9-7cff-42bb-9879-6b856582fa27 + os.arch: amd64 + start: 1694791889000 + memory.total: 65994727424 + openFiles.max: 6441978 + filesystems: + /dev/nvme0n1p1: + options: rw,noatime,attr2,inode64,logbufs=8,logbsize=32k,noquota + mounts: + - /var/lib/kubelet/pods/dc320aef-ef0e-499a-8eb2-56cb454c22d6/volume-subpaths/configuration/instana-agent/11 + - /var/lib/kubelet/pods/dc320aef-ef0e-499a-8eb2-56cb454c22d6/volume-subpaths/configuration/instana-agent/14 + - /var/lib/kubelet/pods/dc320aef-ef0e-499a-8eb2-56cb454c22d6/volume-subpaths/additional-backend-2/instana-agent/12 + - /var/lib/kubelet/pods/dc320aef-ef0e-499a-8eb2-56cb454c22d6/volume-subpaths/additional-backend-3/instana-agent/13 + - / + systype: xfs + icapacity: 28180816 + mount: / + capacity: 83873772 + os.version: 5.10.186-179.751.amzn2.x86_64 + tags: [ + ] + cpu.count: 8 + hostname: ip-10-255-200-30 + machineId: ec2f95ff87a4a46d4672835afb9e2bb5 + systemSerialNumber: ec2f95ff-87a4-a46d-4672-835afb9e2bb5 + os.name: Linux + schema: + $ref: '#/components/schemas/SnapshotItem' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get snapshot details + tags: + - Infrastructure Resources + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/software/versions: + get: + description: |- + Retrieve information about the software that are sensed by the agent remotely, natively, or both. This includes runtime and package manager information. + + The `plugin`, `name`, `version`, `discoveryType`, `softwareType` and `vendor` parameters are optional filters that can be used to reduce the result data set. + The `snapshotId` in `usedBy` is either of host or container, if available + operationId: softwareVersions + parameters: + - description: Timeframe expressed as the Unix epoch time in milliseconds + in: query + name: time + schema: + type: integer + format: int64 + - description: Filter on discoveryType + example: NATIVE_SENSOR + in: query + name: discoveryType + schema: + type: string + enum: + - NATIVE_SENSOR + - REMOTE_SENSOR + - PACKAGE_MANAGER + - OTHER + - description: Filter on softwareType + example: DEPENDENCY + in: query + name: softwareType + schema: + type: string + enum: + - DEPENDENCY + - RUNTIME + - DATABASE + - MESSAGING + - PLATFORM + - PACKAGE + - OS + - CACHE + - API_GATEWAY + - OTHER + - APPLICATION_FRAMEWORK + - description: Filter on this software name + in: query + name: name + schema: + type: string + - description: Filter on this plugin + in: query + name: plugin + schema: + type: string + - description: Filter on this version + in: query + name: version + schema: + type: string + - description: Filter on this vendor + in: query + name: vendor + schema: + type: string + responses: + '200': + content: + application/json: + example: | + [ + { + "name": "errno", + "plugin": "nodeJsRuntimePlatform", + "version": "0.1.8", + "discoveryType": "NATIVE_SENSOR", + "softwareType": "DEPENDENCY", + "vendor": "", + "metadata": {}, + "usedBy": [ + { + "host": "instana-centos1.fyre.ibm.com", + "container": null, + "process": "instana-payload-simulator v1.0.0", + "snapshotId": "nQHb946M0I_rzRNuTFLVVSUorr8" + } + ] + }, + { + "name": "OpenJDK 64-Bit Server VM", + "plugin": "jvmRuntimePlatform" + "version": "17.0.1", + "discoveryType": "NATIVE_SENSOR", + "softwareType": "RUNTIME", + "vendor": "Azul Systems, Inc.", + "metadata": {}, + "usedBy": [ + { + "host": "lima-rancher-desktop", + "container": "elasticsearch/elasticsearch:7.16.2", + "process": "docker-cluster: 0c930ef6c5af", + "snapshotId": "cn06irROoHrvrDEa4fWw9vD6yhc" + } + ] + } + ] + schema: + type: array + items: + $ref: '#/components/schemas/SoftwareVersion' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get installed software + tags: + - Infrastructure Resources + x-ibm-ahub-byok: true + /api/infrastructure-monitoring/topology: + get: + operationId: getTopology + parameters: + - description: Include snapshot data in nodes + in: query + name: includeData + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + nodes: + - id: nYlAch5BEuXdyzQ1Q1V3QvW9jpY + plugin: kubernetesPod + label: openshift-console/downloads-6b8f4d6dfc-zv2tx (pod) + entityId: + host: '' + pluginId: com.instana.forge.infrastructure.paas.kubernetes.derivedentity.pod.KubernetesPod + steadyId: b3e550f4-5754-4388-bd44-025ecd9f057e + edges: + - source: i5wh2JGMSHMiSt_TH2sHo1rNLaQ + destination: k67B5nn-7mpx6i0oCEiIWvP46ko + relation: in + schema: + $ref: '#/components/schemas/Topology' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Gets the infrastructure topology + tags: + - Infrastructure Topology + x-ibm-ahub-byok: true + /api/instana/health: + get: + description: Get basic health of application. + operationId: getHealthState + responses: + '200': + content: + application/json: + example: + health: GREEN + messages: [ + ] + schema: + $ref: '#/components/schemas/HealthState' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Basic health traffic light + tags: + - Health + x-description: getHealthState + x-ibm-ahub-byok: true + /api/instana/usage/api: + get: + operationId: getAllUsage + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UsageResult' + description: OK + security: + - ApiKeyAuth: + - CanViewAccountAndBillingInformation + summary: API usage by customer + tags: + - Usage + x-ibm-ahub-byok: true + /api/instana/usage/api/{day}/{month}/{year}: + get: + operationId: getUsagePerDay + parameters: + - in: path + name: day + required: true + schema: + type: integer + format: int32 + - in: path + name: month + required: true + schema: + type: integer + format: int32 + - in: path + name: year + required: true + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UsageResult' + description: OK + security: + - ApiKeyAuth: + - CanViewAccountAndBillingInformation + summary: API usage day / month / year + tags: + - Usage + x-ibm-ahub-byok: true + /api/instana/usage/api/{month}/{year}: + get: + operationId: getUsagePerMonth + parameters: + - in: path + name: month + required: true + schema: + type: integer + format: int32 + - in: path + name: year + required: true + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UsageResult' + description: OK + security: + - ApiKeyAuth: + - CanViewAccountAndBillingInformation + summary: API usage month / year + tags: + - Usage + x-ibm-ahub-byok: true + /api/instana/usage/hosts/{day}/{month}/{year}: + get: + operationId: getHostsPerDay + parameters: + - in: path + name: day + required: true + schema: + type: integer + format: int32 + - in: path + name: month + required: true + schema: + type: integer + format: int32 + - in: path + name: year + required: true + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UsageResult' + description: OK + security: + - ApiKeyAuth: + - CanViewAccountAndBillingInformation + summary: Host count day / month / year + tags: + - Usage + x-ibm-ahub-byok: true + /api/instana/usage/hosts/{month}/{year}: + get: + operationId: getHostsPerMonth + parameters: + - in: path + name: month + required: true + schema: + type: integer + format: int32 + - in: path + name: year + required: true + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UsageResult' + description: OK + security: + - ApiKeyAuth: + - CanViewAccountAndBillingInformation + summary: Host count month / year + tags: + - Usage + x-ibm-ahub-byok: true + /api/instana/version: + get: + description: Get lastest API version information. + operationId: getVersion + responses: + '200': + content: + application/json: + example: + branch: develop + commit: 862420fa8696bd5106224f340a1f93d3c7d86409 + imageTag: 3.267.99-0 + schema: + $ref: '#/components/schemas/InstanaVersionInfo' + description: OK + security: + - ApiKeyAuth: + - Default + summary: API version information + tags: + - Health + x-description: getVersion + x-ibm-ahub-byok: true + /api/llm/capabilities: + get: + description: Retrieve all available LLM capabilities. + operationId: getLLMCapabilities + responses: + '200': + content: + application/json: + example: + - id: INCIDENT_INVESTIGATION + label: Incident investigation + description: Provides the ability to investigate incidents using AI + assistance. + models: + - id: MISTRAL_MEDIUM_2505 + name: mistralai/mistral-medium-2505 + label: Mistral (medium) + description: Provides high-accuracy results coupled with cost effective + scalability + - id: MISTRAL_LARGE_INSTRUCT_2407 + name: mistralai/Mistral-Large-Instruct-2407 + label: Mistral (large) + description: Provides results with less deviations, but consumes + more tokens + - id: GRANITE_3_3_8B_INSTRUCT + name: ibm/granite-3-3-8b-instruct + label: Granite + description: Provides faster and more accurate results + defaultModel: mistralai/mistral-medium-2505 + schema: + type: array + items: + type: string + enum: + - INCIDENT_INVESTIGATION + - INCIDENT_SUMMARIZATION + - AI_ASSISTANT + - MANUAL_ACTION_GENERATION + - SCRIPT_GENERATION + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: [ + ] + summary: Get all LLM capabilities + tags: + - AI Management + x-ibm-ahub-byok: true + /api/llm/egress/handler: + get: + description: Retrieve all LLM gateways. Optionally filter by enabled status + or capability. + operationId: getLLMEgressGateways + parameters: + - description: Filter by enabled status (true/false) + in: query + name: enabled + schema: + type: boolean + - description: Filter by capability name + in: query + name: capability + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + createdAt: 2024-05-01T10:00:00Z + modifiedAt: 2024-05-02T15:30:00Z + schema: + type: array + items: + $ref: '#/components/schemas/LLMEgressGateway' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: [ + ] + summary: Get all LLM gateways + tags: + - AI Management + x-ibm-ahub-byok: true + post: + description: Create a new LLM gateway + operationId: addLLMEgressGateway + requestBody: + content: + application/json: + example: + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + schema: + $ref: '#/components/schemas/LLMEgressGateway' + required: true + responses: + '200': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + schema: + $ref: '#/components/schemas/LLMEgressGateway' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureLLM + summary: Create a new LLM gateway + tags: + - AI Management + x-ibm-ahub-byok: true + /api/llm/egress/handler/{id}: + delete: + description: Delete a LLM egress gateway by ID. + operationId: deleteLLMEgressGateway + parameters: + - description: LLM gateway ID + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureLLM + summary: Delete a LLM egress gateway + tags: + - AI Management + x-ibm-ahub-byok: true + get: + description: Retrieve a LLM gateway by ID. + operationId: getLLMEgressGatewayById + parameters: + - description: LLM gateway ID + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + createdAt: 2024-05-01T10:00:00Z + modifiedAt: 2024-05-02T15:30:00Z + schema: + $ref: '#/components/schemas/LLMEgressGateway' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get a LLM gateway by ID + tags: + - AI Management + x-ibm-ahub-byok: true + put: + description: Update an existing LLM gateway by ID. + operationId: updateLLMEgressGateway + parameters: + - description: LLM gateway ID + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + schema: + $ref: '#/components/schemas/LLMEgressGateway' + required: true + responses: + '200': + content: + application/json: + example: + id: a14700b0-401b-47eb-a751-deda0035fde3 + name: Example LLM egress Handler + description: This is a sample custom handler used for testing. + aiModel: watsonx-gpt-4 + supports: + capabilities: + - anomaly-detection + - remediation + metadata: + source: user + version: 1.0.0 + endpointUrl: https://example.com/handler + endpointApiKey: secret-api-key + watsonxKey: watsonx-123 + watsonxProject: project-xyz + watsonxUrl: https://watsonx.example.com + instanaAgents: + agents: + - agent-1 + - agent-2 + schema: + $ref: '#/components/schemas/LLMEgressGateway' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureLLM + summary: Update an existing LLM gateway. + tags: + - AI Management + x-ibm-ahub-byok: true + /api/llm/egress/handler/{id}/enable: + put: + description: Enable a LLM gateway by ID. Any other enabled gateway for the same + capability will be automatically disabled. + operationId: enableLLMEgressGateway + parameters: + - description: LLM gateway ID + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureLLM + summary: Set the enabled status of a LLM gateway + tags: + - AI Management + x-ibm-ahub-byok: true + /api/logging/logs/getLogVolumeUsage: + get: + description: | + 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. + operationId: getLogVolumeUsage + parameters: + - description: Start timestamp in seconds. Must be <= `toTs`. + example: 1682899200 + in: query + name: fromTs + required: true + schema: + type: integer + format: int64 + - description: End timestamp in seconds. Must be >= `fromTs`. + example: 1682899201 + in: query + name: toTs + required: true + schema: + type: integer + format: int64 + - 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`. + example: zone + in: query + name: groupingTag + schema: + type: string + responses: + '200': + content: + application/json: + examples: + Full Data: + description: Full Data + value: + logVolumeUsageItems: + - numberOfMonth: 11 + logVolume: 278141339215 + retentionPeriods: + - retentionDays: 7 + logVolume: 7253402 + logVolumeGroups: + - label: '' + logVolume: 7253402 + - label: demo-us-cluster + logVolume: 0 + - label: demo-us-eks + logVolume: 0 + - retentionDays: 90 + logVolume: 13319384221 + logVolumeGroups: + - label: '' + logVolume: 13004387032 + - label: demo-us-cluster + logVolume: 265176702 + - label: demo-us-eks + logVolume: 22645862 + - label: k8s-demo-cluster + logVolume: 27142175 + - label: rci-robotshop + logVolume: 32450 + Zero Volume: + description: Zero Volume + value: + logVolumeUsageItems: + - numberOfMonth: 1 + logVolume: 0 + retentionPeriods: [ + ] + - numberOfMonth: 2 + logVolume: 0 + retentionPeriods: [ + ] + - numberOfMonth: 3 + logVolume: 0 + retentionPeriods: [ + ] + schema: + $ref: '#/components/schemas/LogVolumeUsageResult' + description: Successfully retrieved log volume usage data + '400': + description: Invalid request (e.g., missing or incorrect time parameters) + '500': + description: Unexpected server error + security: + - ApiKeyAuth: + - Default + summary: Get Log Volume Usage + tags: + - Logging Analyze + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/analyze/beacon-groups: + post: + description: API request to get grouped mobile app beacon metrics. + operationId: getMobileAppBeaconGroups + parameters: + - in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + example: + metrics: + - metric: beaconCount + aggregation: SUM + granularity: 60 + group: + groupbyTag: mobileBeacon.view.name + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.name + operator: EQUALS + entity: NOT_APPLICABLE + value: robot-warehouse + - type: TAG_FILTER + name: mobileBeacon.platform + operator: EQUALS + entity: NOT_APPLICABLE + value: iOS + timeFrame: + to: null + windowSize: 3600000 + type: SESSION_START + schema: + $ref: '#/components/schemas/GetMobileAppBeaconGroups' + x-payload: getBeaconGroups + responses: + '200': + content: + application/json: + example: + items: + - name: Products + earliestTimestamp: 1707023340857 + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1707026879283 + offset: 1 + metrics: + beaconCount.sum.60: + - - 1707023340000 + - 47.0 + - - 1707023400000 + - 43.0 + canLoadMore: false + totalHits: 1 + totalRepresentedItemCount: 1 + totalRetainedItemCount: 1 + adjustedTimeframe: + windowSize: 3540000 + to: 1707026880000 + schema: + $ref: '#/components/schemas/MobileAppBeaconGroupsResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get grouped beacon metrics + tags: + - Mobile App Analyze + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/analyze/beacons: + post: + description: API request to get all mobile app beacons with matching type. + operationId: getMobileAppBeacons + requestBody: + content: + application/json: + example: + tagFilterExpression: + entity: NOT_APPLICABLE + name: mobileBeacon.mobileApp.name + operator: EQUALS + value: robot-warehouse + timeFrame: + to: null + windowSize: 60000 + type: SESSION_START + schema: + $ref: '#/components/schemas/GetMobileAppBeacons' + x-payload: getMobileAppBeacons + responses: + '200': + content: + application/json: + example: + items: + - beacon: + agentVersion: 6.0.22 + mobileAppId: K3bP-bmCRkyimNai9vvq8o + mobileAppLabel: robot-warehouse + timestamp: 1707025556799 + clockSkew: 450 + ingestionTime: 1707025557248 + duration: 0 + batchSize: 1 + sessionId: B5CB9B35-C822-4101-B192-DC2488924C7F + beaconId: c43d78282ee5b5cf + parentBeaconId: '' + backendTraceId: '' + type: sessionStart + view: Products + customEventName: '' + meta: + feature.testGroup: beta + userIp: 94.134.0.0 + userId: Example User Id + userSessionId: '' + userName: Example User Name + userEmail: example@example.com + userLanguages: + - de-DE + useFeatures: [ + ] + bundleIdentifier: com.example.shop + appBuild: aba9031kl + appVersion: 1.41.4 + platform: Android + osName: Android + osVersion: '10' + deviceManufacturer: Google + deviceModel: Google Pixel 4XL + deviceHardware: Google Pixel 4XL + viewportWidth: 320 + viewportHeight: 680 + carrier: Deutsche Telekom + connectionType: wifi + effectiveConnectionType: 3g + latitude: 50.9865 + longitude: 6.9304 + accuracyRadius: 20 + city: Cologne + subdivision: North Rhine-Westphalia + subdivisionCode: NW + country: Germany + countryCode: DE + continent: Europe + continentCode: EU + httpCallUrl: '' + httpCallOrigin: '' + httpCallPath: '' + httpCallMethod: '' + httpCallHeaders: { + } + errorCount: 0 + errorMessage: '' + errorId: '' + errorType: '' + stackTrace: '' + stackTraceLine: [ + ] + parsedStackTrace: '' + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1707025557248 + offset: 1 + canLoadMore: false + totalHits: 70 + totalRepresentedItemCount: 70 + totalRetainedItemCount: 70 + adjustedTimeframe: + windowSize: 60000 + to: 1707025560000 + schema: + $ref: '#/components/schemas/MobileAppBeaconResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get all beacons + tags: + - Mobile App Analyze + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/catalog: + get: + operationId: getMobileAppTagCatalog + parameters: + - in: query + name: beaconType + required: true + schema: + type: string + - in: query + name: useCase + required: true + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + example: + - name: mobileBeacon.carrier + type: STRING + category: MOBILE + canApplyToSource: false + canApplyToDestination: false + sourceValueAvailableFrom: 0 + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '400': + description: When the combination of beaconType and useCase is unsupported/unknown. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get mobile app tag catalog + tags: + - Mobile App Catalog + x-description: getMobileAppTagCatalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/catalog/metrics: + get: + description: API request to get mobile app metric catalog. + operationId: getMobileAppMetricCatalog + responses: + '200': + content: + application/json: + example: + - metricId: beaconCount + label: Beacon count + formatter: NUMBER + description: How many beacons matching a filter were recorded. + aggregations: + - SUM + defaultAggregation: null + beaconTypes: + - sessionStart + - viewChange + - custom + - httpRequest + - crash + pathToValueInBeacon: null + tagName: null + secondaryBeaconTypes: + - sessionStart + - viewChange + - custom + schema: + type: array + items: + $ref: '#/components/schemas/MobileAppMonitoringMetricDescription' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Metric catalog + tags: + - Mobile App Catalog + x-description: getMobileAppMetricCatalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/catalog/tags: + get: + description: API request to get all mobile app tags. + operationId: getAllMobileAppCatalogTags + responses: + '200': + content: + application/json: + example: + - name: mobileBeacon.view.name + type: STRING + category: MOBILE + canApplyToSource: false + canApplyToDestination: false + sourceValueAvailableFrom: 0 + schema: + type: array + items: + $ref: '#/components/schemas/Tag' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get all existing mobile app tags + tags: + - Mobile App Catalog + x-description: getAllMobileAppCatalogTags + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config: + get: + description: API request to get configured mobile apps. + operationId: getMobileAppConfig + responses: + '200': + content: + application/json: + example: + - id: K3bP-bmCRkyimNai9vvq8o + name: example_mobile_app + rbacTags: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/MobileApp' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get configured mobile apps + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + post: + description: API request to add new mobile app. + operationId: postMobileAppConfig + parameters: + - description: Name of the mobile app + in: query + name: name + schema: + type: string + requestBody: + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/ApiTag' + responses: + '200': + content: + application/json: + example: + - id: K3bP-bmCRkyimNai9vvq8o + name: example_mobile_app + schema: + $ref: '#/components/schemas/MobileApp' + description: Mobile App successfully configured + '400': + description: Missing name query parameter or name already used for a configured + mobile app. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Configure new mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}: + delete: + description: API request to remove mobile app. + operationId: deleteMobileAppConfig + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '204': + description: Mobile app successfully removed + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Remove mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + get: + description: API request to get a specific mobile app configuration by ID. + operationId: getSingleMobileAppConfig + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: K3bP-bmCRkyimNai9vvq8o + name: example_mobile_app + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/MobileApp' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get mobile app configuration by ID + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + put: + description: API request to rename mobile app. + operationId: renameMobileAppConfig + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: New name of the mobile app + in: query + name: name + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: K3bP-bmCRkyimNai9vvq8o + name: example_mobile_app + schema: + $ref: '#/components/schemas/MobileApp' + description: Mobile app successfully renamed + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Rename mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/geo-location: + get: + description: API request to get geo location configuration for mobile app. + operationId: getMobileAppGeoLocationConfiguration + parameters: + - in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + geoDetailRemoval: NO_REMOVAL + geoMappingRules: [ + ] + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Get geo location configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + put: + description: API request to update geo location configuration for mobile app. + operationId: updateMobileAppGeoLocationConfiguration + parameters: + - description: Mobile App ID + example: iiLxP1zaTuCS7fyk9m4W0W + in: path + name: mobileAppId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Update geo location configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/geo-mapping-rules: + get: + description: API request to get custom geo mapping rules for mobile app. + operationId: getMobileAppGeoMappingRules + parameters: + - in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '200': + content: + text/csv: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Get custom geo mapping rules for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + put: + description: API request to set custom geo mapping rules for mobile app. + operationId: setMobileAppGeoMappingRules + parameters: + - in: path + name: mobileAppId + required: true + schema: + type: string + requestBody: + content: + text/csv: + schema: + type: string + responses: + '200': + content: + text/csv: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '415': + description: Unsupported Media Type. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Set custom geo mapping rules for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/ip-masking: + get: + description: API request to get IP masking configuration for mobile app. + operationId: getMobileAppIpMaskingConfiguration + parameters: + - in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + ipMasking: DEFAULT + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Get IP masking configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + put: + description: API request to update IP masking configuration for mobile app. + operationId: updateMobileAppIpMaskingConfiguration + parameters: + - description: Mobile App ID + example: iiLxP1zaTuCS7fyk9m4W0W + in: path + name: mobileAppId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Update IP masking configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload: + get: + description: API request to get all sourcemap configurations for mobile app. + operationId: getMobileAppSourceMapFiles + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + configs: + - id: 26ae11a865ec8c24 + description: InstanaAgentExample_v1 + createdAt: 1.7398641509596016E9 + modifiedAt: 1.7398643141402564E9 + metadata: + - type: DWARF + format: TGZ + url: com.instana.ios.InstanaAgentExample/dwarf + size: 2332564 + sizeOnDisk: 2324096 + blobs: + - blobIndex: 1 + size: 2332564 + sizeOnDisk: 2324096 + meta: null + schema: + $ref: '#/components/schemas/SourceMapUploadConfigs' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get all sourcemap configurations for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + post: + description: API request to add sourcemap configuration for mobile app. + operationId: postMobileAppSourceMapConfig + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + description: InstanaAgentExample_v2 + schema: + type: object + description: Source map upload configuration + properties: + description: + type: string + description: Name of configuration + responses: + '200': + content: + application/json: + example: + id: 1f4acfd2da7c53f1 + description: InstanaAgentExample_v2 + createdAt: 1.7478923068642304E9 + modifiedAt: 1.7478923068642304E9 + metadata: [ + ] + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: Mobile App sourcemap configuration added successfully + '400': + description: Missing description or description already used for a configuration. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable request - missing/invalid data. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Add new sourcemap configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}: + delete: + description: API request to delete sourcemap configuration for mobile app. + operationId: deleteMobileAppSourceMapUploadConfiguration + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '204': + description: Sourcemap configuration successfully deleted or sourcemap not + found + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Delete sourcemap configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + get: + description: API request to get sourcemap configuration for mobile app. + operationId: getMobileAppSourceMapFile + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: 53467e4fb60c1ba2 + description: InstanaAgentExample_v1 + createdAt: 1.7216977227669933E9 + modifiedAt: 1.7216983084051073E9 + metadata: + - type: DWARF + format: TGZ + url: com.instana.ios.InstanaAgentExample/dwarf + size: 3301023 + sizeOnDisk: 3287984 + blobs: + - blobIndex: 1 + size: 3301023 + sizeOnDisk: 3287984 + meta: null + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get sourcemap configuration for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/clear: + put: + description: API request to clear sourcemap files of a configuration for mobile + app. + operationId: clearMobileAppSourceMapUploadConfiguration + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '204': + description: Sourcemap files in the sourcemap configuration successfully + cleared + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Clear sourcemap files for sourcemap upload configuration + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/commit: + put: + description: API request to commit sourcemap file upload for mobile app. + operationId: commitMobileAppSourceMapFile + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + fileId: + type: string + fileType: + type: string + responses: + '200': + content: + application/json: + example: + id: fb3e868cd69f0647 + description: InstanaAgentExample_v2 + createdAt: 1.7479543183628924E9 + modifiedAt: 1.7479550970266616E9 + metadata: + - type: DWARF + format: TGZ + url: com.instana.ios.InstanaAgentExample/dwarf + size: 3454658 + sizeOnDisk: 3442288 + blobs: + - blobIndex: 1 + size: 3454658 + sizeOnDisk: 3442288 + meta: null + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: Successfully committed sourcemap file upload. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Commit sourcemap file upload for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/form: + put: + description: API request to upload sourcemap file for mobile app. + operationId: uploadMobileAppSourceMapFile + parameters: + - description: Mobile App ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: mobileAppId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + blobIndex: + type: integer + format: int32 + description: Blob index which starts from 1 + fileFormat: + type: string + description: File format. Example tgz + fileId: + type: string + description: Identifier of your app. For example, com.instana.ios.InstanaExampleApp + fileType: + type: string + description: dSYM stands for iOS symbol file, R8PG_MAP stands for + Android java mapping file + sourceMap: + type: string + format: binary + description: Path to your local symbol file + required: + - blobIndex + - fileFormat + - fileId + - fileType + - sourceMap + responses: + '200': + content: + application/json: + example: + id: 77e4c6c8c9855973 + description: InstanaAgentExample_v2 + createdAt: 1.7479473508836377E9 + modifiedAt: 1.7479484622585921E9 + metadata: + - type: DWARF + format: TGZ + url: com.instana.ios.InstanaAgentExample/dwarf + size: 3455633 + sizeOnDisk: 3443584 + blobs: + - blobIndex: 1 + size: 3455633 + sizeOnDisk: 3443584 + meta: null + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Upload sourcemap file for mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/config/{mobileAppId}/teams: + put: + description: API request to update teams of a mobile app. + operationId: updateMobileAppTeams + parameters: + - in: path + name: mobileAppId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/ApiTag' + responses: + '200': + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/ApiTag' + description: Mobile App successfully configured + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - ConfigureMobileAppMonitoring + summary: Update teams assigned to the mobile app + tags: + - Mobile App Configuration + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/metrics: + post: + deprecated: true + description: API request to get mobile app monitoring beacon metrics. + operationId: getMobileAppBeaconMetrics + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetMobileAppMetrics' + x-payload: getMobileAppMetricsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/MobileAppMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get mobile app beacon metrics + tags: + - Mobile App Metrics + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/session{id}{timestamp}: + get: + description: API request to get a mobile app monitoring session. + operationId: getSession + parameters: + - description: Identifier of the session to be retrieved + example: 9CA9E31D-B0F7-40EC-8D32-FE163A6557AE + in: path + name: id + required: true + schema: + type: string + style: matrix + - description: Timestamp of the session to be retrieved + example: 1730595029980 + in: path + name: timestamp + required: true + schema: + type: integer + format: int64 + style: matrix + responses: + '200': + content: + application/json: + example: + - agentVersion: 1.8.5 + mobileAppId: K3bP-bmCRkyimNai9vvq8o + mobileAppLabel: robot-warehouse + timestamp: 1707025019211 + clockSkew: 460 + ingestionTime: 1707025019670 + duration: 0 + batchSize: 1 + sessionId: 9CA9E31D-B0F7-40EC-8D32-FE163A6557AE + beaconId: 659302486df75422 + parentBeaconId: '' + backendTraceId: '' + type: sessionStart + view: Products + customEventName: '' + meta: + feature.testGroup: sigma + userIp: 149.200.0.0 + userId: Example user id + userSessionId: '' + userName: Example user name + userEmail: example@example.com + userLanguages: + - ar-JO + useFeatures: [ + ] + bundleIdentifier: com.example.shop + appBuild: aba9031kl + appVersion: 1.42.3 + platform: iOS + osName: iOS + osVersion: 16.7.1 + deviceManufacturer: Apple + deviceModel: iPhone 13 + deviceHardware: iPhone14,5 + viewportWidth: 320 + viewportHeight: 680 + carrier: Orange + connectionType: wifi + effectiveConnectionType: 3g + latitude: 31.9555 + longitude: 35.9435 + accuracyRadius: 20 + city: Amman + subdivision: Amman Governorate + subdivisionCode: AM + country: Jordan + countryCode: JO + continent: Asia + continentCode: AS + httpCallUrl: '' + httpCallOrigin: '' + httpCallPath: '' + httpCallMethod: '' + httpCallHeaders: { + } + errorCount: 0 + errorMessage: '' + errorId: '' + errorType: '' + stackTrace: '' + stackTraceLine: [ + ] + parsedStackTrace: '' + schema: + type: array + items: + $ref: '#/components/schemas/MobileAppMonitoringBeacon' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get mobile app session + tags: + - Mobile App Metrics + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/v2/metrics: + post: + description: API request to get mobile app monitoring beacon metrics. + operationId: getMobileAppBeaconMetricsV2 + requestBody: + content: + application/json: + example: + metrics: + - metric: beaconCount + aggregation: SUM + granularity: 60 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: mobileBeacon.mobileApp.name + operator: EQUALS + entity: NOT_APPLICABLE + value: robot-warehouse + - type: TAG_FILTER + name: mobileBeacon.view.name + operator: EQUALS + entity: NOT_APPLICABLE + value: Products + timeFrame: + to: null + windowSize: 3600000 + type: SESSION_START + schema: + $ref: '#/components/schemas/GetMobileAppMetricsV2' + x-payload: getMobileAppMetricsQuery + responses: + '200': + content: + application/json: + example: + metrics: + beaconCount.sum.60: + - - 1707026940000 + - 75.0 + - - 1707027000000 + - 75.0 + adjustedTimeframe: + windowSize: 3540000 + to: 1707030480000 + schema: + $ref: '#/components/schemas/MetricAPIResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get beacon metrics + tags: + - Mobile App Metrics + x-ibm-ahub-byok: true + /api/releases: + get: + operationId: getAllReleases + parameters: + - in: query + name: from + schema: + type: integer + format: int64 + description: The timestamp from where one wants to fetch the release markers. + - in: query + name: to + schema: + type: integer + format: int64 + description: The timestamp till where one wants to fetch the release markers. + - in: query + name: maxResults + schema: + type: integer + format: int32 + description: The maximum number of release markers to be fetched + responses: + '200': + content: + application/json: + example: + - id: Tiu16hLCTniHDtHb_uDV1w + name: demo-app/main-** + start: 1709091782000 + lastUpdated: 1709091782533 + schema: + type: array + items: + $ref: '#/components/schemas/ReleaseWithMetadata' + description: OK + security: + - ApiKeyAuth: + - CanConfigureReleases + summary: Get all releases + tags: + - Releases + x-description: getAllReleases + x-ibm-ahub-byok: true + post: + operationId: postRelease + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Release' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseWithMetadata' + description: OK + security: + - ApiKeyAuth: + - CanConfigureReleases + summary: Create release + tags: + - Releases + x-description: postRelease + x-ibm-ahub-byok: true + /api/releases/{releaseId}: + delete: + operationId: deleteRelease + parameters: + - in: path + name: releaseId + required: true + schema: + type: string + description: The unique release id which one wants to delete. + example: XK1e1TE3T9SHKugndn_soQ + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureReleases + summary: Delete release + tags: + - Releases + x-description: deleteRelease + x-ibm-ahub-byok: true + get: + operationId: getRelease + parameters: + - description: The unique release id which one wants to retrieve. + example: XK1e1TF3T9SHKugndn_soQ + in: path + name: releaseId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: XK1e1TF3T9SHKugndn_soQ + name: demo-app/main-** + start: 1706674621000 + lastUpdated: 1706674621604 + schema: + $ref: '#/components/schemas/ReleaseWithMetadata' + description: OK + security: + - ApiKeyAuth: + - CanConfigureReleases + summary: Get release + tags: + - Releases + x-description: getRelease + x-ibm-ahub-byok: true + put: + operationId: putRelease + parameters: + - in: path + name: releaseId + required: true + schema: + type: string + description: The unique release id which one wants to update. + example: XK1e1TQ3T9SHKugndn_soQ + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Release' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseWithMetadata' + description: OK + security: + - ApiKeyAuth: + - CanConfigureReleases + summary: Update release + tags: + - Releases + x-description: putRelease + x-ibm-ahub-byok: true + /api/settings/accesslog: + get: + description: Retrieve all access logs using defined query. + operationId: getAccessLogs + parameters: + - description: The offset within the result set + example: 0 + in: query + name: offset + schema: + type: integer + format: int32 + - description: The query to filter the results + example: username@example + in: query + name: query + schema: + type: string + - description: The size of returned page + example: 10 + in: query + name: pageSize + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + example: + total: 1977 + entries: + - tenantId: tenantId + tenantUnitId: unitId + action: LOGIN + email: username@example.com + fullName: Any User + timestamp: 1723035109091 + schema: + $ref: '#/components/schemas/AccessLogResponse' + description: OK + security: + - ApiKeyAuth: + - CanViewAuditLog + summary: Access log + tags: + - Audit Log + x-ibm-ahub-byok: true + /api/settings/apdex: + get: + description: API to Get All Apdex Configurations. + operationId: getAllApdexConfigurations + responses: + '200': + content: + application/json: + example: + - id: _PvpxqTfSyi27O_LCxMd0A + createdAt: 1653917798682 + apdexName: '{string}' + apdexEntity: + apdexType: website + entityId: '{object}' + threshold: 70 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + beaconType: httpRequest + - id: K6thQVyzQqWc38yspc0QWw + createdAt: 1693828514423 + apdexName: '{string}' + apdexEntity: + apdexType: application + entityId: '{object}' + threshold: 12 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + boundaryScope: ALL + includeInternal: false + includeSynthetic: false + schema: + type: array + items: + $ref: '#/components/schemas/ApdexConfiguration' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get All Apdex Configurations + tags: + - Apdex Settings + x-ibm-ahub-byok: true + post: + operationId: createApdexConfiguration + requestBody: + content: + application/json: + example: + - apdexName: Apdex Configuration One + apdexEntity: + apdexType: website + entityId: XIZGGVT1TX2O-0OFeT2Yig + threshold: 400 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + beaconType: httpRequest + schema: + $ref: '#/components/schemas/ApdexConfigurationInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ApdexConfiguration' + description: OK + security: + - ApiKeyAuth: + - canConfigureApdex + summary: Create Apdex Configuration + tags: + - Apdex Settings + x-description: createApdexConfiguration + x-ibm-ahub-byok: true + /api/settings/apdex/{entityType}/{entityId}: + get: + description: API to Get All Apdex Configurations for specified entity type and + entity id. + operationId: getApdexConfigurationsForEntityTypeAndId + parameters: + - description: Type of the Apdex Configuration, it could be APPLICATION or WEBSITE + example: APPLICATION + in: path + name: entityType + required: true + schema: + type: string + enum: + - APPLICATION + - WEBSITE + - description: Application or Website ID + example: XIZGGVT1TX2O-0OFeT2Yig + in: path + name: entityId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: u2MBXtasQoy3reni5-QZgg + createdAt: 1657743333352 + apdexName: Apdex Configuration One + apdexEntity: + apdexType: website + entityId: XIZGGVT1TX2O-0OFeT2Yig + threshold: 400 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + beaconType: httpRequest + - id: ShIqRJgpTT69HZHbfQKRGg + createdAt: 1693482558276 + apdexName: Apdex Configuration Two + apdexEntity: + apdexType: website + entityId: XIZGGVT1TX2O-0OFeT2Yig + threshold: 90 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + beaconType: httpRequest + schema: + type: array + items: + $ref: '#/components/schemas/ApdexConfiguration' + description: OK + '400': + content: + application/json: + example: '{"code":400,"message":"path param entityType must be one of + [APPLICATION, WEBSITE]"}' + schema: + type: string + description: Bad Request + security: + - ApiKeyAuth: + - Default + summary: Get all Apdex configurations for entity type and entity id + tags: + - Apdex Settings + x-ibm-ahub-byok: true + /api/settings/apdex/{id}: + delete: + operationId: deleteApdexConfiguration + parameters: + - description: Apdex Configuration ID + example: NCAoNKqySWSK1U5GkmyZgQ + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Apdex Configuration Deleted Successfully + security: + - ApiKeyAuth: + - canConfigureApdex + summary: Delete Apdex Configuration + tags: + - Apdex Settings + x-ibm-ahub-byok: true + get: + description: API to Get Apdex Configuration for specified ID. + operationId: getApdexConfiguration + parameters: + - description: Apdex Configuration ID + example: NCAoNKqySWSK1U5GkmyZgQ + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: NCAoNKqySWSK1U5GkmyZgQ + createdAt: 1666112381045 + apdexName: '{string}' + apdexEntity: + apdexType: website + entityId: XIZGGVT1TX2O-0OFeT2Yig + threshold: 100 + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: [ + ] + beaconType: httpRequest + schema: + $ref: '#/components/schemas/ApdexConfiguration' + description: OK + '404': + content: + application/json: + example: '{"errors":["Apdex Configuration not found"]}' + schema: + type: string + description: Apdex Configuration not found + security: + - ApiKeyAuth: + - Default + summary: Get Apdex Configuration + tags: + - Apdex Settings + x-ibm-ahub-byok: true + /api/settings/api-tokens: + get: + description: |- + Get the list of API Tokens for this Tenant-Unit + For more information on APIToken please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#apitoken. + operationId: getApiTokens + responses: + '200': + content: + application/json: + example: |- + [ + { + "id": "tokenId-1(masked)", + "accessGrantingToken": "accessGrantingToken-1(masked)", + "internalId": "internalId-1", + "name": "tokenName-1", + "createdBy": "user1@example.com", + "createdOn": timestamp, + "lastUsedOn": timestamp, + "expiresOn": null, + "limitedApplicationsScope": false, + "limitedBizOpsScope": false, + "limitedWebsitesScope": false, + "limitedKubernetesScope": false, + "limitedMobileAppsScope": false, + "limitedInfrastructureScope": false, + "limitedSyntheticsScope": false, + "limitedVsphereScope": false, + "limitedPhmcScope": false, + "limitedPvcScope": false, + "limitedZhmcScope": false, + "limitedPcfScope": false, + "limitedOpenstackScope": false, + "limitedAutomationScope": false, + "limitedLogsScope": false, + "canConfigureServiceMapping": true, + "canConfigureEumApplications": true, + "canConfigureMobileAppMonitoring": true, + "canConfigureUsers": true, + "canInstallNewAgents": true, + "canConfigureIntegrations": true, + "canConfigureApiTokens": true, + "canConfigurePersonalApiTokens": false, + "canConfigureAgentRunMode": true, + "canViewAuditLog": true, + "canConfigureAgents": true, + "canConfigureAuthenticationMethods": true, + "canConfigureApplications": true, + "canConfigureTeams": true, + "canConfigureReleases": true, + "canConfigureLogManagement": true, + "canConfigureDatabaseManagement": false, + "canCreatePublicCustomDashboards": true, + "canViewLogs": true, + "canViewTraceDetails": true, + "canConfigureSessionSettings": true, + "canConfigureGlobalAlertPayload": true, + "canViewAccountAndBillingInformation": true, + "canEditAllAccessibleCustomDashboards": true, + "canConfigureAutomationActions": true, + "canConfigureAutomationPolicies": true, + "canRunAutomationActions": true, + "canDeleteAutomationActionHistory": true, + "canConfigureSyntheticTests": true, + "canConfigureSyntheticLocations": true, + "canConfigureSyntheticCredentials": true, + "canViewSyntheticTests": true, + "canViewSyntheticLocations": true, + "canViewSyntheticTestResults": true, + "canUseSyntheticCredentials": true, + "canViewBusinessProcesses": false, + "canViewBusinessProcessDetails": false, + "canViewBusinessActivities": false, + "canViewBizAlerts": false, + "canDeleteLogs": true, + "canCreateHeapDump": false, + "canCreateThreadDump": false, + "canConfigureEventsAndAlerts": true, + "canConfigureMaintenanceWindows": true, + "canConfigureApplicationSmartAlerts": true, + "canConfigureWebsiteSmartAlerts": true, + "canConfigureMobileAppSmartAlerts": true, + "canConfigureGlobalApplicationSmartAlerts": true, + "canConfigureGlobalSyntheticSmartAlerts": true, + "canConfigureGlobalInfraSmartAlerts": true, + "canConfigureGlobalLogSmartAlerts": true, + "canManuallyCloseIssue": true, + "canViewLogVolume": true, + "canConfigureLogRetentionPeriod": true + }, + { + "id": "tokenId-2(masked)", + "accessGrantingToken": "accessGrantingToken-2(masked)", + "internalId": "internalId-2", + "name": "tokenName-2", + "createdBy": "user2@example.com", + "createdOn": timestamp, + "lastUsedOn": timestamp, + "limitedApplicationsScope": false, + "limitedBizOpsScope": false, + "limitedWebsitesScope": false, + "limitedKubernetesScope": false, + "limitedMobileAppsScope": false, + "limitedInfrastructureScope": false, + "limitedSyntheticsScope": false, + "limitedVsphereScope": false, + "limitedPhmcScope": false, + "limitedPvcScope": false, + "limitedZhmcScope": false, + "limitedPcfScope": false, + "limitedOpenstackScope": false, + "limitedAutomationScope": false, + "limitedLogsScope": false, + "canConfigureServiceMapping": true, + "canConfigureEumApplications": true, + "canConfigureMobileAppMonitoring": true, + "canConfigureUsers": true, + "canInstallNewAgents": true, + "canConfigureIntegrations": true, + "canConfigureApiTokens": true, + "canConfigurePersonalApiTokens": false, + "canConfigureAgentRunMode": true, + "canViewAuditLog": true, + "canConfigureAgents": true, + "canConfigureAuthenticationMethods": true, + "canConfigureApplications": true, + "canConfigureTeams": true, + "canConfigureReleases": true, + "canConfigureLogManagement": true, + "canConfigureDatabaseManagement": false, + "canCreatePublicCustomDashboards": true, + "canViewLogs": true, + "canViewTraceDetails": true, + "canConfigureSessionSettings": true, + "canConfigureGlobalAlertPayload": true, + "canViewAccountAndBillingInformation": true, + "canEditAllAccessibleCustomDashboards": true, + "canConfigureAutomationActions": false, + "canConfigureAutomationPolicies": false, + "canRunAutomationActions": false, + "canDeleteAutomationActionHistory": false, + "canConfigureSyntheticTests": true, + "canConfigureSyntheticLocations": true, + "canConfigureSyntheticCredentials": true, + "canViewSyntheticTests": true, + "canViewSyntheticLocations": true, + "canViewSyntheticTestResults": true, + "canUseSyntheticCredentials": true, + "canViewBusinessProcesses": false, + "canViewBusinessProcessDetails": false, + "canViewBusinessActivities": false, + "canViewBizAlerts": false, + "canDeleteLogs": false, + "canCreateHeapDump": false, + "canCreateThreadDump": false, + "canConfigureEventsAndAlerts": true, + "canConfigureMaintenanceWindows": true, + "canConfigureApplicationSmartAlerts": true, + "canConfigureWebsiteSmartAlerts": true, + "canConfigureMobileAppSmartAlerts": true, + "canConfigureGlobalApplicationSmartAlerts": true, + "canConfigureGlobalSyntheticSmartAlerts": true, + "canConfigureGlobalInfraSmartAlerts": true, + "canConfigureGlobalLogSmartAlerts": false, + "canManuallyCloseIssue": false, + "canViewLogVolume": false, + "canConfigureLogRetentionPeriod": false + } + ] + schema: + type: array + items: + $ref: '#/components/schemas/ApiToken' + description: OK + '404': + description: No API Tokens found + security: + - ApiKeyAuth: + - CanConfigureApiTokens + summary: Get all API Tokens + tags: + - API Token + x-ibm-ahub-byok: true + post: + description: |- + Create an API Token on the Tenant-Unit. Each API Token entry also contains a set of permissions + For more information on APIToken please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#apitoken. + operationId: postApiToken + requestBody: + content: + application/json: + example: | + { + "accessGrantingToken": "accessGrantingToken", + "name": "tokenName", + "internalId": "internalId", + "canViewAuditLog": true, + "canConfigureSessionSettings": true, + "canConfigureApplications": true, + "canConfigureAgents": true, + "canConfigureUsers": true, + "canConfigureEventsAndAlerts": true, + } + schema: + $ref: '#/components/schemas/ApiToken' + required: true + responses: + '200': + content: + application/json: + example: + id: tokenId + accessGrantingToken: accessGrantingToken + internalId: internalId + name: tokenName + createdBy: createdBy + createdOn: createdOn + lastUsedOn: lastUsedOn + expiresOn: expiresOn + limitedApplicationsScope: false + limitedBizOpsScope: false + limitedWebsitesScope: false + limitedKubernetesScope: false + limitedMobileAppsScope: false + limitedInfrastructureScope: false + limitedSyntheticsScope: false + limitedVsphereScope: false + limitedPhmcScope: false + limitedPvcScope: false + limitedZhmcScope: false + limitedPcfScope: false + limitedOpenstackScope: false + limitedAutomationScope: false + limitedLogsScope: false + canConfigureServiceMapping: false + canConfigureEumApplications: false + canConfigureMobileAppMonitoring: false + canConfigureUsers: true + canInstallNewAgents: false + canConfigureIntegrations: false + canConfigureApiTokens: false + canConfigurePersonalApiTokens: false + canConfigureAgentRunMode: false + canViewAuditLog: true + canConfigureAgents: true + canConfigureAuthenticationMethods: false + canConfigureApplications: true + canConfigureTeams: false + canConfigureReleases: false + canConfigureLogManagement: false + canConfigureDatabaseManagement: false + canCreatePublicCustomDashboards: false + canViewLogs: false + canViewTraceDetails: false + canConfigureSessionSettings: true + canConfigureGlobalAlertPayload: false + canViewAccountAndBillingInformation: false + canEditAllAccessibleCustomDashboards: false + canConfigureAutomationActions: false + canConfigureAutomationPolicies: false + canRunAutomationActions: false + canDeleteAutomationActionHistory: false + canConfigureSyntheticTests: false + canConfigureSyntheticLocations: false + canConfigureSyntheticCredentials: false + canViewSyntheticTests: false + canViewSyntheticLocations: false + canViewSyntheticTestResults: false + canUseSyntheticCredentials: false + canViewBusinessProcesses: false + canViewBusinessProcessDetails: false + canViewBusinessActivities: false + canViewBizAlerts: false + canDeleteLogs: false + canCreateHeapDump: false + canCreateThreadDump: false + canConfigureEventsAndAlerts: true + canConfigureMaintenanceWindows: false + canConfigureApplicationSmartAlerts: false + canConfigureWebsiteSmartAlerts: false + canConfigureMobileAppSmartAlerts: false + canConfigureGlobalApplicationSmartAlerts: false + canConfigureGlobalSyntheticSmartAlerts: false + canConfigureGlobalInfraSmartAlerts: false + canConfigureGlobalLogSmartAlerts: false + canManuallyCloseIssue: false + canViewLogVolume: false + canConfigureLogRetentionPeriod: false + schema: + $ref: '#/components/schemas/ApiToken' + description: OK + security: + - ApiKeyAuth: + - CanConfigureApiTokens + summary: Create an API token + tags: + - API Token + x-ibm-ahub-byok: true + /api/settings/api-tokens/{internalId}: + delete: + description: |- + Delete the Api Token + For more information on APIToken please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#apitoken. + operationId: deleteApiToken + parameters: + - in: path + name: internalId + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureApiTokens + summary: Delete API token + tags: + - API Token + x-ibm-ahub-byok: true + get: + description: |- + Returns API Token details, including the set of permissions + For more information on APIToken please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#apitoken. + operationId: getApiToken + parameters: + - in: path + name: internalId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: | + { + "id": "tokenId(masked)", + "accessGrantingToken": "accessGrantingToken(masked)", + "internalId": "internalId", + "name": "tokenName", + "createdBy": "user@example.com", + "createdOn": timestamp, + "lastUsedOn": timestamp, + "expiresOn": null, + "limitedApplicationsScope": false, + "limitedBizOpsScope": false, + "limitedWebsitesScope": false, + "limitedKubernetesScope": false, + "limitedMobileAppsScope": false, + "limitedInfrastructureScope": false, + "limitedSyntheticsScope": false, + "limitedVsphereScope": false, + "limitedPhmcScope": false, + "limitedPvcScope": false, + "limitedZhmcScope": false, + "limitedPcfScope": false, + "limitedOpenstackScope": false, + "limitedAutomationScope": false, + "limitedLogsScope": false, + "canConfigureServiceMapping": true, + "canConfigureEumApplications": true, + "canConfigureMobileAppMonitoring": true, + "canConfigureUsers": true, + "canInstallNewAgents": true, + "canConfigureIntegrations": true, + "canConfigureApiTokens": true, + "canConfigurePersonalApiTokens": false, + "canConfigureAgentRunMode": true, + "canViewAuditLog": true, + "canConfigureAgents": true, + "canConfigureAuthenticationMethods": true, + "canConfigureApplications": true, + "canConfigureTeams": true, + "canConfigureReleases": true, + "canConfigureLogManagement": true, + "canConfigureDatabaseManagement": false, + "canCreatePublicCustomDashboards": true, + "canViewLogs": true, + "canViewTraceDetails": true, + "canConfigureSessionSettings": true, + "canConfigureGlobalAlertPayload": true, + "canViewAccountAndBillingInformation": true, + "canEditAllAccessibleCustomDashboards": true, + "canConfigureAutomationActions": true, + "canConfigureAutomationPolicies": true, + "canRunAutomationActions": true, + "canDeleteAutomationActionHistory": true, + "canConfigureSyntheticTests": true, + "canConfigureSyntheticLocations": true, + "canConfigureSyntheticCredentials": true, + "canViewSyntheticTests": true, + "canViewSyntheticLocations": true, + "canViewSyntheticTestResults": true, + "canUseSyntheticCredentials": true, + "canViewBusinessProcesses": false, + "canViewBusinessProcessDetails": false, + "canViewBusinessActivities": false, + "canViewBizAlerts": false, + "canDeleteLogs": true, + "canCreateHeapDump": false, + "canCreateThreadDump": false, + "canConfigureEventsAndAlerts": true, + "canConfigureMaintenanceWindows": true, + "canConfigureApplicationSmartAlerts": true, + "canConfigureWebsiteSmartAlerts": true, + "canConfigureMobileAppSmartAlerts": true, + "canConfigureGlobalApplicationSmartAlerts": true, + "canConfigureGlobalSyntheticSmartAlerts": true, + "canConfigureGlobalInfraSmartAlerts": true, + "canConfigureGlobalLogSmartAlerts": true, + "canManuallyCloseIssue": true, + "canViewLogVolume": true, + "canConfigureLogRetentionPeriod": true + } + schema: + $ref: '#/components/schemas/ApiToken' + description: OK + '404': + description: No ApiToken found with internalId + security: + - ApiKeyAuth: + - CanConfigureApiTokens + summary: Get API token + tags: + - API Token + x-ibm-ahub-byok: true + put: + description: |- + Update API Token- Change Token name and associated permissions + For more information on APIToken please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#apitoken. + operationId: putApiToken + parameters: + - in: path + name: internalId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: | + { + "accessGrantingToken": "accessGrantingToken", + "name": "tokenName", + "internalId": "internalId", + "canViewAuditLog": true, + "canConfigureSessionSettings": true, + "canConfigureApplications": true, + "canConfigureAgents": true, + "canConfigureUsers": true, + "canConfigureEventsAndAlerts": true, + } + schema: + $ref: '#/components/schemas/ApiToken' + required: true + responses: + '200': + content: + application/json: + example: + id: tokenId + accessGrantingToken: accessGrantingToken + internalId: internalId + name: tokenName + createdBy: createdBy + createdOn: createdOn + lastUsedOn: lastUsedOn + expiresOn: expiresOn + limitedApplicationsScope: false + limitedBizOpsScope: false + limitedWebsitesScope: false + limitedKubernetesScope: false + limitedMobileAppsScope: false + limitedInfrastructureScope: false + limitedSyntheticsScope: false + limitedVsphereScope: false + limitedPhmcScope: false + limitedPvcScope: false + limitedZhmcScope: false + limitedPcfScope: false + limitedOpenstackScope: false + limitedAutomationScope: false + limitedLogsScope: false + canConfigureServiceMapping: false + canConfigureEumApplications: false + canConfigureMobileAppMonitoring: false + canConfigureUsers: true + canInstallNewAgents: false + canConfigureIntegrations: false + canConfigureApiTokens: false + canConfigurePersonalApiTokens: false + canConfigureAgentRunMode: false + canViewAuditLog: true + canConfigureAgents: true + canConfigureAuthenticationMethods: false + canConfigureApplications: true + canConfigureTeams: false + canConfigureReleases: false + canConfigureLogManagement: false + canConfigureDatabaseManagement: false + canCreatePublicCustomDashboards: false + canViewLogs: false + canViewTraceDetails: false + canConfigureSessionSettings: true + canConfigureGlobalAlertPayload: false + canViewAccountAndBillingInformation: false + canEditAllAccessibleCustomDashboards: false + canConfigureAutomationActions: false + canConfigureAutomationPolicies: false + canRunAutomationActions: false + canDeleteAutomationActionHistory: false + canConfigureSyntheticTests: false + canConfigureSyntheticLocations: false + canConfigureSyntheticCredentials: false + canViewSyntheticTests: false + canViewSyntheticLocations: false + canViewSyntheticTestResults: false + canUseSyntheticCredentials: false + canViewBusinessProcesses: false + canViewBusinessProcessDetails: false + canViewBusinessActivities: false + canViewBizAlerts: false + canDeleteLogs: false + canCreateHeapDump: false + canCreateThreadDump: false + canConfigureEventsAndAlerts: true + canConfigureMaintenanceWindows: false + canConfigureApplicationSmartAlerts: false + canConfigureWebsiteSmartAlerts: false + canConfigureMobileAppSmartAlerts: false + canConfigureGlobalApplicationSmartAlerts: false + canConfigureGlobalSyntheticSmartAlerts: false + canConfigureGlobalInfraSmartAlerts: false + canConfigureGlobalLogSmartAlerts: false + canManuallyCloseIssue: false + canViewLogVolume: false + canConfigureLogRetentionPeriod: false + schema: + $ref: '#/components/schemas/ApiToken' + description: OK + security: + - ApiKeyAuth: + - CanConfigureApiTokens + summary: Create or update an API token + tags: + - API Token + x-ibm-ahub-byok: true + /api/settings/auditlog: + get: + description: Retrieve all audit logs using defined query. + operationId: getAuditLogs + parameters: + - description: The offset within the result set + example: 0 + in: query + name: offset + schema: + type: integer + format: int32 + - description: The query to filter the results + example: username@example.com + in: query + name: query + schema: + type: string + - description: The size of returned page + example: 10 + in: query + name: pageSize + schema: + type: integer + format: int32 + responses: + '200': + content: + application/json: + example: + total: 1977 + entries: + - id: WawO9-p0SJ2ifST460tXYZ + action: GET /api/settings + message: Aborting request due to Insufficient permissions/access + rights for resource method + actor: + type: USER + id: userId + name: Any User + email: username@example.com + timestamp: 1723035109091 + meta: + origin_ip: 10.69.123.42 + schema: + $ref: '#/components/schemas/AuditLogUiResponse' + description: OK + security: + - ApiKeyAuth: + - CanViewAuditLog + summary: Audit log + tags: + - Audit Log + x-ibm-ahub-byok: true + /api/settings/authentication/googleSSO: + delete: + description: Delete the corresponding tenants Google SSO configuration. + operationId: deleteGoogleSSOConfig + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Delete Google SSO configuration + tags: + - Authentication + x-ibm-ahub-byok: true + /api/settings/authentication/ldap: + delete: + description: Delete the corresponding tenants LDAP configuration. + operationId: deleteLdapConfig + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Delete LDAP configuration + tags: + - Authentication + x-ibm-ahub-byok: true + /api/settings/authentication/oidc: + delete: + description: Delete the corresponding tenants OIDC configuration. + operationId: deleteOidcConfig + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Delete OIDC configuration + tags: + - Authentication + x-ibm-ahub-byok: true + /api/settings/authentication/saml: + delete: + description: Delete the corresponding tenants SAML configuration. + operationId: deleteSamlConfig + responses: + '204': + description: Successful - no content to return. + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Delete SAML configuration + tags: + - Authentication + x-ibm-ahub-byok: true + /api/settings/correction: + get: + operationId: getAllSloCorrectionWindowConfigs + parameters: + - in: query + name: pageSize + schema: + type: integer + format: int32 + description: Size of the Page + example: 1 + - in: query + name: page + schema: + type: integer + format: int32 + description: Page Number + example: 1 + - in: query + name: orderBy + schema: + type: string + description: Order By Value + enum: + - name + - start + - nextStart + - duration + - 'null' + example: name + - in: query + name: orderDirection + schema: + type: string + description: Order Direction of the Result, it could be ascending or descending + enum: + - ASC + - DESC + example: ASC + - in: query + name: query + schema: + type: string + description: Keyword or Query which needs to be searched + example: test Correction + - in: query + name: tag + schema: + type: array + description: List of tags which needs to be searched + example: Testing + items: + type: string + description: List of tags which needs to be searched + example: Testing + uniqueItems: true + - in: query + name: id + schema: + type: array + description: List of Correction Configuration IDs for which details need + to be fetched + example: SSPTkTWoT1W0OpE_iQbfaA + items: + type: string + description: List of Correction Configuration IDs for which details need + to be fetched + example: SSPTkTWoT1W0OpE_iQbfaA + - in: query + name: sloId + schema: + type: array + description: List of SLO IDs for which details need to be fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + items: + type: string + description: List of SLO IDs for which details need to be fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + - in: query + name: refresh + schema: + type: boolean + description: Boolean operator which specifies if the cache needs to be refreshed + example: false + responses: + '200': + content: + application/json: + example: + items: + - id: N9RdTL-WQkSTa3DYZidxzw + name: Correction test 2 + description: Correction test 2 + active: false + createdDate: 1749638253403 + lastUpdated: 1749595053386 + scheduling: + startTime: 1749664800000 + duration: 2 + durationUnit: hour + recurrentRule: FREQ=DAILY;INTERVAL=1 + recurrent: true + sloIds: + - SLOBL-EmhZZQRy-19JVEivEdg + tags: [ + ] + - id: p9kWax0uS7K2Who1WegsSg + name: New test for DST corrections - Test-1 + description: This is to minimize impacts from DST + active: true + createdDate: 1749514781416 + lastUpdated: 1749514780649 + scheduling: + startTime: 1748775600000 + duration: 10 + durationUnit: hour + recurrentRule: FREQ=DAILY;INTERVAL=1 + recurrent: true + sloIds: + - SLOffwtrVkfRmCjOZbdv3Ls9g + tags: + - seasonal + - once + - id: b1T4ShnZS-qaORzBTAFRTA + name: test rrule - one time + description: test + active: true + createdDate: 1750161592895 + lastUpdated: 1750161592139 + scheduling: + startTime: 1750287600000 + duration: 24 + durationUnit: hour + recurrentRule: '' + recurrent: false + sloIds: + - SLOffwtrVkfRmCjOZbdv3Ls9g + tags: [ + ] + page: 1 + pageSize: 10000 + totalHits: 3 + schema: + $ref: '#/components/schemas/PaginatedResult' + description: Fetched list of the SLO Correction Window Configurations Successfully + security: + - ApiKeyAuth: + - Default + summary: Get All SLO Correction Window Configs + tags: + - SLO Correction Configurations + x-ibm-ahub-byok: true + post: + operationId: createSloCorrectionWindowConfig + requestBody: + content: + application/json: + example: + name: New test for DST corrections Test-9 + description: This is to check report API + active: true + scheduling: + startTime: 1749607200000 + duration: 3 + durationUnit: HOUR + recurrentRule: FREQ=DAILY;INTERVAL=1 + sloIds: + - SLO4s-fs-GuT56c3v4KzQKBuQ + tags: + - test + - rrule + schema: + $ref: '#/components/schemas/CorrectionConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: S8rHrE93Rz2TXScTjBw1eg + name: New test for DST corrections Test-9 + description: This is to check report API + active: true + createdDate: 1750179360429 + lastUpdated: 1750179359948 + scheduling: + startTime: 1749607200000 + duration: 3 + durationUnit: hour + recurrentRule: FREQ=DAILY;INTERVAL=1 + recurrent: true + sloIds: + - SLO4s-fs-GuT56c3v4KzQKBuQ + tags: + - rrule + - test + schema: + $ref: '#/components/schemas/CorrectionConfiguration' + description: New SLO Correction Window Configuration Created Successfully + '400': + content: + application/json: + example: '{"errors":["SloConfiguration with id: SLOeDPoToCSTyOtd2ZQ + was not found"]}' + schema: + type: string + description: Bad Request + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureServiceLevelCorrectionWindows + summary: Create a new SLO Correction Window Config + tags: + - SLO Correction Configurations + x-description: createSloCorrectionConfiguration + x-ibm-ahub-byok: true + /api/settings/correction/{id}: + delete: + operationId: deleteSloCorrectionWindowConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: SLO Correction Window Configuration ID + example: cvLxfzNJQriV86MQTqOu1g + responses: + '204': + description: SLO Correction Window Configuration Deleted Successfully + security: + - ApiKeyAuth: + - canConfigureServiceLevelCorrectionWindows + summary: Delete an existing SLO Correction Window Configuration + tags: + - SLO Correction Configurations + x-ibm-ahub-byok: true + get: + operationId: getSloCorrectionWindowConfigById + parameters: + - in: path + name: id + required: true + schema: + type: string + description: SLO Correction Window Configuration ID + example: dCTspkffgHlS_OzNOATQWgsuw + - in: query + name: refresh + schema: + type: boolean + description: Boolean operator which specifies if the cache needs to be refreshed + example: false + responses: + '200': + content: + application/json: + example: + id: S8rHrE93Rz2TXScTjBw1eg + name: New test for DST corrections Test-9 + description: This is to check report API + active: true + createdDate: 1750179360429 + lastUpdated: 1750179359948 + scheduling: + startTime: 1749607200000 + duration: 3 + durationUnit: hour + recurrentRule: FREQ=DAILY;INTERVAL=1 + recurrent: true + sloIds: + - SLO4s-fs-GuT56c3v4KzQKBuQ + tags: + - rrule + - test + schema: + $ref: '#/components/schemas/CorrectionConfiguration' + description: Fetched SLO Correction Window Configuration Successfully + '404': + content: + application/json: + example: + errors: + - The SLO Correction Window Configuration you are looking for does + not exist. + schema: + type: string + description: SLO Correction Window Configuration Not Found + security: + - ApiKeyAuth: + - Default + summary: Get an existing SLO Correction Window Config + tags: + - SLO Correction Configurations + x-ibm-ahub-byok: true + put: + operationId: updateSloCorrectionWindowConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: SLO Correction Window Configuration ID + example: cvLxfzNJQriV86MQTqOu1g + requestBody: + content: + application/json: + example: + name: New test for DST corrections Test-9 + description: This is to check report API + active: true + scheduling: + startTime: 1749607200000 + duration: 3 + durationUnit: HOUR + recurrentRule: FREQ=DAILY;INTERVAL=1 + sloIds: + - SLO4s-fs-GuT56c3v4KzQKBuQ + tags: + - test + - rrule + schema: + $ref: '#/components/schemas/CorrectionConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: S8rHrE93Rz2TXScTjBw1eg + name: New test for DST corrections Test-9 + description: This is to check report API + active: true + createdDate: 1750179360429 + lastUpdated: 1750179359948 + scheduling: + startTime: 1749607200000 + duration: 3 + durationUnit: hour + recurrentRule: FREQ=DAILY;INTERVAL=1 + recurrent: true + sloIds: + - SLO4s-fs-GuT56c3v4KzQKBuQ + tags: + - rrule + - test + schema: + $ref: '#/components/schemas/CorrectionConfiguration' + description: Updated SLO Correction Window Configuration Successfully + '400': + content: + application/json: + example: + errors: + - 'SloConfiguration with id: SLOeDPoToCSTyOtd2ZQ was not found' + schema: + type: string + description: Bad Request + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureServiceLevelCorrectionWindows + summary: Update an existing SLO Correction Window Config + tags: + - SLO Correction Configurations + x-description: updateSloCorrectionConfiguration + x-ibm-ahub-byok: true + /api/settings/invitation/share: + post: + operationId: shareAndInviteUsers + requestBody: + content: + application/json: + example: + - email: username@example.com + groupId: '-1' + message: hello message + path: /testpath + schema: + type: array + items: + $ref: '#/components/schemas/Invitation' + required: true + responses: + '200': + content: + application/json: + example: + invitationResults: + - userEmail: username@example.com + invitationStatus: SUCCESS + schema: + type: array + items: + $ref: '#/components/schemas/InvitationResponse' + description: OK + '400': + content: + application/json: + example: + errors: + - Please set at least one email + schema: + type: string + description: Bad Request Error + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Send user invitations + tags: + - User + x-description: inviteUsers + x-ibm-ahub-byok: true + /api/settings/invitations: + delete: + operationId: revokePendingInvitation + parameters: + - description: Email of the invite for removal + example: username@example.com + in: query + name: email + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Revoke pending invitation + tags: + - User + x-description: revokePendingInvitation + x-ibm-ahub-byok: true + get: + operationId: getInvitations + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InvitationResult' + description: OK + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: All pending invitations + tags: + - User + x-description: getInvitations + x-ibm-ahub-byok: true + post: + operationId: inviteUsers + requestBody: + content: + application/json: + example: + - email: username@example.com + groupId: '-1' + schema: + type: array + items: + $ref: '#/components/schemas/Invitation' + required: true + responses: + '200': + content: + application/json: + example: + invitationResults: + - userEmail: username@example.com + invitationStatus: SUCCESS + schema: + type: array + items: + $ref: '#/components/schemas/InvitationResponse' + description: OK + '400': + content: + application/json: + example: + errors: + - Please set at least one email + schema: + type: string + description: Bad Request Error + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Send user invitations + tags: + - User + x-description: inviteUsers + x-ibm-ahub-byok: true + /api/settings/maintenance: + get: + deprecated: true + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: getMaintenanceConfigs + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ValidatedMaintenanceConfigWithStatus' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: All maintenance configurations + tags: + - Maintenance Configuration + x-ibm-ahub-byok: true + /api/settings/maintenance/{id}: + delete: + deprecated: true + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: deleteMaintenanceConfig + parameters: + - description: ID of the Maintenance Window Configuration to delete. + example: MPhKWoXRp0PBelqk + in: path + name: id + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Delete maintenance configuration + tags: + - Maintenance Configuration + x-ibm-ahub-byok: true + get: + deprecated: true + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: getMaintenanceConfig + parameters: + - description: ID of the Maintenance Window Configuration to get. + example: MPhKWoXRp0PBelqk + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/MaintenanceConfigWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Maintenance configuration + tags: + - Maintenance Configuration + x-ibm-ahub-byok: true + put: + deprecated: true + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: putMaintenanceConfig + parameters: + - description: ID of the Maintenance Window Configuration to update. + example: MPhKWoXRp0PBelqk + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MaintenanceConfig' + required: true + responses: + '200': + description: Maintenance config has been created or updated, and successfully + scheduled immediately if needed + '202': + description: Maintenance config has been created or updated, but could not + to be scheduled immediately. It will therefore be scheduled during the + next auto-refresh with a delay of up to 4 minutes. + '400': + description: Invalid JSON or mismatching IDs have been provided + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Create or update maintenance configuration + tags: + - Maintenance Configuration + x-ibm-ahub-byok: true + /api/settings/rbac/groups: + get: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: getGroups + responses: + '200': + content: + application/json: + example: + - id: groupId1 + name: group1 + members: + - userId: userId1 + email: username1@example.com + - userId: userId2 + email: username2@example.com + - id: groupId2 + name: group2 + members: + - userId: userId1 + email: username1@example.com + - userId: userId3 + email: username3@example.com + schema: + type: array + items: + $ref: '#/components/schemas/ApiGroup' + description: OK + '404': + description: No groups found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get groups + tags: + - Groups + x-description: getGroups + x-ibm-ahub-byok: true + post: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: createGroup + requestBody: + content: + application/json: + example: + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: + - scopeId: scopeId10 + scopeRoleId: '-1' + restrictedApplicationFilter: + label: group name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiCreateGroup' + required: true + responses: + '200': + content: + application/json: + example: + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: + - scopeId: scopeId10 + scopeRoleId: '-1' + restrictedApplicationFilter: + label: group name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + description: OK + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Create group + tags: + - Groups + x-description: createGroup + x-ibm-ahub-byok: true + /api/settings/rbac/groups/delete: + put: + description: |- + Delete multiple groups + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: deleteGroups + requestBody: + content: + application/json: + schema: + type: array + items: + type: string + uniqueItems: true + required: true + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Delete groups + tags: + - Groups + x-ibm-ahub-byok: true + /api/settings/rbac/groups/user/{email}: + get: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: getGroupsByUser + parameters: + - description: Email of the user for retrieval + example: username@example.com + in: path + name: email + required: true + schema: + type: string + style: simple + responses: + '200': + content: + application/json: + example: + - id: groupId + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + - LIMITED_APPLICATIONS_SCOPE + - ACCESS_APPLICATIONS + - CAN_VIEW_TRACE_DETAILS + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: [ + ] + restrictedApplicationFilter: + label: filter name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + type: array + items: + $ref: '#/components/schemas/ApiGroup' + description: OK + '404': + description: No groups found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get groups of a single user + tags: + - Groups + x-description: getGroupsByUser + x-ibm-ahub-byok: true + /api/settings/rbac/groups/{groupId}/permissions: + put: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: addPermissionsOnGroup + parameters: + - description: Id of the group to add permissions + example: groupId + in: path + name: groupId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + example: + - CAN_VIEW_SYNTHETIC_TESTS + - CAN_VIEW_SYNTHETIC_LOCATIONS + - CAN_CONFIGURE_AUTOMATION_ACTIONS + schema: + type: array + items: + type: string + required: true + responses: + '200': + content: + application/json: + example: + id: groupId + name: group name + members: + - userId: userId1 + email: username1@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + - CAN_VIEW_SYNTHETIC_TESTS + - CAN_VIEW_SYNTHETIC_LOCATIONS + - CAN_CONFIGURE_AUTOMATION_ACTIONS + applicationIds: [ + ] + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: [ + ] + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + description: OK + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Add permissions to group + tags: + - Groups + x-description: updateGroup + x-ibm-ahub-byok: true + /api/settings/rbac/groups/{groupId}/users: + put: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: addUsersToGroup + parameters: + - description: Id of the group to add users + example: groupId + in: path + name: groupId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + example: + - userId1 + - userId3 + schema: + type: array + items: + type: string + required: true + responses: + '200': + content: + application/json: + example: + id: groupId + name: group name + members: + - userId: userId1 + email: username1@example.com + - userId: userId2 + email: username2@example.com + - userId: userId3 + email: username3@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + applicationIds: [ + ] + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: [ + ] + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + description: OK + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Add users to group + tags: + - Groups + x-description: addUsersToGroup + x-ibm-ahub-byok: true + /api/settings/rbac/groups/{id}: + delete: + description: |- + Delete the group data. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: deleteGroup + parameters: + - description: Id of the group to delete + example: groupId + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: No Content - Group successfully deleted + '412': + content: + application/json: + example: Deletion of this group is not allowed + schema: + type: string + example: Deletion of this group is not allowed + description: Pre-Condition Failed - Returned when attempting to delete protected + system groups. + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Delete group + tags: + - Groups + x-ibm-ahub-byok: true + get: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: getGroup + parameters: + - description: Id of the group for retrieval + example: groupId + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: groupId + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - ACCESS_INFRASTRUCTURE + - LIMITED_WEBSITES_SCOPE + - CAN_VIEW_SYNTHETIC_TESTS + - CAN_VIEW_SYNTHETIC_LOCATIONS + - CAN_VIEW_TRACE_DETAILS + - CAN_CONFIGURE_AGENT_RUN_MODE + - CAN_CONFIGURE_AUTOMATION_ACTIONS + - CAN_CONFIGURE_USERS + - ACCESS_SYNTHETICS + - CAN_VIEW_LOGS + - LIMITED_KUBERNETES_SCOPE + - CAN_CONFIGURE_TEAMS + - CAN_VIEW_SYNTHETIC_TEST_RESULTS + - LIMITED_SYNTHETICS_SCOPE + - LIMITED_INFRASTRUCTURE_SCOPE + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + - scopeId: scopeId2 + scopeRoleId: '-102' + - scopeId: scopeId3 + scopeRoleId: '-102' + - scopeId: scopeId4 + scopeRoleId: '-102' + - scopeId: scopeId5 + scopeRoleId: '-102' + - scopeId: scopeId6 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: + - scopeId: scopeId10 + scopeRoleId: '-1' + restrictedApplicationFilter: + label: filter name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + description: OK + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get group + tags: + - Groups + x-description: getGroup + x-ibm-ahub-byok: true + put: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: updateGroup + parameters: + - description: Id of the group to update + example: groupId + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: + - scopeId: scopeId10 + scopeRoleId: '-1' + restrictedApplicationFilter: + label: group name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + required: true + responses: + '200': + content: + application/json: + example: + name: group name + members: + - userId: userId + email: username@example.com + permissionSet: + permissions: + - CAN_VIEW_LOGS + applicationIds: + - scopeId: scopeId1 + scopeRoleId: '-102' + kubernetesClusterUUIDs: [ + ] + kubernetesNamespaceUIDs: [ + ] + websiteIds: [ + ] + mobileAppIds: [ + ] + syntheticTestIds: + - scopeId: scopeId10 + scopeRoleId: '-1' + restrictedApplicationFilter: + label: group name + tagFilterExpression: + type: TAG_FILTER + name: service.name + stringValue: acceptor + numberValue: null + booleanValue: null + key: null + value: acceptor + operator: EQUALS + entity: DESTINATION + scope: INCLUDE_NO_DOWNSTREAM + infraDfqFilter: + scopeId: '' + scopeRoleId: '-1' + actionFilter: + scopeId: '' + scopeRoleId: '-1' + schema: + $ref: '#/components/schemas/ApiGroup' + description: OK + '404': + description: Not Found - Group with the specified ID does not exist + '412': + content: + application/json: + example: Modification of this group is not allowed + schema: + type: string + example: Modification of this group is not allowed + description: Pre-Condition Failed - Returned when attempting to modify protected + groups in a forbidden way. + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Update group + tags: + - Groups + x-description: updateGroup + x-ibm-ahub-byok: true + /api/settings/rbac/groups/{id}/user/{userId}: + delete: + description: |- + Remove the user from a group. + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: removeUserFromGroup + parameters: + - description: Id of the group to remove user from + example: groupId + in: path + name: id + required: true + schema: + type: string + - description: Id of the user to remove + example: userId + in: path + name: userId + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Remove user from group + tags: + - Groups + x-ibm-ahub-byok: true + /api/settings/rbac/mappings: + get: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: getGroupMappings + responses: + '200': + content: + application/json: + example: + - id: mappingId + key: roles + value: analyst + groupId: '-3' + schema: + type: array + items: + $ref: '#/components/schemas/GroupMapping' + description: OK + '404': + description: No group mapping found + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Get all group mappings + tags: + - Groups + x-description: getGroupMappings + x-ibm-ahub-byok: true + 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 + requestBody: + content: + application/json: + example: + key: roles + value: analyst + groupId: '-3' + schema: + $ref: '#/components/schemas/GroupMapping' + required: true + responses: + '200': + content: + application/json: + example: + id: mappingId + key: roles + value: analyst + groupId: '-3' + schema: + $ref: '#/components/schemas/GroupMapping' + description: OK + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Create group mapping + tags: + - Groups + x-description: createGroupMapping + x-ibm-ahub-byok: true + /api/settings/rbac/mappings/identityProvider/restrictEmptyIdpGroups: + get: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: getIdentityProviderPatch + responses: + '200': + content: + application/json: + example: + restrictEmptyIdpGroups: false + schema: + $ref: '#/components/schemas/IdentityProviderPatch' + description: OK + '404': + description: No group mapping restriction found + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Check user restrictions for empty Idp group mapping + tags: + - Groups + x-description: getIdentityProviderPatch + x-ibm-ahub-byok: true + put: + description: |2- + + For more information on groups please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#groups. + operationId: updateIdentityProvider + requestBody: + content: + application/json: + example: + restrictEmptyIdpGroups: true + schema: + $ref: '#/components/schemas/IdentityProviderPatch' + required: true + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Allow/Restrict users with empty Idp group mapping + tags: + - Groups + x-description: updateIdentityProvider + x-ibm-ahub-byok: true + /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 + responses: + '200': + content: + application/json: + example: + - id: mappingId + key: roles + value: analyst + role: default + team: testing + schema: + type: array + items: + $ref: '#/components/schemas/GroupMappingOverview' + description: OK + '404': + description: No group mapping overviews found + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Get all group mappings overview + tags: + - Groups + x-description: getGroupMappingsOverview + x-ibm-ahub-byok: true + /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 + parameters: + - description: Id of the group mapping to delete + example: mappingId + in: path + name: id + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Delete group mapping + tags: + - Groups + x-description: deleteGroupMapping + x-ibm-ahub-byok: true + 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 + parameters: + - in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: mappingId + key: roles + value: analyst + groupId: '-3' + schema: + $ref: '#/components/schemas/GroupMapping' + description: OK + '404': + description: No group mapping found + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Get group mapping + tags: + - Groups + x-description: getGroupMapping + x-ibm-ahub-byok: true + 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 + parameters: + - description: Id of the group mapping to update + example: mappingId + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + id: mappingId + key: roles + value: analyst + groupId: '-3' + schema: + $ref: '#/components/schemas/GroupMapping' + required: true + responses: + '200': + content: + application/json: + example: + id: mappingId + key: roles + value: analyst + groupId: '-3' + schema: + $ref: '#/components/schemas/GroupMapping' + description: OK + security: + - ApiKeyAuth: + - CanConfigureAuthenticationMethods + summary: Update group mapping + tags: + - Groups + x-description: updateGroupMapping + x-ibm-ahub-byok: true + /api/settings/rbac/roles: + get: + description: Retrieve all roles for the current tenant unit. + operationId: getRoles + responses: + '200': + content: + application/json: + example: + - id: role-1 + name: Administrator + members: + - userId: user-1 + email: admin@example.com + name: Admin User + - userId: user-2 + email: manager@example.com + name: Manager User + permissions: + - CAN_CONFIGURE_APPLICATIONS + - CAN_CONFIGURE_EVENTS + - CAN_CONFIGURE_INFRASTRUCTURE + - CAN_CONFIGURE_TEAMS + - id: role-2 + name: Developer + members: + - userId: user-3 + email: dev1@example.com + name: Developer One + - userId: user-4 + email: dev2@example.com + name: Developer Two + permissions: + - CAN_VIEW_APPLICATIONS + - CAN_VIEW_EVENTS + - CAN_VIEW_INFRASTRUCTURE + schema: + type: array + items: + $ref: '#/components/schemas/ApiRole' + description: OK + '404': + description: No roles found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get all roles + tags: + - Roles + x-ibm-ahub-byok: true + post: + description: Create a new role. + operationId: createRole + requestBody: + content: + application/json: + example: + name: New Role + members: + - userId: user-5 + email: newuser@example.com + name: New User + permissions: + - CAN_VIEW_APPLICATIONS + - CAN_VIEW_EVENTS + schema: + $ref: '#/components/schemas/ApiCreateRole' + description: Role to create + required: true + responses: + '200': + content: + application/json: + example: + id: role-3 + name: New Role + members: + - userId: user-5 + email: newuser@example.com + name: New User + permissions: + - CAN_VIEW_APPLICATIONS + - CAN_VIEW_EVENTS + schema: + $ref: '#/components/schemas/ApiRole' + description: OK + '422': + description: Unprocessable entity. + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Create role + tags: + - Roles + x-ibm-ahub-byok: true + /api/settings/rbac/roles/{id}: + delete: + description: Delete a role by ID. + operationId: deleteRole + parameters: + - description: Id of the role to delete + example: roleId + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Role successfully deleted + '404': + description: Role not found + '412': + content: + application/json: + example: Deletion of this group is not allowed + schema: + type: string + example: Deletion of this group is not allowed + description: Pre-Condition Failed - Returned when attempting to delete protected + system roles. + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Delete role + tags: + - Roles + x-ibm-ahub-byok: true + get: + description: Retrieve a specific role by its ID. + operationId: getRole + parameters: + - description: Id of the role for retrieval + example: roleId + in: path + name: id + required: true + schema: + type: string + - in: query + name: includeTeamUsage + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + id: role-1 + name: Administrator + members: + - userId: user-1 + email: admin@example.com + name: Admin User + - userId: user-2 + email: manager@example.com + name: Manager User + permissions: + - CAN_CONFIGURE_APPLICATIONS + - CAN_CONFIGURE_EVENTS + - CAN_CONFIGURE_INFRASTRUCTURE + - CAN_CONFIGURE_TEAMS + schema: + $ref: '#/components/schemas/ApiRole' + description: OK + '404': + description: Role not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get role by ID + tags: + - Roles + x-ibm-ahub-byok: true + put: + description: Update an existing role by ID. + operationId: updateRole + parameters: + - description: Id of the role to update + example: roleId + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + id: role-2 + name: Updated Developer Role + members: + - userId: user-3 + email: dev1@example.com + name: Developer One + - userId: user-4 + email: dev2@example.com + name: Developer Two + - userId: user-6 + email: dev3@example.com + name: Developer Three + permissions: + - CAN_VIEW_APPLICATIONS + - CAN_VIEW_EVENTS + - CAN_VIEW_INFRASTRUCTURE + - CAN_CONFIGURE_APPLICATIONS + schema: + $ref: '#/components/schemas/ApiRole' + description: Updated role data + required: true + responses: + '200': + content: + application/json: + example: + id: role-2 + name: Updated Developer Role + members: + - userId: user-3 + email: dev1@example.com + name: Developer One + - userId: user-4 + email: dev2@example.com + name: Developer Two + - userId: user-6 + email: dev3@example.com + name: Developer Three + permissions: + - CAN_VIEW_APPLICATIONS + - CAN_VIEW_EVENTS + - CAN_VIEW_INFRASTRUCTURE + - CAN_CONFIGURE_APPLICATIONS + schema: + $ref: '#/components/schemas/ApiRole' + description: OK + '404': + description: Role not found + '412': + content: + application/json: + example: Modification of this group is not allowed + schema: + type: string + example: Modification of this group is not allowed + description: Pre-Condition Failed - Returned when attempting to modify protected + roles in a forbidden way. + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Update role + tags: + - Roles + x-ibm-ahub-byok: true + /api/settings/rbac/teams: + get: + description: Retrieve all user teams for the current tenant unit. + operationId: getTeams + responses: + '200': + content: + application/json: + example: + - id: teamId1 + tag: team1 + info: + description: Team 1 description + scope: + accessPermissions: + - CAN_CONFIGURE_APPLICATIONS + - CAN_CONFIGURE_EVENTS + restrictedApplicationFilter: null + applications: + - app-123 + - app-456 + websites: [ + ] + mobileApps: [ + ] + kubernetesClusters: + - cluster-1 + kubernetesNamespaces: [ + ] + syntheticTests: [ + ] + syntheticCredentials: [ + ] + businessPerspectives: [ + ] + tagIds: + - tag-1 + actionFilter: '' + logFilter: '' + infraDfqFilter: '' + members: + - userId: userId1 + email: username1@example.com + name: User One + roles: + - roleId: role-1 + roleName: Admin + viaIdP: false + - userId: userId2 + email: username2@example.com + name: User Two + roles: + - roleId: role-2 + roleName: Developer + viaIdP: false + - id: teamId2 + tag: team2 + info: + description: Team 2 description + scope: + accessPermissions: + - CAN_CONFIGURE_INFRASTRUCTURE + restrictedApplicationFilter: null + applications: [ + ] + websites: [ + ] + mobileApps: [ + ] + kubernetesClusters: [ + ] + kubernetesNamespaces: + - namespace-1 + syntheticTests: [ + ] + syntheticCredentials: [ + ] + businessPerspectives: [ + ] + tagIds: [ + ] + actionFilter: '' + logFilter: '' + infraDfqFilter: '' + members: + - userId: userId1 + email: username1@example.com + name: User One + roles: + - roleId: role-1 + roleName: Admin + viaIdP: false + - userId: userId3 + email: username3@example.com + name: User Three + roles: + - roleId: role-3 + roleName: Operator + viaIdP: true + schema: + type: array + items: + $ref: '#/components/schemas/ApiTeam' + description: OK + '404': + description: No teams found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get all teams + tags: + - Teams + x-ibm-ahub-byok: true + post: + description: Create a new team. + operationId: createTeam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ApiTeam' + description: Team to create + required: true + responses: + '200': + description: Team created successfully + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Create team + tags: + - Teams + x-ibm-ahub-byok: true + /api/settings/rbac/teams/{id}: + delete: + description: Delete the team data. + operationId: deleteTeam + parameters: + - description: Id of the team to delete + example: teamId + in: path + name: id + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Delete team + tags: + - Teams + x-ibm-ahub-byok: true + get: + description: Retrieve a specific team by its ID. + operationId: getTeam + parameters: + - description: Id of the team for retrieval + example: teamId + in: path + name: id + required: true + schema: + type: string + - in: query + name: includeTeamUsage + schema: + type: boolean + responses: + '200': + content: + application/json: + example: + id: team-1 + tag: Development Team + info: + description: Team responsible for application development + scope: + accessPermissions: + - CAN_CONFIGURE_APPLICATIONS + - CAN_CONFIGURE_EVENTS + restrictedApplicationFilter: + restrictingApplicationId: app-123 + applications: + - app-123 + - app-456 + websites: + - website-1 + mobileApps: + - mobile-1 + kubernetesClusters: + - cluster-1 + kubernetesNamespaces: + - namespace-1 + syntheticTests: + - test-1 + syntheticCredentials: [ + ] + businessPerspectives: + - bp-1 + tagIds: + - tag-1 + - tag-2 + actionFilter: '' + logFilter: '' + infraDfqFilter: '' + members: + - userId: user-1 + email: user1@example.com + name: John Doe + roles: + - roleId: role-1 + roleName: Admin + viaIdP: false + - userId: user-2 + email: user2@example.com + name: Jane Smith + roles: + - roleId: role-2 + roleName: Developer + viaIdP: false + schema: + $ref: '#/components/schemas/ApiTeam' + description: Successfully retrieved the team + '404': + description: Team not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get team by ID + tags: + - Teams + x-ibm-ahub-byok: true + put: + description: Update an existing team by ID. + operationId: updateTeam + parameters: + - description: Id of the team to update + example: teamId + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ApiTeam' + responses: + '200': + description: Team updated successfully + '404': + description: Team not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Update team + tags: + - Teams + x-ibm-ahub-byok: true + /api/settings/session: + delete: + description: Delete tenant unit session settings. + operationId: deleteSessionSettings + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureSessionSettings + summary: Delete session settings + tags: + - Session Settings + x-ibm-ahub-byok: true + get: + description: Get the tenant unit session settings + operationId: getSessionSettings + responses: + '200': + content: + application/json: + example: | + { + tokenLifeTimeInMillis: 28800000, + idleTimeInMillis: 3600000 + } + schema: + $ref: '#/components/schemas/SessionSettings' + description: OK + security: + - ApiKeyAuth: + - CanConfigureSessionSettings + summary: Get session settings + tags: + - Session Settings + x-ibm-ahub-byok: true + put: + description: Update individual tenant unit session settings. + operationId: setSessionSettings + requestBody: + content: + application/json: + example: | + { + tokenLifeTimeInMillis: 28800000, + idleTimeInMillis: 3600000 + } + schema: + $ref: '#/components/schemas/SessionSettings' + responses: + '200': + content: + application/json: + example: | + { + tokenLifeTimeInMillis: 28800000, + idleTimeInMillis: 3600000 + } + schema: + $ref: '#/components/schemas/SessionSettings' + description: OK + security: + - ApiKeyAuth: + - CanConfigureSessionSettings + summary: Configure session settings + tags: + - Session Settings + x-ibm-ahub-byok: true + /api/settings/sli: + get: + deprecated: true + operationId: getAllSliConfigs + responses: + '200': + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + type: array + items: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get All SLI Configs + tags: + - SLI Settings + x-ibm-ahub-byok: true + post: + deprecated: true + operationId: createSliConfig + requestBody: + content: + application/json: + example: + sliName: test-application-sli + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + schema: + $ref: '#/components/schemas/SliConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Create SLI Config + tags: + - SLI Settings + x-description: createSliConfiguration + x-ibm-ahub-byok: true + /api/settings/sli/{id}: + delete: + deprecated: true + operationId: deleteSliConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Indicator ID + example: 7iydEfqJQP6AKzd3yR3byw + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Delete SLI Config + tags: + - SLI Settings + x-ibm-ahub-byok: true + get: + deprecated: true + operationId: getSliConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Indicator ID + example: 3J0RDgfyQz-P_hVzbNNb4A + responses: + '200': + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get SLI Config + tags: + - SLI Settings + x-ibm-ahub-byok: true + put: + deprecated: true + operationId: updateSliConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Indicator ID + example: 3J0RDgfyQz-P_hVzbNNb4A + requestBody: + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + $ref: '#/components/schemas/SliConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Update SLI Config + tags: + - SLI Settings + x-ibm-ahub-byok: true + /api/settings/slo: + get: + operationId: getAllSloConfigs + parameters: + - in: query + name: pageSize + schema: + type: integer + format: int32 + description: Size of the Page + example: 1 + - in: query + name: page + schema: + type: integer + format: int32 + description: Page Number + example: 1 + - in: query + name: orderBy + schema: + type: string + description: Order By Value + enum: + - name + - entityType + - entityName + - blueprint + - sloStatus + - sloWindowRemain + - timeWindow + - 'null' + example: name + - in: query + name: orderDirection + schema: + type: string + description: Order Direction of the Result, it could be ascending or descending + enum: + - ASC + - DESC + example: ASC + - in: query + name: query + schema: + type: string + description: Keyword or Query which needs to be searched + example: test SLO + - in: query + name: tag + schema: + type: array + description: List of tags which needs to be searched + example: Testing + items: + type: string + description: List of tags which needs to be searched + example: Testing + uniqueItems: true + - in: query + name: entityType + schema: + type: array + description: SLO Entity Type which needs to be filtered. (This filter could + occurs multiple times.) + example: application + items: + type: string + description: SLO Entity Type which needs to be filtered. (This filter + could occurs multiple times.) + enum: + - application + - website + - synthetic + - infrastructure + example: application + uniqueItems: true + - in: query + name: infraEntityTypes + schema: + type: array + description: Infrastructure Entity Type which needs to be filtered for Infrastructure + SLOs. + example: KubernetesCluster + items: + type: string + description: Infrastructure Entity Type which needs to be filtered for + Infrastructure SLOs. + example: KubernetesCluster + uniqueItems: true + - in: query + name: kubernetesClusterUuid + schema: + type: string + description: Kubernetes Cluster UUID which needs to be filtered for Infrastructure + SLOs with KubernetesCluster as infraType. + example: 823b8c2e-5bc3-11ee-a0f4-42010a8000ff + - in: query + name: blueprint + schema: + type: array + description: SLO blueprint Type which needs to be filtered. (This filter + could occurs multiple times.) + example: latency + items: + type: string + description: SLO blueprint Type which needs to be filtered. (This filter + could occurs multiple times.) + enum: + - latency + - availability + - traffic + - saturation + - custom + example: latency + uniqueItems: true + - in: query + name: sloIds + schema: + type: array + description: List of SLO IDs for which details need to be fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + items: + type: string + description: List of SLO IDs for which details need to be fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + - in: query + name: sloStatus + schema: + type: string + description: Filter by the SLO status + example: green + - in: query + name: entityIds + schema: + type: array + description: List of entity IDs for which details need to be fetched + example: adsewby312sdfd1 + items: + type: string + description: List of entity IDs for which details need to be fetched + example: adsewby312sdfd1 + - in: query + name: grouped + schema: + type: boolean + description: Boolean operator which specifies if the results are grouped + example: false + - in: query + name: refresh + schema: + type: boolean + description: Boolean operator which specifies if the cache needs to be refreshed + example: false + - in: query + name: rbacTags + schema: + type: array + description: List of rbac teams tags which needs to be searched + example: Testing + items: + type: string + description: List of rbac teams tags which needs to be searched + example: Testing + uniqueItems: true + responses: + '200': + content: + application/json: + example: + items: + - id: SLOY2KDCFExTvmsLyf4W067JQ + name: Stans test SLO 2 + target: 0.99 + lastUpdated: 1680182215442 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + - id: SLOsmbQLI8ORcuhF_L-QquFWQ + name: '[Should match no nothing test] website entity tag filter' + target: 0.9999 + lastUpdated: 1683792839372 + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + entity: + type: website + websiteId: XIZGGVT1TX2O-0OFeT2Yig + beaconType: httpRequest + tagFilterExpression: + type: TAG_FILTER + name: beacon.geo.country + stringValue: Moon + numberValue: null + booleanValue: null + key: null + value: Moon + operator: EQUALS + entity: NOT_APPLICABLE + indicator: + type: eventBased + blueprint: latency + threshold: 60000 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - test + - no matches + page: 1 + pageSize: 10000 + totalHits: 2 + schema: + $ref: '#/components/schemas/PaginatedResult' + description: Fetched list of the SLO Configurations Successfully + security: + - ApiKeyAuth: + - Default + summary: Get All SLO Configs + tags: + - Service Levels Objective(SLO) Configurations + x-ibm-ahub-byok: true + post: + operationId: createSloConfig + requestBody: + content: + application/json: + example: + name: Stans test SLO 4 + target: 0.99 + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + schema: + $ref: '#/components/schemas/SLOConfigWithRBACTag' + required: true + responses: + '200': + content: + application/json: + example: + id: SLOdCTspkHlS_OzNOATQWgsuw + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + createdDate: 1680182236227 + name: Stans test SLO 4 + target: 0.99 + lastUpdated: 1713873207738 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + schema: + $ref: '#/components/schemas/SLOConfigWithRBACTag' + description: New SLO Configuration Created Successfully + '400': + content: + application/json: + example: '{"errors":["Unknown tag filter: call.error"]}' + schema: + type: string + description: Invalid Tag Filter + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Create a new SLO Config + tags: + - Service Levels Objective(SLO) Configurations + x-description: createSloConfiguration + x-ibm-ahub-byok: true + /api/settings/slo/tags: + get: + operationId: getAllSloConfigTags + parameters: + - in: query + name: query + schema: + type: string + description: Keyword or Query which needs to be searched + example: test SLO + - in: query + name: tag + schema: + type: array + description: List of tags which needs to be searched + example: Testing + items: + type: string + description: List of tags which needs to be searched + example: Testing + uniqueItems: true + - in: query + name: entityType + schema: + type: string + description: SLO Entity Type which needs to be filtered + enum: + - application + - website + - synthetic + - infrastructure + example: application + responses: + '200': + content: + application/json: + example: + - andre + - test + - testing + - drinks + - got no snacks + - timeBased + - Stan + - no matches + - availability + - Lab + - demo + - thiemo + - TimeWindow Test + - robot-shop + - eventBased + - got snacks + - migration + - robert-creates-a-new-sli + schema: + type: array + items: + type: string + description: Fetched list of SLO Configuration tags Successfully + security: + - ApiKeyAuth: + - Default + summary: Get All SLO Config tags + tags: + - Service Levels Objective(SLO) Configurations + x-ibm-ahub-byok: true + /api/settings/slo/{id}: + delete: + operationId: deleteSloConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Objective Configuration ID + example: SLOdCTspkHlS_OzNOATQWgsuw + responses: + '204': + description: SLO Configuration Deleted Successfully + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Delete an existing SLO Config + tags: + - Service Levels Objective(SLO) Configurations + x-ibm-ahub-byok: true + get: + operationId: getSloConfigById + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Objective Configuration ID + example: SLOdCTspkHlS_OzNOATQWgsuw + - in: query + name: refresh + schema: + type: boolean + description: Boolean operator which specifies if the cache needs to be refreshed + example: false + responses: + '200': + content: + application/json: + example: + id: SLOdCTspkHlS_OzNOATQWgsuw + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + createdDate: 1680182236227 + name: Stans test SLO 4 + target: 0.99 + lastUpdated: 1713873207738 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + schema: + $ref: '#/components/schemas/SLOConfigWithRBACTag' + description: Fetched SLO Configuration Successfully + '404': + content: + application/json: + example: + errors: + - The sloConfiguration you are looking for does not exist. + schema: + type: string + description: SLO Configuration Not Found + security: + - ApiKeyAuth: + - Default + summary: Get an existing SLO Config + tags: + - Service Levels Objective(SLO) Configurations + x-ibm-ahub-byok: true + put: + operationId: updateSloConfig + parameters: + - in: path + name: id + required: true + schema: + type: string + description: Service Levels Objective Configuration ID + example: SLOdCTspkHlS_OzNOATQWgsuw + requestBody: + content: + application/json: + example: + name: Stans test SLO 4 + target: 0.99 + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + schema: + $ref: '#/components/schemas/SLOConfigWithRBACTag' + required: true + responses: + '200': + content: + application/json: + example: + id: SLOdCTspkHlS_OzNOATQWgsuw + rbacTags: + - id: R3_hPrHXSMe0yGsnlFdReA + displayName: team 1 + createdDate: 1680182236227 + name: Stans test SLO 4 + target: 0.99 + lastUpdated: 1713873207738 + entity: + type: application + applicationId: VTNvC_sATZqMj4vSZfsjKA + serviceId: null + endpointId: null + boundaryScope: INBOUND + includeInternal: false + includeSynthetic: false + tagFilterExpression: null + indicator: + type: timeBased + blueprint: latency + threshold: 100 + aggregation: P90 + timeWindow: + type: rolling + duration: 1 + durationUnit: week + tags: + - Stan + - testing + schema: + $ref: '#/components/schemas/SLOConfigWithRBACTag' + description: Updated SLO Configuration Successfully + '400': + content: + application/json: + example: + errors: + - 'SloConfiguration with id: GC8r6gbZT4WIhtsMx_YgLg was not found' + schema: + type: string + description: Bad Request + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Update an existing SLO Config + tags: + - Service Levels Objective(SLO) Configurations + x-description: updateSloConfiguration + x-ibm-ahub-byok: true + /api/settings/synthetic-calls: + delete: + description: |- + Use this API endpoint if one wants to delete all custom synthetic call configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Synthetic Calls please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#synthetic-calls. + operationId: deleteSyntheticCall + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Delete synthetic call configurations + tags: + - Synthetic Calls + x-ibm-ahub-byok: true + get: + description: |- + Use this API endpoint if one wants to get all custom synthetic call configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Synthetic Calls please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#synthetic-calls. + operationId: getSyntheticCalls + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/SyntheticCallWithDefaultsConfig' + description: OK + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Synthetic call configurations + tags: + - Synthetic Calls + x-ibm-ahub-byok: true + put: + description: |- + Use this API endpoint if one wants to get all custom synthetic call configurations. + This endpoint requires `CanConfigureServiceMapping` permission. + One can use `Create or update an API token` endpoint to update the permission by setting `canConfigureServiceMapping` to `true`. + If one wants to enable the permission from Instana UI, go to Settings -> Security & Access -> Access Control -> API Token. + There one can update the existing token or create a new token and set `Customize service rules and endpoint mapping` to `true`. + + For more information on Synthetic Calls please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#synthetic-calls. + operationId: updateSyntheticCall + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SyntheticCallConfig' + required: true + responses: + '200': + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - ConfigureServiceMapping + summary: Update synthetic call configurations + tags: + - Synthetic Calls + x-ibm-ahub-byok: true + /api/settings/users: + get: + description: Retrieves all users with access to the tenant. The result will + not contain pending invitations. + operationId: getUsers + responses: + '200': + content: + application/json: + example: + - id: userId + email: username@example.com + fullName: username + lastLoggedIn: 1636434847190 + groupCount: 1 + tfaEnabled: false + schema: + type: array + items: + $ref: '#/components/schemas/UserResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: All users (without invitations) + tags: + - User + x-ibm-ahub-byok: true + /api/settings/users/overview: + get: + description: Retrieves all users with access to the tenant. The result will + also contain pending invitations. + operationId: getUsersIncludingInvitations + responses: + '200': + content: + application/json: + example: + users: + - id: userId1 + email: username@example.com + fullName: fullName + lastLoggedIn: 1699313025975 + groupCount: null + tfaEnabled: null + invitations: + - id: userId2 + email: username2@example.com + groupId: '-3' + schema: + $ref: '#/components/schemas/UsersResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: All users (incl. invitations) + tags: + - User + x-ibm-ahub-byok: true + /api/settings/users/{email}: + put: + description: Updates the full name of the user. + operationId: updateUser + parameters: + - in: path + name: email + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + fullName: Updated Name + schema: + $ref: '#/components/schemas/EditUser' + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Change user name of single user + tags: + - User + x-ibm-ahub-byok: true + /api/settings/users/{userId}: + delete: + description: Remove the users access to the tenant. Removing a user from a tenant + does not delete their user account. + operationId: removeUserFromTenant + parameters: + - description: Id of the user for removal + example: userId + in: path + name: userId + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Remove user from tenant + tags: + - User + x-ibm-ahub-byok: true + get: + description: Retrieves the user with access to the tenant. + operationId: getUserById + parameters: + - description: Id of the user for retrieval + example: userId + in: path + name: userId + required: true + schema: + type: string + style: simple + responses: + '200': + content: + application/json: + example: + id: userId + preferredName: preferredName + fullName: fullName + email: username@example.com + encryptedPassword: '' + lastLoggedIn: 1699442707385 + timestampAcceptedTos: 1696404223545 + timestampAcceptedPrivacyAgreement: 1696404223545 + acceptedTosVersion: 6 + acceptedPrivacyAgreementVersion: 9 + tenantsWhereMainContact: [ + ] + tenants: [ + ] + createDate: 1696404196256 + emailConfirmed: true + tenantIds: + - 55557f97186b9c0007857730 + passwordResetAttempt: 0 + groupCount: null + tfaEnabled: null + role: null + schema: + type: array + items: + $ref: '#/components/schemas/UserResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + security: + - ApiKeyAuth: + - CanConfigureUsers + summary: Get single user + tags: + - User + x-ibm-ahub-byok: true + /api/settings/v2/maintenance: + get: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: getMaintenanceConfigsV2 + responses: + '200': + content: + application/json: + example: + - id: maintenanceConfigId + name: maintenanceConfig + query: entity.application.id:"anApplicationId" + scheduling: + start: 1680703219486 + duration: + amount: 2 + unit: HOURS + rrule: FREQ=DAILY;INTERVAL=1;COUNT=1 + timezoneId: UTC + type: RECURRENT + paused: false + lastUpdated: 1680703219678 + state: EXPIRED + validVersion: 1 + occurrence: + start: 1680703219000 + end: 1680710419000 + invalid: false + applicationNames: + - anApplicationName + - id: anotherMaintenanceConfigId + name: anotherMaintenanceConfig + query: entity.type:ibmz.db2 + scheduling: + start: 1680703219486 + duration: + amount: 2 + unit: HOURS + rrule: FREQ=DAILY;INTERVAL=1;COUNT=1 + timezoneId: UTC + type: RECURRENT + paused: false + lastUpdated: 1680703219678 + state: EXPIRED + validVersion: 1 + occurrence: + start: 1680703219000 + end: 1680710419000 + invalid: false + applicationNames: [ + ] + - id: '1698949644924' + name: sampleMaintenanceConfig + query: '' + scheduling: + start: 1698949644924 + duration: + amount: 2 + unit: HOURS + rrule: FREQ=WEEKLY;INTERVAL=2;BYDAY=SA;COUNT=10 + timezoneId: America/New_York + type: RECURRENT + paused: false + validVersion: 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: synthetic.locationLabelAggregated + stringValue: us-east + numberValue: null + booleanValue: null + key: null + value: us-east + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: synthetic.syntheticType + stringValue: HTTPScript + numberValue: null + booleanValue: null + key: null + value: HTTPScript + operator: EQUALS + entity: NOT_APPLICABLE + tagFilterExpressionEnabled: true + retriggerOpenAlertsEnabled: true + lastUpdated: 1698949645163 + state: SCHEDULED + occurrence: + start: 1699122444000 + end: 1699129644000 + schema: + type: array + items: + $ref: '#/components/schemas/ValidatedMaintenanceConfigV2WithStateAndOccurrence' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: All maintenance configurations + tags: + - Maintenance Configuration + x-description: getMaintenanceConfigs + x-ibm-ahub-byok: true + /api/settings/v2/maintenance/{id}: + delete: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: deleteMaintenanceConfigV2 + parameters: + - description: Id of the Maintenance Window configuration to delete. + example: 8924aa6b + in: path + name: id + required: true + schema: + type: string + responses: + default: + content: + application/json: { + } + description: default response + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Delete maintenance configuration + tags: + - Maintenance Configuration + x-description: deleteMaintenanceConfig + x-ibm-ahub-byok: true + get: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: getMaintenanceConfigV2 + parameters: + - description: Id of the Maintenance Window Configuration to get. + example: 8924aa6b + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: maintenanceConfigId + name: maintenanceConfig + query: '' + scheduling: + start: 1683864000000 + duration: + amount: 24 + unit: HOURS + type: ONE_TIME + paused: false + validVersion: 1 + lastUpdated: 1683901553115 + state: EXPIRED + occurrence: + start: 1683864000000 + end: 1683950400000 + schema: + $ref: '#/components/schemas/MaintenanceConfigV2WithStateAndOccurrence' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Get maintenance configuration + tags: + - Maintenance Configuration + x-description: getMaintenanceConfig + x-ibm-ahub-byok: true + put: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: putMaintenanceConfigV2 + parameters: + - description: Id of the Maintenance Window configuration to update. + example: 8924aa6b + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MaintenanceConfigV2' + required: true + x-payload: putMaintenanceConfig + responses: + '200': + content: + application/json: + example: + id: maintenanceConfigId + name: maintenanceConfig + query: '' + scheduling: + start: 1698938631036 + duration: + amount: 2 + unit: HOURS + type: ONE_TIME + paused: false + validVersion: 1 + tagFilterExpression: + type: EXPRESSION + logicalOperator: OR + elements: + - type: TAG_FILTER + name: synthetic.locationLabelAggregated + stringValue: us-east + numberValue: null + booleanValue: null + key: null + value: us-east + operator: EQUALS + entity: NOT_APPLICABLE + - type: TAG_FILTER + name: synthetic.syntheticType + stringValue: HTTPScript + numberValue: null + booleanValue: null + key: null + value: HTTPScript + operator: EQUALS + entity: NOT_APPLICABLE + tagFilterExpressionEnabled: true + retriggerOpenAlertsEnabled: true + lastUpdated: 1698938631408 + state: ACTIVE + occurrence: + start: 1698938631036 + end: 1698945831036 + description: Maintenance config has been created or updated, and successfully + scheduled immediately if needed + '202': + description: Maintenance config has been created or updated, but could not + to be scheduled immediately. It will therefore be scheduled during the + next auto-refresh with a delay of up to 4 minutes. + '400': + description: The provided maintenance configuration is invalid. + '422': + description: The provided maintenance configuration is incomplete or cannot + be processed. + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Create or update maintenance configuration + tags: + - Maintenance Configuration + x-description: putMaintenanceConfig + x-ibm-ahub-byok: true + /api/settings/v2/maintenance/{id}/pause: + put: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: pauseRecurrentMaintenanceConfiguration + parameters: + - description: Id of the Maintenance Window configuration to pause. + example: 8924aa6b + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: maintenanceConfigId + name: maintenanceConfig + query: entity.application.id:"anApplicationId" + scheduling: + start: 1684251745262 + duration: + amount: 2 + unit: HOURS + type: ONE_TIME + paused: true + validVersion: 1 + lastUpdated: 1684251750475 + state: PAUSED + occurrence: + start: 1684251745262 + end: 1684258945262 + schema: + $ref: '#/components/schemas/MaintenanceConfigV2WithStateAndOccurrence' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Pause maintenance configuration + tags: + - Maintenance Configuration + x-description: pauseMaintenanceConfig + x-ibm-ahub-byok: true + /api/settings/v2/maintenance/{id}/resume: + put: + description: |2- + + For more information on Maintenance Configurations please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Settings#maintenance-configurations. + operationId: resumeRecurrentMaintenanceConfiguration + parameters: + - description: Id of the Maintenance Window configuration to resume. + example: 8924aa6b + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: maintenanceConfigId + name: maintenanceConfig + query: entity.application.id:"anApplicationId" + scheduling: + start: 1684251745262 + duration: + amount: 2 + unit: HOURS + type: ONE_TIME + paused: false + validVersion: 1 + lastUpdated: 1684251933433 + state: ACTIVE + occurrence: + start: 1684251745262 + end: 1684258945262 + schema: + $ref: '#/components/schemas/MaintenanceConfigV2WithStateAndOccurrence' + description: OK + security: + - ApiKeyAuth: + - CanConfigureMaintenanceWindows + summary: Resume maintenance configuration + tags: + - Maintenance Configuration + x-description: resumeMaintenanceConfig + x-ibm-ahub-byok: true + /api/settings/v2/sli: + get: + operationId: getAllSliConfigsV2 + responses: + '200': + content: + application/json: + example: + - id: T0yCMBR4G + sliName: Siva SLI test + initialEvaluationTimestamp: 1637758860000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 100.0 + sliEntity: + sliType: application + applicationId: 1qvXgVfLTNqi8gGTcCaNUw + serviceId: 6097d596c3d9024034b3d03b2b5c43acea65e5a4 + endpointId: oETFj2WyPusvXgRW_181J3fH_t8 + boundaryScope: INBOUND + lastUpdated: 1637758839104 + schema: + type: array + items: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get All SLI Configs + tags: + - SLI Settings + x-ibm-ahub-byok: true + post: + operationId: createSliConfigV2 + requestBody: + content: + application/json: + example: + sliName: test-application-sli + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + schema: + $ref: '#/components/schemas/SliConfiguration' + required: true + responses: + '200': + content: + application/json: + example: + id: 3J0RDgfyQz-P_hVzbNNb4A + sliName: test-application-sli + initialEvaluationTimestamp: 1732017600000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 555 + sliEntity: + sliType: application + applicationId: btg-B709IU6o9QNXUS4TVw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1732017541059 + schema: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: New SLI Configuration Created Successfully + '400': + content: + application/json: + example: '{"errors":["Unknown tag filter: call.eron"]}' + schema: + type: string + description: Bad Request + '422': + content: + application/json: + example: '{"errors":["sliEntity.entityId must not be blank"]}' + schema: + type: string + description: Unprocessable Entity + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Create SLI Config + tags: + - SLI Settings + x-description: createSliConfiguration + x-ibm-ahub-byok: true + /api/settings/v2/sli/{entityType}/{entityId}: + get: + operationId: getSliConfigsForEntityTypeAndIdV2 + parameters: + - description: Type of the Entity, whether it is an application or website + in: path + name: entityType + required: true + schema: + type: string + enum: + - APPLICATION + - WEBSITE + - description: Unique ID of the Entity + example: DkPX-x9VQuKBKopuilrkYw + in: path + name: entityId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: HXcNRWhDSWiZs3HiUAKr7g + sliName: turbo time 1 + initialEvaluationTimestamp: 1648133520000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 300.0 + sliEntity: + sliType: application + applicationId: 1qvXgVfLTNqi8gGTcCaNUw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1648133508938 + schema: + type: array + items: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get all SLI configs for entity type and entity id + tags: + - SLI Settings + x-ibm-ahub-byok: true + /api/settings/v2/sli/{id}: + delete: + operationId: deleteSliConfigV2 + parameters: + - description: ID of the Service Level Indicator (SLI) + example: HXcNRWhDSWiZs3HiUAKr7g + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: SLI Configuration Deleted Successfully + security: + - ApiKeyAuth: + - canConfigureServiceLevels + summary: Delete SLI Config + tags: + - SLI Settings + x-ibm-ahub-byok: true + get: + operationId: getSliConfigV2 + parameters: + - description: ID of the Service Level Indicator (SLI) + example: HXcNRWhDSWiZs3HiUAKr7g + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + - id: HXcNRWhDSWiZs3HiUAKr7g + sliName: turbo time 1 + initialEvaluationTimestamp: 1648133520000 + metricConfiguration: + metricName: latency + metricAggregation: P90 + threshold: 300.0 + sliEntity: + sliType: application + applicationId: 1qvXgVfLTNqi8gGTcCaNUw + serviceId: null + endpointId: null + boundaryScope: INBOUND + lastUpdated: 1648133508938 + schema: + $ref: '#/components/schemas/SliConfigurationWithLastUpdated' + description: OK + '404': + content: + application/json: + example: + errors: + - The SLI Configuration you are looking for does not exist. + schema: + type: string + description: SLI Configuration Not Found + security: + - ApiKeyAuth: + - Default + summary: Get SLI Config + tags: + - SLI Settings + x-ibm-ahub-byok: true + /api/sli/report/{sliId}: + get: + operationId: getSli + parameters: + - description: ID of the Service Level Indicator (SLI) + example: nCtEoR6NSPqG61QkIkwwCw + in: path + name: sliId + required: true + schema: + type: string + - description: Target SLO + example: 0.99 + in: query + name: slo + required: true + schema: + type: number + format: double + - description: From Timestamp in milliseconds (13-digit) + example: 1706713140000 + in: query + name: from + required: true + schema: + type: integer + format: int64 + - description: To Timestamp in milliseconds (13-digit) + example: 1706713140000 + in: query + name: to + required: true + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + sli: 0.008228916434859497 + slo: 0.1 + totalErrorBudget: 10236633 + errorBudgetRemaining: -1043808 + fromTimestamp: 1707771600000 + toTimestamp: 1707858000000 + violationDistribution: null + schema: + type: array + items: + $ref: '#/components/schemas/SliReport' + description: OK + '404': + content: + application/json: + example: + errors: + - There is no SLI configuration for the given ID or the report hasn't + been generated yet. + schema: + type: array + items: + type: string + description: There is no SLI configuration for the given ID or the report + hasn't been generated yet. + security: + - ApiKeyAuth: + - Default + summary: '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.)' + tags: + - SLI Report + x-ibm-ahub-byok: true + /api/slo/correction: + get: + operationId: getSloCorrection + parameters: + - in: query + name: sloId + schema: + type: array + description: List of SLO IDs for which Correction Windows needs to be fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + items: + type: string + description: List of SLO IDs for which Correction Windows needs to be + fetched + example: SLOdCTspkHlS_OzNOATQWgsuw + uniqueItems: true + - description: IDs of Correction Configurations to be Excluded from the result + example: N1Xj6q8QTZu_cfJOGqy4mg + in: query + name: excludeCorrectionId + schema: + type: array + items: + type: string + uniqueItems: true + - description: IDs of Correction Configurations to be Included in the result + example: uvP7Z03pSUuybDT8-WHLDA + in: query + name: includeCorrectionId + schema: + type: array + items: + type: string + uniqueItems: true + - in: query + name: tags + schema: + type: array + items: + type: string + uniqueItems: true + - description: Correction starting timestamp in milliseconds (13-digit) + example: 1706713140000 + in: query + name: from + required: true + schema: + type: integer + format: int64 + - description: Correction ending timestamp in milliseconds (13-digit) + example: 1706713140000 + in: query + name: to + required: true + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + from: 1750125600000 + to: 1750176418243 + correctionWindows: + - from: 1750165200000 + to: 1750176418243 + correctionConfigs: + - CpCe85NeQC2xOKXQluC30g + sloConfigs: + - SLOwfOpxuCJQjauS2IeHDUpAw + - from: 1750158000000 + to: 1750176418243 + correctionConfigs: + - p9kWax0uS7K2Who1WegsSg + sloConfigs: + - SLOffwtrVkfRmCjOZbdv3Ls9g + - from: 1750150800000 + to: 1750165200000 + correctionConfigs: + - uvP7Z03pSUuybDT8-WHLDA + sloConfigs: + - SLOukNGcoooQlev1z7aqONkIg + - from: 1750125600000 + to: 1750136400000 + correctionConfigs: + - S8rHrE93Rz2TXScTjBw1eg + sloConfigs: + - SLO4s-fs-GuT56c3v4KzQKBuQ + - from: 1750172400000 + to: 1750176418243 + correctionConfigs: + - 9Uf9TtvVRgOIMR0DkLB2Ng + sloConfigs: [ + ] + - from: 1750125600000 + to: 1750136400000 + correctionConfigs: + - 96MtLg5zRP-lmT4WOUE3Yg + sloConfigs: + - SLO4s-fs-GuT56c3v4KzQKBuQ + activeCorrectionConfigIds: + - S8rHrE93Rz2TXScTjBw1eg + - uvP7Z03pSUuybDT8-WHLDA + - CpCe85NeQC2xOKXQluC30g + - 9Uf9TtvVRgOIMR0DkLB2Ng + - 96MtLg5zRP-lmT4WOUE3Yg + - p9kWax0uS7K2Who1WegsSg + inActiveCorrectionConfigIds: + - nNMSbRwFQEKoQ1Wj0BCWcg + schema: + type: array + items: + $ref: '#/components/schemas/Correction' + description: Fetched SLO Correction Windows Successfully + '404': + content: + application/json: + example: + errors: + - There is No SLO Correction Windows or Error happened while trying + to fetch SLO Correction Windows. + schema: + type: array + items: + type: string + description: There is no SLO Correction Window + security: + - ApiKeyAuth: + - Default + summary: Generate SLO Correction Windows + tags: + - SLO Correction Windows + x-ibm-ahub-byok: true + /api/slo/report/{sloId}: + get: + operationId: getSlo + parameters: + - description: Service Levels Objective(SLO) Configuration ID + example: SLOEANnWh9tQOa2h88kGxK6wQ + in: path + name: sloId + required: true + schema: + type: string + - description: Starting point for the data retrieval, specified as 13 digit + Unix Timestamp milliseconds + example: 1706713140000 + in: query + name: from + schema: + type: string + - description: Ending point for the data retrieval, specified as 13 digit Unix + Timestamp milliseconds + example: 1706813100000 + in: query + name: to + schema: + type: string + - description: IDs of Correction Configurations to be Excluded from the result + example: N1Xj6q8QTZu_cfJOGqy4mg + in: query + name: excludeCorrectionId + schema: + type: array + items: + type: string + uniqueItems: true + - description: IDs of Correction Configurations to be Included in the result + example: uvP7Z03pSUuybDT8-WHLDA + in: query + name: includeCorrectionId + schema: + type: array + items: + type: string + uniqueItems: true + responses: + '200': + content: + application/json: + example: + sli: 1 + slo: 0.9999 + totalErrorBudget: 12 + errorBudgetRemaining: 12 + errorBudgetSpent: 0 + fromTimestamp: 1705081552605 + toTimestamp: 1705686352605 + violationDistribution: + '0': 0 + '1': 0 + '2': 0 + '3': 0 + '4': 0 + '5': 0 + '6': 0 + '7': 0 + '8': 0 + '9': 0 + '10': 0 + '11': 0 + '12': 0 + '13': 0 + '14': 0 + '15': 0 + '16': 0 + '17': 0 + '18': 0 + '19': 0 + '20': 0 + '21': 0 + '22': 0 + '23': 0 + '24': 0 + '25': 0 + '26': 0 + '27': 0 + '28': 0 + '29': 0 + '30': 0 + '31': 0 + '32': 0 + '33': 0 + '34': 0 + '35': 0 + '36': 0 + '37': 0 + '38': 0 + '39': 0 + '40': 0 + '41': 0 + '42': 0 + '43': 0 + '44': 0 + '45': 0 + '46': 0 + '47': 0 + '48': 0 + '49': 0 + '50': 0 + '51': 0 + '52': 0 + '53': 0 + '54': 0 + '55': 0 + '56': 0 + '57': 0 + '58': 0 + '59': 0 + '60': 0 + '61': 0 + '62': 0 + '63': 0 + '64': 0 + '65': 0 + '66': 0 + '67': 0 + '68': 0 + '69': 0 + '70': 0 + '71': 0 + '72': 0 + '73': 0 + '74': 0 + '75': 0 + '76': 0 + '77': 0 + '78': 0 + '79': 0 + '80': 0 + '81': 0 + '82': 0 + '83': 0 + '84': 0 + '85': 0 + '86': 0 + '87': 0 + '88': 0 + '89': 0 + '90': 0 + '91': 0 + '92': 0 + '93': 0 + '94': 0 + '95': 0 + '96': 0 + '97': 0 + '98': 0 + '99': 0 + '100': 0 + '101': 0 + '102': 0 + '103': 0 + '104': 0 + '105': 0 + '106': 0 + '107': 0 + '108': 0 + '109': 0 + '110': 0 + '111': 0 + '112': 0 + '113': 0 + '114': 0 + '115': 0 + '116': 0 + '117': 0 + '118': 0 + '119': 0 + '120': 0 + '121': 0 + '122': 0 + '123': 0 + '124': 0 + '125': 0 + '126': 0 + '127': 0 + '128': 0 + '129': 0 + '130': 0 + '131': 0 + '132': 0 + '133': 0 + '134': 0 + '135': 0 + '136': 0 + '137': 0 + '138': 0 + '139': 0 + '140': 0 + '141': 0 + '142': 0 + '143': 0 + '144': 0 + '145': 0 + '146': 0 + '147': 0 + '148': 0 + '149': 0 + '150': 0 + '151': 0 + '152': 0 + '153': 0 + '154': 0 + '155': 0 + '156': 0 + '157': 0 + '158': 0 + '159': 0 + '160': 0 + '161': 0 + '162': 0 + '163': 0 + '164': 0 + '165': 0 + '166': 0 + '167': 0 + errorChart: + '0': 0 + '1': 0 + '2': 0 + '3': 0 + '4': 0 + '5': 0 + '6': 0 + '7': 0 + '8': 0 + '9': 0 + '10': 0 + '11': 0 + '12': 0 + '13': 0 + '14': 0 + '15': 0 + '16': 0 + '17': 0 + '18': 0 + '19': 0 + '20': 0 + '21': 0 + '22': 0 + '23': 0 + '24': 0 + '25': 0 + '26': 0 + '27': 0 + '28': 0 + '29': 0 + '30': 0 + '31': 0 + '32': 0 + '33': 0 + '34': 0 + '35': 0 + '36': 0 + '37': 0 + '38': 0 + '39': 0 + '40': 0 + '41': 0 + '42': 0 + '43': 0 + '44': 0 + '45': 0 + '46': 0 + '47': 0 + '48': 0 + '49': 0 + '50': 0 + '51': 0 + '52': 0 + '53': 0 + '54': 0 + '55': 0 + '56': 0 + '57': 0 + '58': 0 + '59': 0 + '60': 0 + '61': 0 + '62': 0 + '63': 0 + '64': 0 + '65': 0 + '66': 0 + '67': 0 + '68': 0 + '69': 0 + '70': 0 + '71': 0 + '72': 0 + '73': 0 + '74': 0 + '75': 0 + '76': 0 + '77': 0 + '78': 0 + '79': 0 + '80': 0 + '81': 0 + '82': 0 + '83': 0 + '84': 0 + '85': 0 + '86': 0 + '87': 0 + '88': 0 + '89': 0 + '90': 0 + '91': 0 + '92': 0 + '93': 0 + '94': 0 + '95': 0 + '96': 0 + '97': 0 + '98': 0 + '99': 0 + '100': 0 + '101': 0 + '102': 0 + '103': 0 + '104': 0 + '105': 0 + '106': 0 + '107': 0 + '108': 0 + '109': 0 + '110': 0 + '111': 0 + '112': 0 + '113': 0 + '114': 0 + '115': 0 + '116': 0 + '117': 0 + '118': 0 + '119': 0 + '120': 0 + '121': 0 + '122': 0 + '123': 0 + '124': 0 + '125': 0 + '126': 0 + '127': 0 + '128': 0 + '129': 0 + '130': 0 + '131': 0 + '132': 0 + '133': 0 + '134': 0 + '135': 0 + '136': 0 + '137': 0 + '138': 0 + '139': 0 + '140': 0 + '141': 0 + '142': 0 + '143': 0 + '144': 0 + '145': 0 + '146': 0 + '147': 0 + '148': 0 + '149': 0 + '150': 0 + '151': 0 + '152': 0 + '153': 0 + '154': 0 + '155': 0 + '156': 0 + '157': 0 + '158': 0 + '159': 0 + '160': 0 + '161': 0 + '162': 0 + '163': 0 + '164': 0 + '165': 0 + '166': 0 + '167': 0 + errorAccumulationChart: + '0': 0 + '1': 0 + '2': 0 + '3': 0 + '4': 0 + '5': 0 + '6': 0 + '7': 0 + '8': 0 + '9': 0 + '10': 0 + '11': 0 + '12': 0 + '13': 0 + '14': 0 + '15': 0 + '16': 0 + '17': 0 + '18': 0 + '19': 0 + '20': 0 + '21': 0 + '22': 0 + '23': 0 + '24': 0 + '25': 0 + '26': 0 + '27': 0 + '28': 0 + '29': 0 + '30': 0 + '31': 0 + '32': 0 + '33': 0 + '34': 0 + '35': 0 + '36': 0 + '37': 0 + '38': 0 + '39': 0 + '40': 0 + '41': 0 + '42': 0 + '43': 0 + '44': 0 + '45': 0 + '46': 0 + '47': 0 + '48': 0 + '49': 0 + '50': 0 + '51': 0 + '52': 0 + '53': 0 + '54': 0 + '55': 0 + '56': 0 + '57': 0 + '58': 0 + '59': 0 + '60': 0 + '61': 0 + '62': 0 + '63': 0 + '64': 0 + '65': 0 + '66': 0 + '67': 0 + '68': 0 + '69': 0 + '70': 0 + '71': 0 + '72': 0 + '73': 0 + '74': 0 + '75': 0 + '76': 0 + '77': 0 + '78': 0 + '79': 0 + '80': 0 + '81': 0 + '82': 0 + '83': 0 + '84': 0 + '85': 0 + '86': 0 + '87': 0 + '88': 0 + '89': 0 + '90': 0 + '91': 0 + '92': 0 + '93': 0 + '94': 0 + '95': 0 + '96': 0 + '97': 0 + '98': 0 + '99': 0 + '100': 0 + '101': 0 + '102': 0 + '103': 0 + '104': 0 + '105': 0 + '106': 0 + '107': 0 + '108': 0 + '109': 0 + '110': 0 + '111': 0 + '112': 0 + '113': 0 + '114': 0 + '115': 0 + '116': 0 + '117': 0 + '118': 0 + '119': 0 + '120': 0 + '121': 0 + '122': 0 + '123': 0 + '124': 0 + '125': 0 + '126': 0 + '127': 0 + '128': 0 + '129': 0 + '130': 0 + '131': 0 + '132': 0 + '133': 0 + '134': 0 + '135': 0 + '136': 0 + '137': 0 + '138': 0 + '139': 0 + '140': 0 + '141': 0 + '142': 0 + '143': 0 + '144': 0 + '145': 0 + '146': 0 + '147': 0 + '148': 0 + '149': 0 + '150': 0 + '151': 0 + '152': 0 + '153': 0 + '154': 0 + '155': 0 + '156': 0 + '157': 0 + '158': 0 + '159': 0 + '160': 0 + '161': 0 + '162': 0 + '163': 0 + '164': 0 + '165': 0 + '166': 0 + '167': 0 + errorBudgetRemainChart: + '0': 0 + '1': 0 + '2': 0 + '3': 0 + '4': 0 + '5': 0 + '6': 0 + '7': 0 + '8': 0 + '9': 0 + '10': 1 + '11': 1 + '12': 1 + '13': 1 + '14': 1 + '15': 1 + '16': 1 + '17': 1 + '18': 1 + '19': 1 + '20': 1 + '21': 2 + '22': 2 + '23': 2 + '24': 2 + '25': 2 + '26': 2 + '27': 2 + '28': 2 + '29': 2 + '30': 2 + '31': 2 + '32': 2 + '33': 3 + '34': 3 + '35': 3 + '36': 3 + '37': 3 + '38': 3 + '39': 3 + '40': 3 + '41': 3 + '42': 3 + '43': 3 + '44': 4 + '45': 4 + '46': 4 + '47': 4 + '48': 4 + '49': 4 + '50': 4 + '51': 4 + '52': 4 + '53': 4 + '54': 4 + '55': 4 + '56': 5 + '57': 5 + '58': 5 + '59': 5 + '60': 5 + '61': 5 + '62': 5 + '63': 5 + '64': 5 + '65': 5 + '66': 5 + '67': 6 + '68': 6 + '69': 6 + '70': 6 + '71': 6 + '72': 6 + '73': 6 + '74': 6 + '75': 6 + '76': 6 + '77': 6 + '78': 6 + '79': 7 + '80': 7 + '81': 7 + '82': 7 + '83': 7 + '84': 7 + '85': 7 + '86': 7 + '87': 7 + '88': 7 + '89': 7 + '90': 7 + '91': 7 + '92': 7 + '93': 7 + '94': 7 + '95': 7 + '96': 7 + '97': 7 + '98': 7 + '99': 7 + '100': 7 + '101': 7 + '102': 7 + '103': 7 + '104': 7 + '105': 7 + '106': 7 + '107': 7 + '108': 7 + '109': 7 + '110': 7 + '111': 7 + '112': 7 + '113': 7 + '114': 7 + '115': 8 + '116': 8 + '117': 8 + '118': 8 + '119': 8 + '120': 8 + '121': 8 + '122': 8 + '123': 8 + '124': 8 + '125': 8 + '126': 8 + '127': 9 + '128': 9 + '129': 9 + '130': 9 + '131': 9 + '132': 9 + '133': 9 + '134': 9 + '135': 9 + '136': 9 + '137': 9 + '138': 10 + '139': 10 + '140': 10 + '141': 10 + '142': 10 + '143': 10 + '144': 10 + '145': 10 + '146': 10 + '147': 10 + '148': 10 + '149': 10 + '150': 11 + '151': 11 + '152': 11 + '153': 11 + '154': 11 + '155': 11 + '156': 11 + '157': 11 + '158': 11 + '159': 11 + '160': 11 + '161': 12 + '162': 12 + '163': 12 + '164': 12 + '165': 12 + '166': 12 + '167': 12 + schema: + type: array + items: + $ref: '#/components/schemas/SloReport' + description: Fetched SLO Configuration Report Successfully + '404': + content: + application/json: + example: + errors: + - There is no SLO configuration for the given ID or the report hasn't + been generated yet. + schema: + type: array + items: + type: string + description: There is no SLO configuration for the given ID or the report + hasn't been generated yet. + security: + - ApiKeyAuth: + - Default + summary: Generate Service Levels report + tags: + - Service Levels Objective(SLO) Report + x-ibm-ahub-byok: true + /api/synthetics/catalog: + get: + operationId: getSyntheticTagCatalog + parameters: + - in: query + name: useCase + required: true + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Commonly Used + description: null + icon: null + children: + - label: Location Label + tagName: synthetic.locationLabel + type: TAG + - label: Synthetic Type Label + tagName: synthetic.typeLabel + type: TAG + - label: Tags + tagName: synthetic.tags + type: TAG + type: LEVEL + queryable: false + - label: Application + description: null + icon: null + children: + - label: Application Id + tagName: synthetic.applicationId + type: TAG + type: LEVEL + queryable: false + - label: Synthetic Test + description: null + icon: null + children: + - label: Errors + tagName: synthetic.errors + type: TAG + - label: Synthetic Type + tagName: synthetic.syntheticType + type: TAG + - label: Synthetic Type Label + tagName: synthetic.typeLabel + type: TAG + - label: Tags + tagName: synthetic.tags + type: TAG + - label: Test Active + tagName: synthetic.testActive + type: TAG + - label: Test Id + tagName: synthetic.testId + type: TAG + - label: Test Name + tagName: synthetic.testName + type: TAG + type: LEVEL + queryable: false + - label: Location + description: null + icon: null + children: + - label: Location Id + tagName: synthetic.locationId + type: TAG + - label: Location Label + tagName: synthetic.locationLabel + type: TAG + - label: Location Type + tagName: synthetic.locationType + type: TAG + type: LEVEL + queryable: false + tags: + - name: synthetic.locationId + label: Location Id + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.locationLabel + label: Location Label + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.syntheticType + label: Synthetic Type + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.typeLabel + label: Synthetic Type Label + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.applicationId + label: Application Id + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.tags + label: Tags + type: KEY_VALUE_PAIR + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.testId + label: Test Id + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.testName + label: Test Name + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.errors + label: Errors + type: STRING_LIST + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.testActive + label: Test Active + type: BOOLEAN + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + - name: synthetic.locationType + label: Location Type + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get synthetic tag catalog + tags: + - Synthetic Catalog + x-description: getSyntheticTagCatalog + x-ibm-ahub-byok: true + /api/synthetics/catalog/metrics: + get: + description: API to get catalog of synthetic metrics. + operationId: getSyntheticCatalogMetrics + responses: + '200': + content: + application/json: + example: + - metricId: synthetic.metricResponseTime + label: Response Time + formatter: MILLIS + description: Script response time in milliseconds + aggregations: + - MEAN + - 25th + - 50th + - 75th + - 90th + - 95th + - 98th + - 99th + - SUM + defaultAggregation: null + schema: + type: array + items: + $ref: '#/components/schemas/MetricDescription' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Metric catalog + tags: + - Synthetic Catalog + x-description: getSyntheticCatalogMetrics + x-ibm-ahub-byok: true + /api/synthetics/metrics: + post: + description: |- + API request to retrieve Synthetic Metrics. + For more information on Synthetic Metrics please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-metrics. + operationId: getMetricsResult + requestBody: + content: + application/json: + example: + pagination: + page: 1 + pageSize: 3 + metrics: + - metric: synthetic.metricsResponseTime + aggregation: SUM + timeFrame: + to: 0 + windowSize: 3600000 + groups: + - groupbyTag: synthetic.applicationId + - groupbyTag: synthetic.tags + groupbyTagSecondLevelTag: region + schema: + $ref: '#/components/schemas/GetMetricsResult' + x-payload: getMetricsResult + responses: + '200': + content: + application/json: + example: + metricsResult: + - tests: + - testId: 6GwdCuiMjGdMrtz8THjo + testName: rumattach-BasicNavTest + locationId: + - f7cEoG61DJfVyWcDnWsc + applicationId: application1 + serviceId: serviceId1 + metrics: + - synthetic.metricsResponseTime: 1276 + customMetrics: + - region: region1 + - tests: + - testId: OCnmrLSlNgzntI68094j + testName: test-javascript-bundled + locationId: + - wHICfVoIpiHbwawo5xQ6 + applicationId: application2 + serviceId: serviceId2 + metrics: + - synthetic.metricsResponseTime: 14 + customMetrics: + - location: location1 + region: region2 + - tests: + - testId: 9i6gpys6whaYtN5k9VeD + testName: My_Test_ReadFile + locationId: + - DemoPoP1_saas_instana_test + applicationId: application3 + serviceId: serviceid3 + metrics: + - synthetic.metricsResponseTime: 7 + customMetrics: + - location: location3 + region: region3 + page: 1 + pageSize: 3 + totalHits: 2212 + schema: + $ref: '#/components/schemas/MetricsResult' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic Metrics + tags: + - Synthetic Metrics + x-ibm-ahub-byok: true + /api/synthetics/results: + post: + description: |- + Get a list of aggregated playback results metrics for Synthetic tests matching the specified parameters + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResult + requestBody: + content: + application/json: + example: + pagination: + page: 1 + pageSize: 3 + metrics: + - metric: synthetic.metricsResponseTime + aggregation: SUM + order: + by: synthetic.startTime + direction: DESC + timeFrame: + to: 0 + windowSize: 144000000 + schema: + $ref: '#/components/schemas/GetTestResult' + x-payload: getSyntheticResults + responses: + '200': + content: + application/json: + example: + testResult: + - testId: 6GwdCuiMjGdMrtz8THjo + testName: rumattach-BasicNavTest + locationId: + - f7cEoG61DJfVyWcDnWsc + metrics: + - synthetic.metricsResponseTime: 1276 + - testId: OCnmrLSlNgzntI68094j + testName: test-javascript-bundled + locationId: + - wHICfVoIpiHbwawo5xQ6 + metrics: + - synthetic.metricsResponseTime: 14 + - testId: 9i6gpys6whaYtN5k9VeD + testName: My_Test_ReadFile + locationId: + - DemoPoP1_saas_instana_test + metrics: + - synthetic.metricsResponseTime: 7 + page: 1 + pageSize: 3 + totalHits: 2212 + schema: + $ref: '#/components/schemas/TestResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic test playback results + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/analytic: + post: + description: |- + Get a list of playback results metrics for Synthetic tests matching the specified parameters for the specified analytic + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResultAnalytic + requestBody: + content: + application/json: + example: + pagination: + page: 1 + pageSize: 3 + syntheticMetrics: + - synthetic.metricsResponseTime + - status + - synthetic.errors + order: + by: start_time + direction: DESC + timeFrame: + to: 0 + windowSize: 144000000 + TagFilterExpression: + type: EXPRESSION + elements: + - type: EXPRESSION + elements: + - name: synthetic.errors + stringValue: Exception + operator: CONTAINS + logicalOperator: OR + logicalOperator: OR + analyticFunction: LAST_VALUE + schema: + $ref: '#/components/schemas/GetTestResultAnalytic' + x-payload: getSyntheticResultAnalytic + responses: + '200': + content: + application/json: + example: + items: + - testResultCommonProperties: + testId: 9i6gpys6whaYtN5k9VeD + testName: My_Test_ReadFile + locationId: DemoPoP1_saas_instana_test + clientId: saas_instana_test + id: 8f3bedbb-e278-4584-81b8-6efe07286a55 + errors: + - |- + {timeStamp=1706131087368, errorType=Exception, errorMessage=access to path /etc/pop/redispass/redis-password is denied, stackTrace=Error: access to path /etc/pop/redispass/redis-password is denied + at /opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1750914 + at Array.forEach () + at s (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1750876) + at Object.openSync (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1751693) + at VM Wrapper.apply (vm/bridge.js:468:15) + at /tmp/9i6gpys6whaYtN5k9VeD/script.js:7:13 + at /tmp/9i6gpys6whaYtN5k9VeD/script.js:21:3 + at VM Wrapper.apply (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1806330) + at k.run (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1771939) + at Object.e.exports.execute (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1739863) + at process. (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:2197562) + at Object.onceWrapper (node:events:628:26) + at process.emit (node:events:513:28) + at emit (node:internal/child_process:946:14) + at processTicksAndRejections (node:internal/process/task_queues:84:21)} + locationDisplayLabel: DemoPoP1(vm) + metrics: + response_time: + - - 1706131087358 + - 9 + status: + - - 1706131087358 + - 0 + - testResultCommonProperties: + testId: QRN50tqvJPnwKIjn2qKx + testName: Demo_IBM_simple_ping + locationId: DemoPoP1_saas_instana_test + clientId: saas_instana_test + id: 7f503812-c428-4ea8-995d-dbdf97c145b7 + errors: + - '{timeStamp=1706131070262, errorType=Exception, errorMessage=Ping: + http://httpbin.org/status/200%2C400 -> Expected a success status + (status < 400) but got 400, stackTrace=}' + locationDisplayLabel: DemoPoP1(vm) + metrics: + response_time: + - - 1706131070111 + - 149 + status: + - - 1706131070111 + - 0 + - testResultCommonProperties: + testId: mfwdxHpvwXM1PGUBAFeP + testName: test-disable-api-simple-jul17 + locationId: f7cEoG61DJfVyWcDnWsc + clientId: saas_instana_test + id: a1a4ed1c-7c87-45d5-bf45-3f3c462445d7 + errors: + - |- + {timeStamp=1706131069537, errorType=Exception, errorMessage=Unable to parse response body as JSON: Unexpected token < in JSON at position 0, stackTrace=Error: Unable to parse response body as JSON: Unexpected token < in JSON at position 0 + at /opt/ibm/microservice/javascript-playback/bin/index.js:2:1057667 + at k. (/opt/ibm/microservice/javascript-playback/bin/index.js:2:1058257) + at runMicrotasks () + at processTicksAndRejections (node:internal/process/task_queues:96:5)} + locationDisplayLabel: Test-Pop-101 + metrics: + response_time: + - - 1706131069036 + - 490 + status: + - - 1706131069036 + - 0 + page: 1 + pageSize: 3 + totalHits: 14305 + schema: + $ref: '#/components/schemas/TestResultListResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get a list of Synthetic tests based on the specified analytic function + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/list: + post: + description: |- + Get a list of playback results metrics for Synthetic tests matching the specified parameters + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResultList + requestBody: + content: + application/json: + example: + pagination: + page: 1 + pageSize: 3 + syntheticMetrics: + - synthetic.metricsResponseTime + - status + - synthetic.errors + order: + by: start_time + direction: DESC + timeFrame: + to: 0 + windowSize: 144000000 + TagFilterExpression: + type: EXPRESSION + elements: + - type: EXPRESSION + elements: + - name: synthetic.errors + stringValue: Exception + operator: CONTAINS + logicalOperator: OR + logicalOperator: OR + schema: + $ref: '#/components/schemas/GetTestResultList' + x-payload: getSyntheticResultList + responses: + '200': + content: + application/json: + example: + items: + - testResultCommonProperties: + testId: 9i6gpys6whaYtN5k9VeD + testName: My_Test_ReadFile + locationId: DemoPoP1_saas_instana_test + clientId: saas_instana_test + id: 8f3bedbb-e278-4584-81b8-6efe07286a55 + errors: + - |- + {timeStamp=1706131087368, errorType=Exception, errorMessage=access to path /etc/pop/redispass/redis-password is denied, stackTrace=Error: access to path /etc/pop/redispass/redis-password is denied + at /opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1750914 + at Array.forEach () + at s (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1750876) + at Object.openSync (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1751693) + at VM Wrapper.apply (vm/bridge.js:468:15) + at /tmp/9i6gpys6whaYtN5k9VeD/script.js:7:13 + at /tmp/9i6gpys6whaYtN5k9VeD/script.js:21:3 + at VM Wrapper.apply (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1806330) + at k.run (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1771939) + at Object.e.exports.execute (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:1739863) + at process. (/opt/ibm/microservice/javascript-playback/bin/vm/runner.bundle.js:2:2197562) + at Object.onceWrapper (node:events:628:26) + at process.emit (node:events:513:28) + at emit (node:internal/child_process:946:14) + at processTicksAndRejections (node:internal/process/task_queues:84:21)} + locationDisplayLabel: DemoPoP1(vm) + metrics: + response_time: + - - 1706131087358 + - 9 + status: + - - 1706131087358 + - 0 + - testResultCommonProperties: + testId: QRN50tqvJPnwKIjn2qKx + testName: Demo_IBM_simple_ping + locationId: DemoPoP1_saas_instana_test + clientId: saas_instana_test + id: 7f503812-c428-4ea8-995d-dbdf97c145b7 + errors: + - '{timeStamp=1706131070262, errorType=Exception, errorMessage=Ping: + http://httpbin.org/status/200%2C400 -> Expected a success status + (status < 400) but got 400, stackTrace=}' + locationDisplayLabel: DemoPoP1(vm) + metrics: + response_time: + - - 1706131070111 + - 149 + status: + - - 1706131070111 + - 0 + - testResultCommonProperties: + testId: mfwdxHpvwXM1PGUBAFeP + testName: test-disable-api-simple-jul17 + locationId: f7cEoG61DJfVyWcDnWsc + clientId: saas_instana_test + id: a1a4ed1c-7c87-45d5-bf45-3f3c462445d7 + errors: + - |- + {timeStamp=1706131069537, errorType=Exception, errorMessage=Unable to parse response body as JSON: Unexpected token < in JSON at position 0, stackTrace=Error: Unable to parse response body as JSON: Unexpected token < in JSON at position 0 + at /opt/ibm/microservice/javascript-playback/bin/index.js:2:1057667 + at k. (/opt/ibm/microservice/javascript-playback/bin/index.js:2:1058257) + at runMicrotasks () + at processTicksAndRejections (node:internal/process/task_queues:96:5)} + locationDisplayLabel: Test-Pop-101 + metrics: + response_time: + - - 1706131069036 + - 490 + status: + - - 1706131069036 + - 0 + page: 1 + pageSize: 3 + totalHits: 14305 + schema: + $ref: '#/components/schemas/TestResultListResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get a list of Synthetic test playback results + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/locationsummarylist: + post: + description: |- + Get summary information for Synthetic locations matching the specified parameters + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getLocationSummaryList + requestBody: + content: + application/json: + example: + timeFrame: + to: null + windowSize: 300000 + pagination: + page: 1 + pageSize: 3 + schema: + $ref: '#/components/schemas/GetTestResultBase' + x-payload: getLocationSummaryList + responses: + '200': + content: + application/json: + example: + items: + - id: wFulJMRXA3bZgAlhCuZV + label: test101-pop + displayLabel: west-12(Idaho) + type: Private + status: Online + linkedTests: 0 + lastRunOn: 0 + namespace: my-kedatest + clusterName: test101-pop + description: PoP in region test101 for my-kedatest + popSnapshotId: null + popVersion: 1.1.2 + - id: 0po5d5MxSZx91moqCbri + label: apminstana-pop + displayLabel: apminstana-pop + type: Private + status: Online + linkedTests: 12 + lastRunOn: 0 + namespace: redwood + clusterName: apminstana-pop + description: This is a Synthetic Point of Presence + popSnapshotId: ZFOBIU_Stg9FWs4DMRVY7VTSmBs + entityHealthInfo: + maxSeverity: 0 + openIssues: [ + ] + popVersion: 1.1.1 + - id: c7sXV7jZcuiD2ewGAjYI + label: Aggie + displayLabel: Aggie popLoc + type: Private + status: Offline + linkedTests: 9 + lastRunOn: 0 + namespace: poploc + clusterName: instana-pop-deployment + description: My City Kubecost + popSnapshotId: null + popVersion: 1.0.15 + page: 1 + pageSize: 3 + totalHits: 47 + schema: + $ref: '#/components/schemas/TestResultListResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get a list of Synthetic locations with last run test on each location + data + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/testsummarylist: + post: + description: |- + Get a summary of the playback results metrics and success rate for Synthetic tests matching the specified parameters + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getTestSummaryList + requestBody: + content: + application/json: + example: + metrics: + - aggregation: MEAN + metric: success_rate + granularity: 600 + TagFilterExpression: + type: EXPRESSION + elements: + - name: synthetic.testActive + booleanValue: true + operator: EQUALS + logicalOperator: AND + timeFrame: + to: 0 + windowSize: 1800000 + pagination: + page: 1 + pageSize: 3 + schema: + $ref: '#/components/schemas/GetTestSummaryResult' + x-payload: getTestSummaryList + responses: + '200': + content: + application/json: + example: + items: + - testResultCommonProperties: + testId: 0FzZz41QwOxPjOUE0VhU + testName: 260-browserwebpage + clientId: saas_instana_test + testCommonProperties: + id: 0FzZz41QwOxPjOUE0VhU + label: 260-browserwebpage + type: Webpage Simple + frequency: 3 + active: true + locationIds: + - KHphVmZqqRf9Kp2xSoud + - cs1RvxTXJcavxnbQ6fBE + locationLabels: + - microk8s_PoP + - mini_PoP2_BrowserTest + locationDisplayLabels: + - MicroK8s PoP + - mini_PoP2_BrowserTest + locationStatusList: + - locationId: KHphVmZqqRf9Kp2xSoud + totalTestRuns: 10 + successRuns: 10 + locationDisplayLabel: MicroK8s PoP + successRate: 1 + - locationId: cs1RvxTXJcavxnbQ6fBE + totalTestRuns: 0 + successRuns: 0 + locationDisplayLabel: mini_PoP2_BrowserTest + successRate: 0 + createdAt: 1697175933150 + modifiedAt: 1700456221719 + metrics: + total_test_runs: + - - 1706132249095 + - 10 + successful_test_runs: + - - 1706132249095 + - 10 + response_time: + - - 1706132249095 + - 372.9 + success_rate: + - - 1706132249095 + - 1 + - testResultCommonProperties: + testId: 0OKldV7M44UfDxmNt1Ef + testName: Syne2eHttpActionTest + clientId: saas_instana_test + testCommonProperties: + id: 0OKldV7M44UfDxmNt1Ef + label: Syne2eHttpActionTest + type: API Simple + frequency: 5 + active: true + locationIds: + - 18WyhtDb5jpVOsjlNdeV + locationLabels: + - Syne2e + locationDisplayLabels: + - E2ETest PoP + locationStatusList: + - locationId: 18WyhtDb5jpVOsjlNdeV + totalTestRuns: 6 + successRuns: 6 + locationDisplayLabel: E2ETest PoP + successRate: 1 + createdAt: 1703867554340 + modifiedAt: 1703867554340 + metrics: + total_test_runs: + - - 1706132249095 + - 6 + successful_test_runs: + - - 1706132249095 + - 6 + response_time: + - - 1706132249095 + - 157.5 + success_rate: + - - 1706132249095 + - 1 + - testResultCommonProperties: + testId: 0qB3qb9659JBJ86bflnf + testName: Syne2eHttpActionTest + clientId: saas_instana_test + testCommonProperties: + id: 0qB3qb9659JBJ86bflnf + label: Syne2eHttpActionTest + type: API Simple + frequency: 5 + active: true + locationIds: + - 18WyhtDb5jpVOsjlNdeV + locationLabels: + - Syne2e + locationDisplayLabels: + - E2ETest PoP + locationStatusList: + - locationId: 18WyhtDb5jpVOsjlNdeV + totalTestRuns: 6 + successRuns: 6 + locationDisplayLabel: E2ETest PoP + successRate: 1 + createdAt: 1702269153825 + modifiedAt: 1702269153825 + metrics: + total_test_runs: + - - 1706132249095 + - 6 + successful_test_runs: + - - 1706132249095 + - 6 + response_time: + - - 1706132249095 + - 178.66666666666666 + success_rate: + - - 1706132249095 + - 1 + page: 1 + pageSize: 3 + totalHits: 567 + schema: + $ref: '#/components/schemas/TestResultListResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get a list of Synthetic tests with success rate and average response + time data + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/{testid}/{testresultid}: + get: + description: |- + Gets the list of detailed data file names associated to a Synthetic playback result + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResultMetadata + parameters: + - description: Test id of the test result detailed description to be retrieved + example: AMl0Y7tsvpp8XXrXt1XO + in: path + name: testid + required: true + schema: + type: string + - description: Test result id of the test result detailed description to be + retrieved + example: 5623c161-31d6-49b8-b314-91d4fb598f55 + in: path + name: testresultid + required: true + schema: + type: string + - description: Start time of the test result detailed description + example: 1730295066008 + in: query + name: startTime + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + testId: AMl0Y7tsvpp8XXrXt1XO + testResultId: 5623c161-31d6-49b8-b314-91d4fb598f55 + startTime: 1730295066008 + metadata: + logs.tgz: + - console.log + schema: + $ref: '#/components/schemas/TestResultMetadata' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic test playback detail result description(metadata) + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/{testid}/{testresultid}/detail: + get: + description: |- + Download the contents of the Synthetic the playback result detail data file matching the specified file type + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResultDetailData + parameters: + - description: Test id of the test result detailed file contents to be retrieved + example: AMl0Y7tsvpp8XXrXt1XO + in: path + name: testid + required: true + schema: + type: string + - description: Test result id of the test result detailed file to be retrieved + example: 5623c161-31d6-49b8-b314-91d4fb598f55 + in: path + name: testresultid + required: true + schema: + type: string + - description: Type of the test result detailed file contents + example: LOGS + in: query + name: type + required: true + schema: + type: string + enum: + - HAR + - LOGS + - SUBTRANSACTIONS + - description: Name of the test result detailed file, if more than one file + available for the same type. Can be used when parameter type=LOGS + example: console.log + in: query + name: name + schema: + type: string + - description: Start time of the test result detailed file contents + example: 1730295066008 + in: query + name: startTime + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + testId: AMl0Y7tsvpp8XXrXt1XO + testResultId: 5623c161-31d6-49b8-b314-91d4fb598f55 + logs: | + 2024-01-18T19:55:02.162Z [SyntheticPoP] synthetic playback starts + 2024-01-18T19:55:02.169Z [SyntheticPoP] http request undefined https://www.ibm.com/ + 2024-01-18T19:55:02.319Z [SyntheticPoP] http response 303 for https://www.ibm.com/ + 2024-01-18T19:55:02.430Z [SyntheticPoP] http response 200 for https://www.ibm.com/us-en + 2024-01-18T19:55:02.478Z http request 1/2: 200 + 2024-01-18T19:56:01.103Z [SyntheticPoP] synthetic playback ends + logFiles: + console.log: | + 2024-01-18T19:55:02.162Z [SyntheticPoP] synthetic playback starts + 2024-01-18T19:55:02.169Z [SyntheticPoP] http request undefined https://www.ibm.com/ + 2024-01-18T19:55:02.319Z [SyntheticPoP] http response 303 for https://www.ibm.com/ + 2024-01-18T19:55:02.430Z [SyntheticPoP] http response 200 for https://www.ibm.com/us-en + 2024-01-18T19:55:02.478Z http request 1/2: 200 + 2024-01-18T19:56:01.103Z [SyntheticPoP] synthetic playback ends + schema: + $ref: '#/components/schemas/TestResultDetailData' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get Synthetic test playback result detail data + tags: + - Synthetic Test Playback Results + x-ibm-ahub-byok: true + /api/synthetics/results/{testid}/{testresultid}/file: + get: + description: |- + Download a Synthetic the playback result detail data file matching the specified file type + For more information on Synthetic Test Playback Results please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-test-playback-results. + operationId: getSyntheticResultDetailDataFile + parameters: + - description: Test id of the test result detailed file to be retrieved + example: AMl0Y7tsvpp8XXrXt1XO + in: path + name: testid + required: true + schema: + type: string + - description: Test result id of the test result detailed file to be retrieved + example: 5623c161-31d6-49b8-b314-91d4fb598f55 + in: path + name: testresultid + required: true + schema: + type: string + - description: Type of the test result detailed file + example: LOGS + in: query + name: type + required: true + schema: + type: string + enum: + - HAR + - IMAGES + - LOGS + - SUBTRANSACTIONS + - VIDEOS + - description: Start time of the test result detailed file + example: 1730295066008 + in: query + name: startTime + schema: + type: integer + format: int64 + responses: + '200': + content: + application/octet-stream: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Download the synthetic test playback result detail data file + tags: + - Synthetic Test Playback Results + x-description: getSyntheticResultDetailDataFile + x-ibm-ahub-byok: true + /api/synthetics/settings/credentials: + get: + description: |- + API request to retrieve the names of all Synthetic Credentials. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticCredentialNames + responses: + '200': + content: + application/json: + example: + - kittyhawk_test2 + - user1_password + - user1_name + - MyBearer + - MY_CREDS333 + - Test_Creds + - credName5 + - credName4 + - credName3 + - credName2 + - credName1 + - MY_CREDS1 + - MY_PASS + - USER_NAME_TEST + schema: + type: array + items: + type: string + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canUseSyntheticCredentials + - canConfigureSyntheticTests + summary: All Synthetic credential names + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + post: + description: |- + API request to create a Synthetic Credential. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: createSyntheticCredential + requestBody: + content: + application/json: + example: + credentialName: userPassword + credentialValue: '123456' + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticCredential' + required: true + responses: + '200': + content: + application/json: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticCredentials + summary: Create a Synthetic credential + tags: + - Synthetic Settings + x-payload: createSyntheticCredential + x-ibm-ahub-byok: true + /api/synthetics/settings/credentials/associations: + get: + description: |- + API request to retrieve all Synthetic Credentials. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticCredentialAssociations + responses: + '200': + content: + application/json: + example: + - credentialName: password1 + createdAt: 1717617206785 + modifiedAt: 1717617206785 + - credentialName: password2 + applications: + - f4KX5zd8RW2pERKKFUCZgQ + applicationLabels: + - All Services + createdAt: 1717620972843 + modifiedAt: 1717620972843 + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticCredential' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canUseSyntheticCredentials + - canConfigureSyntheticTests + summary: All Synthetic credentials + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/credentials/associations/{name}: + get: + description: |- + API request to retrieve a Synthetic Credential with matching name. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getOneSyntheticCredentialAssociations + parameters: + - description: Name of the credential to be retrieved + example: password4test + in: path + name: name + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + credentialName: password4test + applications: + - f4KX5zd8RW2pERKKFUCZgQ + applicationLabels: + - All Services + createdAt: 1717620972843 + modifiedAt: 1717620972843 + schema: + $ref: '#/components/schemas/SyntheticCredential' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canUseSyntheticCredentials + - canConfigureSyntheticTests + summary: A Synthetic credential + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/credentials/{name}: + delete: + description: |- + API request to delete a Synthetic Credential. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: deleteSyntheticCredential + parameters: + - description: Name of the credential to be deleted + example: password4test + in: path + name: name + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticCredentials + summary: Delete a Synthetic credential + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + patch: + description: |- + API request to patch attributes of a Synthetic Credential. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: patchSyntheticCredential + parameters: + - description: Name of the credential to be patched + example: password4test + in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + credentialValue: password4test + applications: + - f4KX5zd8RW2pERKKFUCZgQ + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticCredential' + required: true + responses: + '200': + content: + application/json: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canUseSyntheticCredentials + - canConfigureSyntheticTests + summary: Patch a Synthetic credential + tags: + - Synthetic Settings + x-description: patchSyntheticCredential + x-ibm-ahub-byok: true + put: + description: |- + API request to update a Synthetic Credential. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: updateSyntheticCredential + parameters: + - description: Name of the credential to be updated + example: password4db2 + in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + credentialName: password4db2 + credentialValue: '123456' + applications: + - f4KX5zd8RW2pERKKFUCZgQ + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticCredential' + required: true + responses: + '201': + content: + application/json: { + } + description: Successful - resource created + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticCredentials + summary: Update a Synthetic credential + tags: + - Synthetic Settings + x-payload: updateSyntheticCredential + x-ibm-ahub-byok: true + /api/synthetics/settings/datacenters: + get: + description: |- + API request to retrieve all Synthetic Datacenters. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticDatacenters + responses: + '200': + content: + application/json: + example: + - code: us-east-1 + label: us-east-1(NVirginia) + provider: aws + countryName: USA + cityName: NVirginia + latitude: 37.22 + longitude: -81.44 + status: Active + modifiedAt: 1728096600396 + configuration: + ipAddresses: + - 34.226.13.189 + locationLabel: instana-test-aws-us-east-1-NVirginia + datacenterId: aws-us-east-1-NVirginia + - code: eu-central-1 + label: eu-central-1(Frankfurt) + provider: aws + countryName: DEU + cityName: Frankfurt + latitude: 50.11 + longitude: 8.68 + status: Active + modifiedAt: 1710241599981 + configuration: + ipAddresses: + - 3.122.151.177 + locationLabel: instana-test-aws-eu-central-1-Frankfurt + datacenterId: aws-eu-central-1-Frankfurt + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticDatacenter' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticLocations + summary: All Synthetic datacenters + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/datacenters/{datacenterId}: + get: + description: |- + API request to retrieve a Synthetic Datacenter with matching id. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticDatacenter + parameters: + - description: Id of the datacenter to be retrieved + example: aws-us-east-1-NVirginia + in: path + name: datacenterId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + code: us-east-1 + label: us-east-1(NVirginia) + provider: aws + countryName: USA + cityName: NVirginia + latitude: 37.22 + longitude: -81.44 + status: Active + modifiedAt: 1728096600396 + configuration: + ipAddresses: + - 34.226.13.189 + locationLabel: instana-test-aws-us-east-1-NVirginia + datacenterId: aws-us-east-1-NVirginia + schema: + $ref: '#/components/schemas/SyntheticDatacenter' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticLocations + summary: A Synthetic datacenter + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/locations: + get: + description: |- + API request to retrieve Synthetic Locations. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticLocations + parameters: + - description: Defines the attribute by which the returned synthetic locations + will be ordered by. Order using '+' means ASC and '-' means DESC + example: +label + in: query + name: sort + schema: + type: string + pattern: ' <+|->' + - description: Used in conjunction with limit. Defines how many pages will be + skipped before returning the synthetic locations + example: 1 + in: query + name: offset + schema: + type: integer + format: int64 + - description: Defines the size of a page - the number of synthetic locations + that will be returned by the query + example: 10 + in: query + name: limit + schema: + type: integer + format: int64 + - description: Defines the attributes by which the returned synthetic locations + will be filtered by. Multiple filter parameters are allowed. See 'Supported + filter attributes and operators' for complete list of supported attributes + and operators. + example: '{locationType=Managed}' + in: query + name: filter + schema: + type: string + pattern: ' {}' + responses: + '200': + content: + application/json: + example: + - id: 55bzhnXQ9uqwld4Ha3bD + label: Austin + displayLabel: AUTO + popVersion: 1.1.2 + description: My Location 101 + locationType: Private + playbackCapabilities: + syntheticType: + - HTTPAction + - HTTPScript + - BrowserScript + - WebpageScript + browserType: + - firefox + - chrome + geoPoint: + cityName: austin + countryName: india + latitude: 0 + longitude: 0 + totalTests: 1 + configuration: + namespace: syn-pop-tls + customProperties: { + } + createdAt: 1698742890784 + modifiedAt: 1702372728619 + observedAt: 1704266105229 + status: Offline + - id: OjJPXWHmsE9deLzanNAW + label: Dallas + displayLabel: AUTOscaling + popVersion: 1.1.1 + description: My Location 101 + locationType: Private + playbackCapabilities: + syntheticType: + - HTTPAction + - HTTPScript + - BrowserScript + - WebpageScript + browserType: + - firefox + - chrome + geoPoint: + cityName: dallas + countryName: india + latitude: 0 + longitude: 0 + totalTests: 0 + configuration: + namespace: andy + customProperties: { + } + createdAt: 1698988890723 + modifiedAt: 1700116951600 + observedAt: 1705556766316 + status: Offline + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticLocation' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canViewSyntheticLocations + summary: All Synthetic locations + tags: + - Synthetic Settings + x-description: getSyntheticLocations + x-ibm-ahub-byok: true + /api/synthetics/settings/locations/{id}: + delete: + description: |- + API request to delete a Synthetic Location with matching id. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: deleteSyntheticLocation + parameters: + - description: Identifier of the location to be deleted + example: 55bzhnXQ9uqwld4Ha3bD + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticLocations + summary: Delete a Synthetic location + tags: + - Synthetic Settings + x-description: deleteSyntheticLocation + x-ibm-ahub-byok: true + get: + description: |- + API request to retrieve a Synthetic Location with matching id. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticLocation + parameters: + - description: Identifier of the location to be retrieved + example: OjJPXWHmsE9deLzanNAW + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: OjJPXWHmsE9deLzanNAW + label: Austin + displayLabel: AUTOscaling + popVersion: 1.1.1 + description: Test Location 101 + locationType: Private + playbackCapabilities: + syntheticType: + - HTTPAction + - HTTPScript + - BrowserScript + - WebpageScript + browserType: + - firefox + - chrome + geoPoint: + cityName: austin + countryName: india + latitude: 0 + longitude: 0 + totalTests: 0 + configuration: + namespace: andy + customProperties: { + } + createdAt: 1698988890723 + modifiedAt: 1700116951600 + observedAt: 1705556766316 + status: Offline + schema: + $ref: '#/components/schemas/SyntheticLocation' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canViewSyntheticLocations + summary: A Synthetic location + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/tests: + get: + description: |- + API request to retrieve Synthetic Tests. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticTests + parameters: + - description: 'Defines the application id by which the returned synthetic tests + will be filtered by. ' + example: pWoK4onRRN-POTz1RU62UQ + in: query + name: applicationId + schema: + type: string + - description: 'Defines the location id by which the returned synthetic tests + will be filtered by. ' + example: 18WyhtDb5jpVOsjlNdeV + in: query + name: locationId + schema: + type: string + - description: 'Defines the credential name by which the returned synthetic + tests will be filtered by. ' + example: adminPassword + in: query + name: credentialName + schema: + type: string + - description: Defines the attribute by which the returned synthetic tests will + be ordered by. Order using '+' means ASC and '-' means DESC + example: +label + in: query + name: sort + schema: + type: string + pattern: ' <+|->' + - description: Used in conjunction with limit. Defines how many pages will be + skipped before returning the synthetic tests + example: 1 + in: query + name: offset + schema: + type: integer + format: int64 + - description: Defines the size of a page - the number of synthetic tests that + will be returned by the query + example: 10 + in: query + name: limit + schema: + type: integer + format: int64 + - description: Defines the attributes by which the returned synthetic tests + will be filtered by. Multiple filter parameters are allowed. See 'Supported + filter attributes and operators' for complete list of supported attributes + and operators. + example: '{label=MyTest}' + in: query + name: filter + schema: + type: string + pattern: ' {}' + responses: + '200': + content: + application/json: + example: + - id: ic25Vt1T5dgKzi0K7812 + tenantId: saas_instana_test + label: 260-api-feature + active: true + testFrequency: 10 + playbackMode: Simultaneous + applicationId: UOGJ3jBOSMOgN2EBCoOghw + applicationLabel: test_cb + locations: + - KHphVmZqqRf9Kp2xSoud + - cs1RvxTXJcavxnbQ6fBE + locationLabels: + - microk8s_PoP + - mini_PoP2_BrowserTest + locationDisplayLabels: + - MicroK8s PoP + - mini_PoP2_BrowserTest + configuration: + syntheticType: HTTPScript + markSyntheticCall: true + retries: 1 + retryInterval: 1 + timeout: '' + script: "const assert = require('assert');\n\n$got('https://www.ibm.com').then(response=>{\n\ + \ console.log('request 1/2:', response.statusCode);\n assert.equal(response.statusCode,\ + \ 200, 'it should be 200')\n \n setTimeout(()=>{\n \ + \ $got('https://www.bing.com').then(response=>{\n \ + \ console.log('request 2/2:', response.statusCode);\n \ + \ assert.equal(response.statusCode, 200, 'it should be 200')\n\ + \ })\n\n }, 70000);\n});" + scriptType: Basic + customProperties: { + } + createdAt: 1697175907759 + modifiedAt: 1705915155144 + - id: EFNRoPd39SgZBkULeQIf + tenantId: saas_instana_test + label: APITest_getApplication + active: true + testFrequency: 15 + playbackMode: Simultaneous + applicationId: UOGJ3jBOSMOgN2EBCoOghw + applicationLabel: test_cb + locations: + - 18WyhtDb5jpVOsjlNdeV + locationLabels: + - Syne2e + locationDisplayLabels: + - E2ETest PoP + configuration: + syntheticType: HTTPScript + markSyntheticCall: true + retries: 2 + retryInterval: 1 + timeout: 10m + script: |- + const got = require('got'); + const assert = require('assert'); + + // Define the API request configuration + const apiConfig = { + method: 'GET', + url: 'https://test-instana.pink.instana.rocks/api/application-monitoring/settings/application/btg-B701Rx6o9QNXUS4TVw', + headers: { + 'Authorization': $secure.apiToken + } + }; + + // Function to perform the API test + const performAPITest = async () => { + const response = await got(apiConfig); + console.info("Get one application API - GET, response code: " + response.statusCode); + assert.ok(response.statusCode == 200, "GET status is " + response.statusCode + ", it should be 200"); + + const jsonBody = JSON.parse(response.body); + assert.ok(jsonBody.id != "", "Application ID is not in the payload"); + assert.ok(jsonBody.label != "", "Application label is not in the payload"); + assert.ok(jsonBody.tagFilterExpression != null, "tagFilterExpression is not in the payload"); + }; + + // Initial test + performAPITest(); + scriptType: Basic + customProperties: + test: '123' + createdAt: 1696625954210 + modifiedAt: 1701216106812 + modifiedBy: Internal + rbacTags: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticTest' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canViewSyntheticTests + summary: All Synthetic tests + tags: + - Synthetic Settings + x-description: getSyntheticTests + x-ibm-ahub-byok: true + post: + description: |- + API request to create a Synthetic Test. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: createSyntheticTest + requestBody: + content: + application/json: + example: + label: Test_SimplePing + description: this is to test a simple ping API + applicationId: applicationId001 + active: true + testFrequency: 1 + playbackMode: Simultaneous + locations: + - saas_instana_test + configuration: + syntheticType: HTTPAction + url: https://httpbin.org/post + operation: POST + headers: + Content-Type: text/plain + body: Hello World! + validationString: Hello World! + customProperties: + Team: DevTeam + Purpose: Demo + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticTest' + required: true + x-payload: createSyntheticTest + responses: + '201': + content: + application/json: + example: + id: ic25Vt1T5dgKzi0K7812 + label: Test_SimplePing + description: this is to test a simple ping API + applicationId: applicationId001 + active: true + testFrequency: 1 + playbackMode: Simultaneous + locations: + - saas_instana_test + configuration: + syntheticType: HTTPAction + url: https://httpbin.org/post + operation: POST + headers: + Content-Type: text/plain + body: Hello World! + validationString: Hello World! + customProperties: + Team: DevTeam + Purpose: Demo + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticTest' + description: Successful - resource created + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Create a Synthetic test + tags: + - Synthetic Settings + x-description: createSyntheticTest + x-ibm-ahub-byok: true + /api/synthetics/settings/tests/bulk-delete: + post: + description: API request to delete a list of Synthetic Tests. + operationId: bulkDeleteSyntheticTests + requestBody: + content: + application/json: + example: + - ic25Vt1T5dgKzi0K7812 + - EFNRoPd39SgZBkULeQIf + - kaj02pbxbW0XmQP9qu4b + - FrhxAJzKdsXU6V4WxWrY + schema: + type: array + items: + type: string + required: true + x-payload: bulkDeleteSyntheticTests + responses: + '200': + content: + application/json: + example: + - id: ic25Vt1T5dgKzi0K7812 + status: 200 - Success + - id: EFNRoPd39SgZBkULeQIf + status: 404 - Not Found + - id: kaj02pbxbW0XmQP9qu4b + status: 401 - Forbidden + - id: FrhxAJzKdsXU6V4WxWrY + status: 500 - Internal Server Error + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticBulkResponse' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Delete Synthetic tests + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/tests/bulk-update: + post: + description: API request to update a list of Synthetic Tests. + operationId: bulkUpdateSyntheticTests + requestBody: + content: + application/json: + example: | + { + "ids" : [ + "ic25Vt1T5dgKzi0K7812", + "EFNRoPd39SgZBkULeQIf", + "kaj02pbxbW0XmQP9qu4b", + "FrhxAJzKdsXU6V4WxWrY" + ], + "locations": { + "add": [ "hGyJAQCTnMbpmWrYfbq6", "RMtD8XkRHmxG5N0IT418" ], + "remove": ["AOsPYuhGjpFHpNgWub90"], + }, + "applications": { + "add": [ "XRVRqG3zLNDKlJUho90j" ] + }, + "configuration": { + "timeout": "1s" + }, + "customProperties": { + "add": { + "property1": "Test" + }, + "remove": ["property2", "property3"], + } + { + schema: + $ref: '#/components/schemas/SyntheticTestUpdate' + required: true + x-payload: bulkUpdateSyntheticTests + responses: + '200': + content: + application/json: + example: + - id: ic25Vt1T5dgKzi0K7812 + status: 200 - Success + - id: EFNRoPd39SgZBkULeQIf + status: 404 - Not Found + - id: kaj02pbxbW0XmQP9qu4b + status: 401 - Forbidden + - id: FrhxAJzKdsXU6V4WxWrY + status: 500 - Internal Server Error + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticBulkResponse' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Update Synthetic tests + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + /api/synthetics/settings/tests/ci-cd: + get: + description: |- + API request to retrieve the Synthetic Test CI/CDs + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticTestCICDs + parameters: + - description: Defines the attributes by which the returned synthetic test CI/CDs + will be filtered by. Multiple filter parameters are allowed. See 'Supported + filter attributes and operators' for complete list of supported attributes + and operators. + example: '{runType=OnDemand}' + in: query + name: filter + schema: + type: string + pattern: ' {}' + - description: Used in conjunction with limit. Defines how many pages will be + skipped before returning the synthetic test CI/CDs + example: 1 + in: query + name: offset + schema: + type: integer + format: int64 + - description: Defines the size of a page - the number of synthetic test CI/CDs + that will be returned by the query + example: 10 + in: query + name: limit + schema: + type: integer + format: int64 + responses: + '200': + content: + application/json: + example: + - testResultId: e22aba08-e630-422d-8d7a-19b8a1c75d32 + locationId: r4zo4DjbORqEAES2c8xj + locationLabel: SynTest + testId: 5ufGW4jOnZNhViGmIbnx + testLabel: test + testType: HTTPAction + runType: OnDemand + completed: false + customization: + configuration: + retries: 1 + timeout: 15s + customProperties: + tag: test + - testResultId: 0cf1324b-3022-4116-ae03-6c868daa43d4 + locationId: r4zo4DjbORqEAES2c8xj + locationLabel: SynTest + testId: 5ufGW4jOnZNhViGmIbnx + testLabel: test + testType: HTTPAction + runType: OnDemand + completed: false + customization: + configuration: + retries: 2 + timeout: 5s + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticTestCICDItem' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: All Synthetic test CI/CDs + tags: + - Synthetic Settings + x-description: getSyntheticTestCICDs + x-ibm-ahub-byok: true + post: + description: |- + API request to create a Synthetic Test CI/CD. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: createSyntheticTestCICD + requestBody: + content: + application/json: + example: + - testId: K331gkuCbelN1HI5y1wl + customization: + locations: + - 8mCxCPOI7oEmMSee4ec0 + - lalQTzq7MwO6hZ6c6xDd + configuration: + timeout: 100ms + retries: 2 + customProperties: + Team: DevTeam + Purpose: Demo + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticTestCICD' + required: true + x-payload: createSyntheticTestCICD + responses: + '200': + content: + application/json: + example: + - testResultId: f078443e-468c-4e35-b614-979ad9200fe4 + testId: K331gkuCbelN1HI5y1wl + locationId: 8mCxCPOI7oEmMSee4ec0 + - testResultId: 2cba4974-c73a-45ea-ad63-77c44c19bd36 + testId: K331gkuCbelN1HI5y1wl + locationId: lalQTzq7MwO6hZ6c6xDd + schema: + type: array + items: + $ref: '#/components/schemas/SyntheticTestCICDResponse' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Create a Synthetic test CI/CD + tags: + - Synthetic Settings + x-description: createSyntheticTestCICD + x-ibm-ahub-byok: true + /api/synthetics/settings/tests/ci-cd/{testResultId}: + get: + description: |- + API request to retrieve the Synthetic Test CI/CD identified by the given test result id. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticTestCICD + parameters: + - description: The synthetic test result id of the CI/CD to be retrieved + example: 0cf1324b-3022-4116-ae03-6c868daa43d4 + in: path + name: testResultId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + testResultId: 0cf1324b-3022-4116-ae03-6c868daa43d4 + locationId: r4zo4DjbORqEAES2c8xj + locationLabel: SynTest + testId: 5ufGW4jOnZNhViGmIbnx + testLabel: test + testType: HTTPAction + runType: OnDemand + completed: false + customization: + configuration: + retries: 2 + timeout: 5s + schema: + $ref: '#/components/schemas/SyntheticTestCICDItem' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: A Synthetic test CI/CD. + tags: + - Synthetic Settings + x-description: getSyntheticTestCICD + x-ibm-ahub-byok: true + /api/synthetics/settings/tests/{id}: + delete: + description: |- + API request to delete a Synthetic Test. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: deleteSyntheticTest + parameters: + - description: Id of the synthetic test to be deleted + example: ic25Vt1T5dgKzi0K7812 + in: path + name: id + required: true + schema: + type: string + responses: + '204': + description: Successful - no content to return. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Delete a Synthetic test + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + get: + description: |- + API request to retrieve a Synthetic Test with matching id. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: getSyntheticTest + parameters: + - description: Id of the synthetic test to be retrieved + example: EFNRoPd39SgZBkULeQIf + in: path + name: id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: EFNRoPd39SgZBkULeQIf + tenantId: saas_instana_test + label: APITest_getApplication + active: true + testFrequency: 15 + playbackMode: Simultaneous + applicationId: UOGJ3jBOSMOgN2EBCoOghw + applicationLabel: test_cb + locations: + - 18WyhtDb5jpVOsjlNdeV + locationLabels: + - Syne2e + locationDisplayLabels: + - E2ETest PoP + configuration: + syntheticType: HTTPScript + markSyntheticCall: true + retries: 2 + retryInterval: 1 + timeout: 10m + script: |- + const got = require('got'); + const assert = require('assert'); + + // Define the API request configuration + const apiConfig = { + method: 'GET', + url: 'https://test-instana.pink.instana.rocks/api/application-monitoring/settings/application/btg-B701Rx6o9QNXUS4TVw', + headers: { + 'Authorization': $secure.apiToken + } + }; + + // Function to perform the API test + const performAPITest = async () => { + const response = await got(apiConfig); + console.info("Get one application API - GET, response code: " + response.statusCode); + assert.ok(response.statusCode == 200, "GET status is " + response.statusCode + ", it should be 200"); + + const jsonBody = JSON.parse(response.body); + assert.ok(jsonBody.id != "", "Application ID is not in the payload"); + assert.ok(jsonBody.label != "", "Application label is not in the payload"); + assert.ok(jsonBody.tagFilterExpression != null, "tagFilterExpression is not in the payload"); + }; + + // Initial test + performAPITest(); + scriptType: Basic + customProperties: + test: '123' + createdAt: 1696625954210 + modifiedAt: 1701216106812 + modifiedBy: Internal + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticTest' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canViewSyntheticTests + summary: A Synthetic test + tags: + - Synthetic Settings + x-ibm-ahub-byok: true + patch: + description: |- + API request to update a Synthetic Test. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: patchSyntheticTest + parameters: + - description: Id of the synthetic test to be patched + example: ic25Vt1T5dgKzi0K7812 + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + active: true + configuration: + scripts: null + script: //script goes here + rbacTags: + - id: test + displayName: test + schema: + $ref: '#/components/schemas/SyntheticTest' + required: true + x-payload: patchSyntheticTest + responses: + '200': + content: + application/json: { + } + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Patch a Synthetic test + tags: + - Synthetic Settings + x-description: patchSyntheticTest + x-ibm-ahub-byok: true + put: + description: |- + API request to update a Synthetic Test. + For more information on Synthetic Settings please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Synthetic+Monitoring#synthetic-settings. + operationId: updateSyntheticTest + parameters: + - description: Id of the synthetic test to be updated + example: ic25Vt1T5dgKzi0K7812 + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + id: ic25Vt1T5dgKzi0K7812 + label: Test_SimplePing + description: this is to test a simple ping API + applicationId: applicationId001 + active: true + testFrequency: 1 + playbackMode: Simultaneous + locations: + - saas_instana_test + configuration: + syntheticType: HTTPAction + url: https://httpbin.org/post + operation: POST + headers: + Content-Type: text/plain + body: Hello World! + validationString: Hello World! + customProperties: + Team: DevTeam + Purpose: Demo + rbacTags: + - id: JxrVZtRtTUGug71K1oYMcw + displayName: tests + schema: + $ref: '#/components/schemas/SyntheticTest' + required: true + x-payload: updateSyntheticTest + responses: + '200': + content: + application/json: { + } + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - canConfigureSyntheticTests + summary: Update a Synthetic test + tags: + - Synthetic Settings + x-description: updateSyntheticTest + x-ibm-ahub-byok: true + /api/website-monitoring/analyze/beacon-groups: + post: + description: |- + API request to get grouped website monitoring beacon metrics. + For more information on Website Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Websites+&+Mobile+Apps. + operationId: getBeaconGroups + parameters: + - in: query + name: fillTimeSeries + schema: + type: boolean + requestBody: + content: + application/json: + example: + metrics: + - metric: beaconCount + aggregation: SUM + granularity: 60 + group: + groupByTag: beacon.page.name + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: beacon.website.name + operator: EQUALS + entity: NOT_APPLICABLE + value: robot-shop + - type: TAG_FILTER + name: beacon.location.path + operator: EQUALS + entity: NOT_APPLICABLE + value: /checkout + timeFrame: + to: null + windowSize: 3600000 + type: PAGELOAD + schema: + $ref: '#/components/schemas/GetWebsiteBeaconGroups' + x-payload: getBeaconGroups + responses: + '200': + content: + application/json: + example: + items: + - name: Check Out + earliestTimestamp: 1707019058453 + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1707022593250 + offset: 1 + metrics: + beaconCount.sum.60: + - - 1707019020000 + - 1.0 + - - 1707019080000 + - 3.0 + canLoadMore: false + totalHits: 1 + totalRepresentedItemCount: 1 + totalRetainedItemCount: 1 + adjustedTimeframe: + windowSize: 3600000 + to: 1707022620000 + schema: + $ref: '#/components/schemas/WebsiteBeaconGroupsResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get grouped beacon metrics + tags: + - Website Analyze + x-ibm-ahub-byok: true + /api/website-monitoring/analyze/beacons: + post: + description: |- + API request to get all website monitoring beacons with matching type. + For more information on Website Analyze please access the https://developer.ibm.com/apis/catalog/instana--instana-rest-api/Websites+&+Mobile+Apps. + operationId: getBeacons + requestBody: + content: + application/json: + example: + tagFilterExpression: + type: TAG_FILTER + name: beacon.website.name + operator: EQUALS + entity: NOT_APPLICABLE + value: robot-shop + timeFrame: + to: null + windowSize: 3600000 + type: PAGELOAD + schema: + $ref: '#/components/schemas/GetWebsiteBeacons' + x-payload: getWebsiteBeacons + responses: + '200': + content: + application/json: + example: + items: + - beacon: + websiteId: Example website ID + websiteLabel: robot-shop + page: Products + phase: pageLoad + timestamp: 1707023459363 + clockSkew: 356 + duration: 240 + batchSize: 1 + accurateTimingsAvailable: true + deprecations: [ + ] + pageLoadId: 0cea1830450a460 + sessionId: 899e5d28e5c6402 + beaconId: 00cea1830450a460 + backendTraceId: ef968a97dd967268 + type: pageLoad + customEventName: '' + meta: + stage: production + status: silver + locationUrl: http://robotshop.instana.com/products + locationOrigin: http://robotshop.instana.com + locationPath: /products + errorCount: 0 + errorMessage: '' + errorId: '' + errorType: '' + parsedStackTrace: [ + ] + componentStack: '' + userIp: 195.140.0.0 + userId: Example User Id + userName: Example User Name + userEmail: example@example.com + userLanguages: + - en-GB + deviceType: '' + connectionType: 4g + browserName: Chrome + browserVersion: '73' + osName: Windows + osVersion: '10' + windowHidden: false + windowWidth: 1149 + windowHeight: 1008 + latitude: 51.5088 + longitude: -0.093 + accuracyRadius: 20 + city: London + subdivision: England + subdivisionCode: ENG + country: United Kingdom + countryCode: GB + continent: Europe + continentCode: EU + httpCallUrl: '' + httpCallOrigin: '' + httpCallPath: '' + httpCallMethod: '' + httpCallStatus: -1 + httpCallCorrelationAttempted: false + httpCallAsynchronous: false + initiator: html + resourceType: document + cacheInteraction: '' + encodedBodySize: -1 + decodedBodySize: -1 + transferSize: -1 + unloadTime: 0 + redirectTime: 0 + appCacheTime: 0 + dnsTime: 0 + tcpTime: 0 + sslTime: 0 + requestTime: 42 + responseTime: 1 + processingTime: -1 + onLoadTime: 1 + backendTime: 51 + frontendTime: -1 + domTime: -1 + childrenTime: 5 + firstPaintTime: 331 + firstContentfulPaintTime: 331 + largestContentfulPaintTime: 331 + firstInputDelayTime: -1 + cumulativeLayoutShift: -1.0 + cspBlockedUri: '' + cspEffectiveDirective: '' + cspOriginalPolicy: '' + cspDisposition: '' + cspSample: '' + cspSourceFile: '' + cspLineNumber: -1 + cspColumnNumber: -1 + snippetVersion: '2' + httpCallHeaders: { + } + cursor: + '@class': .IngestionOffsetCursor + ingestionTime: 1707023459959 + offset: 1 + schema: + $ref: '#/components/schemas/WebsiteBeaconResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get all beacons + tags: + - Website Analyze + x-ibm-ahub-byok: true + /api/website-monitoring/catalog: + get: + description: API to get website tag catalog for specified beaconType and useCase. + operationId: getWebsiteTagCatalog + parameters: + - description: beaconType + example: pageLoad + in: query + name: beaconType + required: true + schema: + type: string + - description: useCase + example: GROUPING + in: query + name: useCase + required: true + schema: + type: string + enum: + - GROUPING + - FILTERING + - SERVICE_MAPPING + - SMART_ALERTS + - SMART_ALERTS_LOGS + - SMART_ALERTS_ADAPTIVE_BASELINE + - SMART_ALERTS_CUSTOM_PAYLOAD + - SLI_MANAGEMENT + - APPLICATION_CONFIG + - APPLICATION_CONFIG_BLUEPRINT + - MAINTENANCE_WINDOWS + - BIZOPS_CUSTOM_DASHBOARDS_FILTERING + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Commonly Used + description: null + icon: null + children: + - label: Website Label + description: Name of the website as configured within the Instana + user interface. + tagName: beacon.website.name + type: TAG + tags: + - name: beacon.type + label: Beacon Type + type: STRING + description: null + canApplyToSource: false + canApplyToDestination: false + idTag: false + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '400': + description: When the combination of beaconType and useCase is unsupported/unknown. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get website tag catalog + tags: + - Website Catalog + x-description: getWebsiteTagCatalog + x-ibm-ahub-byok: true + /api/website-monitoring/catalog/metrics: + get: + description: API to get catalog of website metrics. + operationId: getWebsiteCatalogMetrics + responses: + '200': + content: + application/json: + example: + - metricId: beaconDuration + label: Beacon duration + formatter: LATENCY + description: The recorded duration for a beacon. + aggregations: + - P25 + - MEAN + - MAX + - P95 + - P90 + - SUM + - P98 + - P99 + - MIN + - P75 + - P50 + defaultAggregation: null + beaconTypes: + - pageLoad + - resourceLoad + - custom + - httpRequest + pathToValueInBeacon: + - duration + tagName: beacon.duration + - metricId: pageLoads + label: Page loads + formatter: NUMBER + description: How often a full page load occurred. This typically requires + retrieval of an HTML document from a server (unless cached) and + then the full onLoad cycle. + aggregations: + - SUM + defaultAggregation: null + beaconTypes: + - pageLoad + pathToValueInBeacon: null + tagName: null + schema: + type: array + items: + $ref: '#/components/schemas/WebsiteMonitoringMetricDescription' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Metric catalog + tags: + - Website Catalog + x-description: getWebsiteCatalogMetrics + x-ibm-ahub-byok: true + /api/website-monitoring/catalog/tags: + get: + description: API to get all existing website tags. + operationId: getWebsiteCatalogTags + responses: + '200': + content: + application/json: + example: + - name: beacon.sessionId + type: STRING + category: WEBSITE + canApplyToSource: false + canApplyToDestination: false + sourceValueAvailableFrom: 0 + schema: + type: array + items: + $ref: '#/components/schemas/Tag' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get all existing website tags + tags: + - Website Catalog + x-description: getWebsiteCatalogTags + x-ibm-ahub-byok: true + /api/website-monitoring/config: + get: + description: API request to get all configured websites details. + operationId: getWebsites + responses: + '200': + content: + application/json: + example: + - id: K3bP-bmCRkyimNai9vvq8o + name: example_website + appName: example_website + rbacTags: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/Website' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get configured websites + tags: + - Website Configuration + x-ibm-ahub-byok: true + post: + description: API request to add new website. + operationId: createWebsite + parameters: + - in: query + name: name + schema: + type: string + requestBody: + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + type: object + properties: + displayName: + type: string + description: Name of team tag + id: + type: string + description: ID of team tag + responses: + '200': + content: + application/json: + example: + id: K3bP-bmCRkyimNai9vvq8o + name: example_website + appName: example_website + schema: + $ref: '#/components/schemas/Website' + description: Website successfully configured + '400': + description: Missing name query parameter or name already used for a configured + website + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Configure new website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}: + delete: + description: API request to delete website. + operationId: deleteWebsite + parameters: + - description: Website ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: websiteId + required: true + schema: + type: string + responses: + '204': + description: Website successfully removed + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Remove website + tags: + - Website Configuration + x-ibm-ahub-byok: true + get: + description: API request to get configured website details for specified websiteId + operationId: getWebsite + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: |2 + { + "id": "1ELrNt-eQ9SlK4D_EgLMiA", + "name": "example_website", + "appName": "example_website" + "rbacTags: [{ + "id": "test", + "displayName": "test" + }] + } + schema: + $ref: '#/components/schemas/Website' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get configured website + tags: + - Website Configuration + x-ibm-ahub-byok: true + put: + description: API request to rename website. + operationId: renameWebsite + parameters: + - description: Website ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: websiteId + required: true + schema: + type: string + - in: query + name: name + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: K3bP-bmCRkyimNai9vvq8o + name: example_website + appName: example_website + schema: + $ref: '#/components/schemas/Website' + description: Website successfully renamed + '400': + description: Missing name query parameter or name already used for a configured + website + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Rename website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/geo-location: + get: + description: API request to get geo-location configuration of a website specified + by its websiteId + operationId: getWebsiteGeoLocationConfiguration + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + geoDetailRemoval: NO_REMOVAL + geoMappingRules: [ + ] + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Get geo location configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + put: + description: API request to update geo location configuration for website. + operationId: updateWebsiteGeoLocationConfiguration + parameters: + - description: Website ID + example: iiLxP1zaTuCS7fyk9m4W0W + in: path + name: websiteId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/GeoLocationConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Update geo location configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/geo-mapping-rules: + get: + description: API request to get custom geo mapping rules for website. + operationId: getWebsiteGeoMappingRules + parameters: + - description: Website ID + example: iiLxP1zaTuCS7fyk9m4W0W + in: path + name: websiteId + required: true + schema: + type: string + responses: + '200': + content: + text/csv: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Get custom geo mapping rules for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + put: + description: API request to set custom geo mapping rules for website. + operationId: setWebsiteGeoMappingRules + parameters: + - description: Website ID + example: K3bP-bmCRkyimNai9vvq8o + in: path + name: websiteId + required: true + schema: + type: string + requestBody: + content: + text/csv: + schema: + type: string + responses: + '200': + content: + text/csv: { + } + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '415': + description: Unsupported Media Type. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Set custom geo mapping rules for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/ip-masking: + get: + description: API request to get IP masking configuration of a website specified + by its websiteId + operationId: getWebsiteIpMaskingConfiguration + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + ipMasking: DEFAULT + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Get IP masking configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + put: + description: API request to update IP masking configuration for website. + operationId: updateWebsiteIpMaskingConfiguration + parameters: + - description: Website ID + example: iiLxP1zaTuCS7fyk9m4W0W + in: path + name: websiteId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IpMaskingConfiguration' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Update IP masking configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/sourcemap-upload: + get: + description: API request to get all sourcemap upload configurations for website. + operationId: getWebsiteSourceMapUploadConfigurations + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + configs: + - id: 67f84a0b117c99e + description: websiteSourcemapUploadConfig1 + createdAt: 1.7479781712347815E9 + modifiedAt: 1.7479781712347815E9 + metadata: [ + ] + schema: + $ref: '#/components/schemas/SourceMapUploadConfigs' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + summary: Get all sourcemap upload configurations for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + post: + description: API request to add sourcemap upload configuration for website. + operationId: postWebsiteSourceMapUploadConfig + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + description: websiteSourcemapConfig2 + schema: + type: object + description: Source map upload configuration + properties: + description: + type: string + description: Name of configuration + responses: + '200': + content: + application/json: + example: + id: 5894971d635094e7 + description: websiteSourcemapConfig2 + createdAt: 1.7479800626018546E9 + modifiedAt: 1.7479800626018546E9 + metadata: [ + ] + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: Website sourcemap upload configuration added successfully + '400': + description: Missing description or description already used for a configuration. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '422': + description: Unprocessable request - missing/invalid data. + '500': + description: Internal server error. + summary: Add new sourcemap upload configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/sourcemap-upload/{sourceMapConfigId}: + delete: + description: API request to delete sourcemap upload configuration for website. + operationId: deleteWebsiteSourceMapUploadConfiguration + parameters: + - description: Website ID + example: 1ELrNt-eQ9SlK4D_EgLMiA + in: path + name: websiteId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '204': + description: Sourcemap configuration successfully deleted or sourcemap not + found + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + summary: Delete sourcemap upload configuration for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + get: + description: API request to get sourcemap upload configuration for website. + operationId: getWebsiteSourceMapUploadConfiguration + parameters: + - in: path + name: websiteId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + example: + id: 67f84a0b117c99e + description: websiteSourcemapUploadConfig1 + createdAt: 1.7479781712347815E9 + modifiedAt: 1.7479781712347815E9 + metadata: [ + ] + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + summary: Get sourcemap upload configurations for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/sourcemap-upload/{sourceMapConfigId}/clear: + put: + description: API request to clear source map files for sourcemap upload configuration. + operationId: clearSourceMapUploadConfiguration + parameters: + - description: Website ID + example: UhzF-fWORlyVLHDlvutYYQ + in: path + name: websiteId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + responses: + '204': + description: Source map files in the source map upload configuration successfully + cleared + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Clear source map files for sourcemap upload configuration + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/sourcemap-upload/{sourceMapConfigId}/form: + put: + description: API request to upload sourcemap file for website. + operationId: uploadSourceMapFile + parameters: + - description: Website ID + example: UhzF-fWORlyVLHDlvutYYQ + in: path + name: websiteId + required: true + schema: + type: string + - description: Source Map Config ID + example: 97e0ad312110d3ad + in: path + name: sourceMapConfigId + required: true + schema: + type: string + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + fileFormat: + type: string + sourceMap: + type: string + format: binary + description: Local Source Map file path + url: + type: string + description: URL of the website + required: + - sourceMap + - url + responses: + '200': + content: + application/json: + example: + id: 67f84a0b117c99e + description: websiteSourcemapUploadConfig1 + createdAt: 1.7479781712347815E9 + modifiedAt: 1.7479781712347815E9 + metadata: [ + ] + schema: + $ref: '#/components/schemas/SourceMapUploadConfig' + description: OK + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '404': + description: Resource not found. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Upload sourcemap file for website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/config/{websiteId}/teams: + put: + description: API request to update teams of a website. + operationId: updateWebsiteTeams + parameters: + - in: path + name: websiteId + required: true + schema: + type: string + requestBody: + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/ApiTag' + responses: + '200': + content: + application/json: + example: + - id: test + displayName: test + schema: + type: array + items: + $ref: '#/components/schemas/ApiTag' + description: Website successfully configured + '400': + description: Bad request. + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Insufficient permissions. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - CanConfigureEumApplications + summary: Update teams assigned to the website + tags: + - Website Configuration + x-ibm-ahub-byok: true + /api/website-monitoring/metrics: + post: + deprecated: true + description: API request to get website monitoring beacon metrics. + operationId: getBeaconMetrics + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetWebsiteMetrics' + x-payload: getWebsiteMetricsQuery + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WebsiteMetricResult' + description: OK + security: + - ApiKeyAuth: + - Default + summary: Get beacon metrics + tags: + - Website Metrics + x-ibm-ahub-byok: true + /api/website-monitoring/page-load{id}{timestamp}: + get: + description: API request to get website monitoring beacons for a page load. + operationId: getPageLoad + parameters: + - description: Identifier of the page load to be retrieved + example: 63f5b070e8d9a597 + in: path + name: id + required: true + schema: + type: string + style: matrix + - description: Timestamp of the page load to be retrieved + example: 1707012285674 + in: path + name: timestamp + required: true + schema: + type: integer + format: int64 + style: matrix + responses: + '200': + content: + application/json: + example: + - websiteId: example website id + websiteLabel: robot-shop + page: Home + phase: pageLoad + timestamp: 1707012285674 + clockSkew: 447 + duration: 120 + batchSize: 1 + accurateTimingsAvailable: true + deprecations: [ + ] + pageLoadId: 974bca2eb13047c + sessionId: e995a184bb4b4e0 + beaconId: 0974bca2eb13047c + backendTraceId: c92e3ec967ef173f + type: pageLoad + customEventName: '' + meta: + stage: production + status: bronze + locationUrl: http://robotshop.instana.com/ + locationOrigin: http://robotshop.instana.com + locationPath: / + errorCount: 0 + errorMessage: '' + errorId: '' + errorType: '' + parsedStackTrace: [ + ] + componentStack: '' + userIp: 87.191.0.0 + userId: example user id + userName: example user name + userEmail: example@example.com + userLanguages: + - de-DE + deviceType: '' + connectionType: 4g + browserName: Firefox + browserVersion: '63' + osName: Ubuntu + osVersion: '18' + windowHidden: false + windowWidth: 1149 + windowHeight: 1008 + latitude: 50.8021 + longitude: 8.7857 + accuracyRadius: 200 + city: Weidenhausen + subdivision: Hesse + subdivisionCode: HE + country: Germany + countryCode: DE + continent: Europe + continentCode: EU + httpCallUrl: '' + httpCallOrigin: '' + httpCallPath: '' + httpCallMethod: '' + httpCallStatus: 400 + httpCallCorrelationAttempted: false + httpCallAsynchronous: false + initiator: html + resourceType: document + cacheInteraction: '' + encodedBodySize: -1 + decodedBodySize: -1 + transferSize: -1 + unloadTime: 0 + redirectTime: 0 + appCacheTime: 0 + dnsTime: 0 + tcpTime: 0 + sslTime: 0 + requestTime: 42 + responseTime: 1 + processingTime: -1 + onLoadTime: 1 + backendTime: 51 + frontendTime: -1 + domTime: -1 + childrenTime: 5 + firstPaintTime: 331 + firstContentfulPaintTime: 331 + largestContentfulPaintTime: 331 + firstInputDelayTime: -1 + cumulativeLayoutShift: -1.0 + cspBlockedUri: '' + cspEffectiveDirective: '' + cspOriginalPolicy: '' + cspDisposition: '' + cspSample: '' + cspSourceFile: '' + cspLineNumber: -1 + cspColumnNumber: -1 + snippetVersion: '2' + httpCallHeaders: { + } + parentBeaconId: '' + interactionNextPaint: -1 + schema: + type: array + items: + $ref: '#/components/schemas/WebsiteMonitoringBeacon' + description: OK + '400': + description: Bad request. + '404': + description: Resource not found. + security: + - ApiKeyAuth: + - Default + summary: Get page load + tags: + - Website Metrics + x-ibm-ahub-byok: true + /api/website-monitoring/v2/metrics: + post: + description: API request to get website monitoring beacon metrics. + operationId: getBeaconMetricsV2 + requestBody: + content: + application/json: + example: + metrics: + - metric: beaconCount + aggregation: SUM + tagFilterExpression: + type: EXPRESSION + logicalOperator: AND + elements: + - type: TAG_FILTER + name: beacon.website.name + operator: EQUALS + entity: NOT_APPLICABLE + value: robot-shop + - type: TAG_FILTER + name: beacon.location.path + operator: EQUALS + entity: NOT_APPLICABLE + value: / + timeFrame: + to: null + windowSize: 3600000 + type: PAGELOAD + schema: + $ref: '#/components/schemas/GetWebsiteMetricsV2' + x-payload: getWebsiteMetricsQuery + responses: + '200': + content: + application/json: + example: + metrics: + beaconCount.sum: + - - 1706856180000 + - 100.0 + adjustedTimeFrame: + windowSize: 3540000 + to: 1706856180000 + schema: + $ref: '#/components/schemas/MetricAPIResult' + description: OK + '401': + description: Unauthorized access - requires user authentication. + '404': + description: Resource not found. + '422': + description: Unprocessable request - missing/invalid data. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get beacon metrics + tags: + - Website Metrics + x-ibm-ahub-byok: true +components: + schemas: + AbstractIntegration: + type: object + discriminator: + mapping: + BIDIRECTIONAL_MS_TEAMS: '#/components/schemas/BidirectionalMsTeamsAppIntegration' + BIDIRECTIONAL_SLACK: '#/components/schemas/BidirectionalSlackAppIntegration' + EMAIL: '#/components/schemas/EmailIntegration' + GOOGLE_CHAT: '#/components/schemas/GoogleChatIntegration' + OFFICE_365: '#/components/schemas/Office365Integration' + OPS_GENIE: '#/components/schemas/OpsgenieIntegration' + PAGER_DUTY: '#/components/schemas/PagerdutyIntegration' + PROMETHEUS_WEBHOOK: '#/components/schemas/PrometheusWebhookIntegration' + SALESFORCE: '#/components/schemas/SalesforceIntegration' + SERVICE_NOW_APPLICATION: '#/components/schemas/ServiceNowEnhancedIntegration' + SERVICE_NOW_WEBHOOK: '#/components/schemas/ServiceNowIntegration' + SLACK: '#/components/schemas/SlackIntegration' + SPLUNK: '#/components/schemas/SplunkIntegration' + VICTOR_OPS: '#/components/schemas/VictorOpsIntegration' + WATSON_AIOPS_WEBHOOK: '#/components/schemas/WatsonAIOpsWebhookIntegration' + WEBEX_TEAMS_WEBHOOK: '#/components/schemas/WebexTeamsWebhookIntegration' + WEB_HOOK: '#/components/schemas/WebhookIntegration' + Z_CHATOPS: '#/components/schemas/ZChatOpsIntegration' + propertyName: kind + properties: + id: + type: string + description: Unique ID of the returned Alert Channel + kind: + type: string + description: The type of the Alerting Channel. + name: + type: string + description: The name of the Alerting Channel. + required: + - id + - kind + - name + AbstractRule: + type: object + discriminator: + mapping: + entity_count: '#/components/schemas/EntityCountRule' + entity_count_verification: '#/components/schemas/EntityCountVerificationRule' + entity_verification: '#/components/schemas/EntityVerificationRule' + host_availability: '#/components/schemas/HostAvailabilityRule' + system: '#/components/schemas/SystemRule' + threshold: '#/components/schemas/ThresholdRule' + propertyName: ruleType + properties: + ruleType: + type: string + severity: + type: integer + format: int32 + required: + - ruleType + AccessLogEntry: + type: object + properties: + action: + type: string + enum: + - GRANT_TEMP_ACCESS + - FIRST_LOGIN + - LOGIN + - ACCESS + - FAILED_LOGIN + - LOGOUT + - CREATE_API_TOKEN_BY_POLICY + - IDP_MAPPING + - DISABLE_IP_RESTRICTION + email: + type: string + fullName: + type: string + message: + type: string + meta: + type: object + additionalProperties: + type: object + tenantId: + type: string + tenantUnitId: + type: string + timestamp: + type: integer + format: int64 + minimum: 1118583367265 + required: + - action + - email + - fullName + - tenantId + AccessLogResponse: + type: object + properties: + entries: + type: array + items: + $ref: '#/components/schemas/AccessLogEntry' + total: + type: integer + format: int64 + AccessRule: + type: object + properties: + accessType: + type: string + description: "Specifies the type of access permitted. \n\n`READ`: Only viewing\ + \ Application Perspective is allowed. \n\n`READ_WRITE`: Both viewing and\ + \ modifying Application Perspective are permitted. \n\n" + enum: + - READ + - READ_WRITE + relatedId: + type: string + description: "An identifier that connects the access rule to a specific\ + \ entity.\nFor example, if the `relationType` is `USER`, the corresponding\ + \ `relatedId` would be a user id. \n\n**Note**: when `relationType` is\ + \ `GLOBAL`, `relatedId` is `null`.\n" + maxLength: 64 + minLength: 0 + relationType: + type: string + description: "Defines the type of relationship or subject to which the access\ + \ rule applies. \n\n`USER`: Access is granted to an individual user. \n\ + \n`API_TOKEN`: Access is granted to a specific API token. \n\n`ROLE`:\ + \ Access is granted based on a user role, applying to any user with that\ + \ role. \n\n`TEAM`: Access is granted to a team, likely applying to all\ + \ team members. \n\n`GLOBAL`: Access is granted to every user or service.\n" + enum: + - USER + - API_TOKEN + - ROLE + - TEAM + - GLOBAL + required: + - accessType + - relationType + Action: + type: object + description: Automation action definition. When this is used in policy creation + request, only `id` should be specified. + properties: + createdAt: + type: string + format: date-time + description: Action created time. + description: + type: string + description: Action description. + maxLength: 512 + minLength: 0 + fields: + type: array + description: List of fields that describe an action. + items: + $ref: '#/components/schemas/Field' + id: + type: string + description: Action identifier. + maxLength: 128 + minLength: 1 + inputParameters: + type: array + description: List of inputs to the action. + items: + $ref: '#/components/schemas/Parameter' + metadata: + $ref: '#/components/schemas/MetaData' + modifiedAt: + type: string + format: date-time + description: Action modified time. + name: + type: string + description: Action name. + maxLength: 128 + minLength: 1 + tags: + type: array + description: List of tags added to the action. + items: + type: string + description: List of tags added to the action. + type: + type: string + description: 'Action type can be one of the following values: SCRIPT, HTTP, + ANSIBLE, EXTERNAL, GITHUB, GITLAB, JIRA, MANUAL, DOC_LINK' + enum: + - SCRIPT + - HTTP + - ANSIBLE + - EXTERNAL + - GITHUB + - GITLAB + - JIRA + - MANUAL + - DOC_LINK + maxLength: 128 + minLength: 0 + required: + - createdAt + - id + - modifiedAt + - name + - type + ActionConfiguration: + type: object + description: List of action configurations. + properties: + action: + $ref: '#/components/schemas/Action' + agentId: + type: string + description: Identifier of the agent host on which to run the action. + inputParameterValues: + type: array + description: List of action input parameters. + items: + $ref: '#/components/schemas/ParameterValue' + required: + - action + ActionInstance: + type: object + properties: + actionDescription: + type: string + description: Action description of the action to run. + actionId: + type: string + description: Action identifier of the action to run. + actionInstanceId: + type: string + description: Action run identifier. + readOnly: true + actionName: + type: string + description: Action name of the action to run. + actionSnapshot: + type: string + description: Snapshot of the action definition. + readOnly: true + actorId: + type: string + description: User identifier, API token or the policy identifier that started + the action run. + actorName: + type: string + description: Name of the user, API token or the policy that started the + action run. + actorType: + type: string + description: Type of Actor. Valid values are listed in the enum definition. + enum: + - ACTOR_UNKNOWN + - USER + - APITOKEN + - POLICY + createdDate: + type: integer + format: int64 + description: Action run created timestamp. The timestamp at which the action + run got submitted. + endDate: + type: integer + format: int64 + description: Action run end timestamp. The timestamp at which the action + run ended on the agent host. + errorMessage: + type: string + description: Error message, if any, of action run on the agent host. + eventEntityType: + type: string + description: Event entity type set in the event that triggered this action + run. + eventId: + type: string + description: Event identifier of the event that triggered this action run. + eventSpecificationId: + type: string + description: Event specification identifier of the event that triggered + this action run. + externalSourceType: + type: string + description: If the action type is external this field contains the name + of the external source. + hostSnapshotId: + type: string + description: Host snapshot identifier of the agent on which the action ran. + inputParameters: + type: array + description: List of input parameters to this action run. + items: + $ref: '#/components/schemas/ActionInstanceParameter' + metadata: + type: array + description: List of metadata parameters set to this action run by sensors. + items: + $ref: '#/components/schemas/ActionInstanceMetadataEntry' + output: + type: string + description: Action run output. + policyId: + type: string + description: Identifier of the policy that triggered this action run. + problemText: + type: string + description: Event problem text of the event that triggered this action + run. + returnCode: + type: integer + format: int32 + description: Return code of action run on the agent host. + startDate: + type: integer + format: int64 + description: Action run start timestamp. The timestamp at which the action + run started on the agent host. + status: + type: string + description: Action run status. Valid values are listed in the enum definition. + enum: + - STATUS_UNKNOWN + - SUBMITTED + - IN_PROGRESS + - SUCCESS + - FAILED + - READY + - TIMEOUT + targetSnapshotId: + type: string + description: Action target entity identifier set in the event that triggered + this action run. This is the identifier of the entity on which an incident + or issue was raised. + type: + type: string + description: Action type. Valid values are listed in the enum definition. + enum: + - SCRIPT + - HTTP + - ANSIBLE + - EXTERNAL + - GITHUB + - GITLAB + - JIRA + - MANUAL + - DOC_LINK + required: + - actionId + - actionName + - type + ActionInstanceMetadataEntry: + type: object + description: List of metadata parameters set to this action run by sensors. + properties: + name: + type: string + description: Metadata name. + value: + type: string + description: Metadata value. + required: + - name + ActionInstanceParameter: + type: object + description: List of input parameters to this action run. + properties: + displayName: + type: string + description: Parameter display name. + name: + type: string + description: Parameter name. + type: + type: string + description: Parameter type. Valid values are `static`, `dynamic` or `vault` + value: + type: string + description: Parameter value. + required: + - displayName + - name + ActionInstanceRequest: + type: object + properties: + actionId: + type: string + description: Action identifier of the action to run. + async: + type: string + description: '`"true"` if the action should be run in asynchronous mode + `"false"` otherwise. Default is `"true"`.' + eventId: + type: string + description: Event identifier (incident or issue) associated with the policy. + hostId: + type: string + description: Agent host identifier on which to run the action. + inputParameters: + type: array + description: Action run input parameters. + items: + $ref: '#/components/schemas/ActionInstanceRequestParameters' + policyId: + type: string + description: Policy identifier that associates the action trigger (incident + or issue) to the action to run. + timeout: + type: string + description: Action run time out. Default is `30 seconds`. + required: + - actionId + - hostId + ActionInstanceRequestParameters: + type: object + description: Action run input parameters. + properties: + name: + type: string + description: Name of the input parameter. + type: + type: string + description: Type of the input parameter. Valid values are `static`, `dynamic` + or `vault`. Default is `static`. + value: + type: string + description: Value of the input parameter + required: + - name + - value + ActionMatch: + type: object + properties: + action: + $ref: '#/components/schemas/Action' + aiEngine: + type: string + enum: + - POLICY + - EVENT_SIMILARITY + - NLP + - SUCCESS_RATE + - TURBONOMIC + - WATSONX + confidence: + type: string + policy: + $ref: '#/components/schemas/Policy' + score: + type: number + format: double + required: + - aiEngine + - confidence + - score + ActionSearchSpace: + type: object + properties: + description: + type: string + description: The description of an incident or issue. + entityType: + type: string + description: The entity type associated with the incident or issue. + eventId: + type: string + description: The event identifier associated with the incident or issue. + name: + type: string + description: The name of an incident or issue. + required: + - name + AdaptiveBaseline: + type: object + allOf: + - $ref: '#/components/schemas/Threshold' + - type: object + properties: + deviationFactor: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: false + maximum: 16.0 + minimum: 0.5 + required: + - operator + AdaptiveThresholdRule: + type: object + allOf: + - $ref: '#/components/schemas/ThresholdConfigRule' + - type: object + properties: + deviationFactor: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: false + maximum: 16.0 + minimum: 0.5 + Addition: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperation' + required: + - left + - right + AdjustedTimeframe: + type: object + description: | + Time frame provided in API request is slightly adjusted in response for faster API response. + For example, In request payload, if timeframe is 08:03 - 14:03, which is a 6 hour window size. It is adjusted to 08:05 - 14:00 + Another example, In request payload, if timeframe is 08:20 - 08:20 (next day) which is a 24h window size. It is adjusted to 08:30 - 08:00 (next day) + properties: + to: + type: integer + format: int64 + description: 'end of timeframe expressed as the Unix epoch time in milliseconds. + Eg: `ISO 8601` standard time `2024-06-27T05:05:55.615Z` can be represented + as `1719464755615` in Unix epoch time in milliseconds.' + windowSize: + type: integer + format: int64 + description: windowSize in milliseconds + minimum: 0 + required: + - to + AgentConfigurationUpdate: + type: object + properties: + remoteBranch: + type: string + maxLength: 256 + minLength: 0 + remoteName: + type: string + maxLength: 256 + minLength: 0 + remoteUri: + type: string + maxLength: 65536 + minLength: 0 + AlertingConfiguration: + type: object + properties: + alertName: + type: string + description: Name of the Alert Configuration. + maxLength: 256 + minLength: 0 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/StaticStringField' + maxItems: 20 + minItems: 0 + eventFilteringConfiguration: + $ref: '#/components/schemas/EventFilteringConfiguration' + id: + type: string + description: ID of the Alert Configuration. + maxLength: 64 + minLength: 0 + includeEntityNameInLegacyAlerts: + type: boolean + description: To include the entity name in a legacy alert based on built-in/custom + events. + integrationIds: + type: array + description: List of Alert Channel IDs added in this Alert Configuration. + items: + type: string + description: List of Alert Channel IDs added in this Alert Configuration. + maxItems: 1024 + minItems: 0 + uniqueItems: true + muteUntil: + type: integer + format: int64 + description: Timer dictating how long the Alert Configuration will stay + muted. A value of `0` means the Alert Configuration is currently enabled. + Otherwise, the Alert Configuration is currently disabled (muted). + required: + - alertName + - customPayloadFields + - eventFilteringConfiguration + - id + - integrationIds + AlertingConfigurationWithLastUpdated: + type: object + properties: + alertName: + type: string + description: Name of the Alert Configuration. + maxLength: 256 + minLength: 0 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/StaticStringField' + maxItems: 20 + minItems: 0 + eventFilteringConfiguration: + $ref: '#/components/schemas/EventFilteringConfiguration' + id: + type: string + description: ID of the Alert Configuration. + maxLength: 64 + minLength: 0 + includeEntityNameInLegacyAlerts: + type: boolean + description: To include the entity name in a legacy alert based on built-in/custom + events. + integrationIds: + type: array + description: List of Alert Channel IDs added in this Alert Configuration. + items: + type: string + description: List of Alert Channel IDs added in this Alert Configuration. + maxItems: 1024 + minItems: 0 + uniqueItems: true + lastUpdated: + type: integer + format: int64 + description: Unix timestamp representing the time the configuration was + last updated. + minimum: 1 + muteUntil: + type: integer + format: int64 + description: Timer dictating how long the Alert Configuration will stay + muted. A value of `0` means the Alert Configuration is currently enabled. + Otherwise, the Alert Configuration is currently disabled (muted). + required: + - alertName + - customPayloadFields + - eventFilteringConfiguration + - id + - integrationIds + AlertingTimeWindow: + type: object + properties: + duration: + type: integer + format: int32 + durationType: + type: string + enum: + - millisecond + - second + - minute + - hour + - day + - week + - month + durationUnit: + type: string + enum: + - millisecond + - second + - minute + - hour + - day + - week + - month + writeOnly: true + required: + - duration + - durationType + ApdexConfiguration: + type: object + properties: + apdexEntity: + $ref: '#/components/schemas/ApdexEntity' + apdexName: + type: string + description: Name of the Apdex Configuration + maxLength: 256 + minLength: 0 + createdAt: + type: integer + format: int64 + description: Created Date of Apdex Configuration + id: + type: string + description: Apdex Configuration ID + maxLength: 64 + minLength: 0 + required: + - apdexEntity + - apdexName + - id + ApdexConfigurationInput: + type: object + properties: + apdexEntity: + $ref: '#/components/schemas/ApdexEntity' + apdexName: + type: string + description: Name of the Apdex Configuration + maxLength: 256 + minLength: 0 + required: + - apdexEntity + - apdexName + ApdexEntity: + type: object + description: Entity which holds the information of Apdex Configuration + discriminator: + mapping: + application: '#/components/schemas/ApplicationApdexEntity' + website: '#/components/schemas/WebsiteApdexEntity' + propertyName: apdexType + properties: + apdexType: + type: string + entityId: + type: string + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + type: integer + format: int32 + minimum: 1 + required: + - apdexType + - entityId + - tagFilterExpression + ApdexReport: + type: object + properties: + apdexId: + type: string + description: Apdex Configuration ID + apdexScore: + type: array + description: Apdex Score in different timestamps from starting to the ending + point + items: + type: array + description: Apdex Score in different timestamps from starting to the + ending point + items: + type: number + description: Apdex Score in different timestamps from starting to the + ending point + from: + type: integer + format: int64 + description: Starting point for the data retrieval, specified as 13 digit + Unix Timestamp milliseconds + to: + type: integer + format: int64 + description: Ending point for the data retrieval, specified as 13 digit + Unix Timestamp milliseconds + ApiCreateGroup: + type: object + properties: + members: + type: array + items: + $ref: '#/components/schemas/ApiMember' + uniqueItems: true + name: + type: string + permissionSet: + $ref: '#/components/schemas/ApiPermissionSet' + required: + - members + - name + - permissionSet + ApiCreateRole: + type: object + properties: + members: + type: array + items: + $ref: '#/components/schemas/ApiMember' + uniqueItems: true + name: + type: string + permissions: + type: array + items: + type: string + maxItems: 1024 + minItems: 0 + uniqueItems: true + required: + - name + ApiGroup: + type: object + properties: + id: + type: string + maxLength: 64 + minLength: 0 + members: + type: array + items: + $ref: '#/components/schemas/ApiMember' + uniqueItems: true + name: + type: string + permissionSet: + $ref: '#/components/schemas/ApiPermissionSet' + required: + - id + - members + - name + - permissionSet + ApiMember: + type: object + properties: + email: + type: string + name: + type: string + userId: + type: string + required: + - userId + ApiPermissionSet: + type: object + properties: + actionFilter: + $ref: '#/components/schemas/ScopeBinding' + applicationIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + businessPerspectiveIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + infraDfqFilter: + $ref: '#/components/schemas/ScopeBinding' + kubernetesClusterUUIDs: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + kubernetesNamespaceUIDs: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + mobileAppIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + permissions: + type: array + items: + type: string + maxItems: 1024 + minItems: 0 + uniqueItems: true + restrictedApplicationFilter: + $ref: '#/components/schemas/ApiRestrictedApplicationFilter' + sloIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + syntheticCredentialKeys: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + syntheticTestIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + websiteIds: + type: array + items: + $ref: '#/components/schemas/ScopeBinding' + maxItems: 1024 + minItems: 0 + uniqueItems: true + required: + - applicationIds + - businessPerspectiveIds + - infraDfqFilter + - kubernetesClusterUUIDs + - kubernetesNamespaceUIDs + - mobileAppIds + - permissions + - sloIds + - syntheticCredentialKeys + - syntheticTestIds + - websiteIds + ApiRestrictedApplicationFilter: + type: object + properties: + label: + type: string + restrictingApplicationId: + type: string + scope: + type: string + enum: + - INCLUDE_NO_DOWNSTREAM + - INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + - INCLUDE_ALL_DOWNSTREAM + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + ApiRole: + type: object + properties: + id: + type: string + members: + type: array + items: + $ref: '#/components/schemas/ApiMember' + uniqueItems: true + name: + type: string + permissions: + type: array + items: + type: string + uniqueItems: true + required: + - id + - members + - name + - permissions + ApiTag: + type: object + properties: + displayName: + type: string + maxLength: 256 + minLength: 0 + id: + type: string + maxLength: 64 + minLength: 0 + required: + - displayName + - id + ApiTeam: + type: object + properties: + id: + type: string + maxLength: 64 + minLength: 0 + info: + $ref: '#/components/schemas/ApiTeamInfo' + members: + type: array + items: + $ref: '#/components/schemas/ApiTeamMember' + uniqueItems: true + scope: + $ref: '#/components/schemas/ApiTeamScope' + tag: + type: string + maxLength: 256 + minLength: 0 + required: + - tag + ApiTeamInfo: + type: object + properties: + description: + type: string + maxLength: 2048 + minLength: 0 + ApiTeamMember: + type: object + properties: + email: + type: string + name: + type: string + roles: + type: array + items: + $ref: '#/components/schemas/ApiTeamRole' + uniqueItems: true + userId: + type: string + required: + - userId + ApiTeamRole: + type: object + properties: + roleId: + type: string + roleName: + type: string + viaIdP: + type: boolean + required: + - roleId + ApiTeamScope: + type: object + properties: + accessPermissions: + type: array + items: + type: string + enum: + - LIMITED_APPLICATIONS_SCOPE + - LIMITED_WEBSITES_SCOPE + - LIMITED_KUBERNETES_SCOPE + - LIMITED_MOBILE_APPS_SCOPE + - LIMITED_INFRASTRUCTURE_SCOPE + - LIMITED_SYNTHETICS_SCOPE + - LIMITED_BIZOPS_SCOPE + - LIMITED_GEN_AI_SCOPE + - LIMITED_AUTOMATION_SCOPE + - LIMITED_LOGS_SCOPE + - LIMITED_ALERT_CHANNELS_SCOPE + - LIMITED_VSPHERE_SCOPE + - LIMITED_PHMC_SCOPE + - LIMITED_POWERVC_SCOPE + - LIMITED_ZHMC_SCOPE + - LIMITED_PCF_SCOPE + - LIMITED_OPENSTACK_SCOPE + - LIMITED_SAP_SCOPE + - LIMITED_NUTANIX_SCOPE + - LIMITED_XENSERVER_SCOPE + - LIMITED_WINDOWS_HYPERVISOR_SCOPE + - LIMITED_LINUX_KVM_HYPERVISOR_SCOPE + - LIMITED_AI_GATEWAY_SCOPE + - LIMITED_SERVICE_LEVEL_SCOPE + uniqueItems: true + actionFilter: + type: string + applications: + type: array + items: + type: string + uniqueItems: true + businessPerspectives: + type: array + items: + type: string + uniqueItems: true + infraDfqFilter: + type: string + kubernetesClusters: + type: array + items: + type: string + uniqueItems: true + kubernetesNamespaces: + type: array + items: + type: string + uniqueItems: true + logFilter: + type: string + mobileApps: + type: array + items: + type: string + uniqueItems: true + restrictedApplicationFilter: + $ref: '#/components/schemas/ApiRestrictedApplicationFilter' + sloIds: + type: array + items: + type: string + uniqueItems: true + syntheticCredentials: + type: array + items: + type: string + uniqueItems: true + syntheticTests: + type: array + items: + type: string + uniqueItems: true + tagIds: + type: array + items: + type: string + uniqueItems: true + websites: + type: array + items: + type: string + uniqueItems: true + ApiToken: + type: object + properties: + accessGrantingToken: + type: string + canConfigureAgentRunMode: + type: boolean + canConfigureAgents: + type: boolean + canConfigureAiAgents: + type: boolean + canConfigureApdex: + type: boolean + canConfigureApiTokens: + type: boolean + canConfigureApplicationSmartAlerts: + type: boolean + canConfigureApplications: + type: boolean + canConfigureAuthenticationMethods: + type: boolean + canConfigureAutomationActions: + type: boolean + canConfigureAutomationPolicies: + type: boolean + canConfigureBizops: + type: boolean + canConfigureCustomEntities: + type: boolean + canConfigureDatabaseManagement: + type: boolean + canConfigureEumApplications: + type: boolean + canConfigureEventsAndAlerts: + type: boolean + canConfigureGlobalAlertPayload: + type: boolean + canConfigureGlobalApplicationSmartAlerts: + type: boolean + canConfigureGlobalInfraSmartAlerts: + type: boolean + canConfigureGlobalLogSmartAlerts: + type: boolean + canConfigureGlobalSyntheticSmartAlerts: + type: boolean + canConfigureIntegrations: + type: boolean + canConfigureLLM: + type: boolean + canConfigureLogManagement: + type: boolean + canConfigureLogRetentionPeriod: + type: boolean + canConfigureMaintenanceWindows: + type: boolean + canConfigureMobileAppMonitoring: + type: boolean + canConfigureMobileAppSmartAlerts: + type: boolean + canConfigurePersonalApiTokens: + type: boolean + canConfigureReleases: + type: boolean + canConfigureServiceLevelCorrectionWindows: + type: boolean + canConfigureServiceLevelSmartAlerts: + type: boolean + canConfigureServiceLevels: + type: boolean + canConfigureServiceMapping: + type: boolean + canConfigureSessionSettings: + type: boolean + canConfigureSubtraces: + type: boolean + canConfigureSyntheticCredentials: + type: boolean + canConfigureSyntheticLocations: + type: boolean + canConfigureSyntheticTests: + type: boolean + canConfigureTeams: + type: boolean + canConfigureUsers: + type: boolean + canConfigureWebsiteConversions: + type: boolean + canConfigureWebsiteSmartAlerts: + type: boolean + canCreateHeapDump: + type: boolean + canCreatePublicCustomDashboards: + type: boolean + canCreateThreadDump: + type: boolean + canDeleteAutomationActionHistory: + type: boolean + canDeleteLogs: + type: boolean + canEditAllAccessibleCustomDashboards: + type: boolean + canInstallNewAgents: + type: boolean + canInvokeAlertChannel: + type: boolean + canManuallyCloseIssue: + type: boolean + canRunAutomationActions: + type: boolean + canUseSyntheticCredentials: + type: boolean + canViewAccountAndBillingInformation: + type: boolean + canViewAuditLog: + type: boolean + canViewBizAlerts: + type: boolean + canViewBusinessActivities: + type: boolean + canViewBusinessProcessDetails: + type: boolean + canViewBusinessProcesses: + type: boolean + canViewLogVolume: + type: boolean + canViewLogs: + type: boolean + canViewSyntheticLocations: + type: boolean + canViewSyntheticTestResults: + type: boolean + canViewSyntheticTests: + type: boolean + canViewTraceDetails: + type: boolean + createdBy: + type: string + createdOn: + type: integer + format: int64 + expiresOn: + type: integer + format: int64 + id: + type: string + internalId: + type: string + lastUsedOn: + type: integer + format: int64 + limitedAiGatewayScope: + type: boolean + limitedAlertChannelsScope: + type: boolean + limitedApplicationsScope: + type: boolean + limitedAutomationScope: + type: boolean + limitedBizOpsScope: + type: boolean + limitedGenAIScope: + type: boolean + limitedInfrastructureScope: + type: boolean + limitedKubernetesScope: + type: boolean + limitedLinuxKVMHypervisorScope: + type: boolean + limitedLogsScope: + type: boolean + limitedMobileAppsScope: + type: boolean + limitedNutanixScope: + type: boolean + limitedOpenstackScope: + type: boolean + limitedPcfScope: + type: boolean + limitedPhmcScope: + type: boolean + limitedPvcScope: + type: boolean + limitedSAPScope: + type: boolean + limitedServiceLevelScope: + type: boolean + limitedSyntheticsScope: + type: boolean + limitedVsphereScope: + type: boolean + limitedWebsitesScope: + type: boolean + limitedWindowsHypervisorScope: + type: boolean + limitedXenServerScope: + type: boolean + limitedZhmcScope: + type: boolean + name: + type: string + required: + - accessGrantingToken + - internalId + - name + AppDataMetricConfiguration: + type: object + properties: + aggregation: + type: string + description: 'Set aggregation that can be applied to a series of values. + Eg: `MEAN`.' + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int32 + description: 'If the granularity is set you will get data points with the + specified granularity in seconds. Default: `1000` milliseconds' + metric: + type: string + description: 'Set a particular metric, eg: `latency`.' + numeratorTagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - aggregation + - metric + Application: + type: object + description: Returns a list of Application Perspectives. + properties: + boundaryScope: + type: string + description: Here, `ALL` Application Boundary Scope is considered. + entityType: + type: string + description: Since, this is an Application Perspective, it will be of type + `APPLICATION`. + enum: + - APPLICATION + - SERVICE + - ENDPOINT + id: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + label: + type: string + description: 'Name of the Application Perspective. Eg: `app1`.' + required: + - boundaryScope + - id + - label + ApplicationAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + applicationId: + type: string + writeOnly: true + applications: + type: object + additionalProperties: + $ref: '#/components/schemas/ApplicationNode' + description: Selection of applications, services, and endpoints that this + Smart Alert configuration is associated with. This selection is connected + to the defined `tagFilterExpression` by the logical `AND` operator. + boundaryScope: + type: string + description: Determines the source of the application alert configuration. + An `INBOUND` scope refers to consumer-made calls. An `ALL` scope refers + to both consumer and internally made calls. + enum: + - ALL + - INBOUND + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the application alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + evaluationType: + type: string + description: Determines whether calls of the aggregated metrics are grouped + by the application, the service, or the endpoint. This also determines + whether the resulting events are categorized as an issue on the respective + entity of that group. + enum: + - PER_AP + - PER_AP_SERVICE + - PER_AP_ENDPOINT + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: 'Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. ' + name: + type: string + description: Name of the application alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/ApplicationAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdApplicationAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + uniqueItems: true + writeOnly: true + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/ApplicationTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - alertChannelIds + - applications + - boundaryScope + - customPayloadFields + - description + - evaluationType + - granularity + - name + - tagFilterExpression + - timeThreshold + ApplicationAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + applicationId: + type: string + deprecated: true + description: ID of the application that this Smart Alert configuration is + applied to. + maxLength: 64 + minLength: 0 + applications: + type: object + additionalProperties: + $ref: '#/components/schemas/ApplicationNode' + description: Selection of applications, services, and endpoints that this + Smart Alert configuration is associated with. This selection is connected + to the defined `tagFilterExpression` by the logical `AND` operator. + boundaryScope: + type: string + description: Determines the source of the application alert configuration. + An `INBOUND` scope refers to consumer-made calls. An `ALL` scope refers + to both consumer and internally made calls. + enum: + - ALL + - INBOUND + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the application alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + evaluationType: + type: string + description: Determines whether calls of the aggregated metrics are grouped + by the application, the service, or the endpoint. This also determines + whether the resulting events are categorized as an issue on the respective + entity of that group. + enum: + - PER_AP + - PER_AP_SERVICE + - PER_AP_ENDPOINT + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + id: + type: string + description: 'ID of this Application App Alert Config. ' + maxLength: 64 + minLength: 0 + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: 'Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. ' + initialCreated: + type: integer + format: int64 + description: Unix timestamp representing the time of the initial revision. + minimum: 1 + name: + type: string + description: Name of the application alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Flag to indicate whether or not the configuration is read-only. + Read-only access restricts modification of the config. + rule: + $ref: '#/components/schemas/ApplicationAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdApplicationAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + uniqueItems: true + writeOnly: true + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/ApplicationTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - alertChannelIds + - applications + - boundaryScope + - customPayloadFields + - description + - evaluationType + - granularity + - id + - name + - tagFilterExpression + - timeThreshold + ApplicationAlertRule: + type: object + discriminator: + mapping: + errorRate: '#/components/schemas/ErrorsApplicationAlertRule' + errors: '#/components/schemas/ErrorsApplicationAlertRule' + logs: '#/components/schemas/LogsApplicationAlertRule' + slowness: '#/components/schemas/SlownessApplicationAlertRule' + statusCode: '#/components/schemas/StatusCodeApplicationAlertRule' + throughput: '#/components/schemas/ThroughputApplicationAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + metricName: + type: string + required: + - alertType + - metricName + ApplicationApdexEntity: + type: object + allOf: + - $ref: '#/components/schemas/ApdexEntity' + - type: object + properties: + boundaryScope: + type: string + description: Application Boundary Scope, it could be ALL or INBOUND + enum: + - ALL + - INBOUND + entityId: + type: string + description: Application ID + includeInternal: + type: boolean + description: A boolean value indicating whether the SLO takes Internal + calls into account + includeSynthetic: + type: boolean + description: A boolean value indicating whether the SLO takes Synthetic + calls into account + threshold: + type: integer + format: int32 + description: Value of the Apdex Threshold + minimum: 1 + required: + - boundaryScope + - entityId + - tagFilterExpression + ApplicationConfig: + type: object + properties: + accessRules: + type: array + description: | + Defines permissions and access relationships. + items: + $ref: '#/components/schemas/AccessRule' + maxItems: 64 + minItems: 1 + boundaryScope: + type: string + description: | + **INBOUND**: Inbound calls are calls initiated from outside the application and where the destination service is part of the selected application perspective. + + **ALL**: Results and metrics for not only calls at the application perspective boundary, but also those occurring within the application perspective. + + **DEFAULT**: Default value, for Application Perspectives created before the introduction of `ALL` and `INBOUND`. + At present, whenever new Application Perspectives are created, there are only 2 options to select: `ALL` or `INBOUND`. + It is recommended to use either `ALL` or `INBOUND` as `DEFAULT` is deprecated. `DEFAULT` is treated as `INBOUND`. + enum: + - ALL + - INBOUND + - DEFAULT + id: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + maxLength: 128 + minLength: 1 + label: + type: string + description: 'Name of the Application Perspective. Eg: `app1`.' + maxLength: 128 + minLength: 1 + matchSpecification: + $ref: '#/components/schemas/MatchExpressionDTO' + scope: + type: string + description: | + **INCLUDE_NO_DOWNSTREAM** : Only the selected services from the filters are included (call this the core set). + This is useful when you treat the services as opaque. + An example would be the services that represent 3rd party APIs. + + **INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING** : Include the core set of services from the filters and then expand this core set to include the database and messaging services that the core set directly interacts with. + This is useful if you are want to monitor a set of services and their direct dependencies. + For example, a development team responsible for several micro-services. + + **INCLUDE_ALL_DOWNSTREAM** : It effortlessly and automatically includes all the services that form the entire end-to-end dependency chain of the core set of services. + This is useful if the AP will be used for troubleshooting. + enum: + - INCLUDE_NO_DOWNSTREAM + - INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + - INCLUDE_ALL_DOWNSTREAM + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - accessRules + - boundaryScope + - id + - label + - scope + ApplicationEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + applicationId: + type: string + description: ID of the application. + ApplicationItem: + type: object + properties: + application: + $ref: '#/components/schemas/Application' + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + required: + - application + - metrics + ApplicationMetricResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + items: + type: array + items: + $ref: '#/components/schemas/ApplicationItem' + page: + type: integer + format: int32 + description: Page Number + minimum: 1 + pageSize: + type: integer + format: int32 + minimum: 1 + totalHits: + type: integer + format: int64 + minimum: 0 + required: + - items + ApplicationNode: + type: object + description: Selection of applications, services, and endpoints that this Smart + Alert configuration is associated with. This selection is connected to the + defined `tagFilterExpression` by the logical `AND` operator. + properties: + applicationId: + type: string + maxLength: 64 + minLength: 0 + inclusive: + type: boolean + services: + type: object + additionalProperties: + $ref: '#/components/schemas/ServiceNode' + required: + - applicationId + - services + ApplicationResult: + type: object + properties: + items: + type: array + description: Returns a list of Application Perspectives. + items: + $ref: '#/components/schemas/Application' + page: + type: integer + format: int32 + description: Page number you want to retrieve in a request / retrieved in + a response. + pageSize: + type: integer + format: int32 + description: number of elements retrieved in a single query. + totalHits: + type: integer + format: int32 + description: 'The number of results returned. For eg: If `items` has 5 elements, + `totalhits` will be 5' + ApplicationScope: + type: object + description: The list of application perspectives where the release can be viewed. + properties: + name: + type: string + description: 'Name of the Application Perspective. Eg: `app1`.' + maxLength: 256 + minLength: 0 + required: + - name + ApplicationScopeWithMetadata: + type: object + description: The list of application perspectives where the release can be viewed. + properties: + id: + type: string + description: 'Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`.' + name: + type: string + description: 'Name of the Application Perspective. Eg: `app1`.' + required: + - id + ApplicationSliEntity: + type: object + allOf: + - $ref: '#/components/schemas/SliEntity' + - type: object + properties: + applicationId: + type: string + description: Specifies the ID of the Application that is to be monitored + by the SLO + boundaryScope: + type: string + description: Defines the boundary of calls to be monitored, specifying + whether to track all calls or only inbound calls + enum: + - ALL + - INBOUND + endpointId: + type: string + description: Specifies the ID of the Endpoint to be monitored by the application + SLO + serviceId: + type: string + description: Identifies the service to be monitored by the application + SLO + required: + - boundaryScope + ApplicationSloEntity: + type: object + allOf: + - $ref: '#/components/schemas/SloEntity' + - type: object + properties: + applicationId: + type: string + description: The ID of the Application + boundaryScope: + type: string + description: The Boundary Scope of the Application + enum: + - ALL + - INBOUND + endpointId: + type: string + description: The Endpoint ID of the Application + includeInternal: + type: boolean + description: A boolean value indicating whether the SLO takes Internal + calls into account + includeSynthetic: + type: boolean + description: A boolean value indicating whether the SLO takes Synthetic + calls into account + serviceId: + type: string + description: The Service ID of the Application + required: + - applicationId + - boundaryScope + ApplicationTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + requestImpact: '#/components/schemas/TraceImpactApplicationTimeThreshold' + violationsInPeriod: '#/components/schemas/ViolationsInPeriodApplicationTimeThreshold' + violationsInSequence: '#/components/schemas/ViolationsInSequenceApplicationTimeThreshold' + propertyName: type + properties: + timeWindow: + type: integer + format: int64 + type: + type: string + required: + - type + ArithmeticConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/InfraMetricConfiguration' + - type: object + properties: + operation: + $ref: '#/components/schemas/ArithmeticOperation' + ArithmeticOperand: + type: object + oneOf: + - $ref: '#/components/schemas/SingleValue' + - $ref: '#/components/schemas/MetricQuery' + - $ref: '#/components/schemas/NestedOperation' + ArithmeticOperation: + type: object + discriminator: + mapping: + ADDITION: '#/components/schemas/Addition' + DIVISION: '#/components/schemas/Division' + MULTIPLICATION: '#/components/schemas/Multiplication' + SUBTRACTION: '#/components/schemas/Subtraction' + propertyName: operator + properties: + left: + $ref: '#/components/schemas/ArithmeticOperand' + operator: + type: string + right: + $ref: '#/components/schemas/ArithmeticOperand' + required: + - left + - operator + - right + AuditLogEntry: + type: object + properties: + action: + type: string + actor: + $ref: '#/components/schemas/LogEntryActor' + id: + type: string + message: + type: string + meta: + type: object + additionalProperties: + type: object + timestamp: + type: integer + format: int64 + required: + - action + - actor + - id + - message + - meta + AuditLogUiResponse: + type: object + properties: + entries: + type: array + items: + $ref: '#/components/schemas/AuditLogEntry' + total: + type: integer + format: int64 + Author: + type: object + properties: + id: + type: string + type: + type: string + enum: + - API + - USER + - INSTANA + - UNKNOWN + AvailabilityBlueprintIndicator: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelIndicator' + - type: object + properties: + threshold: + type: number + format: double + description: Threshold Value for the Blueprint + exclusiveMinimum: false + minimum: 0.0 + required: + - type + AvailabilitySliEntity: + type: object + allOf: + - $ref: '#/components/schemas/SliEntity' + - type: object + properties: + applicationId: + type: string + description: Specifies the ID of the Application that is to be monitored + by the SLO + badEventFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + badEventFilters: + type: array + description: Defines the logical expression to filter data and classify + events as Bad Events + items: + $ref: '#/components/schemas/TagFilter' + maxItems: 32 + minItems: 1 + boundaryScope: + type: string + description: Defines the boundary of calls to be monitored, specifying + whether to track all calls or only inbound calls + enum: + - ALL + - INBOUND + endpointId: + type: string + description: Specifies the ID of the Endpoint to be monitored by the availability-based + application SLO + goodEventFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + goodEventFilters: + type: array + description: Defines the logical expression to filter data and classify + events as Good Events + items: + $ref: '#/components/schemas/TagFilter' + maxItems: 32 + minItems: 1 + includeInternal: + type: boolean + description: Boolean value indicating whether internal calls should be + included in the monitoring process + includeSynthetic: + type: boolean + description: Boolean value indicating whether synthetic calls should be + included in the monitoring process + serviceId: + type: string + description: Identifies the service to be monitored by the availability-based + application SLO + required: + - boundaryScope + AvailableMetrics: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/MetricMetadata' + uniqueItems: true + AvailablePlugins: + type: object + properties: + plugins: + type: array + items: + type: string + uniqueItems: true + BackendTraceReference: + type: object + properties: + traceId: + type: string + description: 'The corresponding trace ID. For eg: `07eaf10c1d051234` or + `000000000000000007eaf10c1d051234`' + required: + - traceId + BidirectionalMsTeamsAppIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + apiTokenId: + type: string + channelId: + type: string + channelName: + type: string + instanaUrl: + type: string + serviceUrl: + type: string + teamId: + type: string + teamName: + type: string + tenantId: + type: string + tenantName: + type: string + required: + - apiTokenId + - channelId + - channelName + - id + - instanaUrl + - kind + - name + - teamId + - tenantId + BidirectionalSlackAppIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + appId: + type: string + channelId: + type: string + channelName: + type: string + emojiRendering: + type: boolean + status: + type: string + teamId: + type: string + teamName: + type: string + required: + - id + - kind + - name + BinaryOperatorDTO: + type: object + allOf: + - $ref: '#/components/schemas/MatchExpressionDTO' + - type: object + properties: + conjunction: + type: string + enum: + - AND + - OR + left: + $ref: '#/components/schemas/MatchExpressionDTO' + right: + $ref: '#/components/schemas/MatchExpressionDTO' + required: + - conjunction + - left + - right + BrowserScriptConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + fileName: + type: string + recordVideo: + type: boolean + script: + type: string + maxLength: 1048576 + minLength: 0 + scriptType: + type: string + enum: + - Basic + - Jest + scripts: + $ref: '#/components/schemas/MultipleScriptsConfiguration' + required: + - markSyntheticCall + - syntheticType + BrowserScriptConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + fileName: + type: string + recordVideo: + type: boolean + script: + type: string + scriptType: + type: string + enum: + - Basic + - Jest + scripts: + $ref: '#/components/schemas/MultipleScriptsConfiguration' + BuiltInEventSpecification: + type: object + properties: + description: + type: string + description: Description of Built-in Event Specification + maxLength: 2048 + minLength: 0 + enabled: + type: boolean + description: Flag to show whether the Built-in Event Specification is enabled + hidden: + type: boolean + description: Flag to show whether the Built-in Event Specification is hidden + hyperParams: + type: array + description: List of hyper parameters of the Built-in Event Specification + items: + $ref: '#/components/schemas/HyperParam' + maxItems: 32 + minItems: 0 + id: + type: string + description: ID of Built-in Event Specification + maxLength: 2048 + minLength: 0 + name: + type: string + description: Name of Built-in Event Specification + maxLength: 256 + minLength: 0 + ruleInputs: + type: array + description: List of input rules of the Built-in Event Specification + items: + $ref: '#/components/schemas/RuleInput' + maxItems: 32 + minItems: 0 + severity: + type: integer + format: int32 + description: Severity level of Built-in Event Specification + shortPluginId: + type: string + description: ID of short plugin of Built-in Event Specification + maxLength: 64 + minLength: 0 + triggering: + type: boolean + description: Flag to show whether the Built-in Event Specification is triggering + required: + - hyperParams + - id + - name + - ruleInputs + - shortPluginId + BuiltInEventSpecificationWithLastUpdated: + type: object + properties: + description: + type: string + description: Description of Built-in Event Specification + maxLength: 2048 + minLength: 0 + enabled: + type: boolean + description: Flag to show whether the Built-in Event Specification is enabled + hidden: + type: boolean + description: Flag to show whether the Built-in Event Specification is hidden + hyperParams: + type: array + description: List of hyper parameters of the Built-in Event Specification + items: + $ref: '#/components/schemas/HyperParam' + maxItems: 32 + minItems: 0 + id: + type: string + description: ID of Built-in Event Specification + maxLength: 2048 + minLength: 0 + lastUpdated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of Built-in Event Specification + maxLength: 256 + minLength: 0 + ruleInputs: + type: array + description: List of input rules of the Built-in Event Specification + items: + $ref: '#/components/schemas/RuleInput' + maxItems: 32 + minItems: 0 + severity: + type: integer + format: int32 + description: Severity level of Built-in Event Specification + shortPluginId: + type: string + description: ID of short plugin of Built-in Event Specification + maxLength: 64 + minLength: 0 + triggering: + type: boolean + description: Flag to show whether the Built-in Event Specification is triggering + required: + - hyperParams + - id + - name + - ruleInputs + - shortPluginId + BusinessActivity: + type: object + properties: + activityId: + type: string + description: Unique identifier for the activity generated by the source + BPM tool + example: ApproveInvoiceTask + nullable: true + activityName: + type: string + description: 'Name of the activity ' + example: Approve Invoice + nullable: true + activityStart: + type: integer + format: int64 + description: Unix timestamp representing the activity's start time + example: 1680559706000 + nullable: true + activityType: + type: string + description: 'Type of the activity ' + example: userTask + callId: + type: string + writeOnly: true + endpointIds: + type: array + items: + type: string + processDefinitionId: + type: string + description: The identifier of the process the activity is an instance of. + example: invoice:2:aa2bbbcc-bb04-11ee-9d4e-0242ac110002 + nullable: true + processDefinitionName: + type: string + description: The name of the process that the activity is an instance of + example: Invoice Approval + nullable: true + rootProcessInstanceId: + type: string + description: The id of the root process for the activity + example: 486cbb3b-e633-11ee-8707-0242ac110002 + nullable: true + required: + - activityType + BusinessPerspectiveConfig: + type: object + properties: + description: + type: string + maxLength: 300 + minLength: 0 + id: + type: string + maxLength: 128 + minLength: 1 + name: + type: string + maxLength: 100 + minLength: 0 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - id + CallGroupsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + metrics: + type: object + additionalProperties: + type: array + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + items: + type: array + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + items: + type: number + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + name: + type: string + description: Name of the group. + timestamp: + type: integer + format: int64 + description: Earliest timestamp of the call from the group + minimum: 0 + required: + - cursor + - metrics + - name + CallGroupsResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/CallGroupsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + CallRelation: + type: object + description: It shows from where the call is destined to. It includes destination + service, its endpoint and list of technologies of the service. + properties: + endpoint: + $ref: '#/components/schemas/EndpointSimple' + service: + $ref: '#/components/schemas/ServiceSimple' + technologies: + type: array + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + items: + type: string + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + ChangeSummary: + type: object + description: Brief summary of changes made in this config version. + properties: + author: + $ref: '#/components/schemas/Author' + changeType: + type: string + enum: + - CREATE + - UPDATE + - DELETE + - ENABLE + - DISABLE + - RESTORE + - UNKNOWN + required: + - author + - changeType + CloudfoundryPhysicalContext: + type: object + description: | + Contains physical context of Cloudfoundry. It contains the following information: + 1. `application`: Application running within Cloud Foundry environment. + 2. `cfInstanceIndex`: A unique ID of the container created and managed by Garden in the Cloud Foundry environment. + 3. `organization`: Organization in the Cloud Foundry environment. + 4. `space`: Space within an organization in Cloud Foundry environment. + properties: + application: + $ref: '#/components/schemas/SnapshotPreview' + cfInstanceIndex: + type: string + description: A unique ID of the container created and managed by Garden + in the Cloud Foundry environment. + organization: + $ref: '#/components/schemas/SnapshotPreview' + space: + $ref: '#/components/schemas/SnapshotPreview' + Condition: + type: object + description: This applies to only `automatic` policy type. A Dynamic Focus Query + that selects a list of entities on which the policy is run. + properties: + query: + type: string + description: Dynamic Focus Query string that selects a list of entities + on which the policy is run. + ConfigVersion: + type: object + properties: + changeSummary: + $ref: '#/components/schemas/ChangeSummary' + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + deleted: + type: boolean + deprecated: true + description: Flag to indicate whether or not the configuration was deleted. + enabled: + type: boolean + deprecated: true + description: Flag to indicate whether or not the configuration is enabled. + id: + type: string + description: ID of this configuration version. + maxLength: 64 + minLength: 0 + required: + - id + ContainerNode: + type: object + Correction: + type: object + properties: + activeCorrectionConfigIds: + type: array + description: IDs of correction configs that are active + items: + type: string + description: IDs of correction configs that are active + uniqueItems: true + correctionWindows: + type: array + description: List of Correction Windows + items: + $ref: '#/components/schemas/CorrectionWindow' + from: + type: string + format: date-time + description: Correction starting timestamp in milliseconds (13-digit) + inActiveCorrectionConfigIds: + type: array + description: IDs of correction configs that are inactive + items: + type: string + description: IDs of correction configs that are inactive + uniqueItems: true + to: + type: string + format: date-time + description: Correction ending timestamp in milliseconds (13-digit) + CorrectionConfiguration: + type: object + properties: + active: + type: boolean + description: If value is true, then the correction window is active + createdDate: + type: string + format: date-time + description: Created date of SLO Correction Window Configuration + description: + type: string + description: Description of the SLO Correction Window Configuration + id: + type: string + description: SLO Correction Window Configuration ID + maxLength: 64 + minLength: 0 + lastUpdated: + type: string + format: date-time + description: Last updated date of SLO Correction Window Configuration + name: + type: string + description: Name of the SLO Correction Window Configuration + scheduling: + $ref: '#/components/schemas/CorrectionScheduling' + sloIds: + type: array + description: This is the list of SLO configurations related to this Correction + Window. + items: + type: string + description: This is the list of SLO configurations related to this Correction + Window. + maxItems: 1024 + minItems: 0 + uniqueItems: true + tags: + type: array + description: List of tags associated with SLO Correction Window Configuration + items: + type: string + description: List of tags associated with SLO Correction Window Configuration + uniqueItems: true + required: + - name + - scheduling + CorrectionScheduling: + type: object + description: Time scheduling of the SLO Correction Window configurations. + properties: + duration: + type: integer + format: int32 + description: Duration of the correction window, defined by the count of + time units. + durationUnit: + type: string + description: 'Unit for duration. Supported values: `MINUTE`, `HOUR`, `DAY`.' + enum: + - millisecond + - second + - minute + - hour + - day + - week + - month + recurrent: + type: boolean + recurrentRule: + type: string + description: 'Recurrence Rule defines how the event recurs, using iCalendar + RRULE format (e.g., `FREQ=DAILY;INTERVAL=1`).It supports fields like FREQ, + INTERVAL, BYDAY, etc. Refer to RFC 5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10' + maxLength: 2048 + minLength: 0 + startTime: + type: string + format: date-time + description: Start time of the correction window in milliseconds since epoch + (UTC) (e.g., `1706713140000`). + required: + - duration + - durationUnit + CorrectionWindow: + type: object + description: List of Correction Windows + properties: + correctionConfigs: + type: array + description: IDs of the Correction configurations in the Correction Window + items: + type: string + description: IDs of the Correction configurations in the Correction Window + uniqueItems: true + from: + type: string + format: date-time + description: Correction Window starting timestamp in milliseconds (13-digit) + sloConfigs: + type: array + description: IDs of the SLO configurations in the Correction Window + items: + type: string + description: IDs of the SLO configurations in the Correction Window + uniqueItems: true + to: + type: string + format: date-time + description: Correction Window ending timestamp in milliseconds (13-digit) + CrashMobileAppAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppAlertRule' + required: + - metricName + CursorPaginatedBusinessActivityItem: + type: object + properties: + businessActivity: + $ref: '#/components/schemas/BusinessActivity' + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + required: + - cursor + CursorPagination: + type: object + description: | + Details for controlling the pagination of the API response. + This object allows you to define the starting point for retrieving records, how many records to skip, and the size of the result set. + properties: + ingestionTime: + type: integer + format: int64 + description: | + The timestamp indicating the starting point from which data was ingested. + The format of the timestamp is in Unix epoch Time. + For example, `Thursday, 5 September 2024 07:03:13 GMT` can be represented as `1725519793`. + offset: + type: integer + format: int32 + description: | + The number of records to be skipped from the `ingestionTime`. + For example: when `offset` is 20 and `ingestionTime` is 1725519793, the API response should have records starting from the 21st record after the specified `ingestionTime`. + Note that if `offset` value is not empty, `ingestionTime` can't be empty. + retrievalSize: + type: integer + format: int32 + description: | + The number of records to retrieve in a single request. + For example, when retrievalSize is set to 30, offset is 20, and ingestionTime is 1725519793, the API request will fetch 30 records starting from the 21st record after the specified `ingestionTime`. + Minimum value is 1 and maximum value is 200. + maximum: 200 + minimum: 1 + CursorPaginationInfraExploreCursor: + type: object + properties: + cursor: + $ref: '#/components/schemas/InfraExploreCursor' + retrievalSize: + type: integer + format: int32 + description: number of values to return + required: + - retrievalSize + CustomBlueprintIndicator: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelIndicator' + - type: object + properties: + badEventInfraMetric: + type: string + badEventsFilter: + $ref: '#/components/schemas/TagFilterExpressionElement' + goodEventInfraMetric: + type: string + goodEventsFilter: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - goodEventsFilter + - type + CustomDashboard: + type: object + properties: + accessRules: + type: array + items: + $ref: '#/components/schemas/AccessRule' + maxItems: 64 + minItems: 1 + id: + type: string + title: + type: string + widgets: + type: array + items: + $ref: '#/components/schemas/Widget' + maxItems: 128 + minItems: 0 + uniqueItems: true + required: + - accessRules + - id + - title + - widgets + CustomDashboardPreview: + type: object + properties: + annotations: + type: array + items: + type: string + enum: + - SHARED + - WRITABLE + maxItems: 8 + minItems: 0 + uniqueItems: true + id: + type: string + maxLength: 64 + minLength: 0 + ownerId: + type: string + title: + type: string + required: + - annotations + - id + - ownerId + - title + CustomDashboardWithUserSpecificInformation: + type: object + properties: + accessRules: + type: array + items: + $ref: '#/components/schemas/AccessRule' + maxItems: 64 + minItems: 1 + id: + type: string + ownerId: + type: string + title: + type: string + widgets: + type: array + items: + $ref: '#/components/schemas/Widget' + maxItems: 128 + minItems: 0 + uniqueItems: true + writable: + type: boolean + required: + - accessRules + - id + - ownerId + - title + - widgets + - writable + CustomDependency: + type: object + properties: + direction: + type: string + enum: + - outgoing + - incoming + maxLength: 64 + minLength: 1 + entityType: + type: string + description: If entityType is set, the dependency will be added to the plugin + for that entity type. Otherwise, the dependency will be applied to the + custom entity itself. + maxLength: 64 + minLength: 0 + identifiers: + type: array + description: Will take the identifiers values for building the key of the + dependency. + items: + type: string + description: Will take the identifiers values for building the key of + the dependency. + maxItems: 512 + minItems: 0 + uniqueItems: true + name: + type: string + maxLength: 256 + minLength: 1 + separator: + type: string + description: Separator between identifiers for building the key of the dependency. + type: + type: string + enum: + - in + - is + - to + - of + - connected + - describes + - of20 + - to20 + - dummy + - parent + maxLength: 8 + minLength: 1 + CustomEmailSubjectPrefix: + type: object + properties: + agentMonitoringIssue: + type: object + additionalProperties: + type: string + description: A map containing the open and close email subject value of + a given agent monitoring issue + example: '{"openValue":"Open email subject prefix value","closeValue":"Close + email subject prefix value"}' + description: A map containing the open and close email subject value of + a given agent monitoring issue + example: + closeValue: Close email subject prefix value + openValue: Open email subject prefix value + change: + type: object + additionalProperties: + type: string + description: A map containing the open and close email subject value of + a given change event + example: '{"changeValue":"Email subject prefix value"}' + description: A map containing the open and close email subject value of + a given change event + example: + changeValue: Email subject prefix value + incident: + type: object + additionalProperties: + type: string + description: A map containing the open and close email subject value of + a given incident + example: '{"openValue":"Open email subject prefix value","closeValue":"Close + email subject prefix value"}' + description: A map containing the open and close email subject value of + a given incident + example: + closeValue: Close email subject prefix value + openValue: Open email subject prefix value + issue: + type: object + additionalProperties: + type: string + description: A map containing the open and close email subject value of + a given issue + example: '{"openValue":"Open email subject prefix value","closeValue":"Close + email subject prefix value"}' + description: A map containing the open and close email subject value of + a given issue + example: + closeValue: Close email subject prefix value + openValue: Open email subject prefix value + CustomEntityModel: + type: object + properties: + dashboards: + type: array + items: + $ref: '#/components/schemas/CustomDashboard' + uniqueItems: true + dependencies: + type: array + items: + $ref: '#/components/schemas/CustomDependency' + uniqueItems: true + identifiers: + type: array + items: + type: string + label: + type: string + metrics: + type: array + items: + $ref: '#/components/schemas/CustomMetric' + uniqueItems: true + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - identifiers + - label + - tagFilterExpression + CustomEntityWithMetadata: + type: object + properties: + created: + type: integer + format: int64 + data: + $ref: '#/components/schemas/CustomEntityModel' + id: + type: string + version: + type: string + required: + - data + - id + CustomEventMobileAppAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppAlertRule' + - type: object + properties: + customEventName: + type: string + required: + - aggregation + - customEventName + - metricName + CustomEventSpecification: + type: object + properties: + actions: + type: array + items: + $ref: '#/components/schemas/Action' + description: + type: string + maxLength: 32765 + minLength: 0 + enabled: + type: boolean + entityType: + type: string + maxLength: 64 + minLength: 0 + expirationTime: + type: integer + format: int64 + name: + type: string + maxLength: 256 + minLength: 0 + query: + type: string + maxLength: 2048 + minLength: 0 + ruleLogicalOperator: + type: string + description: Set AND / OR + enum: + - AND + - OR + rules: + type: array + items: + $ref: '#/components/schemas/AbstractRule' + maxItems: 5 + minItems: 1 + transientEventAlertMuted: + type: boolean + transientEventEnabled: + type: boolean + transientEventThreshold: + type: integer + format: int64 + triggering: + type: boolean + required: + - entityType + - name + - rules + CustomEventSpecificationWithLastUpdated: + type: object + properties: + actions: + type: array + items: + $ref: '#/components/schemas/Action' + applicationAlertConfigId: + type: string + maxLength: 64 + minLength: 0 + deleted: + type: boolean + description: + type: string + maxLength: 32765 + minLength: 0 + enabled: + type: boolean + entityType: + type: string + maxLength: 64 + minLength: 0 + expirationTime: + type: integer + format: int64 + id: + type: string + maxLength: 64 + minLength: 0 + lastUpdated: + type: integer + format: int64 + minimum: 1 + migrated: + type: boolean + name: + type: string + maxLength: 256 + minLength: 0 + query: + type: string + maxLength: 2048 + minLength: 0 + ruleLogicalOperator: + type: string + description: Set AND / OR + enum: + - AND + - OR + rules: + type: array + items: + $ref: '#/components/schemas/AbstractRule' + maxItems: 5 + minItems: 1 + transientEventAlertMuted: + type: boolean + transientEventEnabled: + type: boolean + transientEventThreshold: + type: integer + format: int64 + triggering: + type: boolean + required: + - entityType + - id + - name + - rules + CustomEventWebsiteAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteAlertRule' + - type: object + properties: + customEventName: + type: string + required: + - aggregation + - customEventName + - metricName + CustomMetric: + type: object + properties: + aggregation: + type: string + description: Aggregation to apply on the metric for every member. + enum: + - AVG + - SUM + category: + type: string + description: Category of the metric in the catalog + description: + type: string + description: Description to be used in the catalog + formatter: + type: string + description: | + | + * NUMBER: Generic number + * BYTES: Number of bytes + * KILO_BYTES: Number of kilobytes + * MEGA_BYTES: Number of megabytes + * PERCENTAGE: Percentage in scale [0,1] + * PERCENTAGE_100: Percentage in scale [0,100] + * PERCENTAGE_NO_CAPPING: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * PERCENTAGE_100_NO_CAPPING: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * LATENCY: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * NANOS: Time in nanoseconds + * MILLIS: Time in milliseconds + * MICROS: Time in microseconds + * SECONDS: Time in seconds + * RATE: Number of occurrences per second + * BYTE_RATE: Number of bytes per second + * UNDEFINED: Metric value unit is not known + enum: + - NUMBER + - BYTES + - KILO_BYTES + - MEGA_BYTES + - PERCENTAGE + - PERCENTAGE_100 + - PERCENTAGE_NO_CAPPING + - PERCENTAGE_100_NO_CAPPING + - LATENCY + - NANOS + - MILLIS + - MICROS + - SECONDS + - RATE + - BYTE_RATE + - UNDEFINED + label: + type: string + description: Label to be used in the catalog + name: + type: string + description: Name of the metric + section: + type: string + description: Section of the metric in the catalog + enum: + - 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 + - OTHERS + - REDIS + - SAP + - SELF_MONITORING + - SOLR + - SPARK + - TIBCOBW + - TUXEDO + - VSHPERE + - WEBSPHERE + - CUSTOM_ENTITY + source: + type: string + description: Name of the source metric + type: + type: string + description: Type of entity for the source metric + CustomPayloadConfiguration: + type: object + properties: + fields: + type: array + description: Required parameters for custom payload configuration. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + required: + - fields + CustomPayloadField: + type: object + description: Custom payload fields to send additional information in the alert + notifications. Can be left empty. + discriminator: + mapping: + dynamic: '#/components/schemas/DynamicField' + staticString: '#/components/schemas/StaticStringField' + propertyName: type + properties: + key: + type: string + description: A user-specified unique identifier or name for a custom payload + entry. + type: + type: string + required: + - key + - type + CustomPayloadWithLastUpdated: + type: object + properties: + fields: + type: array + description: Required parameters for custom payload configuration. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + lastUpdated: + type: integer + format: int64 + description: Unix timestamp representing the time (in milliseconds) the + configuration was last updated. + minimum: 1 + required: + - fields + CustomPayloadWithVersion: + type: object + properties: + fields: + type: array + description: Required parameters for custom payload configuration. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + lastUpdated: + type: integer + format: int64 + description: Unix timestamp representing the time (in milliseconds) the + configuration was last updated. + minimum: 1 + version: + type: integer + format: int32 + description: Global custom payloads version. + required: + - fields + - version + DNSConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + acceptCNAME: + type: boolean + lookup: + type: string + lookupServerName: + type: boolean + port: + type: integer + format: int32 + queryTime: + $ref: '#/components/schemas/DNSFilterQueryTime' + queryType: + type: string + enum: + - ALL + - ALL_CONDITIONS + - ANY + - A + - AAAA + - CNAME + - NS + recursiveLookups: + type: boolean + server: + type: string + serverRetries: + type: integer + format: int32 + targetValues: + type: array + items: + $ref: '#/components/schemas/DNSFilterTargetValue' + transport: + type: string + enum: + - TCP + - UDP + required: + - lookup + - markSyntheticCall + - server + - syntheticType + DNSConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + acceptCNAME: + type: boolean + lookup: + type: string + lookupServerName: + type: boolean + port: + type: integer + format: int32 + queryTime: + $ref: '#/components/schemas/DNSFilterQueryTime' + queryType: + type: string + enum: + - ALL + - ALL_CONDITIONS + - ANY + - A + - AAAA + - CNAME + - NS + recursiveLookups: + type: boolean + server: + type: string + serverRetries: + type: integer + format: int32 + targetValues: + $ref: '#/components/schemas/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue' + transport: + type: string + enum: + - TCP + - UDP + DNSFilterQueryTime: + type: object + properties: + key: + type: string + operator: + type: string + enum: + - CONTAINS + - EQUALS + - GREATER_THAN + - IS + - LESS_THAN + - MATCHES + - NOT_MATCHES + value: + type: integer + format: int64 + required: + - key + - operator + - value + DNSFilterTargetValue: + type: object + properties: + key: + type: string + enum: + - ALL + - ALL_CONDITIONS + - ANY + - A + - AAAA + - CNAME + - NS + operator: + type: string + enum: + - CONTAINS + - EQUALS + - GREATER_THAN + - IS + - LESS_THAN + - MATCHES + - NOT_MATCHES + value: + type: string + required: + - key + - operator + - value + DashboardApiToken: + type: object + properties: + id: + type: string + name: + type: string + required: + - id + - name + DatabaseIntegration: + type: object + properties: + type: + type: string + url: + type: string + DeprecatedTagFilter: + type: object + properties: + entity: + type: string + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + name: + type: string + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + value: + type: string + required: + - name + - operator + - value + Division: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperation' + required: + - left + - right + Duration: + type: object + properties: + amount: + type: integer + format: int64 + minimum: 1 + unit: + type: string + enum: + - MINUTES + - HOURS + - DAYS + required: + - amount + - unit + DynamicField: + type: object + allOf: + - $ref: '#/components/schemas/CustomPayloadField' + - type: object + properties: + value: + $ref: '#/components/schemas/DynamicFieldValue' + required: + - key + - value + DynamicFieldValue: + type: object + properties: + key: + type: string + description: 'Key for selected dynamic tag: specifies which dictionary style + value user is interested in.' + tagName: + type: string + description: Each dynamic payload entry is associated with tag from Instana's + tag catalog + required: + - tagName + DynamicParameter: + type: object + description: List of dynamic parameters + properties: + key: + type: string + description: Parameter key + name: + type: string + description: Parameter name + resolvedValue: + type: string + description: Parameter value after resolution + tagName: + type: string + description: 'The name of the tag. Eg: `call.name`' + EditUser: + type: object + properties: + fullName: + type: string + required: + - fullName + EmailIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + customEmailSubjectPrefix: + $ref: '#/components/schemas/CustomEmailSubjectPrefix' + emails: + type: array + items: + type: string + required: + - emails + - id + - kind + - name + EmptyConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + required: + - markSyntheticCall + - syntheticType + Endpoint: + type: object + properties: + entityType: + type: string + description: Since, this is a Endpoint, it will be of type `ENDPOINT`. + enum: + - APPLICATION + - SERVICE + - ENDPOINT + id: + type: string + description: 'Unique ID of the Endpoint. Eg: `NCRq5oYnan5x-PkdTPQwLLUdu5M`.' + isSynthetic: + type: boolean + writeOnly: true + label: + type: string + description: 'Name of the Endpoint. Eg: `GET /api/fetch`.' + serviceId: + type: string + description: The serviceId this endpoint belongs to. + synthetic: + type: boolean + syntheticType: + type: string + enum: + - NON_SYNTHETIC + - SYNTHETIC + - MIXED + technologies: + type: array + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + items: + type: string + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + uniqueItems: true + type: + type: string + description: The type of the Endpoint. + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + required: + - id + - label + - serviceId + - technologies + - type + EndpointConfig: + type: object + properties: + endpointCase: + type: string + description: "This represents case sensitivity of endpoints of a service.\n\ + Let's say in a service there are three endpoints, `user`, `Order` and\ + \ `PAYMENT`: \n\nFor example, if `endpointCase` is `UPPER`, then endpoint\ + \ names are converted to `USER`, `ORDER` and `PAYMENT`. \n\nIf `endpointCase`\ + \ is `LOWER`, then endpoint names are converted to `user`, `order` and\ + \ `payment`. \n\nIf `endpointCase` is `ORIGINAL`, then endpoint names\ + \ are converted to `user`, `Order` and `PAYMENT`.\n" + enum: + - ORIGINAL + - LOWER + - UPPER + endpointNameByCollectedPathTemplateRuleEnabled: + type: boolean + description: | + The highest default precedence of endpoint rule is creating endpoint is based on path template. For example, + ``` + /hospital/1948/patient/291148 + /hospital/728/patient/924892 + /hospital/47/patient/25978 + /hospital/108429/patient/1847 + ``` + can be considered as `/hospital/{hid}/patient/{pid}` if this rule is enabled. For most of the use cases, this rule should be enabled. + endpointNameByFirstPathSegmentRuleEnabled: + type: boolean + description: | + There are endpoint extraction rules in Instana which take the first path segment from the HTTP request and turn this into an endpoint name. + For example, given the following URLs `/users/123/profile` and `/users/123/settings`, the extraction rule will only take the first segment. As a result endpoint name will be `users`. + Although this is useful in cases where broad overview of monitoring is required, lot of use cases are more specified. + Considering the above example, if this rule is enabled, Instana can't distinguish between `profile` or `settings` as endpoints. + For use cases where endpoints has to be monitored at fine granular level, this flag should be set to `false`. + rules: + type: array + description: Specify custom rule configuration apart from Instana predefined + rules. This rule has the highest precedence. This is only available for + HTTP endpoints. + items: + $ref: '#/components/schemas/HttpEndpointRule' + maxItems: 500 + minItems: 1 + serviceId: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + required: + - endpointCase + - serviceId + EndpointEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + applicationId: + type: string + description: ID of the application this endpoint is in scope of. + endpointId: + type: string + description: ID of the endpoint. + endpointServiceId: + type: string + description: ID service related to this endpoint. + EndpointItem: + type: object + properties: + endpoint: + $ref: '#/components/schemas/Endpoint' + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + required: + - endpoint + - metrics + EndpointMetricResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + items: + type: array + items: + $ref: '#/components/schemas/EndpointItem' + page: + type: integer + format: int32 + description: Page Number + minimum: 1 + pageSize: + type: integer + format: int32 + minimum: 1 + totalHits: + type: integer + format: int64 + minimum: 0 + required: + - items + EndpointNode: + type: object + properties: + endpointId: + type: string + maxLength: 64 + minLength: 0 + inclusive: + type: boolean + required: + - endpointId + EndpointResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/Endpoint' + page: + type: integer + format: int32 + description: Page number you want to retrieve in a request / retrieved in + a response. + pageSize: + type: integer + format: int32 + description: number of elements retrieved in a single query. + totalHits: + type: integer + format: int32 + description: 'The number of results returned. For eg: If `items` has 5 elements, + `totalhits` will be 5' + EndpointSimple: + type: object + description: The destination service's endpoint where the call enters. + properties: + id: + type: string + description: 'Unique ID of the Endpoint. Eg: `NCRq5oYnan5x-PkdTPQwLLUdu5M`.' + label: + type: string + description: 'Name of the Endpoint. Eg: `GET /api/fetch`.' + type: + type: string + description: The type of the Endpoint. + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + EntityCountRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + conditionOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + - = + - '!=' + conditionValue: + type: number + format: double + required: + - conditionOperator + EntityCountVerificationRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + conditionOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + - = + - '!=' + conditionValue: + type: number + format: double + matchingEntityLabel: + type: string + maxLength: 2048 + minLength: 0 + matchingEntityType: + type: string + maxLength: 64 + minLength: 0 + matchingOperator: + type: string + enum: + - is + - contains + - startsWith + - endsWith + required: + - conditionOperator + - matchingEntityLabel + - matchingEntityType + - matchingOperator + EntityHealthInfo: + type: object + properties: + maxSeverity: + type: number + format: double + maximum: 10 + minimum: 0 + openIssues: + type: array + items: + $ref: '#/components/schemas/Event' + uniqueItems: true + required: + - openIssues + EntityId: + type: object + properties: + host: + type: string + pluginId: + type: string + description: Plugin name + steadyId: + type: string + description: Steady identifier for the entity. + required: + - host + - pluginId + - steadyId + EntityVerificationRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + matchingEntityLabel: + type: string + maxLength: 2048 + minLength: 0 + matchingEntityType: + type: string + maxLength: 64 + minLength: 0 + matchingOperator: + type: string + enum: + - is + - contains + - startsWith + - endsWith + offlineDuration: + type: integer + format: int64 + required: + - matchingEntityLabel + - matchingEntityType + - matchingOperator + ErrorBudgetAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelsAlertRule' + - type: object + properties: + metric: + type: string + description: This is the service levels metric type. Error budget alert + uses BURNED_PERCENTAGE, BURN_RATE (Deprecated) + or BURN_RATE_V2 metric. + enum: + - BURN_RATE + - BURNED_PERCENTAGE + - BURN_RATE_V2 + required: + - metric + ErrorsApplicationAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationAlertRule' + required: + - metricName + Event: + type: object + properties: + affectedEntities: + type: array + items: + type: string + uniqueItems: true + end: + type: integer + format: int64 + minimum: 1 + endpointServiceId: + type: string + maxLength: 64 + minLength: 0 + entityId: + type: string + maxLength: 64 + minLength: 0 + entityType: + type: string + enum: + - Entity10 + - App20 + - Service20 + - Endpoint20 + - Website + - Synthetic + - MobileApp + - Log + eventConfigurationType: + type: string + id: + type: string + maxLength: 64 + minLength: 0 + longFormPluginId: + type: string + metadata: + type: object + additionalProperties: + type: object + metricAccessId: + type: string + maxLength: 64 + minLength: 0 + plugin: + type: string + maxLength: 256 + minLength: 0 + problem: + $ref: '#/components/schemas/Problem' + rca: + type: object + additionalProperties: + type: object + shortCode: + type: string + maxLength: 64 + minLength: 0 + start: + type: integer + format: int64 + minimum: 1 + state: + type: string + maxLength: 8 + minLength: 0 + type: + type: string + maxLength: 64 + minLength: 0 + required: + - entityId + - id + - plugin + - state + - type + EventFilteringConfiguration: + type: object + description: Event Filter Configuration for supporting the scope of the Alert + Configuration. Applies a filter based on the application perspective or selected + entities. + properties: + applicationAlertConfigIds: + type: array + items: + type: string + maxItems: 1024 + minItems: 0 + uniqueItems: true + eventTypes: + type: array + items: + type: string + enum: + - incident + - critical + - warning + - change + - online + - offline + - agent_monitoring_issue + - cve_issue + - none + maxItems: 1024 + minItems: 0 + uniqueItems: true + query: + type: string + maxLength: 2048 + minLength: 0 + ruleIds: + type: array + items: + type: string + maxItems: 1024 + minItems: 0 + uniqueItems: true + EventResult: + type: object + discriminator: + mapping: + APPLICATION: '#/components/schemas/ApplicationEventResult' + ENDPOINT: '#/components/schemas/EndpointEventResult' + INFRASTRUCTURE: '#/components/schemas/InfraEventResult' + LOG: '#/components/schemas/LogEventResult' + MOBILE_APP: '#/components/schemas/MobileAppEventResult' + SERVICE: '#/components/schemas/ServiceEventResult' + SYNTHETICS: '#/components/schemas/SyntheticsEventResult' + WEBSITE: '#/components/schemas/WebsiteEventResult' + propertyName: entityType + properties: + detail: + type: string + description: Details of the event. + end: + type: integer + format: int64 + description: A Unix timestamp representing the end time of the Event. + entityLabel: + type: string + description: The label of the affected entity of the event. + entityName: + type: string + description: The name or type of the affected entity of the event. + entityType: + type: string + description: The category of the affected entity. + eventId: + type: string + description: ID of this Event. + eventSpecificationId: + type: string + description: ID of the configuration that created this event. + fixSuggestion: + type: string + deprecated: true + description: Details of the event. + metrics: + type: array + description: List of metrics associated with the Event. + items: + type: object + additionalProperties: + type: object + description: List of metrics associated with the Event. + description: List of metrics associated with the Event. + probableCause: + type: object + additionalProperties: + type: object + description: Metadata of the probable root cause for this event. Only + present in case of specific "Incident" type events. + description: Metadata of the probable root cause for this event. Only present + in case of specific "Incident" type events. + problem: + type: string + description: Main problem title of the Event. + recentEvents: + type: array + description: List of related recent events. Only present in case of "Incident" + type events. + items: + type: object + additionalProperties: + type: object + description: List of related recent events. Only present in case of + "Incident" type events. + description: List of related recent events. Only present in case of "Incident" + type events. + severity: + type: integer + format: int32 + description: The severity of the Event when triggered. + shortCode: + type: string + description: A short code for the event + snapshotId: + type: string + deprecated: true + description: The snapshot ID of the affected entity of this event. + start: + type: integer + format: int64 + description: A Unix timestamp representing the start time of the Event. + state: + type: string + description: 'The state of the Event, "open" or "close". ' + type: + type: string + description: The type of Event. + EventSpecificationInfo: + type: object + properties: + description: + type: string + enabled: + type: boolean + entityType: + type: string + id: + type: string + maxLength: 64 + minLength: 0 + invalid: + type: boolean + migrated: + type: boolean + name: + type: string + maxLength: 256 + minLength: 0 + severity: + type: integer + format: int32 + triggering: + type: boolean + type: + type: string + enum: + - BUILT_IN + - CUSTOM + required: + - entityType + - id + - name + - type + ExtendedService: + type: object + description: List of services in the topology. + properties: + applications: + type: array + items: + type: string + uniqueItems: true + entityType: + type: string + description: Since, this is a Service, it will be of type `SERVICE`. + enum: + - APPLICATION + - SERVICE + - ENDPOINT + id: + type: string + description: 'Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.' + label: + type: string + description: 'Name of the Service. Eg: `payment`.' + maxSeverity: + type: number + format: double + maximum: 10 + minimum: 0 + numberOfOpenIssues: + type: integer + format: int32 + minimum: 0 + snapshotIds: + type: array + description: A unique identifier the metrics are assigned to. + items: + type: string + description: A unique identifier the metrics are assigned to. + uniqueItems: true + technologies: + type: array + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + items: + type: string + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + uniqueItems: true + types: + type: array + description: 'Shows types of Endpoints a Service can consist of. It may + be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.' + items: + type: string + description: 'Shows types of Endpoints a Service can consist of. It may + be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.' + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + uniqueItems: true + required: + - applications + - id + - label + - snapshotIds + - technologies + - types + FailureSyntheticAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticAlertRule' + required: + - metricName + Field: + type: object + description: List of fields that describe an action. + properties: + description: + type: string + encoding: + type: string + name: + type: string + secured: + type: boolean + value: + type: string + required: + - encoding + - name + - value + FixedHttpPathSegmentMatchingRule: + type: object + allOf: + - $ref: '#/components/schemas/HttpPathSegmentMatchingRule' + - type: object + properties: + name: + type: string + description: | + Given `/api/{version}/users` URI, `FIXED` names are `api` and `users` in order. + required: + - name + - type + FixedTimeWindow: + type: object + allOf: + - $ref: '#/components/schemas/TimeWindow' + - type: object + properties: + startTimestamp: + type: string + format: date-time + description: The timestamp at which the fixed time window of the SLO starts + required: + - duration + - durationUnit + - startTimestamp + GenericInfraAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/InfraAlertRule' + - type: object + properties: + metricGroupBy: + type: array + items: + type: string + maxItems: 1 + minItems: 0 + required: + - aggregation + - crossSeriesAggregation + - entityType + - metricGroupBy + - metricName + - metricTagFilterExpression + GeoLocationConfiguration: + type: object + properties: + geoDetailRemoval: + type: string + enum: + - NO_REMOVAL + - REMOVE_COORDINATES + - REMOVE_CITY + - REMOVE_ALL + geoMappingRules: + type: array + items: + $ref: '#/components/schemas/GeoMappingRule' + maxItems: 512 + minItems: 0 + required: + - geoDetailRemoval + GeoMappingRule: + type: object + properties: + accuracyRadius: + type: integer + format: int64 + minimum: -1 + cidr: + type: string + maxLength: 128 + minLength: 0 + city: + type: string + continent: + type: string + continentCode: + type: string + country: + type: string + countryCode: + type: string + latitude: + type: number + format: double + leastSpecificSubdivision: + $ref: '#/components/schemas/GeoSubdivision' + longitude: + type: number + format: double + subdivisions: + type: array + items: + $ref: '#/components/schemas/GeoSubdivision' + maxItems: 8 + minItems: 0 + required: + - cidr + - subdivisions + GeoSubdivision: + type: object + properties: + code: + type: string + maxLength: 32 + minLength: 0 + name: + type: string + maxLength: 256 + minLength: 0 + required: + - name + GetActivities: + type: object + properties: + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + timeframe: + $ref: '#/components/schemas/TimeFrame' + required: + - order + - pagination + - timeFrame + GetApplicationMetrics: + type: object + properties: + includeInternal: + type: boolean + writeOnly: true + includeSynthetic: + type: boolean + writeOnly: true + metrics: + type: array + items: + $ref: '#/components/schemas/AppDataMetricConfiguration' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + - timeFrame + GetApplications: + type: object + properties: + applicationBoundaryScope: + type: string + description: "Use when querying calls of an application:\n `INBOUND`: only\ + \ inbound calls \n `ALL`: all the calls to that application (inbound +\ + \ internal)" + enum: + - ALL + - INBOUND + applicationId: + type: string + description: | + An Instana generated unique identifier for an Application. If specified, the list of results will be filtered for the specified Application ID. Eg: `Av62RoIKQv-A3n6DbMQh9g`. + One can see the application id from Instana UI by going to an Application Perspective page. In the URL, there will be `appId=Av62RoIKQv-A3n6DbMQh9g`. + Alternatively, one can use `Get applications` API endpoint to get the application id in `id` parameter. + maxLength: 64 + minLength: 0 + endpointId: + type: string + description: | + An Instana generated unique identifier for an Endpoint. If specified, the list of results will be filtered for the specified Endpoint ID. Eg `NCRq5oYnan5x-PkdTPQwLLUdu5M`. + One can see the endpoint id from Instana UI by going to an Endpoint page. In the URL, there will be `endpointId=NCRq5oYnan5x-PkdTPQwLLUdu5M`. + Alternatively, one can use `Get endpoints` API endpoint to get the endpoint id in `id` parameter. + maxLength: 64 + minLength: 0 + endpointTypes: + type: array + items: + type: string + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + uniqueItems: true + writeOnly: true + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/AppDataMetricConfiguration' + maxItems: 5 + minItems: 1 + nameFilter: + type: string + description: 'filter by name with `contains` semantic. Eg: Let''s say there + are 2 names `app1` and `app2`, you can set `app`` here to include the + two names' + maxLength: 256 + minLength: 0 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + serviceId: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + maxLength: 64 + minLength: 0 + technologies: + type: array + items: + type: string + uniqueItems: true + writeOnly: true + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetAvailableMetricsQuery: + type: object + properties: + query: + type: string + description: Search term used to filter results using fields such as label, + description, tag name or keywords + maxLength: 200 + minLength: 0 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + description: Entity type. Identifier for the monitored technology. + required: + - tagFilterExpression + - timeFrame + GetAvailablePluginsQuery: + type: object + properties: + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - tagFilterExpression + - timeFrame + GetCallGroups: + type: object + properties: + group: + $ref: '#/components/schemas/Group' + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/MetricConfig' + maxItems: 5 + minItems: 1 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 10 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - group + - metrics + GetCombinedMetrics: + type: object + properties: + metrics: + type: array + description: Id of the exact metric you want to retrieve, eg. "cpu.user", + "clientrequests.read.mean" + items: + type: string + description: Id of the exact metric you want to retrieve, eg. "cpu.user", + "clientrequests.read.mean" + maxItems: 5 + minItems: 1 + uniqueItems: true + plugin: + type: string + description: Plugin name + example: host + query: + type: string + description: Dynamic Focus Query + example: entity.selfType:java + rollup: + type: integer + format: int32 + description: Rollup value in seconds + example: 5 + snapshotIds: + type: array + description: Unique identifier the metrics are assigned to + items: + type: string + description: Unique identifier the metrics are assigned to + maxItems: 30 + minItems: 1 + uniqueItems: true + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + - plugin + GetDynamicParameterValues: + type: object + properties: + eventId: + type: string + description: Event identifier + parameters: + type: array + description: List of dynamic parameters + items: + $ref: '#/components/schemas/DynamicParameter' + timestamp: + type: integer + format: int64 + description: The start of the timestamp expressed in Unix epoch time in + milliseconds. + required: + - eventId + - parameters + - timestamp + GetEndpoints: + type: object + properties: + applicationBoundaryScope: + type: string + description: "Use when querying calls of an application:\n `INBOUND`: only\ + \ inbound calls \n `ALL`: all the calls to that application (inbound +\ + \ internal)" + enum: + - ALL + - INBOUND + applicationId: + type: string + description: | + An Instana generated unique identifier for an Application. If specified, the list of results will be filtered for the specified Application ID. Eg: `Av62RoIKQv-A3n6DbMQh9g`. + One can see the application id from Instana UI by going to an Application Perspective page. In the URL, there will be `appId=Av62RoIKQv-A3n6DbMQh9g`. + Alternatively, one can use `Get applications` API endpoint to get the application id in `id` parameter. + maxLength: 64 + minLength: 0 + endpointId: + type: string + description: | + An Instana generated unique identifier for an Endpoint. If specified, the list of results will be filtered for the specified Endpoint ID. Eg `NCRq5oYnan5x-PkdTPQwLLUdu5M`. + One can see the endpoint id from Instana UI by going to an Endpoint page. In the URL, there will be `endpointId=NCRq5oYnan5x-PkdTPQwLLUdu5M`. + Alternatively, one can use `Get endpoints` API endpoint to get the endpoint id in `id` parameter. + maxLength: 64 + minLength: 0 + endpointTypes: + type: array + description: A list of endpoint types, each of which is a string. An endpoint + can specified for a database, an SDK, etc. + items: + type: string + description: A list of endpoint types, each of which is a string. An endpoint + can specified for a database, an SDK, etc. + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + maxItems: 8 + minItems: 0 + uniqueItems: true + excludeSynthetic: + type: boolean + description: A variable used to specify whether synthetic endpoints should + be excluded. If set to 'true', synthetic endpoints will be excluded from + the result. + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/AppDataMetricConfiguration' + maxItems: 5 + minItems: 1 + nameFilter: + type: string + description: 'filter by endpoint name with `contains` semantic. Eg: Let''s + say there are 2 Endpoint names `GET /api/fetch` and `GET /api/update`, + you can set `GET /api/` here to include the two Endpoints.' + maxLength: 256 + minLength: 0 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + serviceId: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + maxLength: 64 + minLength: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetInfrastructureGroupsQuery: + type: object + properties: + groupBy: + type: array + description: Entity grouping tag. Use the Instana Analyze Infrastructure + dashboard to determine the entity grouping tag name. + items: + type: string + description: Entity grouping tag. Use the Instana Analyze Infrastructure + dashboard to determine the entity grouping tag name. + maxItems: 5 + minItems: 0 + metrics: + type: array + items: + $ref: '#/components/schemas/InfraMetricConfiguration' + maxItems: 10 + minItems: 0 + missingPlaceholder: + type: string + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPaginationInfraExploreCursor' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + description: Type of entities + required: + - groupBy + - pagination + - tagFilterExpression + - timeFrame + GetInfrastructureQuery: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/InfraMetricConfiguration' + maxItems: 10 + minItems: 0 + missingPlaceholder: + type: string + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPaginationInfraExploreCursor' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tags: + type: array + items: + type: string + maxItems: 5 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + description: Type of entities + required: + - pagination + - tagFilterExpression + - timeFrame + GetMetricsResult: + type: object + properties: + disableDefaultGroups: + type: boolean + writeOnly: true + groups: + type: array + description: ' Grouping of data under `groupbyTag`, where `groupbyTagEntity` + and `groupbyTagSecondLevelKey` are aspects of `groupbyTag`.' + items: + $ref: '#/components/schemas/SyntheticMetricTagGroup' + includeAggregatedTestIds: + type: boolean + writeOnly: true + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/SyntheticMetricConfiguration' + pagination: + $ref: '#/components/schemas/Pagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetMobileAppBeaconGroups: + type: object + properties: + group: + $ref: '#/components/schemas/MobileAppBeaconTagGroup' + metrics: + type: array + items: + $ref: '#/components/schemas/MobileAppMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - SESSION_START + - HTTP_REQUEST + - CRASH + - CUSTOM + - VIEW_CHANGE + - DROP_BEACON + - PERF + required: + - group + - metrics + - type + GetMobileAppBeacons: + type: object + properties: + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - SESSION_START + - HTTP_REQUEST + - CRASH + - CUSTOM + - VIEW_CHANGE + - DROP_BEACON + - PERF + required: + - type + GetMobileAppMetrics: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/MobileAppMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - SESSION_START + - HTTP_REQUEST + - CRASH + - CUSTOM + - VIEW_CHANGE + - DROP_BEACON + - PERF + required: + - metrics + - type + GetMobileAppMetricsV2: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/MobileAppMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - SESSION_START + - HTTP_REQUEST + - CRASH + - CUSTOM + - VIEW_CHANGE + - DROP_BEACON + - PERF + required: + - metrics + - type + GetPayloadKeysResult: + type: object + properties: + payloadKeys: + type: array + description: Keys that can be used to retrieve plugin payloads. + items: + type: string + description: Keys that can be used to retrieve plugin payloads. + GetServices: + type: object + properties: + applicationBoundaryScope: + type: string + description: "Use when querying calls of an application:\n `INBOUND`: only\ + \ inbound calls \n `ALL`: all the calls to that application (inbound +\ + \ internal)" + enum: + - ALL + - INBOUND + applicationId: + type: string + description: | + An Instana generated unique identifier for an Application. If specified, the list of results will be filtered for the specified Application ID. Eg: `Av62RoIKQv-A3n6DbMQh9g`. + One can see the application id from Instana UI by going to an Application Perspective page. In the URL, there will be `appId=Av62RoIKQv-A3n6DbMQh9g`. + Alternatively, one can use `Get applications` API endpoint to get the application id in `id` parameter. + maxLength: 64 + minLength: 0 + contextScope: + type: string + description: |- + separate filtering and group by service id field + - upstream is filtered on destination service and groups on source service + - downstream is filtered on source service and groups on destination service + - none is filtered on destination service and no grouping + enum: + - NONE + - UPSTREAM + - DOWNSTREAM + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/AppDataMetricConfiguration' + maxItems: 5 + minItems: 1 + nameFilter: + type: string + description: 'filter by name with `contains` semantic. Eg: Let''s say there + are 2 service names `ecomm-order` and `ecomm-deliver`, you can set `ecomm-` + here to include the two Services.' + maxLength: 256 + minLength: 0 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + serviceId: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + maxLength: 64 + minLength: 0 + technologies: + type: array + description: A list of technologies to be used for filtering data. For example, + technologies could include AWS ECS, Cassandra, DB2, JVM, Kafka, etc. A + full list of available technologies can be found in X. + items: + type: string + description: A list of technologies to be used for filtering data. For + example, technologies could include AWS ECS, Cassandra, DB2, JVM, Kafka, + etc. A full list of available technologies can be found in X. + maxItems: 20 + minItems: 0 + uniqueItems: true + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetSnapshotsQuery: + type: object + properties: + snapshotIds: + type: array + description: List of one or more snapshot ids. + items: + type: string + description: List of one or more snapshot ids. + maxItems: 1000 + minItems: 0 + uniqueItems: true + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - snapshotIds + GetTestResult: + type: object + properties: + applicationId: + type: string + maxLength: 64 + minLength: 0 + locationId: + type: array + items: + type: string + metrics: + type: array + items: + $ref: '#/components/schemas/SyntheticMetricConfiguration' + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + serviceId: + type: string + maxLength: 64 + minLength: 0 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + testId: + type: array + items: + type: string + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetTestResultAnalytic: + type: object + properties: + analyticFunction: + type: string + includeLocationIdGrouping: + type: boolean + writeOnly: true + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + syntheticMetrics: + type: array + items: + type: string + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - analyticFunction + - syntheticMetrics + GetTestResultBase: + type: object + properties: + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + GetTestResultList: + type: object + properties: + applicationId: + type: string + maxLength: 64 + minLength: 0 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + syntheticMetrics: + type: array + items: + type: string + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - syntheticMetrics + GetTestSummaryResult: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/SyntheticMetricConfiguration' + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/Pagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - metrics + GetTraceDownloadResultItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + callCount: + type: integer + format: int64 + description: Number of calls in a trace. + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + destination: + $ref: '#/components/schemas/CallRelation' + duration: + type: integer + format: int64 + description: The total time taken for the entire operation of a call, from + the moment the request was initiated to when the response was received. + The time measured is in milliseconds. This is also known as latency of + a call. + errorCount: + type: integer + format: int64 + description: Represents whether the call is erroneous or not. 0 is not erroneous + and 1 is erroneous. + foreignParentId: + type: string + id: + type: string + description: 'The call ID. A unique identifier for an individual call. For + example: `1bcad5c82338deaf`.' + minSelfTime: + type: integer + format: int64 + description: The smallest self time in the batch. May be null to indicate + that `minSelfTime` is unknown when this node has only an exit span and + no children. The time measured is in milliseconds. + name: + type: string + description: 'Name of the call. For example: `GET /articles/:id`.' + networkTime: + type: integer + format: int64 + description: exit span duration - entry span duration + parentId: + type: string + description: The parent call id, referring to another call in the same trace + which triggered the processing associated with this call. + timestamp: + type: integer + format: int64 + description: The timestamp when the call or request was initiated. For example, + Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December + 2024 04:27:59.870 GMT` + GetTraceGroups: + type: object + properties: + group: + $ref: '#/components/schemas/Group' + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. + metrics: + type: array + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize + it for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, + See `Get Metric catalog`.' + items: + $ref: '#/components/schemas/MetricConfig' + maxItems: 5 + minItems: 1 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + required: + - group + - metrics + GetTraces: + type: object + properties: + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + GetWebsiteBeaconGroups: + type: object + properties: + group: + $ref: '#/components/schemas/WebsiteBeaconTagGroup' + metrics: + type: array + items: + $ref: '#/components/schemas/WebsiteMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + order: + $ref: '#/components/schemas/Order' + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - PAGELOAD + - RESOURCELOAD + - HTTPREQUEST + - ERROR + - CUSTOM + - PAGE_CHANGE + required: + - group + - metrics + - type + GetWebsiteBeacons: + type: object + properties: + pagination: + $ref: '#/components/schemas/CursorPagination' + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - PAGELOAD + - RESOURCELOAD + - HTTPREQUEST + - ERROR + - CUSTOM + - PAGE_CHANGE + required: + - type + GetWebsiteMetrics: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/WebsiteMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + tagFilters: + type: array + items: + $ref: '#/components/schemas/DeprecatedTagFilter' + maxItems: 32 + minItems: 0 + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - PAGELOAD + - RESOURCELOAD + - HTTPREQUEST + - ERROR + - CUSTOM + - PAGE_CHANGE + required: + - metrics + - type + GetWebsiteMetricsV2: + type: object + properties: + metrics: + type: array + items: + $ref: '#/components/schemas/WebsiteMonitoringMetricsConfiguration' + maxItems: 5 + minItems: 1 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeFrame: + $ref: '#/components/schemas/TimeFrame' + type: + type: string + enum: + - PAGELOAD + - RESOURCELOAD + - HTTPREQUEST + - ERROR + - CUSTOM + - PAGE_CHANGE + required: + - metrics + - type + GlobalApplicationAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + applicationIds: + type: array + description: IDs of the applications that this Smart Alert is applied to. + items: + type: string + description: IDs of the applications that this Smart Alert is applied + to. + uniqueItems: true + applications: + type: object + additionalProperties: + $ref: '#/components/schemas/ApplicationNode' + description: Selection of applications, services, and endpoints that this + Smart Alert configuration is associated with. This selection is connected + to the defined `tagFilterExpression` by the logical `AND` operator. + boundaryScope: + type: string + description: Determines the source of the application alert configuration. + An `INBOUND` scope refers to consumer-made calls. An `ALL` scope refers + to both consumer and internally made calls. + enum: + - ALL + - INBOUND + builtIn: + type: boolean + description: 'Flag that indicates whether this configuration is a built-in + Smart Alert. ' + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the application alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + evaluationType: + type: string + description: Determines whether calls of the aggregated metrics are grouped + by the application, the service, or the endpoint. This also determines + whether the resulting events are categorized as an issue on the respective + entity of that group. + enum: + - PER_AP + - PER_AP_SERVICE + - PER_AP_ENDPOINT + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + id: + type: string + description: ID of this Global Application Alert Configuration. + maxLength: 64 + minLength: 0 + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: 'Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. ' + initialCreated: + type: integer + format: int64 + description: Unix timestamp representing the time of the initial revision. + minimum: 1 + name: + type: string + description: Name of the application alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Flag to indicate whether or not the configuration is read-only. + Read-only access restricts modification of the config. + rule: + $ref: '#/components/schemas/ApplicationAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdApplicationAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/ApplicationTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - alertChannelIds + - applications + - boundaryScope + - customPayloadFields + - description + - evaluationType + - granularity + - id + - name + - tagFilterExpression + - timeThreshold + GlobalApplicationsAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + applications: + type: object + additionalProperties: + $ref: '#/components/schemas/ApplicationNode' + description: Selection of applications, services, and endpoints that this + Smart Alert configuration is associated with. This selection is connected + to the defined `tagFilterExpression` by the logical `AND` operator. + boundaryScope: + type: string + description: Determines the source of the application alert configuration. + An `INBOUND` scope refers to consumer-made calls. An `ALL` scope refers + to both consumer and internally made calls. + enum: + - ALL + - INBOUND + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the application alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + evaluationType: + type: string + description: Determines whether calls of the aggregated metrics are grouped + by the application, the service, or the endpoint. This also determines + whether the resulting events are categorized as an issue on the respective + entity of that group. + enum: + - PER_AP + - PER_AP_SERVICE + - PER_AP_ENDPOINT + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + includeInternal: + type: boolean + description: Flag to include Internal Calls. These calls are work done inside + a service and correspond to intermediate spans in custom tracing. + includeSynthetic: + type: boolean + description: 'Flag to include Synthetic Calls. These calls have a synthetic + endpoint as their destination, such as calls to health-check endpoints. ' + name: + type: string + description: Name of the application alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/ApplicationAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdApplicationAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/ApplicationTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - alertChannelIds + - applications + - boundaryScope + - customPayloadFields + - description + - evaluationType + - granularity + - name + - tagFilterExpression + - timeThreshold + GoogleChatIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + GraphEdge: + type: object + properties: + destination: + type: string + description: ID of the outgoing GraphEdge. + relation: + type: string + description: Type of dependency between the source and the destination. + enum: + - in + - is + - to + - of + - connected + - describes + - of20 + - to20 + - dummy + - parent + source: + type: string + description: ID of the incoming GraphEdge. + GraphNode: + type: object + properties: + data: + type: object + additionalProperties: + type: object + entityId: + $ref: '#/components/schemas/EntityId' + id: + type: string + description: GraphNode ID. + label: + type: string + description: Label of the entity + plugin: + type: string + description: Name of the plugin + Group: + type: object + description: ' Grouping of data under `groupbyTag`, where `groupbyTagEntity` + and `groupbyTagSecondLevelKey` are aspects of `groupbyTag`.' + properties: + groupbyTag: + type: string + description: The name of the group tag (e.g. `agent.tag` or `docker.label`). + maxLength: 256 + minLength: 0 + groupbyTagEntity: + type: string + description: | + The entity by which the data should be grouped. + This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. + `SOURCE`: the tag filter should apply to the source entity. + `DESTINATION`: the tag filter should apply to the destination entity. + `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + groupbyTagSecondLevelKey: + type: string + description: If present, it's the 2nd level key part (e.g. `customKey` on + `docker.label.customKey`) + maxLength: 256 + minLength: 0 + required: + - groupbyTag + - groupbyTagEntity + GroupByTag: + type: object + description: The grouping tags used to group the metric results. + properties: + key: + type: string + tagName: + type: string + required: + - tagName + GroupMapping: + type: object + properties: + groupId: + type: string + id: + type: string + maxLength: 64 + minLength: 0 + key: + type: string + maxLength: 65536 + minLength: 0 + teamId: + type: string + maxLength: 64 + minLength: 5 + 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: + health: + type: string + enum: + - RED + - YELLOW + - GREEN + messages: + type: array + items: + type: string + HistoricBaseline: + type: object + allOf: + - $ref: '#/components/schemas/Threshold' + - type: object + properties: + baseline: + type: array + items: + type: array + items: + type: number + deviationFactor: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: false + maximum: 16.0 + minimum: 0.5 + lastUpdated: + type: integer + format: int64 + minimum: 0 + seasonality: + type: string + enum: + - WEEKLY + - DAILY + required: + - operator + - seasonality + HostAvailabilityRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + closeAfter: + type: integer + format: int64 + maximum: 86400000 + offlineDuration: + type: integer + format: int64 + tagFilter: + $ref: '#/components/schemas/TagFilter' + HttpActionConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + allowInsecure: + type: boolean + body: + type: string + expectExists: + type: array + items: + type: string + expectJson: + $ref: '#/components/schemas/ContainerNode' + expectMatch: + type: string + expectNotEmpty: + type: array + items: + type: string + expectStatus: + type: integer + format: int32 + followRedirect: + type: boolean + headers: + type: object + additionalProperties: + type: string + operation: + type: string + enum: + - DELETE + - GET + - HEAD + - OPTIONS + - PATCH + - POST + - PUT + url: + type: string + maxLength: 2047 + minLength: 0 + validationString: + type: string + required: + - markSyntheticCall + - syntheticType + - url + HttpActionConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + allowInsecure: + type: boolean + body: + type: string + expectExists: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + expectJson: + $ref: '#/components/schemas/ContainerNode' + expectMatch: + type: string + expectNotEmpty: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + expectStatus: + type: integer + format: int32 + followRedirect: + type: boolean + headers: + $ref: '#/components/schemas/SyntheticResourceUpdateMapStringStringListString' + operation: + type: string + enum: + - DELETE + - GET + - HEAD + - OPTIONS + - PATCH + - POST + - PUT + url: + type: string + validationString: + type: string + HttpEndpointConfig: + type: object + properties: + endpointNameByCollectedPathTemplateRuleEnabled: + type: boolean + description: | + The highest default precedence of endpoint rule is creating endpoint is based on path template. For example, + ``` + /hospital/1948/patient/291148 + /hospital/728/patient/924892 + /hospital/47/patient/25978 + /hospital/108429/patient/1847 + ``` + can be considered as `/hospital/{hid}/patient/{pid}` if this rule is enabled. For most of the use cases, this rule should be enabled. + endpointNameByFirstPathSegmentRuleEnabled: + type: boolean + description: | + There are endpoint extraction rules in Instana which take the first path segment from the HTTP request and turn this into an endpoint name. + For example, given the following URLs `/users/123/profile` and `/users/123/settings`, the extraction rule will only take the first segment. As a result endpoint name will be `users`. + Although this is useful in cases where broad overview of monitoring is required, lot of use cases are more specified. + Considering the above example, if this rule is enabled, Instana can't distinguish between `profile` or `settings` as endpoints. + For use cases where endpoints has to be monitored at fine granular level, this flag should be set to `false`. + rules: + type: array + description: Specify custom rule configuration apart from Instana predefined + rules. This rule has the highest precedence. This is only available for + HTTP endpoints. + items: + $ref: '#/components/schemas/HttpEndpointRule' + maxItems: 500 + minItems: 0 + serviceId: + type: string + description: | + An Instana generated unique identifier for a Service. If specified, the list of results will be filtered for the specified Service ID. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + One can see the service id from Instana UI by going to a Service page. In the URL, there will be `serviceId=3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + Alternatively, one can use `Get services` API endpoint to get the service id in `id` parameter. + required: + - rules + - serviceId + HttpEndpointRule: + type: object + description: Specify custom rule configuration apart from Instana predefined + rules. This rule has the highest precedence. This is only available for HTTP + endpoints. + properties: + enabled: + type: boolean + description: Set this flag to `true` if custom rule configurations has to + be considered. + pathSegments: + type: array + description: "A list of path segment matching rules, each defining how a\ + \ segment of the HTTP path should be matched.\nEach object in this array\ + \ represents a segment rule, allowing for fixed segments, dynamic parameters,\ + \ wildcards, or unsupported segments. \n\n**UNSUPPORTED**: A path segment\ + \ that is not recognized by the system. \n\n**FIXED**: This type represents\ + \ a static, unchanging part of the URL path.\nFor example, `/api/{version}/users`,\ + \ `api` and `users` would be `FIXED` segment. \n\n**PARAMETER**: This\ + \ type represents a variable part of the URL path, often used to capture\ + \ specific parameters or IDs that change with each request.\nFor example,\ + \ `/api/{version}/users`, `version` would be `PARAMETER` segment. `version`\ + \ can be `v1`, `v2`, `v3` etc. \n\n**MATCH_ALL**: This type represents\ + \ a wildcard, capturing all remaining segments from this point onward\ + \ in the URL path.\nFor example, `/api/{version}/users/*` — Matches all\ + \ paths like `/api/v1/users/123`. `/api/v3/users/456` etc. \n\n" + items: + $ref: '#/components/schemas/HttpPathSegmentMatchingRule' + maxItems: 16 + minItems: 1 + testCases: + type: array + description: | + To validate whether the the defined custom endpoint rule configuration is working as expected. + For example, given a query `/api/*/{version}`, the following test case `/api/anyName/123` will match, while `/otherApi/anyName/123` will not. + items: + type: string + description: | + To validate whether the the defined custom endpoint rule configuration is working as expected. + For example, given a query `/api/*/{version}`, the following test case `/api/anyName/123` will match, while `/otherApi/anyName/123` will not. + maxItems: 32 + minItems: 0 + required: + - pathSegments + HttpPathSegmentMatchingRule: + type: object + description: "A list of path segment matching rules, each defining how a segment\ + \ of the HTTP path should be matched.\nEach object in this array represents\ + \ a segment rule, allowing for fixed segments, dynamic parameters, wildcards,\ + \ or unsupported segments. \n\n**UNSUPPORTED**: A path segment that is not\ + \ recognized by the system. \n\n**FIXED**: This type represents a static,\ + \ unchanging part of the URL path.\nFor example, `/api/{version}/users`, `api`\ + \ and `users` would be `FIXED` segment. \n\n**PARAMETER**: This type represents\ + \ a variable part of the URL path, often used to capture specific parameters\ + \ or IDs that change with each request.\nFor example, `/api/{version}/users`,\ + \ `version` would be `PARAMETER` segment. `version` can be `v1`, `v2`, `v3`\ + \ etc. \n\n**MATCH_ALL**: This type represents a wildcard, capturing all remaining\ + \ segments from this point onward in the URL path.\nFor example, `/api/{version}/users/*`\ + \ — Matches all paths like `/api/v1/users/123`. `/api/v3/users/456` etc. \n\ + \n" + discriminator: + mapping: + FIXED: '#/components/schemas/FixedHttpPathSegmentMatchingRule' + MATCH_ALL: '#/components/schemas/MatchAllHttpPathSegmentMatchingRule' + PARAMETER: '#/components/schemas/PathParameterHttpPathSegmentMatchingRule' + UNSUPPORTED: '#/components/schemas/UnsupportedHttpPathSegmentMatchingRule' + propertyName: type + properties: + type: + type: string + enum: + - UNSUPPORTED + - FIXED + - PARAMETER + - MATCH_ALL + required: + - type + HttpScriptConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + fileName: + type: string + script: + type: string + maxLength: 1048576 + minLength: 0 + scriptType: + type: string + enum: + - Basic + - Jest + scripts: + $ref: '#/components/schemas/MultipleScriptsConfiguration' + required: + - markSyntheticCall + - syntheticType + HttpScriptConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + fileName: + type: string + script: + type: string + scriptType: + type: string + enum: + - Basic + - Jest + scripts: + $ref: '#/components/schemas/MultipleScriptsConfiguration' + HyperParam: + type: object + description: List of hyper parameters of the Built-in Event Specification + properties: + defaultValue: + type: number + format: double + description: + type: string + maxLength: 2048 + minLength: 0 + id: + type: string + maxLength: 64 + minLength: 0 + maxValue: + type: number + format: double + minValue: + type: number + format: double + name: + type: string + maxLength: 256 + minLength: 0 + valueFormat: + type: string + description: | + | + * NUMBER: Generic number + * BYTES: Number of bytes + * KILO_BYTES: Number of kilobytes + * MEGA_BYTES: Number of megabytes + * PERCENTAGE: Percentage in scale [0,1] + * PERCENTAGE_100: Percentage in scale [0,100] + * PERCENTAGE_NO_CAPPING: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * PERCENTAGE_100_NO_CAPPING: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * LATENCY: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * NANOS: Time in nanoseconds + * MILLIS: Time in milliseconds + * MICROS: Time in microseconds + * SECONDS: Time in seconds + * RATE: Number of occurrences per second + * BYTE_RATE: Number of bytes per second + * UNDEFINED: Metric value unit is not known + enum: + - NUMBER + - BYTES + - KILO_BYTES + - MEGA_BYTES + - PERCENTAGE + - PERCENTAGE_100 + - PERCENTAGE_NO_CAPPING + - PERCENTAGE_100_NO_CAPPING + - LATENCY + - NANOS + - MILLIS + - MICROS + - SECONDS + - RATE + - BYTE_RATE + - UNDEFINED + required: + - description + - id + - name + IdentityProviderPatch: + type: object + properties: + restrictEmptyIdpGroups: + type: boolean + ImpactedBeaconInfo: + type: object + properties: + country: + type: string + label: + type: string + subdivision: + type: string + userEmail: + type: string + userName: + type: string + InfraAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the Infrastructure Smart Alert. Used as a template + for the description of alert/event notifications triggered by this Smart + Alert configuration. + maxLength: 65536 + minLength: 0 + evaluationType: + type: string + description: Determines whether we evaluate each infra entity independently + or group of entities will be evaluated together. + enum: + - PER_ENTITY + - CUSTOM + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + groupBy: + type: array + description: The grouping tags used to group the metric results. + items: + type: string + description: The grouping tags used to group the metric results. + maxItems: 5 + minItems: 0 + name: + type: string + description: Name of the Infrastructure Smart Alert. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/InfraAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdInfraAlertRule' + maxItems: 5 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/InfraTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - customPayloadFields + - description + - granularity + - groupBy + - name + - tagFilterExpression + - timeThreshold + InfraAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + created: + type: integer + format: int64 + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the Infrastructure Smart Alert. Used as a template + for the description of alert/event notifications triggered by this Smart + Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + evaluationType: + type: string + description: Determines whether we evaluate each infra entity independently + or group of entities will be evaluated together. + enum: + - PER_ENTITY + - CUSTOM + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + groupBy: + type: array + description: The grouping tags used to group the metric results. + items: + type: string + description: The grouping tags used to group the metric results. + maxItems: 5 + minItems: 0 + id: + type: string + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Infrastructure Smart Alert. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + rule: + $ref: '#/components/schemas/InfraAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdInfraAlertRule' + maxItems: 5 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/InfraTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - customPayloadFields + - description + - granularity + - groupBy + - id + - name + - tagFilterExpression + - timeThreshold + InfraAlertRule: + type: object + discriminator: + mapping: + genericRule: '#/components/schemas/GenericInfraAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + crossSeriesAggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + entityType: + type: string + metricGroupBy: + type: array + items: + type: string + metricName: + type: string + metricTagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + regex: + type: boolean + required: + - alertType + - metricName + InfraEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + ibmMqFileTransfer: + type: array + description: IBM MQ file transfer information, if relevant for this entity + and event. + items: + type: object + additionalProperties: + type: object + description: IBM MQ file transfer information, if relevant for this + entity and event. + description: IBM MQ file transfer information, if relevant for this + entity and event. + snapshotId: + type: string + description: ID of the snapshot. + InfraExploreCursor: + type: object + description: cursor to use between successive queries + InfraMetricConfiguration: + type: object + oneOf: + - $ref: '#/components/schemas/SimpleMetricConfiguration' + - $ref: '#/components/schemas/ArithmeticConfiguration' + InfraSloEntity: + type: object + allOf: + - $ref: '#/components/schemas/SloEntity' + - type: object + properties: + infraType: + type: string + description: Infrastructure Type + required: + - infraType + InfraTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + violationsInSequence: '#/components/schemas/ViolationsInSequenceInfraTimeThreshold' + propertyName: type + properties: + timeWindow: + type: integer + format: int64 + type: + type: string + required: + - type + InfrastructureEntitiesResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + items: + type: array + items: + $ref: '#/components/schemas/InfrastructureItem' + next: + $ref: '#/components/schemas/InfraExploreCursor' + totalHits: + type: integer + format: int64 + description: represents the total number of results + minimum: 0 + required: + - items + InfrastructureGroup: + type: object + description: group of infrastructure entities + properties: + count: + type: integer + format: int64 + description: number of entities in this group + metrics: + type: object + additionalProperties: + type: array + description: map of metric keys to array of timestamp,value pairs + items: + type: array + description: map of metric keys to array of timestamp,value pairs + items: + type: number + description: map of metric keys to array of timestamp,value pairs + description: map of metric keys to array of timestamp,value pairs + pollRate: + type: integer + format: int64 + description: max poll rate across this group + tags: + type: object + additionalProperties: + type: object + description: tag keys and values for this group + description: tag keys and values for this group + InfrastructureGroupsResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + items: + type: array + items: + $ref: '#/components/schemas/InfrastructureGroup' + next: + $ref: '#/components/schemas/InfraExploreCursor' + totalHits: + type: integer + format: int64 + description: represents the total number of results + minimum: 0 + required: + - items + InfrastructureItem: + type: object + properties: + entityHealthInfo: + $ref: '#/components/schemas/EntityHealthInfo' + label: + type: string + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + plugin: + type: string + snapshotId: + type: string + tags: + type: object + additionalProperties: + type: string + time: + type: integer + format: int64 + description: Epoch time in milliseconds if the snapshot is offline. Set + to 9223372036854775807 if the snapshot is online. + InfrastructureMetricResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/MetricItem' + IngestionOffsetCursor: + type: object + description: Cursor to use between successive queries + InstanaVersionInfo: + type: object + properties: + branch: + type: string + commit: + type: string + imageTag: + type: string + IntegrationOverview: + type: object + properties: + id: + type: string + description: Unique ID of the alert channel + kind: + type: string + description: The type of the Alerting Channel. + name: + type: string + description: The name of the Alerting Channel. + properties: + type: object + additionalProperties: + type: string + description: Properties of the alert channel in pairs of key/value + description: Properties of the alert channel in pairs of key/value + rbacTags: + type: array + description: Team Tags that's assigned to the Alerting Channel + items: + $ref: '#/components/schemas/ApiTag' + uniqueItems: true + required: + - id + - kind + - name + Invitation: + type: object + properties: + email: + type: string + groupId: + type: string + message: + type: string + path: + type: string + teamId: + type: string + required: + - email + - groupId + InvitationResponse: + type: object + properties: + invitationResults: + type: array + items: + $ref: '#/components/schemas/InvitationResult' + InvitationResult: + type: object + properties: + invitationStatus: + type: string + enum: + - SUCCESS + - INTERNAL_ERROR + - FAILURE_USER_ALREADY_EXISTS + - FAILURE_USER_ALREADY_INVITED + - FAILURE_ONLY_DEFAULT_GROUP_INVITATION_ALLOWED + - FAILURE_TENANT_IDP_CONFIGURED + userEmail: + type: string + IpMaskingConfiguration: + type: object + properties: + ipMasking: + type: string + enum: + - DEFAULT + - STRICT + - REMOVE_ALL_DETAILS + required: + - ipMasking + JsStackTraceLine: + type: object + properties: + column: + type: integer + format: int32 + minimum: -1 + file: + type: string + line: + type: integer + format: int32 + minimum: -1 + name: + type: string + translationExplanation: + type: string + translationStatus: + type: integer + format: int32 + minimum: -1 + required: + - file + Json: + type: object + JsonNode: + type: object + KubernetesPhysicalContext: + type: object + description: Contains physical context of Kubernetes which contains information + about the cluster, namespace, node and pod. + properties: + cluster: + $ref: '#/components/schemas/SnapshotPreview' + namespace: + $ref: '#/components/schemas/SnapshotPreview' + node: + $ref: '#/components/schemas/SnapshotPreview' + pod: + $ref: '#/components/schemas/SnapshotPreview' + LLMEgressGateway: + type: object + description: Custom handler definition. + properties: + aiModel: + type: string + configurations: + $ref: '#/components/schemas/JsonNode' + createdAt: + type: string + description: + type: string + enabled: + type: boolean + endpointApiKey: + type: string + endpointUrl: + type: string + id: + type: string + format: uuid + instanaAgents: + $ref: '#/components/schemas/JsonNode' + metadata: + $ref: '#/components/schemas/JsonNode' + modifiedAt: + type: string + name: + type: string + prompt: + type: string + supports: + $ref: '#/components/schemas/JsonNode' + system: + type: boolean + tenantUnitId: + type: string + watsonxKey: + type: string + watsonxProject: + type: string + watsonxUrl: + type: string + required: + - createdAt + - id + - modifiedAt + - name + - prompt + - supports + - tenantUnitId + LatencyBlueprintIndicator: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelIndicator' + - type: object + properties: + threshold: + type: number + format: double + description: Threshold Value for the Blueprint + exclusiveMinimum: false + minimum: 0.0 + required: + - type + LocationStatus: + type: object + properties: + locationDisplayLabel: + type: string + locationId: + type: string + successRate: + type: number + format: double + successRuns: + type: integer + format: int64 + totalTestRuns: + type: integer + format: int64 + required: + - locationId + LogAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the Log Smart Alert. Used as a template for + the description of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 65536 + minLength: 0 + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + groupBy: + type: array + description: The grouping tags used to group the metric results. + items: + $ref: '#/components/schemas/GroupByTag' + maxItems: 1 + minItems: 0 + name: + type: string + description: Name of the Log Smart Alert. Used as a template for the title + of alert/event notifications triggered by this Smart Alert configuration. + maxLength: 256 + minLength: 0 + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdLogAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/LogTimeThreshold' + required: + - description + - granularity + - name + - tagFilterExpression + - timeThreshold + LogAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + created: + type: integer + format: int64 + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the Log Smart Alert. Used as a template for + the description of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + groupBy: + type: array + description: The grouping tags used to group the metric results. + items: + $ref: '#/components/schemas/GroupByTag' + maxItems: 1 + minItems: 0 + id: + type: string + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Log Smart Alert. Used as a template for the title + of alert/event notifications triggered by this Smart Alert configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdLogAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/LogTimeThreshold' + required: + - description + - granularity + - id + - name + - tagFilterExpression + - timeThreshold + LogAlertRule: + type: object + discriminator: + mapping: + logCount: '#/components/schemas/LogCountAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + metricName: + type: string + required: + - alertType + - metricName + LogCountAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/LogAlertRule' + required: + - metricName + LogEntryActor: + type: object + properties: + email: + type: string + id: + type: string + name: + type: string + type: + type: string + enum: + - USER + - API_TOKEN + - POLICY + required: + - id + - name + - type + LogEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + snapshotId: + type: string + description: ID of the snapshot. + LogTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + violationsInSequence: '#/components/schemas/ViolationsInSequenceLogTimeThreshold' + propertyName: type + properties: + timeWindow: + type: integer + format: int64 + type: + type: string + required: + - type + LogVolumeGroup: + type: object + properties: + label: + type: string + maxLength: 256 + minLength: 0 + logVolume: + type: integer + format: int64 + required: + - label + - logVolume + LogVolumeUsageItem: + type: object + properties: + logVolume: + type: integer + format: int64 + numberOfMonth: + type: integer + format: int32 + maximum: 12 + minimum: 1 + retentionPeriods: + type: array + items: + $ref: '#/components/schemas/RetentionPeriod' + required: + - logVolume + - retentionPeriods + LogVolumeUsageResult: + type: object + properties: + logVolumeUsageItems: + type: array + items: + $ref: '#/components/schemas/LogVolumeUsageItem' + required: + - logVolumeUsageItems + LogsApplicationAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationAlertRule' + - type: object + properties: + level: + type: string + enum: + - WARN + - ERROR + - ANY + loglevel: + type: string + enum: + - WARN + - ERROR + - ANY + writeOnly: true + message: + type: string + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + required: + - level + - metricName + - operator + MaintenanceConfig: + type: object + properties: + id: + type: string + description: ID of the Maintenance Window Configuration. + maxLength: 64 + minLength: 0 + name: + type: string + description: Name of the Maintenance Window Configuration. + maxLength: 256 + minLength: 0 + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + windows: + type: array + description: A set of time periods when the Maintenance Window Configuration + is active. + items: + $ref: '#/components/schemas/MaintenanceWindow' + maxItems: 1 + minItems: 0 + uniqueItems: true + required: + - id + - name + - query + MaintenanceConfigScheduling: + type: object + description: Time scheduling of the Maintenance Window configurations. + discriminator: + mapping: + ONE_TIME: '#/components/schemas/OneTimeMaintenanceWindow' + RECURRENT: '#/components/schemas/RecurrentMaintenanceWindow' + propertyName: type + properties: + duration: + $ref: '#/components/schemas/Duration' + start: + type: integer + format: int64 + minimum: 1 + type: + type: string + maxLength: 2048 + minLength: 0 + required: + - duration + - start + - type + MaintenanceConfigV2: + type: object + properties: + id: + type: string + description: ID of the Maintenance Window configuration. + maxLength: 64 + minLength: 0 + name: + type: string + description: Name of the Maintenance Window configuration. + maxLength: 256 + minLength: 0 + paused: + type: boolean + description: Boolean flag to determine if the Maintenance Window configuration + is paused or still live. + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + retriggerOpenAlertsEnabled: + type: boolean + description: Boolean flag to determine if we should retrigger open alerts + to be sent out for any events that opened during this maintenance window, + and continues to remain open after the window expires + scheduling: + $ref: '#/components/schemas/MaintenanceConfigScheduling' + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilterExpressionEnabled: + type: boolean + description: Boolean flag to determine if the tagFilterExpression is enabled. + required: + - id + - name + - query + - scheduling + MaintenanceConfigV2WithStateAndOccurrence: + type: object + properties: + id: + type: string + description: ID of the Maintenance Window configuration. + maxLength: 64 + minLength: 0 + lastUpdated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Maintenance Window configuration. + maxLength: 256 + minLength: 0 + occurrence: + $ref: '#/components/schemas/Occurrence' + paused: + type: boolean + description: Boolean flag to determine if the Maintenance Window configuration + is paused or still live. + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + retriggerOpenAlertsEnabled: + type: boolean + description: Boolean flag to determine if we should retrigger open alerts + to be sent out for any events that opened during this maintenance window, + and continues to remain open after the window expires + scheduling: + $ref: '#/components/schemas/MaintenanceConfigScheduling' + state: + type: string + description: 'State of the Maintenance Window, it can be: UNSCHEDULED, SCHEDULED, + ACTIVE, PAUSED, EXPIRED.' + enum: + - UNSCHEDULED + - SCHEDULED + - ACTIVE + - PAUSED + - EXPIRED + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilterExpressionEnabled: + type: boolean + description: Boolean flag to determine if the tagFilterExpression is enabled. + required: + - id + - name + - occurrence + - query + - scheduling + MaintenanceConfigWithLastUpdated: + type: object + properties: + id: + type: string + description: ID of the Maintenance Window Configuration. + maxLength: 64 + minLength: 0 + lastUpdated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Maintenance Window Configuration. + maxLength: 256 + minLength: 0 + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + windows: + type: array + description: A set of time periods when the Maintenance Window Configuration + is active. + items: + $ref: '#/components/schemas/MaintenanceWindow' + maxItems: 1 + minItems: 0 + uniqueItems: true + required: + - id + - name + - query + MaintenanceWindow: + type: object + description: A set of time periods when the Maintenance Window Configuration + is active. + properties: + end: + type: integer + format: int64 + minimum: 1 + id: + type: string + maxLength: 64 + minLength: 0 + start: + type: integer + format: int64 + minimum: 0 + required: + - id + ManualAlertingChannelConfiguration: + type: object + properties: + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/StaticStringField' + maxItems: 20 + minItems: 0 + eventId: + type: string + description: Id of the event to be notified about. + maxLength: 256 + minLength: 0 + required: + - customPayloadFields + - eventId + ManualCloseInfo: + type: object + properties: + closeTimestamp: + type: integer + format: int64 + description: The closing timestamp. + disableEvent: + type: boolean + description: Flag to indicate whether to disable the event. + eventIds: + type: array + description: The event IDs to manually close, in case of multi close. + items: + type: string + description: The event IDs to manually close, in case of multi close. + uniqueItems: true + muteAlerts: + type: boolean + description: Flag to indicate whether to mute alerts. + reasonForClosing: + type: string + description: The reason for manual closing. + username: + type: string + description: The user name. + maxLength: 256 + minLength: 0 + required: + - reasonForClosing + - username + ManualServiceConfig: + type: object + properties: + description: + type: string + description: A description of the manual service configuration. + enabled: + type: boolean + description: Enable or disable the manual service configuration. By default + it is enabled. + existingServiceId: + type: string + description: The service ID of the existing monitored service to which the + calls should be linked. + id: + type: string + description: A unique id of the manual service configuration. + maxLength: 128 + minLength: 1 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + unmonitoredServiceName: + type: string + description: A service name if you want to map calls to an unmonitored service. + required: + - id + - tagFilterExpression + MatchAllHttpPathSegmentMatchingRule: + type: object + allOf: + - $ref: '#/components/schemas/HttpPathSegmentMatchingRule' + required: + - type + MatchExpressionDTO: + type: object + description: ' Specify the expression to match, For example, `endpoint.name + contains health`.' + discriminator: + mapping: + BINARY_OP: '#/components/schemas/BinaryOperatorDTO' + LEAF: '#/components/schemas/TagMatcherDTO' + propertyName: type + properties: + type: + type: string + required: + - type + MetaData: + type: object + description: Action metadata. + properties: + ai: + type: array + description: List of metadata for AI originated actions. + items: + type: object + additionalProperties: + type: object + description: List of metadata for AI originated actions. + description: List of metadata for AI originated actions. + aiOriginated: + type: boolean + description: AI originated action flag. Value is `true` if action is AI + generated `false` otherwise. + builtIn: + type: boolean + description: Built-in out of the box action flag. Value is `true` if built-in + action `false` otherwise. + readOnly: + type: boolean + description: Read only action flag. Value is `true` if read only `false` + otherwise. + sensorImported: + type: boolean + description: Sensor imported action flag. Value is `true` if action is imported + from sensor `false` otherwise. + MetricAPIResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + required: + - metrics + MetricConfig: + type: object + description: 'A list of objects each of which defines a metric and the (statistical) + aggregation -- MEAN, SUM, MAX, etc -- that should be used to summarize it + for the defined time frame. Eg: `[{ ''metric'': ''latency'', ''aggregation'': + ''MEAN''}]`. To know more about supported metrics and its aggregation, See + `Get Metric catalog`.' + properties: + aggregation: + type: string + description: 'Set aggregation that can be applied to a series of values. + Eg: `MEAN`.' + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int32 + description: 'If the granularity is set you will get data points with the + specified granularity in seconds. Default: `1000` milliseconds' + metric: + type: string + description: 'Set a particular metric, eg: `latency`.' + required: + - aggregation + - metric + MetricConfiguration: + type: object + description: Details regarding the metric to be configured, including the metric + name, threshold, and aggregation method + properties: + metricAggregation: + type: string + description: | + Specifies the types of aggregations that can be applied to a series of values. + For example, `P25` refers to the 25th percentile. Note that not all aggregation methods are available for every metric. + For instance, the `Call count` metric supports only the `SUM` aggregation, whereas the `Error rate` metric only supports the `MEAN` aggregation. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + metricName: + type: string + description: Defines the name of the metric to be monitored. Examples include + `calls` and `latency` + threshold: + type: number + format: double + description: Specifies the threshold value for the metric being monitored + exclusiveMinimum: true + minimum: 0.0 + required: + - metricName + MetricDescription: + type: object + properties: + aggregations: + type: array + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + items: + type: string + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + uniqueItems: true + defaultAggregation: + type: string + description: The preselected aggregation for a metric. For example, for + `Call latency` the default aggregation is `MEAN`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + description: + type: string + description: A description of the metric. For example, for `Call count` + metric, the description would be something like `Number of received calls` + formatter: + type: string + description: | + * `NUMBER`: Generic number + * `BYTES`: Number of bytes + * `KILO_BYTES`: Number of kilobytes + * `MEGA_BYTES`: Number of megabytes + * `PERCENTAGE`: Percentage in scale [0,1] + * `PERCENTAGE_100`: Percentage in scale [0,100] + * `PERCENTAGE_NO_CAPPING`: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * `PERCENTAGE_100_NO_CAPPING`: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * `LATENCY`: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * `NANOS`: Time in nanoseconds + * `MILLIS`: Time in milliseconds + * `MICROS`: Time in microseconds + * `SECONDS`: Time in seconds + * `RATE`: Number of occurrences per second + * `BYTE_RATE`: Number of bytes per second + * `UNDEFINED`: Metric value unit is not known + label: + type: string + description: The name of the metric. For example, `Call count`, `Erroneous + calls`, `Service count` etc. + metricId: + type: string + description: The unique id of the metric. For example, `calls`, `erroneousCalls`, + `latency` etc. + required: + - aggregations + - formatter + - label + - metricId + MetricInstance: + type: object + properties: + custom: + type: boolean + description: + type: string + formatter: + type: string + description: | + | + * NUMBER: Generic number + * BYTES: Number of bytes + * KILO_BYTES: Number of kilobytes + * MEGA_BYTES: Number of megabytes + * PERCENTAGE: Percentage in scale [0,1] + * PERCENTAGE_100: Percentage in scale [0,100] + * PERCENTAGE_NO_CAPPING: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * PERCENTAGE_100_NO_CAPPING: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * LATENCY: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * NANOS: Time in nanoseconds + * MILLIS: Time in milliseconds + * MICROS: Time in microseconds + * SECONDS: Time in seconds + * RATE: Number of occurrences per second + * BYTE_RATE: Number of bytes per second + * UNDEFINED: Metric value unit is not known + enum: + - NUMBER + - BYTES + - KILO_BYTES + - MEGA_BYTES + - PERCENTAGE + - PERCENTAGE_100 + - PERCENTAGE_NO_CAPPING + - PERCENTAGE_100_NO_CAPPING + - LATENCY + - NANOS + - MILLIS + - MICROS + - SECONDS + - RATE + - BYTE_RATE + - UNDEFINED + label: + type: string + metricId: + type: string + pluginId: + type: string + required: + - description + - formatter + - label + - metricId + - pluginId + MetricItem: + type: object + properties: + from: + type: integer + format: int64 + description: Start of timeframe expressed as the Unix epoch time in milliseconds + host: + type: string + description: Host name + label: + type: string + description: Entitiy label + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + plugin: + type: string + description: Plugin name + snapshotId: + type: string + description: Id of the exact metric you want to retrieve, eg. "cpu.user", + "clientrequests.read.mean" + tags: + type: array + description: Entitiy tags + items: + type: string + description: Entitiy tags + to: + type: integer + format: int64 + description: End of timeframe expressed as the Unix epoch time in milliseconds + MetricMetadata: + type: object + properties: + category: + type: string + description: Category of the metric + crossSeriesAggregations: + type: array + description: Possible cross series aggregation the metric supports + items: + type: string + description: Possible cross series aggregation the metric supports + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + uniqueItems: true + description: + type: string + description: Description of the metric + format: + type: string + description: | + | + * NUMBER: Generic number + * BYTES: Number of bytes + * KILO_BYTES: Number of kilobytes + * MEGA_BYTES: Number of megabytes + * PERCENTAGE: Percentage in scale [0,1] + * PERCENTAGE_100: Percentage in scale [0,100] + * PERCENTAGE_NO_CAPPING: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * PERCENTAGE_100_NO_CAPPING: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * LATENCY: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * NANOS: Time in nanoseconds + * MILLIS: Time in milliseconds + * MICROS: Time in microseconds + * SECONDS: Time in seconds + * RATE: Number of occurrences per second + * BYTE_RATE: Number of bytes per second + * UNDEFINED: Metric value unit is not known + enum: + - NUMBER + - BYTES + - KILO_BYTES + - MEGA_BYTES + - PERCENTAGE + - PERCENTAGE_100 + - PERCENTAGE_NO_CAPPING + - PERCENTAGE_100_NO_CAPPING + - LATENCY + - NANOS + - MILLIS + - MICROS + - SECONDS + - RATE + - BYTE_RATE + - UNDEFINED + id: + type: string + description: Identifier for the metric + infraTagCategory: + type: string + description: Category of the entity + enum: + - 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 + - OTHERS + - REDIS + - SAP + - SELF_MONITORING + - SOLR + - SPARK + - TIBCOBW + - TUXEDO + - VSHPERE + - WEBSPHERE + - CUSTOM_ENTITY + label: + type: string + description: Label for the metric + ownerType: + type: string + description: Type of the entity associated with the metric + tags: + type: array + description: Metric tags + items: + type: string + description: Metric tags + required: + - id + - infraTagCategory + - label + - ownerType + MetricPattern: + type: object + properties: + operator: + type: string + enum: + - is + - contains + - startsWith + - endsWith + - any + placeholder: + type: string + postfix: + type: string + prefix: + type: string + required: + - operator + - prefix + MetricQuery: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperand' + - type: object + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + writeOnly: true + crossSeriesAggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + writeOnly: true + granularity: + type: integer + format: int64 + writeOnly: true + metric: + type: string + writeOnly: true + regex: + type: boolean + writeOnly: true + required: + type: boolean + writeOnly: true + MetricsResult: + type: object + properties: + metricsResult: + type: array + items: + $ref: '#/components/schemas/MetricsResultItem' + required: + - metricsResult + MetricsResultItem: + type: object + properties: + customTags: + type: object + additionalProperties: + type: string + description: A map of custom properties composed of the custom property + name and its value. This information will be included if the custom + properties were requested or if the query was grouped and the grouping + included one or more custom properties. + description: A map of custom properties composed of the custom property + name and its value. This information will be included if the custom properties + were requested or if the query was grouped and the grouping included one + or more custom properties. + metrics: + type: array + description: A map of the requested metrics, composed of the metric name + and its value. + items: + type: object + additionalProperties: + type: object + description: A map of the requested metrics, composed of the metric + name and its value. + description: A map of the requested metrics, composed of the metric name + and its value. + runType: + type: string + description: Indicates whether the test was scheduled to run or run now + tests: + type: array + description: A description of the Synthetic test associated with the result + item. This information will be included if the request was grouped by + synthetic.testId or if includeAggregatedTestId was true on the request. + items: + $ref: '#/components/schemas/MetricsTestResultItem' + required: + - metrics + MetricsTestResultItem: + type: object + description: A description of the Synthetic test associated with the result + item. This information will be included if the request was grouped by synthetic.testId + or if includeAggregatedTestId was true on the request. + properties: + applicationId: + type: string + description: An identifier of an application associated with the Synthetic + test. This field is deprecated and will be replace by the applicationIds + field. + applicationIds: + type: array + description: A list of the applications associated with the Synthetic test. + items: + type: string + description: A list of the applications associated with the Synthetic + test. + locationId: + type: array + description: A list of the locations associated with the Synthetic test. + items: + type: string + description: A list of the locations associated with the Synthetic test. + mobileApplicationIds: + type: array + description: A list of the mobile applications associated with the Synthetic + test. + items: + type: string + description: A list of the mobile applications associated with the Synthetic + test. + serviceId: + type: string + description: A service associated with the Synthetic test. + testId: + type: string + description: The testId for the Synthetic test. + testName: + type: string + description: The Synthetic test's name. + websiteIds: + type: array + description: A list of the websites associated with the Synthetic test. + items: + type: string + description: A list of the websites associated with the Synthetic test. + required: + - testId + MobileApp: + type: object + properties: + id: + type: string + maxLength: 128 + minLength: 0 + name: + type: string + maxLength: 128 + minLength: 0 + required: + - id + - name + MobileAppAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + completeTagFilterExpression: + $ref: '#/components/schemas/TagFilterExpression' + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the mobile app alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + mobileAppId: + type: string + description: ID of the mobile app that this Smart Alert configuration is + applied to. + maxLength: 64 + minLength: 0 + name: + type: string + description: Name of the mobile app alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/MobileAppAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdMobileAppAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/MobileAppTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - customPayloadFields + - description + - granularity + - mobileAppId + - name + - tagFilterExpression + - timeThreshold + MobileAppAlertRule: + type: object + discriminator: + mapping: + crash: '#/components/schemas/CrashMobileAppAlertRule' + customEvent: '#/components/schemas/CustomEventMobileAppAlertRule' + slowness: '#/components/schemas/SlownessMobileAppAlertRule' + statusCode: '#/components/schemas/StatusCodeMobileAppAlertRule' + throughput: '#/components/schemas/ThroughputMobileAppAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + metricName: + type: string + required: + - alertType + - metricName + MobileAppBeaconGroupsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + earliestTimestamp: + type: integer + format: int64 + minimum: 0 + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + name: + type: string + required: + - cursor + - metrics + - name + MobileAppBeaconGroupsResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/MobileAppBeaconGroupsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + MobileAppBeaconResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/MobileAppBeaconsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + MobileAppBeaconTagGroup: + type: object + properties: + groupbyTag: + type: string + description: The name of the group tag (e.g. `agent.tag` or `docker.label`). + maxLength: 256 + minLength: 0 + groupbyTagEntity: + type: string + description: | + The entity by which the data should be grouped. + This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. + `SOURCE`: the tag filter should apply to the source entity. + `DESTINATION`: the tag filter should apply to the destination entity. + `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + groupbyTagSecondLevelKey: + type: string + description: If present, it's the 2nd level key part (e.g. `customKey` on + `docker.label.customKey`) + maxLength: 256 + minLength: 0 + required: + - groupbyTag + - groupbyTagEntity + MobileAppBeaconsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + beacon: + $ref: '#/components/schemas/MobileAppMonitoringBeacon' + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + impactedBeaconInfo: + $ref: '#/components/schemas/ImpactedBeaconInfo' + required: + - beacon + - cursor + MobileAppEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + mobileAppId: + type: string + description: ID of the mobile app. + MobileAppMetricResult: + type: object + properties: + empty: + type: boolean + MobileAppMonitoringBeacon: + type: object + properties: + accuracyRadius: + type: integer + format: int64 + minimum: -1 + agentVersion: + type: string + maxLength: 128 + minLength: 0 + appBuild: + type: string + maxLength: 128 + minLength: 0 + appVersion: + type: string + maxLength: 128 + minLength: 0 + appVersionNumber: + type: integer + format: int64 + minimum: -1 + availableMb: + type: integer + format: int64 + minimum: -1 + backendTraceId: + type: string + maxLength: 128 + minLength: 0 + batchSize: + type: integer + format: int64 + minimum: 1 + beaconId: + type: string + maxLength: 128 + minLength: 0 + bundleIdentifier: + type: string + maxLength: 128 + minLength: 0 + bytesIngested: + type: integer + format: int64 + carrier: + type: string + maxLength: 256 + minLength: 0 + city: + type: string + maxLength: 256 + minLength: 0 + clockSkew: + type: integer + format: int64 + minimum: 0 + coldStartTimeMs: + type: integer + format: int64 + minimum: -1 + connectionType: + type: string + maxLength: 16 + minLength: 0 + continent: + type: string + maxLength: 256 + minLength: 0 + continentCode: + type: string + maxLength: 64 + minLength: 0 + country: + type: string + maxLength: 256 + minLength: 0 + countryCode: + type: string + maxLength: 64 + minLength: 0 + currentAppState: + type: string + maxLength: 24 + minLength: 0 + customEventName: + type: string + maxLength: 256 + minLength: 0 + customMetric: + type: number + format: double + decodedBodySize: + type: integer + format: int64 + minimum: -1 + deviceHardware: + type: string + maxLength: 128 + minLength: 0 + deviceManufacturer: + type: string + maxLength: 128 + minLength: 0 + deviceModel: + type: string + maxLength: 128 + minLength: 0 + dropView: + type: string + maxLength: 256 + minLength: 0 + duration: + type: integer + format: int64 + minimum: 0 + effectiveConnectionType: + type: string + maxLength: 16 + minLength: 0 + encodedBodySize: + type: integer + format: int64 + minimum: -1 + environment: + type: string + maxLength: 256 + minLength: 0 + errorCount: + type: integer + format: int64 + minimum: 0 + errorId: + type: string + maxLength: 128 + minLength: 0 + errorMessage: + type: string + maxLength: 16384 + minLength: 0 + errorType: + type: string + maxLength: 1024 + minLength: 0 + googlePlayServicesMissing: + type: boolean + hotStartTimeMs: + type: integer + format: int64 + minimum: -1 + httpCallHeaders: + type: object + additionalProperties: + type: string + httpCallMethod: + type: string + maxLength: 16 + minLength: 0 + httpCallOrigin: + type: string + maxLength: 1024 + minLength: 0 + httpCallPath: + type: string + maxLength: 4096 + minLength: 0 + httpCallStatus: + type: integer + format: int32 + maximum: 599 + minimum: -1 + httpCallUrl: + type: string + maxLength: 4096 + minLength: 0 + ingestionTime: + type: integer + format: int64 + minimum: 1 + internalMeta: + type: object + additionalProperties: + type: string + label: + type: string + latitude: + type: number + format: double + longitude: + type: number + format: double + maxMb: + type: integer + format: int64 + minimum: -1 + meta: + type: object + additionalProperties: + type: string + mobileAppId: + type: string + maxLength: 64 + minLength: 0 + mobileAppLabel: + type: string + maxLength: 128 + minLength: 0 + osName: + type: string + maxLength: 128 + minLength: 0 + osVersion: + type: string + maxLength: 128 + minLength: 0 + parentBeaconId: + type: string + parsedStackTrace: + type: string + maxLength: 16384 + minLength: 0 + performanceSubtype: + type: string + maxLength: 24 + minLength: 0 + platform: + type: string + maxLength: 32 + minLength: 0 + rateLimitBeaconType: + type: string + maxLength: 128 + minLength: 0 + rateLimitCount: + type: integer + format: int64 + minimum: 0 + rateLimitCustomMetricVal: + type: array + items: + type: number + format: float + rateLimitTimeMax: + type: integer + format: int64 + minimum: 0 + rateLimitTimeMin: + type: integer + format: int64 + minimum: 0 + region: + type: string + maxLength: 256 + minLength: 0 + rooted: + type: boolean + sessionId: + type: string + maxLength: 128 + minLength: 0 + stackTrace: + type: string + maxLength: 16384 + minLength: 0 + stackTraceKeyChecksum: + type: string + maxLength: 128 + minLength: 0 + stackTraceKeyInformation: + type: string + maxLength: 1024 + minLength: 0 + stackTraceLine: + type: array + items: + $ref: '#/components/schemas/StackTraceLine' + maxItems: 128 + minItems: 0 + stackTraceParsingStatus: + type: integer + format: int32 + minimum: -1 + subdivision: + type: string + maxLength: 256 + minLength: 0 + subdivisionCode: + type: string + maxLength: 64 + minLength: 0 + tenant: + type: string + maxLength: 256 + minLength: 0 + timestamp: + type: integer + format: int64 + minimum: 1 + transferSize: + type: integer + format: int64 + minimum: -1 + type: + type: string + maxLength: 24 + minLength: 0 + unit: + type: string + maxLength: 256 + minLength: 0 + useFeatures: + type: array + items: + type: string + maxItems: 15 + minItems: 0 + usedMb: + type: integer + format: int64 + minimum: -1 + userEmail: + type: string + maxLength: 128 + minLength: 0 + userId: + type: string + maxLength: 128 + minLength: 0 + userIp: + type: string + maxLength: 45 + minLength: 0 + userLanguages: + type: array + items: + type: string + maxItems: 5 + minItems: 0 + userName: + type: string + maxLength: 128 + minLength: 0 + userSessionId: + type: string + maxLength: 128 + minLength: 0 + view: + type: string + maxLength: 256 + minLength: 0 + viewportHeight: + type: integer + format: int32 + minimum: -1 + viewportWidth: + type: integer + format: int32 + minimum: -1 + warmStartTimeMs: + type: integer + format: int64 + minimum: -1 + required: + - beaconId + - mobileAppId + - performanceSubtype + - rateLimitBeaconType + - type + MobileAppMonitoringMetricDescription: + type: object + properties: + aggregations: + type: array + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + items: + type: string + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + uniqueItems: true + beaconTypes: + type: array + items: + type: string + uniqueItems: true + defaultAggregation: + type: string + description: The preselected aggregation for a metric. For example, for + `Call latency` the default aggregation is `MEAN`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + description: + type: string + description: A description of the metric. For example, for `Call count` + metric, the description would be something like `Number of received calls` + formatter: + type: string + description: | + * `NUMBER`: Generic number + * `BYTES`: Number of bytes + * `KILO_BYTES`: Number of kilobytes + * `MEGA_BYTES`: Number of megabytes + * `PERCENTAGE`: Percentage in scale [0,1] + * `PERCENTAGE_100`: Percentage in scale [0,100] + * `PERCENTAGE_NO_CAPPING`: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * `PERCENTAGE_100_NO_CAPPING`: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * `LATENCY`: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * `NANOS`: Time in nanoseconds + * `MILLIS`: Time in milliseconds + * `MICROS`: Time in microseconds + * `SECONDS`: Time in seconds + * `RATE`: Number of occurrences per second + * `BYTE_RATE`: Number of bytes per second + * `UNDEFINED`: Metric value unit is not known + label: + type: string + description: The name of the metric. For example, `Call count`, `Erroneous + calls`, `Service count` etc. + metricId: + type: string + description: The unique id of the metric. For example, `calls`, `erroneousCalls`, + `latency` etc. + pathToValueInBeacon: + type: array + items: + type: string + maxItems: 2147483647 + minItems: 1 + secondaryBeaconTypes: + type: array + items: + type: string + uniqueItems: true + tagName: + type: string + required: + - aggregations + - beaconTypes + - formatter + - label + - metricId + MobileAppMonitoringMetricsConfiguration: + type: object + properties: + aggregation: + type: string + description: 'Set aggregation that can be applied to a series of values. + Eg: `MEAN`.' + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int32 + description: 'If the granularity is set you will get data points with the + specified granularity in seconds. Default: `1000` milliseconds' + metric: + type: string + description: 'Set a particular metric, eg: `latency`.' + numeratorTagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - aggregation + - metric + MobileAppTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + userImpactOfViolationsInSequence: '#/components/schemas/UserImpactMobileAppTimeThreshold' + violationsInPeriod: '#/components/schemas/ViolationsInPeriodMobileAppTimeThreshold' + violationsInSequence: '#/components/schemas/ViolationsInSequenceMobileAppTimeThreshold' + propertyName: type + properties: + timeWindow: + type: integer + format: int64 + type: + type: string + required: + - type + MonitoredEntitiesStats: + type: object + description: Statistics of monitored entities. + properties: + hostCount: + type: integer + format: int32 + otelCount: + type: integer + format: int32 + serverlessCount: + type: integer + format: int32 + MonitoringState: + type: object + properties: + hasEntities: + type: boolean + description: Has entities + hostCount: + type: integer + format: int32 + description: Count of hosts + monitoredEntitiesStats: + $ref: '#/components/schemas/MonitoredEntitiesStats' + openTelemetryCount: + type: integer + format: int32 + description: Count of open telemetry + serverlessCount: + type: integer + format: int32 + description: Count of serverless + MultipleScriptsConfiguration: + type: object + properties: + bundle: + type: string + scriptFile: + type: string + Multiplication: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperation' + required: + - left + - right + NestedOperation: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperand' + - type: object + properties: + operation: + $ref: '#/components/schemas/ArithmeticOperation' + NewApplicationConfig: + type: object + properties: + accessRules: + type: array + description: | + Defines permissions and access relationships. + items: + $ref: '#/components/schemas/AccessRule' + maxItems: 64 + minItems: 1 + boundaryScope: + type: string + description: | + **INBOUND**: Inbound calls are calls initiated from outside the application and where the destination service is part of the selected application perspective. + + **ALL**: Results and metrics for not only calls at the application perspective boundary, but also those occurring within the application perspective. + + **DEFAULT**: Default value, for Application Perspectives created before the introduction of `ALL` and `INBOUND`. + At present, whenever new Application Perspectives are created, there are only 2 options to select: `ALL` or `INBOUND`. + It is recommended to use either `ALL` or `INBOUND` as `DEFAULT` is deprecated. `DEFAULT` is treated as `INBOUND`. + enum: + - ALL + - INBOUND + - DEFAULT + label: + type: string + description: 'Name of the Application Perspective. Eg: `app1`.' + maxLength: 128 + minLength: 1 + matchSpecification: + $ref: '#/components/schemas/MatchExpressionDTO' + scope: + type: string + description: | + **INCLUDE_NO_DOWNSTREAM** : Only the selected services from the filters are included (call this the core set). + This is useful when you treat the services as opaque. + An example would be the services that represent 3rd party APIs. + + **INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING** : Include the core set of services from the filters and then expand this core set to include the database and messaging services that the core set directly interacts with. + This is useful if you are want to monitor a set of services and their direct dependencies. + For example, a development team responsible for several micro-services. + + **INCLUDE_ALL_DOWNSTREAM** : It effortlessly and automatically includes all the services that form the entire end-to-end dependency chain of the core set of services. + This is useful if the AP will be used for troubleshooting. + enum: + - INCLUDE_NO_DOWNSTREAM + - INCLUDE_IMMEDIATE_DOWNSTREAM_DATABASE_AND_MESSAGING + - INCLUDE_ALL_DOWNSTREAM + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + required: + - accessRules + - boundaryScope + - label + - scope + NewBusinessPerspectiveConfig: + type: object + properties: + description: + type: string + maxLength: 300 + minLength: 0 + name: + type: string + maxLength: 100 + minLength: 0 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + NewManualServiceConfig: + type: object + properties: + description: + type: string + description: A description of the manual service configuration. + enabled: + type: boolean + description: Enable or disable the manual service configuration. By default + it is enabled. + existingServiceId: + type: string + description: The service ID of the existing monitored service to which the + calls should be linked. + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + unmonitoredServiceName: + type: string + description: A service name if you want to map calls to an unmonitored service. + required: + - tagFilterExpression + OAuthConfig: + type: object + properties: + additionalParameters: + type: object + additionalProperties: + type: string + clientId: + type: string + clientSecret: + type: string + grantType: + type: string + enum: + - CLIENT_CREDENTIALS + - PASSWORD + password: + type: string + writeOnly: true + tokenUrl: + type: string + username: + type: string + writeOnly: true + required: + - clientId + - clientSecret + - tokenUrl + OAuthIntegration: + type: object + properties: + config: + $ref: '#/components/schemas/OAuthConfig' + token: + $ref: '#/components/schemas/OAuthToken' + OAuthToken: + type: object + properties: + accessToken: + type: string + createdAt: + type: string + format: date-time + expiresAt: + type: string + format: date-time + refreshToken: + type: string + status: + type: string + enum: + - VALID + - INVALID + tokenType: + type: string + valid: + type: boolean + Occurrence: + type: object + description: Time window of the Maintence Window configuration occurrences. + properties: + end: + type: integer + format: int64 + minimum: 1 + start: + type: integer + format: int64 + minimum: 0 + Office365Integration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + OneTimeMaintenanceWindow: + type: object + allOf: + - $ref: '#/components/schemas/MaintenanceConfigScheduling' + required: + - duration + - start + - type + OpsgenieIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + alias: + type: string + apiKey: + type: string + region: + type: string + enum: + - US + - EU + tags: + type: string + required: + - apiKey + - id + - kind + - name + - region + Order: + type: object + description: | + Specifies the ordering of the results. + It contains fields that define the sorting criteria, the collation for sorting, and the direction in which the results should be ordered. + properties: + by: + type: string + description: If the granularity is set to `1` you can use the metric name + eg. `latency.p95` to order by that value. + collation: + type: string + description: Language code used for sorting. Ignored for infrastructure + queries. + direction: + type: string + description: The order in which results will be sorted, either `ASC` for + ascending or `DESC` for descending. + enum: + - ASC + - DESC + required: + - by + - direction + PagerdutyIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + serviceIntegrationKey: + type: string + required: + - id + - kind + - name + - serviceIntegrationKey + PaginatedResult: + type: object + properties: + items: + type: array + items: + type: object + page: + type: integer + format: int32 + description: Page Number + minimum: 1 + pageSize: + type: integer + format: int32 + minimum: 1 + totalHits: + type: integer + format: int64 + minimum: 0 + required: + - items + Pagination: + type: object + properties: + page: + type: integer + format: int32 + description: Page number for a specific page in the results. For example, + if you'd like to retrieve the 5th page out of 10 pages, the value would + be 5. + minimum: 1 + pageSize: + type: integer + format: int32 + description: 'Set the number of items you want to return with one query. + Eg: if you want to retrieve 10 items, the value would be 10.' + maximum: 200 + minimum: 1 + Parameter: + type: object + description: List of inputs to the action. + properties: + description: + type: string + description: Parameter description. + hidden: + type: boolean + description: Is parameter hidden or not. + label: + type: string + description: Parameter label. + name: + type: string + description: Parameter name. + required: + type: boolean + description: Is parameter required or not. + secured: + type: boolean + description: Is parameter secured or not. + type: + type: string + description: Parameter type. Valid values are `static`, `dynamic`, or `vault`. + Default value is `static` + value: + type: string + description: Parameter value. + required: + - label + - name + - type + ParameterValue: + type: object + description: List of action input parameters. + properties: + name: + type: string + description: Parameter name. + value: + type: string + description: Parameter value. + required: + - name + - value + PathParameterHttpPathSegmentMatchingRule: + type: object + allOf: + - $ref: '#/components/schemas/HttpPathSegmentMatchingRule' + - type: object + properties: + name: + type: string + description: | + Given `/api/{version}/users` URI, `PARAMETER` name is `version`. + required: + - name + - type + PhysicalContext: + type: object + description: | + The physical context of an entity. This is typically used to describe where a host, container or process fits into the infrastructure. + 1. `cloudfoundry`: Contains physical context of Cloudfoundry. + 2. `cluster`: Contains physical context of cluster like Hazelcast, Elasticsearch. + 3. `container`: Contains physical context of container. + 4. `host`: Contains physical context of host. + 5. `kubernetes`: Contains physical context of Kubernetes. + 6. `process`: Contains physical context of a process. + properties: + cloudfoundry: + $ref: '#/components/schemas/CloudfoundryPhysicalContext' + cluster: + $ref: '#/components/schemas/SnapshotPreview' + container: + $ref: '#/components/schemas/SnapshotPreview' + host: + $ref: '#/components/schemas/SnapshotPreview' + kubernetes: + $ref: '#/components/schemas/KubernetesPhysicalContext' + process: + $ref: '#/components/schemas/SnapshotPreview' + PluginResult: + type: object + properties: + label: + type: string + description: Plugin name + plugin: + type: string + description: Plugin ID + Policy: + type: object + properties: + description: + type: string + description: Policy description. + maxLength: 512 + minLength: 0 + id: + type: string + description: Policy identifier. + maxLength: 128 + minLength: 1 + readOnly: true + name: + type: string + description: Policy name. + maxLength: 128 + minLength: 1 + tags: + type: array + description: A list of policy tags. + items: + type: string + description: A list of policy tags. + trigger: + $ref: '#/components/schemas/Trigger' + typeConfigurations: + type: array + description: List of configurations that contains the list of actions to + run and the mode (automatic or manual) in which the policy is run. + items: + $ref: '#/components/schemas/TypeConfiguration' + required: + - id + - name + - trigger + - typeConfigurations + PolicyRunnable: + type: object + description: Runnable associated with the policy. It can be a `workflow` or + `action`. Currently only supports `action`. + properties: + id: + type: string + description: Action identifier. + runConfiguration: + $ref: '#/components/schemas/RunConfiguration' + type: + type: string + description: Type of runnable. Supported value is `action`. + enum: + - action + - workflow + required: + - id + - runConfiguration + - type + PolicyScheduling: + type: object + description: Scheduling information for a scheduled policy. + properties: + recurrentRule: + type: string + description: 'Recurrent Rule defines how the policy recurs, using iCalendar + RRULE format (e.g., `FREQ=DAILY;INTERVAL=1`).It supports fields like FREQ, + INTERVAL, BYDAY. Refer to RFC 5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10' + startTime: + type: string + format: date-time + description: The time to run the policy action in milliseconds since epoch + (UTC) (e.g., `1706713140000`). + required: + - startTime + PostSnapshotsResult: + type: object + properties: + items: + type: array + description: Detail information for requested snapshots. + items: + $ref: '#/components/schemas/SnapshotItem' + notFoundSnapshotsIds: + type: array + description: Snapshot ids for snapshots that could not be retrieved. + items: + type: string + description: Snapshot ids for snapshots that could not be retrieved. + Problem: + type: object + properties: + fixSuggestion: + type: string + maxLength: 65536 + minLength: 0 + id: + type: string + maxLength: 64 + minLength: 0 + problemText: + type: string + maxLength: 2048 + minLength: 0 + severity: + type: integer + format: int32 + required: + - id + PrometheusWebhookIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + receiver: + type: string + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + RecurrentMaintenanceWindow: + type: object + allOf: + - $ref: '#/components/schemas/MaintenanceConfigScheduling' + - type: object + properties: + rrule: + type: string + timezoneId: + type: string + required: + - duration + - rrule + - start + - type + Release: + type: object + properties: + applications: + type: array + description: The list of application perspectives where the release can + be viewed. + items: + $ref: '#/components/schemas/ApplicationScope' + maxItems: 10 + minItems: 0 + name: + type: string + description: 'The name of the release. For example: `frontend/release-2000`.' + maxLength: 256 + minLength: 0 + services: + type: array + description: The list of services where the release can be viewed. + items: + $ref: '#/components/schemas/ServiceScope' + maxItems: 10 + minItems: 0 + start: + type: integer + format: int64 + description: 'The timestamp for when the release is created. The time measured + is in milliseconds. For example: `1742349976000` is `Wednesday, 19 March + 2025 02:06:16 GMT`.' + minimum: 1 + required: + - name + - start + ReleaseScope: + type: object + properties: + applicationId: + type: string + applicationName: + type: string + serviceId: + type: string + serviceName: + type: string + ReleaseWithMetadata: + type: object + properties: + applications: + type: array + description: The list of application perspectives where the release can + be viewed. + items: + $ref: '#/components/schemas/ApplicationScopeWithMetadata' + maxItems: 10 + minItems: 0 + id: + type: string + description: 'A unique id for a release. For example: `l1wgr3DsQkGLf8u18JiGsg`.' + maxLength: 64 + minLength: 0 + lastUpdated: + type: integer + format: int64 + description: 'The timestamp for when the same release is updated. The time + measured is in milliseconds. For example: `1742369990000` is `Wednesday, + 19 March 2025 07:39:50 GMT`.' + minimum: 1 + name: + type: string + description: 'The name of the release. For example: `frontend/release-2000`.' + maxLength: 256 + minLength: 0 + scopes: + type: array + items: + $ref: '#/components/schemas/ReleaseScope' + writeOnly: true + services: + type: array + description: The list of services where the release can be viewed. + items: + $ref: '#/components/schemas/ServiceScopeWithMetadata' + maxItems: 10 + minItems: 0 + start: + type: integer + format: int64 + description: 'The timestamp for when the release is created. The time measured + is in milliseconds. For example: `1742349976000` is `Wednesday, 19 March + 2025 02:06:16 GMT`.' + minimum: 1 + required: + - id + - name + RetentionPeriod: + type: object + properties: + logVolume: + type: integer + format: int64 + logVolumeGroups: + type: array + items: + $ref: '#/components/schemas/LogVolumeGroup' + retentionDays: + type: integer + format: int32 + maximum: 90 + minimum: 7 + required: + - logVolume + RollingTimeWindow: + type: object + allOf: + - $ref: '#/components/schemas/TimeWindow' + required: + - duration + - durationUnit + RuleInput: + type: object + description: List of input rules of the Built-in Event Specification + properties: + inputKind: + type: string + enum: + - METRIC + - SNAPSHOT_FIELD + - EVENT + - DERIVED_METRIC + - METRIC_PATTERN + inputName: + type: string + maxLength: 256 + minLength: 0 + required: + - inputKind + - inputName + RuleWithThresholdApplicationAlertRule: + type: object + description: A list of rules where each rule is associated with multiple thresholds + and their corresponding severity levels. This enables more complex alert configurations + with validations to ensure consistent and logical threshold-severity combinations. + properties: + rule: + $ref: '#/components/schemas/ApplicationAlertRule' + thresholdOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + thresholds: + type: object + additionalProperties: + $ref: '#/components/schemas/ThresholdConfigRule' + required: + - rule + - thresholdOperator + - thresholds + RuleWithThresholdInfraAlertRule: + type: object + description: A list of rules where each rule is associated with multiple thresholds + and their corresponding severity levels. This enables more complex alert configurations + with validations to ensure consistent and logical threshold-severity combinations. + properties: + rule: + $ref: '#/components/schemas/InfraAlertRule' + thresholdOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + thresholds: + type: object + additionalProperties: + $ref: '#/components/schemas/ThresholdConfigRule' + required: + - rule + - thresholdOperator + - thresholds + RuleWithThresholdLogAlertRule: + type: object + description: A list of rules where each rule is associated with multiple thresholds + and their corresponding severity levels. This enables more complex alert configurations + with validations to ensure consistent and logical threshold-severity combinations. + properties: + rule: + $ref: '#/components/schemas/LogAlertRule' + thresholdOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + thresholds: + type: object + additionalProperties: + $ref: '#/components/schemas/ThresholdConfigRule' + required: + - rule + - thresholdOperator + - thresholds + RuleWithThresholdMobileAppAlertRule: + type: object + description: A list of rules where each rule is associated with multiple thresholds + and their corresponding severity levels. This enables more complex alert configurations + with validations to ensure consistent and logical threshold-severity combinations. + properties: + rule: + $ref: '#/components/schemas/MobileAppAlertRule' + thresholdOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + thresholds: + type: object + additionalProperties: + $ref: '#/components/schemas/ThresholdConfigRule' + required: + - rule + - thresholdOperator + - thresholds + RuleWithThresholdWebsiteAlertRule: + type: object + description: A list of rules where each rule is associated with multiple thresholds + and their corresponding severity levels. This enables more complex alert configurations + with validations to ensure consistent and logical threshold-severity combinations. + properties: + rule: + $ref: '#/components/schemas/WebsiteAlertRule' + thresholdOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + thresholds: + type: object + additionalProperties: + $ref: '#/components/schemas/ThresholdConfigRule' + required: + - rule + - thresholdOperator + - thresholds + RunConfiguration: + type: object + description: Action run configuration. + properties: + actions: + type: array + description: List of action configurations. + items: + $ref: '#/components/schemas/ActionConfiguration' + required: + - actions + SLOConfigWithRBACTag: + type: object + properties: + createdDate: + type: string + format: date-time + description: Created date of Service Levels Objective Configuration + entity: + $ref: '#/components/schemas/SloEntity' + id: + type: string + description: Service Levels Objective Configuration ID + maxLength: 64 + minLength: 0 + indicator: + $ref: '#/components/schemas/ServiceLevelIndicator' + lastUpdated: + type: string + format: date-time + description: Last updated date of Service Levels Objective Configuration + name: + type: string + description: Name of the Service Levels Objective Configuration + rbacTags: + type: array + items: + $ref: '#/components/schemas/ApiTag' + uniqueItems: true + tags: + type: array + description: List of tags associated with Service Levels Objective Configuration + items: + type: string + description: List of tags associated with Service Levels Objective Configuration + target: + type: number + format: double + description: Service Levels Objective Configuration Target + exclusiveMaximum: false + exclusiveMinimum: true + maximum: 0.9999 + minimum: 0.0 + timeWindow: + $ref: '#/components/schemas/TimeWindow' + required: + - entity + - indicator + - name + - tags + - target + - timeWindow + SSLCertificateConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + acceptSelfSignedCertificate: + type: boolean + daysRemainingCheck: + type: integer + format: int32 + maximum: 365 + minimum: 1 + hostname: + type: string + maxLength: 2047 + minLength: 0 + port: + type: integer + format: int32 + validationRules: + type: array + items: + $ref: '#/components/schemas/SSLCertificateValidation' + required: + - daysRemainingCheck + - hostname + - markSyntheticCall + - syntheticType + SSLCertificateConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + acceptSelfSignedCertificate: + type: boolean + daysRemainingCheck: + type: integer + format: int32 + hostname: + type: string + port: + type: integer + format: int32 + validationRules: + $ref: '#/components/schemas/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation' + SSLCertificateValidation: + type: object + properties: + key: + type: string + operator: + type: string + enum: + - CONTAINS + - EQUALS + - GREATER_THAN + - IS + - LESS_THAN + - MATCHES + - NOT_MATCHES + value: + type: object + required: + - key + - operator + - value + SalesforceIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + bearerToken: + type: string + clientId: + type: string + clientSecret: + type: string + salesforceUrl: + type: string + required: + - clientId + - clientSecret + - id + - kind + - name + - salesforceUrl + SaturationBlueprintIndicator: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelIndicator' + - type: object + properties: + metricName: + type: string + threshold: + type: number + format: double + description: Threshold Value for the Blueprint + exclusiveMinimum: false + minimum: 0.0 + required: + - type + ScopeBinding: + type: object + properties: + scopeId: + type: string + maxLength: 64 + minLength: 0 + scopeRoleId: + type: string + maxLength: 64 + minLength: 0 + SearchFieldResult: + type: object + properties: + context: + type: string + description: Field context + enum: + - entities + - events + - applications + - services + - endpoints + - appdata_shared + - default_field + example: Entity data, trace data, even data + description: + type: string + description: Description of the keyword + fixedValues: + type: array + description: Fixed value associated to the keyword + items: + type: string + description: Fixed value associated to the keyword + keyword: + type: string + description: Retrieved keyword + termType: + type: string + description: Term type + enum: + - string + - long + - double + - bool + - key_value + - id + Service: + type: object + properties: + entityType: + type: string + description: Since, this is a Service, it will be of type `SERVICE`. + enum: + - APPLICATION + - SERVICE + - ENDPOINT + id: + type: string + description: 'Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.' + label: + type: string + description: 'Name of the Service. Eg: `payment`.' + snapshotIds: + type: array + description: A unique identifier the metrics are assigned to. + items: + type: string + description: A unique identifier the metrics are assigned to. + uniqueItems: true + technologies: + type: array + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + items: + type: string + description: 'List of technologies: `Eg:["springbootApplicationContainer"]`' + uniqueItems: true + types: + type: array + description: 'Shows types of Endpoints a Service can consist of. It may + be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.' + items: + type: string + description: 'Shows types of Endpoints a Service can consist of. It may + be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.' + enum: + - UNDEFINED + - RPC + - EVENT + - GRAPHQL + - BATCH + - SHELL + - HTTP + - SDK + - OPENTELEMETRY + - INTERNAL + - DATABASE + - MESSAGING + - PAGE + - PAGE_RESOURCE + uniqueItems: true + required: + - id + - label + - snapshotIds + - technologies + - types + ServiceConfig: + type: object + properties: + comment: + type: string + description: | + A small description of the service configuration would be present in this field if it was provided during creation of the custom service rule. + If it was not provided, this field will remain empty. It is considered as best practice to add a comment to document the reasoning behind creating the rule. + maxLength: 2048 + minLength: 0 + enabled: + type: boolean + description: If enabled, calls will be mapped to the rule. + id: + type: string + description: 'A unique string for the service configuration. Eg: `G510hmXYSDysLZ5kuj0BaQ`' + label: + type: string + description: | + It contains the tags defined in `matchSpecification` concatenated with a dash. + Eg: if the `matchSpecification` contains keys `kubernetes.namespace.name` and `docker.label`, `label` would be `kubernetes.namespace.name-docker.label`. + matchSpecification: + type: array + description: Calls will be matched with the array of key-value tags present + in this field. + items: + $ref: '#/components/schemas/ServiceMatchingRule' + maxItems: 20 + minItems: 0 + name: + type: string + description: 'The name of the service configuration. Eg: `Rule ABC`' + maxLength: 128 + minLength: 1 + required: + - enabled + - id + - label + - matchSpecification + - name + ServiceEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + applicationId: + type: string + description: ID of the application this service is in scope of. + serviceId: + type: string + description: ID of the service. + ServiceItem: + type: object + properties: + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + service: + $ref: '#/components/schemas/Service' + required: + - metrics + - service + ServiceLevelIndicator: + type: object + description: Indicator of the Service Levels Objective Configuration, it indicates + the type of metric by which the SLO should be evaluated + discriminator: + mapping: + availability: '#/components/schemas/AvailabilityBlueprintIndicator' + custom: '#/components/schemas/CustomBlueprintIndicator' + latency: '#/components/schemas/LatencyBlueprintIndicator' + saturation: '#/components/schemas/SaturationBlueprintIndicator' + traffic: '#/components/schemas/TrafficBlueprintIndicator' + propertyName: blueprint + properties: + aggregation: + type: string + description: Aggregation Type for the Threshold Value + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + blueprint: + type: string + enum: + - latency + - availability + - traffic + - saturation + - custom + operator: + type: string + description: Operator for the Threshold Value + enum: + - '>' + - '>=' + - < + - <= + serviceLevelsMeasurement: + type: string + description: Defines Measurement Type of SLO + enum: + - eventBased + - timeBased + - erroneous + - all + threshold: + type: number + format: double + description: Threshold Value for the Blueprint + type: + type: string + enum: + - eventBased + - timeBased + ServiceLevelObjectiveAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelsAlertRule' + - type: object + properties: + metric: + type: string + description: This is the service levels metric type. Service levels objective + alerts using status metric. + enum: + - STATUS + ServiceLevelsAlertConfig: + type: object + properties: + alertChannelIds: + type: array + description: This is the list of channel IDs when alert triggered and sent + to. + items: + type: string + description: This is the list of channel IDs when alert triggered and + sent to. + maxItems: 1024 + minItems: 0 + uniqueItems: true + burnRateConfig: + type: array + description: This is the burn rate alert configuration which defines alerting + windows and corresponding thresholds. This configuration must to specified + for BURN_RATE_V2 Alerts. + items: + $ref: '#/components/schemas/ServiceLevelsBurnRateConfig' + uniqueItems: true + burnRateTimeWindows: + $ref: '#/components/schemas/ServiceLevelsBurnRateTimeWindows' + customPayloadFields: + type: array + description: This is the custom name and value pairs to be sent along with + the alert to the alert channels. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: The description of the alert. It is also the alert message + content. + maxLength: 65536 + minLength: 0 + name: + type: string + description: Name of the Service Levels Smart Alerts Configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/ServiceLevelsAlertRule' + severity: + type: integer + format: int32 + description: 'This is the severity of the alert. The value can be: 5: + warning, 10: critical.' + sloIds: + type: array + description: This is the list of SLO configurations related to this alert. + items: + type: string + description: This is the list of SLO configurations related to this alert. + maxItems: 1024 + minItems: 0 + uniqueItems: true + threshold: + $ref: '#/components/schemas/StaticThreshold' + timeThreshold: + $ref: '#/components/schemas/ServiceLevelsTimeThreshold' + triggering: + type: boolean + description: Incident flag. If value is true, this alert will become an + accident. + required: + - alertChannelIds + - customPayloadFields + - description + - name + - rule + - severity + - sloIds + - timeThreshold + ServiceLevelsAlertRule: + type: object + description: This is the service levels alert type. It could be error budget + alert or service levels object alert. + discriminator: + mapping: + ERROR_BUDGET: '#/components/schemas/ErrorBudgetAlertRule' + SERVICE_LEVELS_OBJECTIVE: '#/components/schemas/ServiceLevelObjectiveAlertRule' + propertyName: alertType + properties: + alertType: + type: string + required: + - alertType + ServiceLevelsBurnRateConfig: + type: object + description: This is the burn rate alert configuration which defines alerting + windows and corresponding thresholds. This configuration must to specified + for BURN_RATE_V2 Alerts. + properties: + alertWindowType: + type: string + description: 'Specifies the Burn Rate Alerting Window type: SINGLE for single + window/threshold alerts, or LONG and SHORT for multi-window/threshold + alerts.' + enum: + - SINGLE + - LONG + - SHORT + duration: + type: integer + format: int32 + description: Duration of the Burn Rate Alerting Window. + durationUnitType: + type: string + description: Duration Unit Type of the Burn Rate Alerting Window. + enum: + - millisecond + - second + - minute + - hour + - day + - week + - month + threshold: + $ref: '#/components/schemas/ServiceLevelsStaticThresholdConfig' + required: + - duration + - durationUnitType + - threshold + ServiceLevelsBurnRateTimeWindows: + type: object + deprecated: true + description: This is the short and long time window setting for the burn rate + alerts. + properties: + longTimeWindow: + $ref: '#/components/schemas/AlertingTimeWindow' + shortTimeWindow: + $ref: '#/components/schemas/AlertingTimeWindow' + ServiceLevelsStaticThresholdConfig: + type: object + description: This threshold defines a static value to be evaluated with a specific + operator for burn rate v2 alerts. + properties: + lastUpdated: + type: integer + format: int64 + minimum: 0 + operator: + type: string + enum: + - '>' + - '>=' + - < + - <= + value: + type: number + format: double + minimum: 0 + required: + - operator + ServiceLevelsTimeThreshold: + type: object + description: This is the warm-up and cool-down setting to emit or stop alert + event after threshold reached. + properties: + expiry: + type: integer + format: int64 + description: This is the cooldown period when the active alert misses threshold + and stop emitting notification. + timeWindow: + type: integer + format: int64 + description: This is the grace period when the threshold is reached and + the alert becomes active to emit notification. + required: + - expiry + - timeWindow + ServiceLevelseAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + description: This is the list of channel IDs when alert triggered and sent + to. + items: + type: string + description: This is the list of channel IDs when alert triggered and + sent to. + maxItems: 1024 + minItems: 0 + uniqueItems: true + burnRateConfig: + type: array + description: This is the burn rate alert configuration which defines alerting + windows and corresponding thresholds. This configuration must to specified + for BURN_RATE_V2 Alerts. + items: + $ref: '#/components/schemas/ServiceLevelsBurnRateConfig' + uniqueItems: true + burnRateTimeWindows: + $ref: '#/components/schemas/ServiceLevelsBurnRateTimeWindows' + created: + type: integer + format: int64 + description: Created Date of the version of Service Levels Smart Alerts + Configuration. + minimum: 1 + customPayloadFields: + type: array + description: This is the custom name and value pairs to be sent along with + the alert to the alert channels. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: The description of the alert. It is also the alert message + content. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Boolean Parameter specifying the enabled state of Service Levels + Smart Alerts Configuration. + id: + type: string + description: Unique ID of the Service Levels Smart Alerts Configuration. + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + description: Created Date of the Initial version of Service Levels Smart + Alerts Configuration. + minimum: 1 + name: + type: string + description: Name of the Service Levels Smart Alerts Configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Boolean Parameter specifying the readonly access to Service + Levels Smart Alerts Configuration. + rule: + $ref: '#/components/schemas/ServiceLevelsAlertRule' + severity: + type: integer + format: int32 + description: 'This is the severity of the alert. The value can be: 5: + warning, 10: critical.' + sloIds: + type: array + description: This is the list of SLO configurations related to this alert. + items: + type: string + description: This is the list of SLO configurations related to this alert. + maxItems: 1024 + minItems: 0 + uniqueItems: true + threshold: + $ref: '#/components/schemas/StaticThreshold' + timeThreshold: + $ref: '#/components/schemas/ServiceLevelsTimeThreshold' + triggering: + type: boolean + description: Incident flag. If value is true, this alert will become an + accident. + required: + - alertChannelIds + - customPayloadFields + - description + - id + - name + - rule + - severity + - sloIds + - timeThreshold + ServiceMap: + type: object + properties: + connections: + type: array + description: A list which indicates which services are consumers and which + are providers in the communication chain. + items: + $ref: '#/components/schemas/ServiceMapConnection' + uniqueItems: true + services: + type: array + description: List of services in the topology. + items: + $ref: '#/components/schemas/ExtendedService' + uniqueItems: true + required: + - connections + - services + ServiceMapConnection: + type: object + description: A list which indicates which services are consumers and which are + providers in the communication chain. + properties: + calls: + type: integer + format: int64 + description: "The number of calls between the 2 services.\nEg: The number\ + \ of calls from `24558242fdeb52571cfb9fa42f1b334aa65d7e61` service to\ + \ `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa` service over the mentioned\ + \ timeframe is `200`. \n\nIf no timeframe (`to` and `windowSize` in query\ + \ paramter) is mentioned, the timeframe is taken as last hour.\n" + minimum: 0 + errorRate: + type: number + format: double + description: "The error rate of the calls between the 2 services.\nEg: The\ + \ error rate of calls from `24558242fdeb52571cfb9fa42f1b334aa65d7e61`\ + \ service to `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa` service over the\ + \ mentioned timeframe is `0.1`. \n\nThe value is between 0 and 1. \n\n\ + If no timeframe (`to` and `windowSize` in query paramter) is mentioned,\ + \ the timeframe is taken as last hour.\n" + maximum: 1 + minimum: 0 + from: + type: string + description: | + The service that initiates a request to another service. + It contains a unique service id. Eg: `24558242fdeb52571cfb9fa42f1b334aa65d7e61`. + latency: + type: number + format: double + description: "The mean latency of the calls between the 2 services.\nEg:\ + \ The mean latency of calls from `24558242fdeb52571cfb9fa42f1b334aa65d7e61`\ + \ service to `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa` service over the\ + \ mentioned timeframe is `4.46`. \n\nThe value is in milliseconds. \n\n\ + If no timeframe (`to` and `windowSize` in query paramter) is mentioned,\ + \ the timeframe is taken as last hour.\n" + minimum: 0 + to: + type: string + description: | + The service that receives the request sent by the source service. + It contains a unique service id. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`. + required: + - from + - to + ServiceMatchingRule: + type: object + description: Calls will be matched with the array of key-value tags present + in this field. + properties: + key: + type: string + description: | + In Instana UI, this is shown as `Tag`. + One can select a variety of pre-defined tags. Eg: `host.fqdn`, `container.label` etc. + value: + type: string + description: | + In Instana UI, this is known as 'key`. + Eg: if one labels Docker containers such as com.acme.service-name:myservice, to map services from this label, + the `key` aka `tag` would be `docker.label` and `value` aka `key` would be `com.acme.service-name`. + required: + - key + - value + ServiceMetricResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + items: + type: array + items: + $ref: '#/components/schemas/ServiceItem' + page: + type: integer + format: int32 + description: Page Number + minimum: 1 + pageSize: + type: integer + format: int32 + minimum: 1 + totalHits: + type: integer + format: int64 + minimum: 0 + required: + - items + ServiceNode: + type: object + properties: + endpoints: + type: object + additionalProperties: + $ref: '#/components/schemas/EndpointNode' + inclusive: + type: boolean + serviceId: + type: string + maxLength: 64 + minLength: 0 + required: + - endpoints + - serviceId + ServiceNowEnhancedIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + autoCloseIncidents: + type: boolean + enableSendInstanaNotes: + type: boolean + enableSendServiceNowActivities: + type: boolean + enableSendServiceNowWorkNotes: + type: boolean + instanaUrl: + type: string + manuallyClosedIncidents: + type: boolean + password: + type: string + resolutionOfIncident: + type: boolean + serviceNowUrl: + type: string + snowStatusOnCloseEvent: + type: integer + format: int32 + tenant: + type: string + unit: + type: string + username: + type: string + required: + - id + - kind + - name + - password + - serviceNowUrl + - tenant + - unit + - username + ServiceNowIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + autoCloseIncidents: + type: boolean + password: + type: string + serviceNowUrl: + type: string + username: + type: string + required: + - id + - kind + - name + - password + - serviceNowUrl + - username + ServiceResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/Service' + page: + type: integer + format: int32 + description: Page number you want to retrieve in a request / retrieved in + a response. + pageSize: + type: integer + format: int32 + description: number of elements retrieved in a single query. + totalHits: + type: integer + format: int32 + description: 'The number of results returned. For eg: If `items` has 5 elements, + `totalhits` will be 5' + ServiceScope: + type: object + description: The list of services where the release can be viewed. + properties: + name: + type: string + description: 'Name of the Service. Eg: `payment`.' + maxLength: 256 + minLength: 0 + scopedTo: + $ref: '#/components/schemas/ServiceScopedTo' + required: + - name + ServiceScopeWithMetadata: + type: object + description: The list of services where the release can be viewed. + properties: + id: + type: string + description: 'Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.' + name: + type: string + description: 'Name of the Service. Eg: `payment`.' + scopedTo: + $ref: '#/components/schemas/ServiceScopedToWithMetadata' + required: + - id + ServiceScopedTo: + type: object + description: 'The list of application perspectives where the service is present. ' + properties: + applications: + type: array + items: + $ref: '#/components/schemas/ApplicationScope' + maxItems: 10 + minItems: 1 + required: + - applications + ServiceScopedToWithMetadata: + type: object + description: The release marker would be present in the service but not for + other services within the Application perspective. + properties: + applications: + type: array + description: 'The list of application perspectives where the service is + present. ' + items: + $ref: '#/components/schemas/ApplicationScopeWithMetadata' + maxItems: 10 + minItems: 1 + required: + - applications + ServiceSimple: + type: object + description: The destination service. + properties: + id: + type: string + description: 'Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.' + label: + type: string + description: 'Name of the Service. Eg: `payment`.' + SessionSettings: + type: object + properties: + idleTimeInMillis: + type: integer + format: int64 + maximum: 28800000 + minimum: 600000 + tokenLifeTimeInMillis: + type: integer + format: int64 + maximum: 604800000 + minimum: 600000 + SimpleMetricConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/InfraMetricConfiguration' + - type: object + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + crossSeriesAggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int64 + description: |2 + * If granularity is not specified an aggregated value for the selected timeframe is returned. + * If granularity is specified data points are returned with the specified granularity + * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in milliseconds) + * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) + title: granularity in milliseconds + metric: + type: string + missingValue: + type: number + format: double + regex: + type: boolean + required: + type: boolean + description: When true, metric must be present with values + required: + - aggregation + - metric + SingleValue: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperand' + - type: object + properties: + value: + type: number + format: double + SlackIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + channel: + type: string + emojiRendering: + type: boolean + iconUrl: + type: string + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + SliConfiguration: + type: object + properties: + id: + type: string + description: Unique ID for each SLI + maxLength: 64 + minLength: 0 + initialEvaluationTimestamp: + type: integer + format: int64 + description: Initial evaluation timestamp in milliseconds (13-digit) + metricConfiguration: + $ref: '#/components/schemas/MetricConfiguration' + sliEntity: + $ref: '#/components/schemas/SliEntity' + sliName: + type: string + description: The name of the Service Level Indicator (SLI) specified during + its creation + maxLength: 256 + minLength: 0 + required: + - id + - sliEntity + - sliName + SliConfigurationWithLastUpdated: + type: object + properties: + id: + type: string + description: Unique ID for each SLI + maxLength: 64 + minLength: 0 + initialEvaluationTimestamp: + type: integer + format: int64 + description: Initial evaluation timestamp in milliseconds (13-digit) + lastUpdated: + type: integer + format: int64 + description: Last Updated timestamp in milliseconds (13-digit) + minimum: 1 + metricConfiguration: + $ref: '#/components/schemas/MetricConfiguration' + sliEntity: + $ref: '#/components/schemas/SliEntity' + sliName: + type: string + description: The name of the Service Level Indicator (SLI) specified during + its creation + maxLength: 256 + minLength: 0 + required: + - id + - sliEntity + - sliName + SliEntity: + type: object + description: Entity Type of the SLI Configuration + discriminator: + mapping: + application: '#/components/schemas/ApplicationSliEntity' + availability: '#/components/schemas/AvailabilitySliEntity' + websiteEventBased: '#/components/schemas/WebsiteEventBasedSliEntity' + websiteTimeBased: '#/components/schemas/WebsiteTimeBasedSliEntity' + propertyName: sliType + properties: + sliType: + type: string + required: + - sliType + SliReport: + type: object + properties: + errorBudgetRemaining: + type: integer + format: int64 + description: This is the error budget remaining compared to the total error + budget + fromTimestamp: + type: integer + format: int64 + description: from timestamp in milliseconds (13-digit) + sli: + type: number + format: double + description: 'Service Level Indicator: This indicates the actual performance + measure of the service' + slo: + type: number + format: double + description: 'Service Level Objective: This is the target value that should + be met by the SLI' + toTimestamp: + type: integer + format: int64 + description: to timestamp in milliseconds (13-digit) + totalErrorBudget: + type: integer + format: int64 + description: This is the total error budget available + violationDistribution: + type: object + additionalProperties: + type: integer + format: int32 + SloEntity: + type: object + description: Entity of the Service Levels Objective Configuration, it could + be either Application nor Website + discriminator: + mapping: + application: '#/components/schemas/ApplicationSloEntity' + infrastructure: '#/components/schemas/InfraSloEntity' + synthetic: '#/components/schemas/SyntheticSloEntity' + website: '#/components/schemas/WebsiteSloEntity' + propertyName: type + properties: + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + type: + type: string + required: + - type + SloReport: + type: object + properties: + errorAccumulationChart: + type: object + additionalProperties: + type: integer + format: int32 + description: Value of accumulated bad minutes/events of SLO configuration + in different timestamps from starting to ending point + description: Value of accumulated bad minutes/events of SLO configuration + in different timestamps from starting to ending point + errorBudgetRemainChart: + type: object + additionalProperties: + type: integer + format: int32 + description: Error Budget Remain value of SLO configuration in different + timestamps from starting to ending point + description: Error Budget Remain value of SLO configuration in different + timestamps from starting to ending point + errorBudgetRemaining: + type: integer + format: int32 + description: Latest Remaining Error Budget value of SLO Configuration + errorBudgetSpent: + type: integer + format: int32 + description: Spent Error Budget of SLO Configuration + errorBurnRate: + type: integer + format: int32 + description: Latest Burn Rate value of SLO Configuration + errorBurnRateChart: + type: object + additionalProperties: + type: integer + format: int32 + description: Budget Rate value of SLO configuration in different timestamps + from starting to ending point + description: Budget Rate value of SLO configuration in different timestamps + from starting to ending point + errorChart: + type: object + additionalProperties: + type: integer + format: int32 + description: Value indicating presence of bad minutes/events of SLO configuration + in different timestamps from starting to ending point + description: Value indicating presence of bad minutes/events of SLO configuration + in different timestamps from starting to ending point + fromTimestamp: + type: integer + format: int64 + description: Starting point of the data retrieval, specified as 13 digit + Unix Timestamp milliseconds + sli: + type: number + format: double + description: Latest Status value of SLO Configuration + slo: + type: number + format: double + description: Target status of SLO Configuration + toTimestamp: + type: integer + format: int64 + description: Ending point of the data retrieval, specified as 13 digit Unix + Timestamp milliseconds + totalErrorBudget: + type: integer + format: int32 + description: Latest Available Error Budget value of SLO Configuration + violationDistribution: + type: object + additionalProperties: + type: integer + format: int32 + description: Value indicating violation of SLO configuration in different + timestamps from starting to ending point + description: Value indicating violation of SLO configuration in different + timestamps from starting to ending point + SlownessApplicationAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationAlertRule' + required: + - aggregation + - metricName + SlownessMobileAppAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppAlertRule' + required: + - aggregation + - metricName + SlownessWebsiteAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteAlertRule' + required: + - aggregation + - metricName + SnapshotItem: + type: object + description: Detail information for requested snapshots. + properties: + data: + type: object + additionalProperties: + type: object + from: + type: integer + format: int64 + description: Start of timeframe expressed as the Unix epoch time in milliseconds + host: + type: string + description: Host name + label: + type: string + description: Friendly label for the entity + plugin: + type: string + description: Plugin name + example: host + snapshotId: + type: string + description: Snapshot ID + tags: + type: array + description: Tags which can be used to search for this entity + items: + type: string + description: Tags which can be used to search for this entity + to: + type: integer + format: int64 + description: End of timeframe expressed as the Unix epoch time in milliseconds + SnapshotPreview: + type: object + properties: + data: + type: object + additionalProperties: + type: object + description: Subset of the data section of the plugin. In most cases this + field will be null. + description: Subset of the data section of the plugin. In most cases this + field will be null. + id: + type: string + description: This is a snapshot ID. A unique identifier the metrics are + assigned to. + label: + type: string + description: Name of the entity. + plugin: + type: string + description: A short plugin ID. For example, `containerd`, `nginx` etc. + time: + type: integer + format: int64 + description: Specifies the exact point at which the id, label and plugin + are valid. + minimum: 1 + required: + - id + SnapshotResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/SnapshotItem' + SoftwareUser: + type: object + properties: + container: + type: string + host: + type: string + process: + type: string + snapshotId: + type: string + SoftwareVersion: + type: object + properties: + discoveryType: + type: string + enum: + - NATIVE_SENSOR + - REMOTE_SENSOR + - PACKAGE_MANAGER + - OTHER + metadata: + type: object + additionalProperties: + type: string + name: + type: string + plugin: + type: string + softwareType: + type: string + enum: + - DEPENDENCY + - RUNTIME + - DATABASE + - MESSAGING + - PLATFORM + - PACKAGE + - OS + - CACHE + - API_GATEWAY + - OTHER + - APPLICATION_FRAMEWORK + usedBy: + type: array + items: + $ref: '#/components/schemas/SoftwareUser' + uniqueItems: true + vendor: + type: string + version: + type: string + required: + - discoveryType + - name + - plugin + - softwareType + - usedBy + - vendor + - version + SourceMapFileBlob: + type: object + properties: + blobIndex: + type: integer + format: int32 + size: + type: integer + format: int64 + sizeOnDisk: + type: integer + format: int64 + SourceMapFileMeta: + type: object + properties: + blobs: + type: array + items: + $ref: '#/components/schemas/SourceMapFileBlob' + format: + type: string + meta: + type: string + size: + type: integer + format: int64 + sizeOnDisk: + type: integer + format: int64 + type: + type: string + enum: + - JS_MAP + - JS + - R8PG_MAP + - DWARF + url: + type: string + required: + - format + - type + - url + SourceMapUploadConfig: + type: object + properties: + createdAt: + type: string + format: date-time + description: + type: string + id: + type: string + metadata: + type: array + items: + $ref: '#/components/schemas/SourceMapFileMeta' + maxItems: 500 + minItems: 0 + modifiedAt: + type: string + format: date-time + required: + - id + - metadata + SourceMapUploadConfigs: + type: object + properties: + config: + type: array + items: + $ref: '#/components/schemas/SourceMapUploadConfig' + writeOnly: true + configs: + type: array + items: + $ref: '#/components/schemas/SourceMapUploadConfig' + maxItems: 1024 + minItems: 0 + required: + - configs + SpanExcerpt: + type: object + description: Information about the logs attached to the call, if available. + properties: + data: + type: object + additionalProperties: + type: object + description: Some information about the span, like service name, if it + is an http call, then some information about it like, path, method, + host, errors etc. + description: Some information about the span, like service name, if it is + an http call, then some information about it like, path, method, host, + errors etc. + databaseIntegrations: + type: array + items: + $ref: '#/components/schemas/DatabaseIntegration' + duration: + type: integer + format: int64 + description: The total time taken for the entire operation of a call, from + the moment the request was initiated to when the response was received. + The time measured is in milliseconds. This is also known as latency of + a call. + minimum: 0 + errorCount: + type: integer + format: int32 + description: Represents whether the span is erroneous or not. 0 is not erroneous + and 1 is erroneous. + minimum: 0 + foreignParentId: + type: string + id: + type: string + description: 'The call ID. A unique identifier for an individual call. For + example: `1bcad5c82338deaf`.' + kind: + type: string + description: | + There are 4 types of span kind: + 1. `ENTRY`: An entry span represents an incoming request into a traced service. + 2. `EXIT`: An exit span represents an outgoing request that a service makes to some other service. + 3. `INTERMEDIATE`: An intermediate span represents anything that happens inside a traced service where the flow of control neither enters nor leaves that service, but stays inside it. + 4. `UNKNOWN`: Instana can't determine the span kind. + enum: + - UNKNOWN + - ENTRY + - EXIT + - INTERMEDIATE + name: + type: string + description: The technical type of the span. For example, `node.http.client` + or `jdbc`. + parentId: + type: string + description: The parent call id, referring to another call in the same trace + which triggered the processing associated with this call. + stackTrace: + type: array + description: For an erroneous call, if stack trace is available it will + show a list of items containing file, method and line number of the code. + items: + $ref: '#/components/schemas/StackTraceItem' + start: + type: integer + format: int64 + description: The timestamp when the call or request was initiated. For example, + Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December + 2024 04:27:59.870 GMT` + minimum: 1 + required: + - data + - id + - kind + - name + - stackTrace + SpanRelation: + type: object + description: | + It shows from where the call is destined to. It includes the following information: + 1. List of Application Perspectives from which the call is destined to. + 2. Destination service and destination endpoint. + 3. Physical context from the infrastructure point of view. + properties: + applications: + type: array + items: + $ref: '#/components/schemas/Application' + uniqueItems: true + endpoint: + $ref: '#/components/schemas/Endpoint' + physicalContext: + $ref: '#/components/schemas/PhysicalContext' + service: + $ref: '#/components/schemas/Service' + required: + - applications + SpecificJsErrorsWebsiteAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteAlertRule' + - type: object + properties: + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + value: + type: string + required: + - metricName + - operator + SplunkIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + token: + type: string + url: + type: string + required: + - id + - kind + - name + - token + - url + StackTraceItem: + type: object + description: For an erroneous call, if stack trace is available it will show + a list of items containing file, method and line number of the code. + properties: + file: + type: string + description: The name of the file where the executed code resides. + line: + type: string + description: The line number within the file where the error was thrown. + method: + type: string + description: The name of the method or function being executed at the time + the stack trace item was generated. + StackTraceLine: + type: object + properties: + column: + type: integer + format: int32 + minimum: -1 + file: + type: string + line: + type: integer + format: int32 + minimum: -1 + name: + type: string + translationExplanation: + type: string + translationStatus: + type: integer + format: int32 + minimum: -1 + required: + - file + StaticBaselineThresholdRule: + type: object + allOf: + - $ref: '#/components/schemas/ThresholdConfigRule' + - type: object + properties: + baseline: + type: array + items: + type: array + items: + type: number + deviationFactor: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: false + maximum: 16.0 + minimum: 0.5 + seasonality: + type: string + enum: + - WEEKLY + - DAILY + required: + - seasonality + StaticStringField: + type: object + allOf: + - $ref: '#/components/schemas/CustomPayloadField' + - type: object + properties: + value: + type: string + description: Custom value for static type custom payload + required: + - key + - value + StaticThreshold: + type: object + allOf: + - $ref: '#/components/schemas/Threshold' + - type: object + properties: + lastUpdated: + type: integer + format: int64 + minimum: 0 + value: + type: number + format: double + minimum: 0 + description: This threshold defines a static value to be evaluated with a specific + operator. + required: + - operator + StaticThresholdRule: + type: object + allOf: + - $ref: '#/components/schemas/ThresholdConfigRule' + - type: object + properties: + value: + type: number + format: double + minimum: 0 + StatusCodeApplicationAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationAlertRule' + - type: object + properties: + statusCodeEnd: + type: integer + format: int32 + minimum: 1 + statusCodeStart: + type: integer + format: int32 + minimum: 1 + required: + - metricName + StatusCodeMobileAppAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppAlertRule' + - type: object + properties: + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + value: + type: string + required: + - metricName + - operator + - value + StatusCodeWebsiteAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteAlertRule' + - type: object + properties: + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + value: + type: string + required: + - metricName + - operator + - value + Subtraction: + type: object + allOf: + - $ref: '#/components/schemas/ArithmeticOperation' + required: + - left + - right + SyntheticAlertConfig: + type: object + properties: + alertChannelIds: + type: array + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the synthetic alert configuration. Used as a + template for the description of alert/event notifications triggered by + this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + name: + type: string + description: Name of the synthetic alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/SyntheticAlertRule' + severity: + type: integer + format: int32 + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + syntheticTestIds: + type: array + description: IDs of the synthetic tests that this Smart Alert configuration + is applied to. + items: + type: string + description: IDs of the synthetic tests that this Smart Alert configuration + is applied to. + uniqueItems: true + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeThreshold: + $ref: '#/components/schemas/SyntheticTimeThreshold' + required: + - alertChannelIds + - customPayloadFields + - description + - name + - rule + - syntheticTestIds + - tagFilterExpression + - timeThreshold + SyntheticAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the synthetic alert configuration. Used as a + template for the description of alert/event notifications triggered by + this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + id: + type: string + description: 'ID of this Synthetic Alert Config. ' + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + description: Unix timestamp representing the time of the initial revision. + minimum: 1 + name: + type: string + description: Name of the synthetic alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Flag to indicate whether or not the configuration is read-only. + Read-only access restricts modification of the config. + rule: + $ref: '#/components/schemas/SyntheticAlertRule' + severity: + type: integer + format: int32 + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + syntheticTestIds: + type: array + description: IDs of the synthetic tests that this Smart Alert configuration + is applied to. + items: + type: string + description: IDs of the synthetic tests that this Smart Alert configuration + is applied to. + uniqueItems: true + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + timeThreshold: + $ref: '#/components/schemas/SyntheticTimeThreshold' + required: + - alertChannelIds + - customPayloadFields + - description + - id + - name + - rule + - syntheticTestIds + - tagFilterExpression + - timeThreshold + SyntheticAlertRule: + type: object + description: Indicates the type of rule this alert configuration is about. + discriminator: + mapping: + failure: '#/components/schemas/FailureSyntheticAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + metricName: + type: string + required: + - alertType + - metricName + SyntheticBulkResponse: + type: object + properties: + errorMessage: + type: string + id: + type: string + status: + type: string + SyntheticCallConfig: + type: object + properties: + customRules: + type: array + description: The list of custom rules for synthetic endpoints defined by + the user. + items: + $ref: '#/components/schemas/SyntheticCallRule' + maxItems: 500 + minItems: 0 + defaultRulesEnabled: + type: boolean + description: A flag to enable/disable the default synthetic endpoint configurations + defined by Instana. + required: + - customRules + SyntheticCallRule: + type: object + description: The list of custom rules for synthetic endpoints defined by the + user. + properties: + description: + type: string + description: A description of the custom rule. For example, one can mention + the reason behind having the custom rule. + maxLength: 2048 + minLength: 0 + enabled: + type: boolean + description: A flag to enable/disable the custom synthetic endpoint configurations + defined by the user. + matchSpecification: + $ref: '#/components/schemas/MatchExpressionDTO' + name: + type: string + description: The name of the custom rule for Synthetic endpoints. + maxLength: 128 + minLength: 1 + required: + - matchSpecification + - name + SyntheticCallWithDefaultsConfig: + type: object + properties: + customRules: + type: array + description: The list of custom rules for synthetic endpoints defined by + the user. + items: + $ref: '#/components/schemas/SyntheticCallRule' + maxItems: 500 + minItems: 0 + defaultRules: + type: array + items: + $ref: '#/components/schemas/SyntheticCallRule' + defaultRulesEnabled: + type: boolean + description: A flag to enable/disable the default synthetic endpoint configurations + defined by Instana. + required: + - customRules + - defaultRules + SyntheticConfiguration: + type: object + properties: + retries: + type: integer + format: int32 + maximum: 2 + minimum: 0 + retryInterval: + type: integer + format: int32 + maximum: 10 + minimum: 1 + timeout: + type: string + SyntheticConfigurationUpdate: + type: object + properties: + markSyntheticCall: + type: boolean + retries: + type: integer + format: int32 + maximum: 2 + minimum: 0 + retryInterval: + type: integer + format: int32 + maximum: 10 + minimum: 1 + timeout: + type: string + SyntheticCredential: + type: object + properties: + applicationLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + applications: + type: array + items: + type: string + createdAt: + type: integer + format: int64 + readOnly: true + createdBy: + type: string + maxLength: 128 + minLength: 0 + credentialName: + type: string + maxLength: 128 + minLength: 1 + credentialValue: + type: string + writeOnly: true + mobileAppLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + mobileApps: + type: array + items: + type: string + modifiedAt: + type: integer + format: int64 + readOnly: true + modifiedBy: + type: string + maxLength: 128 + minLength: 0 + rbacTags: + type: array + items: + $ref: '#/components/schemas/ApiTag' + uniqueItems: true + websiteLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + websites: + type: array + items: + type: string + required: + - credentialName + - credentialValue + SyntheticDatacenter: + type: object + properties: + cityName: + type: string + code: + type: string + maxLength: 128 + minLength: 1 + configuration: + $ref: '#/components/schemas/SyntheticDatacenterConfiguration' + countryName: + type: string + datacenterId: + type: string + expectedActiveAt: + type: integer + format: int64 + label: + type: string + maxLength: 128 + minLength: 1 + latitude: + type: number + format: double + locationLabel: + type: string + longitude: + type: number + format: double + modifiedAt: + type: integer + format: int64 + provider: + type: string + maxLength: 128 + minLength: 1 + status: + type: string + required: + - cityName + - code + - countryName + - label + - provider + SyntheticDatacenterConfiguration: + type: object + properties: + ipAddresses: + type: array + items: + type: string + SyntheticGeoPoint: + type: object + properties: + cityName: + type: string + countryName: + type: string + latitude: + type: number + format: double + longitude: + type: number + format: double + required: + - cityName + - countryName + - latitude + - longitude + SyntheticLocation: + type: object + properties: + configuration: + $ref: '#/components/schemas/SyntheticLocationConfiguration' + createdAt: + type: integer + format: int64 + customProperties: + type: object + additionalProperties: + type: string + description: + type: string + maxLength: 512 + minLength: 0 + displayLabel: + type: string + maxLength: 128 + minLength: 1 + geoPoint: + $ref: '#/components/schemas/SyntheticGeoPoint' + id: + type: string + maxLength: 128 + minLength: 0 + label: + type: string + maxLength: 128 + minLength: 1 + locationType: + type: string + modifiedAt: + type: integer + format: int64 + observedAt: + type: integer + format: int64 + playbackCapabilities: + $ref: '#/components/schemas/SyntheticPlaybackCapabilities' + popVersion: + type: string + maxLength: 64 + minLength: 1 + status: + type: string + totalTests: + type: integer + format: int32 + required: + - geoPoint + - label + - locationType + - playbackCapabilities + SyntheticLocationConfiguration: + type: object + properties: + clusterName: + type: string + namespace: + type: string + tenantType: + type: string + enum: + - Multi + - Single + SyntheticMetricConfiguration: + type: object + properties: + aggregation: + type: string + description: 'Set aggregation that can be applied to a series of values. + Eg: `MEAN`.' + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int32 + description: 'If the granularity is set you will get data points with the + specified granularity in seconds. Default: `1000` milliseconds' + metric: + type: string + description: 'Set a particular metric, eg: `latency`.' + required: + - aggregation + - metric + SyntheticMetricTagGroup: + type: object + description: ' Grouping of data under `groupbyTag`, where `groupbyTagEntity` + and `groupbyTagSecondLevelKey` are aspects of `groupbyTag`.' + properties: + direction: + type: string + enum: + - ASC + - DESC + groupbyTag: + type: string + description: The name of the group tag (e.g. `agent.tag` or `docker.label`). + maxLength: 256 + minLength: 0 + groupbyTagEntity: + type: string + description: | + The entity by which the data should be grouped. + This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. + `SOURCE`: the tag filter should apply to the source entity. + `DESTINATION`: the tag filter should apply to the destination entity. + `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + groupbyTagSecondLevelKey: + type: string + description: If present, it's the 2nd level key part (e.g. `customKey` on + `docker.label.customKey`) + maxLength: 256 + minLength: 0 + includeOthers: + type: boolean + maxResults: + type: integer + format: int32 + maximum: 50 + minimum: 1 + required: + - direction + - groupbyTag + - groupbyTagEntity + SyntheticPlaybackCapabilities: + type: object + properties: + browserType: + type: array + items: + type: string + enum: + - chrome + - firefox + executionType: + type: array + items: + type: string + enum: + - CI/CD + syntheticType: + type: array + items: + type: string + required: + - browserType + - syntheticType + SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue: + type: object + properties: + add: + type: array + items: + $ref: '#/components/schemas/DNSFilterTargetValue' + remove: + type: array + items: + $ref: '#/components/schemas/DNSFilterTargetValue' + SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation: + type: object + properties: + add: + type: array + items: + $ref: '#/components/schemas/SSLCertificateValidation' + remove: + type: array + items: + $ref: '#/components/schemas/SSLCertificateValidation' + SyntheticResourceUpdateListStringListString: + type: object + properties: + add: + type: array + items: + type: string + remove: + type: array + items: + type: string + SyntheticResourceUpdateMapStringStringListString: + type: object + properties: + add: + type: object + additionalProperties: + type: string + remove: + type: array + items: + type: string + SyntheticSloEntity: + type: object + allOf: + - $ref: '#/components/schemas/SloEntity' + - type: object + properties: + includeUnscheduledTestResults: + type: boolean + description: 'Only includes the scheduled test results. ' + syntheticTestIds: + type: array + description: 'List of Unique Synthetic Tests IDs ' + items: + type: string + description: 'List of Unique Synthetic Tests IDs ' + uniqueItems: true + required: + - syntheticTestIds + SyntheticTest: + type: object + properties: + active: + type: boolean + applicationId: + type: string + maxLength: 512 + minLength: 0 + applicationLabel: + type: string + maxLength: 512 + minLength: 0 + readOnly: true + applicationLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + applications: + type: array + items: + type: string + configuration: + $ref: '#/components/schemas/SyntheticTypeConfiguration' + createdAt: + type: integer + format: int64 + readOnly: true + createdBy: + type: string + maxLength: 128 + minLength: 0 + customProperties: + type: object + additionalProperties: + type: string + description: + type: string + maxLength: 512 + minLength: 0 + id: + type: string + maxLength: 128 + minLength: 1 + label: + type: string + maxLength: 128 + minLength: 1 + locationDisplayLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + locationLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + locations: + type: array + items: + type: string + mobileAppLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + mobileApps: + type: array + items: + type: string + modifiedAt: + type: integer + format: int64 + modifiedBy: + type: string + maxLength: 128 + minLength: 0 + playbackMode: + type: string + enum: + - Simultaneous + - Staggered + rbacTags: + type: array + items: + $ref: '#/components/schemas/ApiTag' + uniqueItems: true + tenantId: + type: string + testFrequency: + type: integer + format: int32 + maximum: 1440 + minimum: 1 + websiteLabels: + type: array + items: + type: string + readOnly: true + readOnly: true + websites: + type: array + items: + type: string + required: + - active + - configuration + - label + - locations + - testFrequency + SyntheticTestCICD: + type: object + properties: + customization: + $ref: '#/components/schemas/SyntheticTestCICDCustomization' + runType: + type: string + testId: + type: string + required: + - customization + - testId + SyntheticTestCICDCustomization: + type: object + properties: + configuration: + $ref: '#/components/schemas/SyntheticConfiguration' + customProperties: + type: object + additionalProperties: + type: string + locations: + type: array + items: + type: string + required: + - configuration + SyntheticTestCICDItem: + type: object + properties: + applications: + type: array + items: + type: string + completed: + type: boolean + customization: + $ref: '#/components/schemas/SyntheticTestCICDCustomization' + locationId: + type: string + locationLabel: + type: string + mobileApps: + type: array + items: + type: string + runType: + type: string + testId: + type: string + testLabel: + type: string + testResultId: + type: string + testType: + type: string + websites: + type: array + items: + type: string + required: + - completed + - customization + - locationId + - locationLabel + - testId + - testLabel + - testResultId + - testType + SyntheticTestCICDResponse: + type: object + properties: + locationId: + type: string + testId: + type: string + testResultId: + type: string + required: + - locationId + - testId + - testResultId + SyntheticTestDeepUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTestUpdate' + - type: object + properties: + configuration: + $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + required: + - syntheticUpdateType + SyntheticTestShallowUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTestUpdate' + - type: object + properties: + configuration: + $ref: '#/components/schemas/SyntheticConfigurationUpdate' + required: + - syntheticUpdateType + SyntheticTestUpdate: + type: object + description: Identifies the type of the synthetic tests updated on this request. + Valid types are Deep and Shallow. + discriminator: + mapping: + Deep: '#/components/schemas/SyntheticTestDeepUpdate' + Shallow: '#/components/schemas/SyntheticTestShallowUpdate' + propertyName: syntheticUpdateType + properties: + active: + type: boolean + applications: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + customProperties: + $ref: '#/components/schemas/SyntheticResourceUpdateMapStringStringListString' + ids: + type: array + items: + type: string + lastModifiedAt: + type: array + items: + type: integer + format: int64 + locations: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + mobileApps: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + modifiedBy: + type: string + shallowUpdate: + type: boolean + syntheticUpdateType: + type: string + description: | + Indicates the type of update to apply to a set of tests of same syntheticType (Deep) + or a mix of syntheticType values (Shallow). When Shallow is used, only the configuration properties + retries, retryInterval and timeout can be updated + enum: + - Deep + - Shallow + testFrequency: + type: integer + format: int32 + maximum: 1440 + minimum: 1 + websites: + $ref: '#/components/schemas/SyntheticResourceUpdateListStringListString' + required: + - syntheticUpdateType + SyntheticTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + violationsInSequence: '#/components/schemas/ViolationsInSequenceSyntheticTimeThreshold' + propertyName: type + properties: + type: + type: string + violationsCount: + type: integer + format: int32 + maximum: 12 + minimum: 1 + required: + - type + SyntheticTypeConfiguration: + type: object + description: |- + Synthetic test configuration that is unique to a synthetic type. Valid types are BrowserScript, + DNS, HTTPAction, HTTPScript, SSLCertificate, WebpageAction, and WebpageScript. + discriminator: + mapping: + BrowserScript: '#/components/schemas/BrowserScriptConfiguration' + DNS: '#/components/schemas/DNSConfiguration' + HTTPAction: '#/components/schemas/HttpActionConfiguration' + HTTPScript: '#/components/schemas/HttpScriptConfiguration' + NotConfigured: '#/components/schemas/EmptyConfiguration' + SSLCertificate: '#/components/schemas/SSLCertificateConfiguration' + WebpageAction: '#/components/schemas/WebpageActionConfiguration' + WebpageScript: '#/components/schemas/WebpageScriptConfiguration' + propertyName: syntheticType + properties: + markSyntheticCall: + type: boolean + retries: + type: integer + format: int32 + maximum: 2 + minimum: 0 + retryInterval: + type: integer + format: int32 + maximum: 10 + minimum: 1 + syntheticType: + type: string + enum: + - BrowserScript + - DNS + - HTTPAction + - HTTPScript + - SSLCertificate + - WebpageAction + - WebpageScript + - NotConfigured + timeout: + type: string + required: + - markSyntheticCall + - syntheticType + SyntheticTypeConfigurationUpdate: + type: object + description: |- + Synthetic test configuration that is unique to a synthetic type. Valid types are BrowserScript, + DNS, HTTPAction, HTTPScript, SSLCertificate, WebpageAction, and WebpageScript. + discriminator: + mapping: + BrowserScript: '#/components/schemas/BrowserScriptConfigurationUpdate' + DNS: '#/components/schemas/DNSConfigurationUpdate' + HTTPAction: '#/components/schemas/HttpActionConfigurationUpdate' + HTTPScript: '#/components/schemas/HttpScriptConfigurationUpdate' + SSLCertificate: '#/components/schemas/SSLCertificateConfigurationUpdate' + WebpageAction: '#/components/schemas/WebpageActionConfigurationUpdate' + WebpageScript: '#/components/schemas/WebpageScriptConfigurationUpdate' + propertyName: syntheticType + properties: + markSyntheticCall: + type: boolean + retries: + type: integer + format: int32 + maximum: 2 + minimum: 0 + retryInterval: + type: integer + format: int32 + maximum: 10 + minimum: 1 + syntheticTest: + type: string + enum: + - BrowserScript + - DNS + - HTTPAction + - HTTPScript + - SSLCertificate + - WebpageAction + - WebpageScript + - NotConfigured + writeOnly: true + syntheticType: + type: string + enum: + - BrowserScript + - DNS + - HTTPAction + - HTTPScript + - SSLCertificate + - WebpageAction + - WebpageScript + - NotConfigured + timeout: + type: string + SyntheticsEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + locationIds: + type: array + description: IDs of the locations. + items: + type: string + description: IDs of the locations. + syntheticTestId: + type: string + description: ID of the synthetic test. + SystemRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + systemRuleId: + type: string + required: + - systemRuleId + SystemRuleLabel: + type: object + properties: + id: + type: string + name: + type: string + required: + - id + - name + Tag: + type: object + description: | + List of queryable tags available in a tagTree. Eg: `call.erroneous`. + Consider these tags as attributes of a tagTree. Eg: `Call` tagTree has have `Erroneous`, `Call name`, `Latency` etc as attributes. + properties: + aliases: + type: array + description: | + List of other names that can refer to this tag + items: + type: string + description: | + List of other names that can refer to this tag + uniqueItems: true + availability: + type: array + description: | + List of product areas this tag is available in + items: + type: string + description: | + List of product areas this tag is available in + enum: + - INFRASTRUCTURE_METRICS + - APPLICATION + - WEBSITE + - MOBILE_APP + - EUM + - EUM_IMPACTED_BEACON + - EVENT + - SLI + - SLO + - SLO_PREVIEW + - USAGE + - LOG + - SYNTHETICS + - SYNTHETICS_DETAIL + - APDEX + - BIZOPS + - BUSINESS_METRICS + - SUBTRACE + - UNKNOWN + uniqueItems: true + canApplyToDestination: + type: boolean + description: | + Whether the tag is available for destination or not. + If source and destination is false, it means the tag is independent of source and destination. Eg: of such tag is `call.http.path`. + canApplyToSource: + type: boolean + description: | + Whether the tag is available for source or not. + If source and destination is false, it means the tag is independent of source and destination. Eg: of such tag is `call.http.path`. + description: + type: string + description: The description of the tag if it is provided. + idTag: + type: boolean + description: | + Whether the Tag is a unique ID or not. + Eg: `idTag` for `endpoint.id` is true but for `call.rpc.method` it is false. + label: + type: string + description: 'The name of the tag which is seen in the UI. Eg: `Call name`' + maxLength: 256 + minLength: 0 + name: + type: string + description: 'The name of the tag. Eg: `call.name`' + type: + type: string + description: 'The data type of the tag. Eg: `call.name` accepts `STRING` + value.' + enum: + - BOOLEAN + - STRING + - NUMBER + - STRING_SET + - STRING_LIST + - KEY_VALUE_PAIR + - FLOAT_LIST + - KEY_NUMBER_PAIR + required: + - name + - type + TagCatalog: + type: object + properties: + tagTree: + type: array + description: | + The name of the tag dataset (tagTree) which can contain one or more tags as its attributes or children. Eg: `Call`. + Consider this as the root of the tree where it has tags as attributes or children. + items: + $ref: '#/components/schemas/TagTreeLevel' + tags: + type: array + description: | + List of queryable tags available in a tagTree. Eg: `call.erroneous`. + Consider these tags as attributes of a tagTree. Eg: `Call` tagTree has have `Erroneous`, `Call name`, `Latency` etc as attributes. + items: + $ref: '#/components/schemas/Tag' + required: + - tagTree + - tags + TagFilter: + type: object + allOf: + - $ref: '#/components/schemas/TagFilterExpressionElement' + - type: object + properties: + entity: + type: string + description: SOURCE or DESTINATION tag in case of a call tag. For Infrastructure, + always set to NOT_APPLICABLE. + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + key: + type: string + description: Tag key in case of a key/value tag. + maxLength: 512 + minLength: 0 + name: + type: string + description: Name of the tag. + maxLength: 128 + minLength: 0 + operator: + type: string + enum: + - EQUALS + - CONTAINS + - LESS_THAN + - LESS_OR_EQUAL_THAN + - GREATER_THAN + - GREATER_OR_EQUAL_THAN + - NOT_EMPTY + - NOT_EQUAL + - NOT_CONTAIN + - IS_EMPTY + - NOT_BLANK + - IS_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - REGEX_MATCH + value: + type: object + description: Tag value to filter on. Can be a string, number, or boolean + value. + required: + - entity + - name + - operator + TagFilterExpression: + type: object + allOf: + - $ref: '#/components/schemas/TagFilterExpressionElement' + - type: object + properties: + elements: + type: array + items: + $ref: '#/components/schemas/TagFilterExpressionElement' + logicalOperator: + type: string + description: Set AND / OR + enum: + - AND + - OR + required: + - elements + - logicalOperator + TagFilterExpressionElement: + type: object + description: Boolean expression of tag filters to define the scope of relevant + calls. + discriminator: + mapping: + EXPRESSION: '#/components/schemas/TagFilterExpression' + TAG_FILTER: '#/components/schemas/TagFilter' + propertyName: type + properties: + type: + type: string + required: + - type + TagMatcherDTO: + type: object + allOf: + - $ref: '#/components/schemas/MatchExpressionDTO' + - type: object + properties: + entity: + type: string + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + key: + type: string + operator: + type: string + enum: + - EQUALS + - NOT_EQUAL + - CONTAINS + - NOT_CONTAIN + - IS_EMPTY + - NOT_EMPTY + - IS_BLANK + - NOT_BLANK + - STARTS_WITH + - ENDS_WITH + - NOT_STARTS_WITH + - NOT_ENDS_WITH + - GREATER_OR_EQUAL_THAN + - LESS_OR_EQUAL_THAN + - LESS_THAN + - GREATER_THAN + value: + type: string + required: + - entity + - key + - operator + TagTreeLevel: + type: object + description: | + The name of the tag dataset (tagTree) which can contain one or more tags as its attributes or children. Eg: `Call`. + Consider this as the root of the tree where it has tags as attributes or children. + properties: + children: + type: array + description: Children tags of tagTree + items: + $ref: '#/components/schemas/TagTreeNode' + description: + type: string + description: The description provided, if any. + maxLength: 512 + minLength: 0 + icon: + type: string + description: | + Each tag has an Icon which can be seen on the drop down list in Unbounded Analytics. + If there is an icon, there will be a string associated with it. + Eg: For for all `TAG` under `Call` tagTreeNode, the `icon` value is `lib_application_call`. + maxLength: 128 + minLength: 0 + label: + type: string + description: 'The name of the tagTreeNode. Eg: `Commonly Used`, `Application`.' + maxLength: 128 + minLength: 0 + queryable: + type: boolean + scoreBoost: + type: integer + format: int32 + description: | + By default it is `null` if it is not set explictily by IBM Instana. + The purpose of this parameter is to rank the tagTree. For eg: some set of tags are frequently used. + Tags under `Commonly used` is frequently used, so it will come up on top of the drop down list of `Query Builder` in `Unbounded Analytics`. + Higher the scoreBoost, higher the ranking. + type: + type: string + description: Type would be either `LEVEL` or `TAG` depending on whether + the tag has any child tags or not respectively. + required: + - children + - label + TagTreeNode: + type: object + description: Children tags of tagTree + discriminator: + mapping: + LEVEL: '#/components/schemas/TagTreeLevel' + TAG: '#/components/schemas/TagTreeTag' + propertyName: type + properties: + icon: + type: string + label: + type: string + type: + type: string + description: Type would be either `LEVEL` or `TAG` depending on whether + the tag has any child tags or not respectively. + TagTreeTag: + type: object + allOf: + - $ref: '#/components/schemas/TagTreeNode' + - type: object + properties: + description: + type: string + maxLength: 512 + minLength: 0 + hidden: + type: boolean + description: If true, the tag will not be available for query in Unbounded + Analytics. + icon: + type: string + maxLength: 128 + minLength: 0 + label: + type: string + description: 'The name of the tagTreeNode. Eg: `Call Error Message`, `Endpoint + Name`.' + maxLength: 128 + minLength: 0 + queryable: + type: boolean + description: | + queryable property can have 3 states which will be reflected in the drop down list in `Query Builder` of `Unbounded Analytics` of Instana UI: + - true: the tag has been seen by IBM Instana and must be shown. + - false: the tag could have been processed, but has not been seen by IBM Instana and could be hidden. + - null: the tag has not been processed and should be shown. + The purpose is to make it easier for customers to find the right tags in drop down list + scoreBoost: + type: integer + format: int32 + description: | + By default it is `null` if it is not set explictily by IBM Instana. + The purpose of this parameter is to rank the Tag. For eg: tags are frequently used within the tagTree + For eg, assume there are 8 tags under `Commonly Used`. IBM Instana can set the ranking for each of these tags within `Commonly Used`. + Higher the scoreBoost, higher the ranking. + tagName: + type: string + maxLength: 128 + minLength: 0 + required: + - label + - tagName + TestCommonProperties: + type: object + properties: + active: + type: boolean + applicationId: + type: string + applicationIds: + type: array + items: + type: string + applicationLabel: + type: string + applicationLabels: + type: array + items: + type: string + createdAt: + type: integer + format: int64 + frequency: + type: integer + format: int32 + getWebsiteLabels: + type: array + items: + type: string + id: + type: string + label: + type: string + locationDisplayLabels: + type: array + items: + type: string + locationIds: + type: array + items: + type: string + locationLabels: + type: array + items: + type: string + locationStatusList: + type: array + items: + $ref: '#/components/schemas/LocationStatus' + mobileApplicationIds: + type: array + items: + type: string + mobileApplicationLabels: + type: array + items: + type: string + modifiedAt: + type: integer + format: int64 + serviceId: + type: string + type: + type: string + websiteIds: + type: array + items: + type: string + websiteLabels: + type: array + items: + type: string + writeOnly: true + required: + - active + - frequency + - id + - label + - type + TestLastError: + type: object + properties: + errors: + type: array + items: + type: string + startTime: + type: integer + format: int64 + TestResult: + type: object + properties: + testResult: + type: array + items: + $ref: '#/components/schemas/TestResultItem' + testResultItems: + type: array + items: + $ref: '#/components/schemas/TestResultItem' + writeOnly: true + TestResultCommonProperties: + type: object + properties: + clientId: + type: string + customTags: + type: object + additionalProperties: + type: string + dnsQueryType: + type: string + dnsServerName: + type: string + errors: + type: array + items: + type: string + id: + type: string + ismDetails: + type: object + additionalProperties: + type: string + lastErrors: + $ref: '#/components/schemas/TestLastError' + locationDisplayLabel: + type: string + locationId: + type: string + runType: + type: string + sslDaysRemaining: + type: string + testCommonProperties: + $ref: '#/components/schemas/TestCommonProperties' + testId: + type: string + testLastError: + $ref: '#/components/schemas/TestLastError' + testName: + type: string + required: + - clientId + - testId + TestResultDetailData: + type: object + properties: + har: + type: object + additionalProperties: + type: object + imageFiles: + type: object + additionalProperties: + type: array + items: + type: string + format: byte + logFiles: + type: object + additionalProperties: + type: string + logs: + type: string + subtransactionAvgMetrics: + type: object + additionalProperties: + type: object + subtransactions: + type: array + items: + $ref: '#/components/schemas/TestResultSubtransaction' + testId: + type: string + testResultId: + type: string + videos: + type: array + items: + type: string + format: byte + TestResultItem: + type: object + properties: + applicationId: + type: string + applicationIds: + type: array + items: + type: string + customTags: + type: object + additionalProperties: + type: string + locationId: + type: array + items: + type: string + metrics: + type: array + items: + type: object + additionalProperties: + type: object + mobileApplicationIds: + type: array + items: + type: string + serviceId: + type: string + testId: + type: string + testName: + type: string + websiteIds: + type: array + items: + type: string + required: + - testId + TestResultListItem: + type: object + properties: + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + testResultCommonProperties: + $ref: '#/components/schemas/TestResultCommonProperties' + required: + - metrics + - testResultCommonProperties + TestResultListResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/TestResultListItem' + page: + type: integer + format: int32 + description: Page Number + minimum: 1 + pageSize: + type: integer + format: int32 + minimum: 1 + totalHits: + type: integer + format: int64 + minimum: 0 + required: + - items + TestResultMetadata: + type: object + properties: + metadata: + type: object + additionalProperties: + type: object + startTime: + type: integer + format: int64 + testId: + type: string + testResultId: + type: string + required: + - testId + TestResultSubtransaction: + type: object + properties: + metrics: + type: object + additionalProperties: + type: object + properties: + type: object + additionalProperties: + type: object + required: + - metrics + - properties + Threshold: + type: object + deprecated: true + description: Indicates the type of threshold this alert rule is evaluated on. + discriminator: + mapping: + adaptiveBaseline: '#/components/schemas/AdaptiveBaseline' + historicBaseline: '#/components/schemas/HistoricBaseline' + staticThreshold: '#/components/schemas/StaticThreshold' + propertyName: type + properties: + operator: + type: string + enum: + - '>' + - '>=' + - < + - <= + type: + type: string + required: + - operator + - type + ThresholdConfigRule: + type: object + discriminator: + mapping: + adaptiveBaseline: '#/components/schemas/AdaptiveThresholdRule' + historicBaseline: '#/components/schemas/StaticBaselineThresholdRule' + staticThreshold: '#/components/schemas/StaticThresholdRule' + propertyName: type + properties: + type: + type: string + required: + - type + ThresholdRule: + type: object + allOf: + - $ref: '#/components/schemas/AbstractRule' + - type: object + properties: + aggregation: + type: string + enum: + - sum + - avg + - min + - max + - absolute_diff + - relative_diff + conditionOperator: + type: string + enum: + - '>' + - '>=' + - < + - <= + - = + - '!=' + conditionValue: + type: number + format: double + metricName: + type: string + maxLength: 512 + minLength: 0 + metricPattern: + $ref: '#/components/schemas/MetricPattern' + rollup: + type: integer + format: int64 + window: + type: integer + format: int64 + required: + - conditionOperator + ThroughputApplicationAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationAlertRule' + required: + - metricName + ThroughputMobileAppAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppAlertRule' + required: + - metricName + ThroughputWebsiteAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteAlertRule' + required: + - metricName + TimeFrame: + type: object + description: Time range for which the data should be retrieved. + properties: + to: + type: integer + format: int64 + description: 'end of timeframe expressed as the Unix epoch time in milliseconds. + Eg: `ISO 8601` standard time `2024-06-27T05:05:55.615Z` can be represented + as `1719464755615` in Unix epoch time in milliseconds.' + windowSize: + type: integer + format: int64 + description: windowSize in milliseconds + maximum: 2678400000 + minimum: 0 + TimeWindow: + type: object + description: Time Window type of the SLO, it could be Fixed or Rolling + discriminator: + mapping: + fixed: '#/components/schemas/FixedTimeWindow' + rolling: '#/components/schemas/RollingTimeWindow' + propertyName: type + properties: + duration: + type: integer + format: int32 + description: Duration of the Time Window + durationUnit: + type: string + description: Unit of the Time Window Duration + enum: + - millisecond + - second + - minute + - hour + - day + - week + - month + timezone: + type: string + description: Timezone string + type: + type: string + required: + - duration + - durationUnit + - type + Topology: + type: object + properties: + edges: + type: array + items: + $ref: '#/components/schemas/GraphEdge' + nodes: + type: array + items: + $ref: '#/components/schemas/GraphNode' + Trace: + type: object + description: | + 1. `service`: The service from where trace started. + 2. `endpoint`: Endpoint of the service. + properties: + duration: + type: integer + format: int64 + description: Total time taken for a trace to finish. + minimum: 0 + endpoint: + $ref: '#/components/schemas/Endpoint' + erroneous: + type: boolean + description: Flag which tells whether the trace is erroneous or not + id: + type: string + description: The trace ID. All spans of the same trace must have the same + trace ID. For example, `e93282c0d5018320`. + label: + type: string + description: Name of the trace. + service: + $ref: '#/components/schemas/Service' + startTime: + type: integer + format: int64 + description: The start time of the trace. + minimum: 1 + required: + - id + - label + TraceActivityTreeNodeDetails: + type: object + properties: + batchSelfTime: + type: integer + format: int64 + description: | + Sum of all self times in a batch of calls. + For example, if 5 calls are in a batch and its self times are : `[1,2,3,4,5]` in milliseconds, then the batch self time would be sum of the self times, + in this case, it will be 15 milliseconds. + batchSize: + type: integer + format: int32 + description: Number of calls in a batch. + minimum: 0 + destination: + $ref: '#/components/schemas/SpanRelation' + duration: + type: integer + format: int64 + description: The total time taken for the entire operation of a call, from + the moment the request was initiated to when the response was received. + The time measured is in milliseconds. This is also known as latency of + a call. + minimum: 0 + errorCount: + type: integer + format: int32 + description: Represents whether the call is erroneous or not. 0 is not erroneous + and 1 is erroneous. + minimum: 0 + id: + type: string + description: 'The call ID. A unique identifier for an individual call. For + example: `1bcad5c82338deaf`.' + isSynthetic: + type: boolean + writeOnly: true + label: + type: string + description: 'Name of the call. For example: `GET /articles/:id`.' + maxLength: 128 + minLength: 0 + logs: + type: array + description: Information about the logs attached to the call, if available. + items: + $ref: '#/components/schemas/SpanExcerpt' + uniqueItems: true + minSelfTime: + type: integer + format: int64 + description: The smallest self time in the batch. May be null to indicate + that `minSelfTime` is unknown when this node has only an exit span and + no children. The time measured is in milliseconds. + networkTime: + type: integer + format: int64 + description: The time difference between the Exit Span Time of the caller + and the Entry Span Time of the call. This value is measured in milliseconds + and may be null if network time is not applicable. + rawSpanLoadError: + type: string + description: Whether an error occurred loading raw spans from external storage. + enum: + - UNKNOWN_ERROR + - NOT_FOUND + - PERMISSION_DENIED + - NO_ERROR + source: + $ref: '#/components/schemas/SpanRelation' + spans: + type: array + description: Information about the spans from which the call is composed. + items: + $ref: '#/components/schemas/SpanExcerpt' + maxItems: 2 + minItems: 1 + uniqueItems: true + start: + type: integer + format: int64 + description: The timestamp when the call or request was initiated. For example, + Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December + 2024 04:27:59.870 GMT` + minimum: 1 + synthetic: + type: boolean + required: + - id + - label + - logs + - spans + TraceDownloadResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/GetTraceDownloadResultItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + TraceGroupsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + metrics: + type: object + additionalProperties: + type: array + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + items: + type: array + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + items: + type: number + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + description: | + Grouped metric details like `errors.mean`, `calls.sum`. + It is usually a array of key-value pair. Format of key is `metric.aggregation.granularity`, for example: `latency.p75.360`. + Format of value is `[earliest timestamp, value of key]`, for example: `[1725602720000, 0.013141001434936938]`. + name: + type: string + description: Name of the group. + timestamp: + type: integer + format: int64 + description: Earliest timestamp of the trace from the group + minimum: 0 + required: + - cursor + - metrics + - name + TraceGroupsResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/TraceGroupsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + TraceImpactApplicationTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationTimeThreshold' + - type: object + properties: + requests: + type: integer + format: int32 + minimum: 1 + TraceItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + trace: + $ref: '#/components/schemas/Trace' + required: + - cursor + - trace + TraceResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/TraceItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + TrafficBlueprintIndicator: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelIndicator' + - type: object + properties: + threshold: + type: number + format: double + description: Threshold Value for the Blueprint + exclusiveMinimum: false + minimum: 0.0 + trafficType: + type: string + enum: + - erroneous + - all + required: + - trafficType + - type + Trigger: + type: object + description: The trigger is the Instana event or Smart Alert that defines the + initial conditions that must be met for the policy to apply on the actions + in `typeConfiguration`. + properties: + description: + type: string + description: A description for the trigger. + id: + type: string + description: Trigger (Instana event or Smart Alert) identifier. + name: + type: string + description: A name of the trigger (name of Instana event or Smart Alert). + scheduling: + $ref: '#/components/schemas/PolicyScheduling' + type: + type: string + description: Instana event type, Smart Alert type, or 'schedule'. The type + must be one of the enum values. + enum: + - customEvent + - builtinEvent + - applicationSmartAlert + - globalApplicationSmartAlert + - websiteSmartAlert + - infraSmartAlert + - mobileAppSmartAlert + - syntheticsSmartAlert + - logSmartAlert + - sloSmartAlert + - schedule + required: + - type + TypeConfiguration: + type: object + description: List of configurations that contains the list of actions to run + and the mode (automatic or manual) in which the policy is run. + properties: + condition: + $ref: '#/components/schemas/Condition' + name: + type: string + description: The policy type determines how a policy is run. Value must + be one of the enum values. Value `manual` means the policy is run manually + when an event is raised. Value `automatic` means policy is run automatically + when an event is raised. + enum: + - automatic + - manual + runnable: + $ref: '#/components/schemas/PolicyRunnable' + required: + - name + - runnable + UnsupportedHttpPathSegmentMatchingRule: + type: object + allOf: + - $ref: '#/components/schemas/HttpPathSegmentMatchingRule' + - type: object + properties: + unsupportedType: + type: string + required: + - type + UpdatedBusinessPerspectiveConfig: + type: object + properties: + description: + type: string + maxLength: 300 + minLength: 0 + name: + type: string + maxLength: 100 + minLength: 0 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + UsageResult: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/UsageResultItems' + time: + type: integer + format: int64 + UsageResultItems: + type: object + properties: + name: + type: string + sims: + type: integer + format: int64 + UserBasicResult: + type: object + properties: + email: + type: string + fullName: + type: string + id: + type: string + required: + - email + - fullName + - id + UserImpactMobileAppTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppTimeThreshold' + - type: object + properties: + impactMeasurementMethod: + type: string + enum: + - AGGREGATED + - PER_WINDOW + userPercentage: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: true + maximum: 1.0 + minimum: 0.0 + users: + type: integer + format: int32 + minimum: 1 + required: + - impactMeasurementMethod + UserImpactWebsiteTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteTimeThreshold' + - type: object + properties: + impactMeasurementMethod: + type: string + enum: + - AGGREGATED + - PER_WINDOW + userPercentage: + type: number + format: double + exclusiveMaximum: false + exclusiveMinimum: true + maximum: 1.0 + minimum: 0.0 + users: + type: integer + format: int32 + minimum: 1 + required: + - impactMeasurementMethod + UserResult: + type: object + properties: + email: + type: string + fullName: + type: string + groupCount: + type: integer + format: int64 + id: + type: string + lastLoggedIn: + type: integer + format: int64 + tfaEnabled: + type: boolean + required: + - email + - fullName + - id + UsersResult: + type: object + properties: + invitations: + type: array + items: + $ref: '#/components/schemas/InvitationResult' + uniqueItems: true + users: + type: array + items: + $ref: '#/components/schemas/UserResult' + uniqueItems: true + ValidatedAlertingChannelInputInfo: + type: object + properties: + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + entityId: + type: string + description: The entity ID in case of Smart Alerts, such as for the application, + website or mobile app. + eventTypes: + type: array + description: The selected event types, if applicable. + items: + type: string + description: The selected event types, if applicable. + enum: + - incident + - critical + - warning + - change + - online + - offline + - agent_monitoring_issue + - cve_issue + - none + maxItems: 6 + minItems: 0 + uniqueItems: true + id: + type: string + description: ID of the alert configuration. + maxLength: 64 + minLength: 0 + invalid: + type: boolean + description: Flag to indicate whether the specified query is invalid. + label: + type: string + description: The name of the alert configuration. + maxLength: 256 + minLength: 0 + query: + type: string + description: The DFQ used in the alert configuration, if applicable. + maxLength: 2048 + minLength: 0 + selectedEvents: + type: integer + format: int32 + description: The number of selected events, if applicable. + type: + type: string + description: The alert type. + enum: + - Alert + - WebsiteSmartAlert + - MobileSmartAlert + - ApplicationSmartAlert + - GlobalApplicationSmartAlert + - SyntheticSmartAlert + - InfraSmartAlert + - ServiceLevelSmartAlert + - LogSmartAlert + required: + - id + - label + - type + ValidatedAlertingConfiguration: + type: object + properties: + alertChannelNames: + type: array + description: Set of Alert Channel names added in the Alert Configuration. + items: + type: string + description: Set of Alert Channel names added in the Alert Configuration. + uniqueItems: true + alertName: + type: string + description: Name of the Alert Configuration. + maxLength: 256 + minLength: 0 + applicationNames: + type: array + description: Set of Application Perspective names added in the Alert Configuration. + items: + type: string + description: Set of Application Perspective names added in the Alert Configuration. + uniqueItems: true + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/StaticStringField' + maxItems: 20 + minItems: 0 + eventFilteringConfiguration: + $ref: '#/components/schemas/EventFilteringConfiguration' + id: + type: string + description: ID of the Alert Configuration. + maxLength: 64 + minLength: 0 + includeEntityNameInLegacyAlerts: + type: boolean + description: To include the entity name in a legacy alert based on built-in/custom + events. + integrationIds: + type: array + description: List of Alert Channel IDs added in this Alert Configuration. + items: + type: string + description: List of Alert Channel IDs added in this Alert Configuration. + maxItems: 1024 + minItems: 0 + uniqueItems: true + invalid: + type: boolean + description: Flag to show whether the Alert Configuration is valid. + lastUpdated: + type: integer + format: int64 + description: Unix timestamp representing the time the configuration was + last updated. + minimum: 1 + muteUntil: + type: integer + format: int64 + description: Timer dictating how long the Alert Configuration will stay + muted. A value of `0` means the Alert Configuration is currently enabled. + Otherwise, the Alert Configuration is currently disabled (muted). + required: + - alertName + - customPayloadFields + - eventFilteringConfiguration + - id + - integrationIds + ValidatedMaintenanceConfigV2WithStateAndOccurrence: + type: object + properties: + applicationNames: + type: array + description: Name set of the Application Perspectives within the scope of + the Maintenance Window + items: + type: string + description: Name set of the Application Perspectives within the scope + of the Maintenance Window + uniqueItems: true + id: + type: string + description: ID of the Maintenance Window configuration. + maxLength: 64 + minLength: 0 + invalid: + type: boolean + description: Boolean flag that tells if the Dynamic Focus Query(DFQ) is + invalid. + lastUpdated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Maintenance Window configuration. + maxLength: 256 + minLength: 0 + occurrence: + $ref: '#/components/schemas/Occurrence' + paused: + type: boolean + description: Boolean flag to determine if the Maintenance Window configuration + is paused or still live. + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + retriggerOpenAlertsEnabled: + type: boolean + description: Boolean flag to determine if we should retrigger open alerts + to be sent out for any events that opened during this maintenance window, + and continues to remain open after the window expires + scheduling: + $ref: '#/components/schemas/MaintenanceConfigScheduling' + state: + type: string + description: 'State of the Maintenance Window, it can be: UNSCHEDULED, SCHEDULED, + ACTIVE, PAUSED, EXPIRED.' + enum: + - UNSCHEDULED + - SCHEDULED + - ACTIVE + - PAUSED + - EXPIRED + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilterExpressionEnabled: + type: boolean + description: Boolean flag to determine if the tagFilterExpression is enabled. + required: + - id + - name + - occurrence + - query + - scheduling + ValidatedMaintenanceConfigWithStatus: + type: object + properties: + id: + type: string + description: ID of the Maintenance Window Configuration. + maxLength: 64 + minLength: 0 + invalid: + type: boolean + description: Boolean flag that tells if the Dynamic Focus Query(DFQ) is + invalid. + lastUpdated: + type: integer + format: int64 + minimum: 1 + name: + type: string + description: Name of the Maintenance Window Configuration. + maxLength: 256 + minLength: 0 + query: + type: string + description: Dynamic Focus Query that determines the scope of the Maintenance + Window configuration. + maxLength: 2048 + minLength: 0 + status: + type: string + description: 'Status of the Maintenance Window Configuration. It can be + one of: UNSCHEDULED, SCHEDULED, ACTIVE, FINISHED, PAUSED.' + enum: + - UNSCHEDULED + - SCHEDULED + - ACTIVE + - FINISHED + - PAUSED + windows: + type: array + description: A set of time periods when the Maintenance Window Configuration + is active. + items: + $ref: '#/components/schemas/MaintenanceWindow' + maxItems: 1 + minItems: 0 + uniqueItems: true + required: + - id + - name + - query + - status + VictorOpsIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + apiKey: + type: string + routingKey: + type: string + required: + - apiKey + - id + - kind + - name + - routingKey + ViolationsInPeriodApplicationTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationTimeThreshold' + - type: object + properties: + violations: + type: integer + format: int32 + maximum: 12 + minimum: 1 + ViolationsInPeriodMobileAppTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppTimeThreshold' + - type: object + properties: + violations: + type: integer + format: int32 + maximum: 12 + minimum: 1 + ViolationsInPeriodWebsiteTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteTimeThreshold' + - type: object + properties: + violations: + type: integer + format: int32 + maximum: 12 + minimum: 1 + ViolationsInSequenceApplicationTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/ApplicationTimeThreshold' + ViolationsInSequenceInfraTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/InfraTimeThreshold' + ViolationsInSequenceLogTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/LogTimeThreshold' + ViolationsInSequenceMobileAppTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/MobileAppTimeThreshold' + ViolationsInSequenceSyntheticTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTimeThreshold' + ViolationsInSequenceWebsiteTimeThreshold: + type: object + allOf: + - $ref: '#/components/schemas/WebsiteTimeThreshold' + WatsonAIOpsWebhookIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + headers: + type: array + items: + type: string + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + WebexTeamsWebhookIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + webhookUrl: + type: string + required: + - id + - kind + - name + - webhookUrl + WebhookIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + headers: + type: array + items: + type: string + oauth: + $ref: '#/components/schemas/OAuthIntegration' + oauthEnabled: + type: boolean + transformationExpression: + type: string + webhookUrls: + type: array + items: + type: string + required: + - id + - kind + - name + - webhookUrls + WebpageActionConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + recordVideo: + type: boolean + url: + type: string + maxLength: 2047 + minLength: 0 + required: + - markSyntheticCall + - syntheticType + - url + WebpageActionConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + recordVideo: + type: boolean + url: + type: string + WebpageScriptConfiguration: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfiguration' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + fileName: + type: string + recordVideo: + type: boolean + script: + type: string + maxLength: 1048576 + minLength: 0 + required: + - markSyntheticCall + - script + - syntheticType + WebpageScriptConfigurationUpdate: + type: object + allOf: + - $ref: '#/components/schemas/SyntheticTypeConfigurationUpdate' + - type: object + properties: + browser: + type: string + enum: + - chrome + - firefox + fileName: + type: string + recordVideo: + type: boolean + script: + type: string + Website: + type: object + properties: + appName: + type: string + id: + type: string + name: + type: string + required: + - id + - name + WebsiteAlertConfig: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the website alert configuration. Used as a template + for the description of alert/event notifications triggered by this Smart + Alert configuration. + maxLength: 65536 + minLength: 0 + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + name: + type: string + description: Name of the website alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + rule: + $ref: '#/components/schemas/WebsiteAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdWebsiteAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + uniqueItems: true + writeOnly: true + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/WebsiteTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + websiteId: + type: string + description: ID of the website that this Smart Alert configuration is applied + to. + maxLength: 64 + minLength: 0 + required: + - customPayloadFields + - description + - granularity + - name + - tagFilterExpression + - timeThreshold + - websiteId + WebsiteAlertConfigWithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the website alert configuration. Used as a template + for the description of alert/event notifications triggered by this Smart + Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + id: + type: string + description: 'ID of this Website Alert Config. ' + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + description: Unix timestamp representing the time of the initial revision. + minimum: 1 + name: + type: string + description: Name of the website alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Flag to indicate whether or not the configuration is read-only. + Read-only access restricts modification of the config. + rule: + $ref: '#/components/schemas/WebsiteAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdWebsiteAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + tagFilters: + type: array + items: + $ref: '#/components/schemas/TagFilter' + uniqueItems: true + writeOnly: true + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/WebsiteTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + websiteId: + type: string + description: ID of the website that this Smart Alert configuration is applied + to. + maxLength: 64 + minLength: 0 + required: + - customPayloadFields + - description + - granularity + - id + - name + - tagFilterExpression + - timeThreshold + - websiteId + WebsiteAlertRule: + type: object + discriminator: + mapping: + customEvent: '#/components/schemas/CustomEventWebsiteAlertRule' + slowness: '#/components/schemas/SlownessWebsiteAlertRule' + specificJsError: '#/components/schemas/SpecificJsErrorsWebsiteAlertRule' + statusCode: '#/components/schemas/StatusCodeWebsiteAlertRule' + throughput: '#/components/schemas/ThroughputWebsiteAlertRule' + propertyName: alertType + properties: + aggregation: + type: string + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + alertType: + type: string + metricName: + type: string + required: + - alertType + - metricName + WebsiteApdexEntity: + type: object + allOf: + - $ref: '#/components/schemas/ApdexEntity' + - type: object + properties: + beaconType: + type: string + description: Website Beacon Type + enum: + - pageLoad + - resourceLoad + - httpRequest + - error + - custom + - pageChange + entityId: + type: string + description: Website ID + threshold: + type: integer + format: int32 + description: Value of the Apdex Threshold + minimum: 1 + required: + - beaconType + - entityId + - tagFilterExpression + WebsiteBeaconGroupsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + earliestTimestamp: + type: integer + format: int64 + minimum: 0 + metrics: + type: object + additionalProperties: + type: array + items: + type: array + items: + type: number + name: + type: string + required: + - cursor + - metrics + - name + WebsiteBeaconGroupsResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/WebsiteBeaconGroupsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + WebsiteBeaconResult: + type: object + properties: + adjustedTimeframe: + $ref: '#/components/schemas/AdjustedTimeframe' + canLoadMore: + type: boolean + description: Determine if additional data is available when a new query + is made using the cursor from the last item in the `items` list. + items: + type: array + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + items: + $ref: '#/components/schemas/WebsiteBeaconsItem' + totalHits: + type: integer + format: int64 + description: The total number of items that match a given filter + minimum: 0 + totalRepresentedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, one row can represent multiple real + items (batched call, sample multiplicity) + minimum: 0 + totalRetainedItemCount: + type: integer + format: int64 + description: For calls and EUM beacons, only a subset is retained for historic + data. Each retained row can represent multiple real items due to batching. + minimum: 0 + required: + - items + WebsiteBeaconTagGroup: + type: object + properties: + groupbyTag: + type: string + description: The name of the group tag (e.g. `agent.tag` or `docker.label`). + maxLength: 256 + minLength: 0 + groupbyTagEntity: + type: string + description: | + The entity by which the data should be grouped. + This field supports three possible values: `NOT_APPLICABLE`, `DESTINATION`, and `SOURCE`. + `SOURCE`: the tag filter should apply to the source entity. + `DESTINATION`: the tag filter should apply to the destination entity. + `NOT_APPLICABLE`: some tags are independent of source or destination, such as tags on the call itself, log tags or trace tags (only destination makes sense because the source is unknown for the root call). + enum: + - NOT_APPLICABLE + - DESTINATION + - SOURCE + groupbyTagSecondLevelKey: + type: string + description: If present, it's the 2nd level key part (e.g. `customKey` on + `docker.label.customKey`) + maxLength: 256 + minLength: 0 + required: + - groupbyTag + - groupbyTagEntity + WebsiteBeaconsItem: + type: object + description: | + Represents an array of call group item containing several attributes that describe its properties. + The item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item. + properties: + beacon: + $ref: '#/components/schemas/WebsiteMonitoringBeacon' + cursor: + $ref: '#/components/schemas/IngestionOffsetCursor' + impactedBeaconInfo: + $ref: '#/components/schemas/ImpactedBeaconInfo' + required: + - beacon + - cursor + WebsiteEventBasedSliEntity: + type: object + allOf: + - $ref: '#/components/schemas/SliEntity' + - type: object + properties: + badEventFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + beaconType: + type: string + description: Enum value to specify the type of beacons to be monitored + enum: + - pageLoad + - resourceLoad + - httpRequest + - error + - custom + - pageChange + goodEventFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + websiteId: + type: string + description: Specifies the ID of the Website + required: + - badEventFilterExpression + - beaconType + - goodEventFilterExpression + WebsiteEventResult: + type: object + allOf: + - $ref: '#/components/schemas/EventResult' + - type: object + properties: + websiteId: + type: string + description: ID of the website. + WebsiteMetricResult: + type: object + properties: + empty: + type: boolean + WebsiteMonitoringBeacon: + type: object + properties: + accuracyRadius: + type: integer + format: int64 + minimum: -1 + accurateTimingsAvailable: + type: boolean + agentVersion: + type: string + appCacheTime: + type: integer + format: int64 + minimum: -1 + backendTime: + type: integer + format: int64 + minimum: -1 + backendTraceId: + type: string + batchSize: + type: integer + format: int64 + minimum: 1 + beaconId: + type: string + browserName: + type: string + browserVersion: + type: string + bytesIngested: + type: integer + format: int64 + cacheInteraction: + type: string + childrenTime: + type: integer + format: int64 + minimum: -1 + city: + type: string + clockSkew: + type: integer + format: int64 + minimum: -1 + componentStack: + type: string + connectionType: + type: string + continent: + type: string + continentCode: + type: string + country: + type: string + countryCode: + type: string + cspBlockedUri: + type: string + cspColumnNumber: + type: integer + format: int64 + cspDisposition: + type: string + cspEffectiveDirective: + type: string + cspLineNumber: + type: integer + format: int64 + cspOriginalPolicy: + type: string + cspSample: + type: string + cspSourceFile: + type: string + cumulativeLayoutShift: + type: number + format: double + customEventName: + type: string + customMetric: + type: number + format: double + decodedBodySize: + type: integer + format: int64 + minimum: -1 + deprecations: + type: array + items: + type: string + maxItems: 16 + minItems: 0 + uniqueItems: true + deviceType: + type: string + dnsTime: + type: integer + format: int64 + minimum: -1 + domTime: + type: integer + format: int64 + minimum: -1 + duration: + type: integer + format: int64 + minimum: 0 + encodedBodySize: + type: integer + format: int64 + minimum: -1 + errorCount: + type: integer + format: int64 + minimum: 0 + errorId: + type: string + errorMessage: + type: string + errorType: + type: string + firstContentfulPaintTime: + type: integer + format: int64 + minimum: -1 + firstInputDelayTime: + type: integer + format: int64 + minimum: -1 + firstPaintTime: + type: integer + format: int64 + minimum: -1 + frontendTime: + type: integer + format: int64 + minimum: -1 + graphqlOperationName: + type: string + graphqlOperationType: + type: string + httpCallAsynchronous: + type: boolean + httpCallCorrelationAttempted: + type: boolean + httpCallHeaders: + type: object + additionalProperties: + type: string + httpCallMethod: + type: string + httpCallOrigin: + type: string + httpCallPath: + type: string + httpCallStatus: + type: integer + format: int32 + maximum: 599 + minimum: -1 + httpCallUrl: + type: string + initiator: + type: string + interactionNextPaint: + type: integer + format: int64 + internalMeta: + type: object + additionalProperties: + type: string + label: + type: string + largestContentfulPaintTime: + type: integer + format: int64 + minimum: -1 + latitude: + type: number + format: double + locationOrigin: + type: string + locationPath: + type: string + locationUrl: + type: string + longitude: + type: number + format: double + meta: + type: object + additionalProperties: + type: string + onLoadTime: + type: integer + format: int64 + minimum: -1 + osName: + type: string + osVersion: + type: string + page: + type: string + pageLoadId: + type: string + parentBeaconId: + type: string + parsedStackTrace: + type: array + items: + $ref: '#/components/schemas/JsStackTraceLine' + maxItems: 64 + minItems: 0 + phase: + type: string + processingTime: + type: integer + format: int64 + minimum: -1 + redirectTime: + type: integer + format: int64 + minimum: -1 + requestTime: + type: integer + format: int64 + minimum: -1 + resourceType: + type: string + responseTime: + type: integer + format: int64 + minimum: -1 + sessionId: + type: string + snippetVersion: + type: string + sslTime: + type: integer + format: int64 + minimum: -1 + stackTrace: + type: string + stackTraceParsingStatus: + type: integer + format: int32 + minimum: -1 + stackTraceReadability: + type: integer + format: int32 + minimum: 0 + subdivision: + type: string + subdivisionCode: + type: string + tcpTime: + type: integer + format: int64 + minimum: -1 + timestamp: + type: integer + format: int64 + minimum: 1 + transferSize: + type: integer + format: int64 + minimum: -1 + type: + type: string + unloadTime: + type: integer + format: int64 + minimum: -1 + useFeatures: + type: array + items: + type: string + maxItems: 15 + minItems: 0 + userEmail: + type: string + userId: + type: string + userIp: + type: string + userLanguages: + type: array + items: + type: string + maxItems: 5 + minItems: 0 + userName: + type: string + websiteId: + type: string + websiteLabel: + type: string + windowHeight: + type: integer + format: int32 + minimum: -1 + windowHidden: + type: boolean + windowWidth: + type: integer + format: int32 + minimum: -1 + required: + - beaconId + - locationOrigin + - locationUrl + - pageLoadId + - type + - websiteId + - websiteLabel + WebsiteMonitoringMetricDescription: + type: object + properties: + aggregations: + type: array + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + items: + type: string + description: | + The types of aggregations that can be applied to a series of values. + For example, `P25` is 25th percentile. Note that not all aggregations are available for metrics. + For example, `Trace count` has only `SUM` as an aggregation whereas `Call Count` has two aggregations, `SUM` and `PER_SECOND`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + uniqueItems: true + beaconTypes: + type: array + items: + type: string + uniqueItems: true + defaultAggregation: + type: string + description: The preselected aggregation for a metric. For example, for + `Call latency` the default aggregation is `MEAN`. + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + description: + type: string + description: A description of the metric. For example, for `Call count` + metric, the description would be something like `Number of received calls` + formatter: + type: string + description: | + * `NUMBER`: Generic number + * `BYTES`: Number of bytes + * `KILO_BYTES`: Number of kilobytes + * `MEGA_BYTES`: Number of megabytes + * `PERCENTAGE`: Percentage in scale [0,1] + * `PERCENTAGE_100`: Percentage in scale [0,100] + * `PERCENTAGE_NO_CAPPING`: Percentage in scale [0,1] but value could exceed 1 for example when metric is aggregated + * `PERCENTAGE_100_NO_CAPPING`: Percentage in scale [0,100] but value could exceed 100 for example when metric is aggregated + * `LATENCY`: Time in milliseconds, with value of 0 should not be considered a a strict 0, but considered as < 1ms + * `NANOS`: Time in nanoseconds + * `MILLIS`: Time in milliseconds + * `MICROS`: Time in microseconds + * `SECONDS`: Time in seconds + * `RATE`: Number of occurrences per second + * `BYTE_RATE`: Number of bytes per second + * `UNDEFINED`: Metric value unit is not known + label: + type: string + description: The name of the metric. For example, `Call count`, `Erroneous + calls`, `Service count` etc. + metricId: + type: string + description: The unique id of the metric. For example, `calls`, `erroneousCalls`, + `latency` etc. + pathToValueInBeacon: + type: array + items: + type: string + maxItems: 2147483647 + minItems: 1 + tagName: + type: string + required: + - aggregations + - beaconTypes + - formatter + - label + - metricId + WebsiteMonitoringMetricsConfiguration: + type: object + properties: + aggregation: + type: string + description: 'Set aggregation that can be applied to a series of values. + Eg: `MEAN`.' + enum: + - SUM + - MEAN + - MAX + - MIN + - P25 + - P50 + - P75 + - P90 + - P95 + - P98 + - P99 + - P99_9 + - P99_99 + - DISTINCT_COUNT + - SUM_POSITIVE + - PER_SECOND + - INCREASE + granularity: + type: integer + format: int32 + description: 'If the granularity is set you will get data points with the + specified granularity in seconds. Default: `1000` milliseconds' + metric: + type: string + description: 'Set a particular metric, eg: `latency`.' + required: + - aggregation + - metric + WebsiteSloEntity: + type: object + allOf: + - $ref: '#/components/schemas/SloEntity' + - type: object + properties: + beaconType: + type: string + description: Type of Website Beacon to be considered for the SLO + enum: + - pageLoad + - resourceLoad + - httpRequest + - error + - custom + - pageChange + websiteId: + type: string + description: The ID of the Website + required: + - beaconType + - websiteId + WebsiteTimeBasedSliEntity: + type: object + allOf: + - $ref: '#/components/schemas/SliEntity' + - type: object + properties: + beaconType: + type: string + description: Enum value to specify the type of beacons to be monitored + enum: + - pageLoad + - resourceLoad + - httpRequest + - error + - custom + - pageChange + filterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + websiteId: + type: string + description: Specifies the ID of the Website + required: + - beaconType + WebsiteTimeThreshold: + type: object + description: The type of threshold to define the criteria when the event and + alert triggers and resolves. + discriminator: + mapping: + userImpactOfViolationsInSequence: '#/components/schemas/UserImpactWebsiteTimeThreshold' + violationsInPeriod: '#/components/schemas/ViolationsInPeriodWebsiteTimeThreshold' + violationsInSequence: '#/components/schemas/ViolationsInSequenceWebsiteTimeThreshold' + propertyName: type + properties: + timeWindow: + type: integer + format: int64 + type: + type: string + required: + - type + Widget: + type: object + properties: + config: + type: object + height: + type: integer + format: int32 + minimum: 1 + id: + type: string + maxLength: 64 + minLength: 0 + title: + type: string + type: + type: string + width: + type: integer + format: int32 + maximum: 12 + minimum: 1 + x: + type: integer + format: int32 + maximum: 11 + minimum: 0 + y: + type: integer + format: int32 + minimum: 0 + required: + - config + - id + - type + WithMetadata: + type: object + properties: + alertChannelIds: + type: array + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be left + empty. + items: + type: string + deprecated: true + description: List of IDs of alert channels defined in Instana. Can be + left empty. + maxItems: 1024 + minItems: 0 + uniqueItems: true + alertChannels: + type: object + additionalProperties: + type: array + description: Set of alert channel IDs associated with the severity. + items: + type: string + description: Set of alert channel IDs associated with the severity. + uniqueItems: true + description: Set of alert channel IDs associated with the severity. + completeTagFilterExpression: + $ref: '#/components/schemas/TagFilterExpression' + created: + type: integer + format: int64 + description: Unix timestamp representing the creation time of this revision. + minimum: 1 + customPayloadFields: + type: array + description: Custom payload fields to send additional information in the + alert notifications. Can be left empty. + items: + $ref: '#/components/schemas/CustomPayloadField' + maxItems: 20 + minItems: 0 + description: + type: string + description: Description of the mobile app alert configuration. Used as + a template for the description of alert/event notifications triggered + by this Smart Alert configuration. + maxLength: 65536 + minLength: 0 + enabled: + type: boolean + description: Flag to indicate whether or not the configuration is enabled. + gracePeriod: + type: integer + format: int64 + description: The duration for which an alert remains open after conditions + are no longer violated, with the alert auto-closing once the grace period + expires. + granularity: + type: integer + format: int32 + default: 600000 + description: The evaluation granularity used for detection of violations + of the defined threshold. Defines the size of the tumbling window used. + enum: + - 60000 + - 300000 + - 600000 + - 900000 + - 1200000 + - 1800000 + id: + type: string + description: 'ID of this Mobile App Alert Config. ' + maxLength: 64 + minLength: 0 + initialCreated: + type: integer + format: int64 + description: Unix timestamp representing the time of the initial revision. + minimum: 1 + mobileAppId: + type: string + description: ID of the mobile app that this Smart Alert configuration is + applied to. + maxLength: 64 + minLength: 0 + name: + type: string + description: Name of the mobile app alert configuration. Used as a template + for the title of alert/event notifications triggered by this Smart Alert + configuration. + maxLength: 256 + minLength: 0 + readOnly: + type: boolean + description: Flag to indicate whether or not the configuration is read-only. + Read-only access restricts modification of the config. + rule: + $ref: '#/components/schemas/MobileAppAlertRule' + rules: + type: array + description: A list of rules where each rule is associated with multiple + thresholds and their corresponding severity levels. This enables more + complex alert configurations with validations to ensure consistent and + logical threshold-severity combinations. + items: + $ref: '#/components/schemas/RuleWithThresholdMobileAppAlertRule' + maxItems: 1 + minItems: 1 + severity: + type: integer + format: int32 + deprecated: true + description: The severity of the alert when triggered, which is either 5 + (Warning), or 10 (Critical). + maximum: 10 + minimum: 5 + tagFilterExpression: + $ref: '#/components/schemas/TagFilterExpressionElement' + threshold: + $ref: '#/components/schemas/Threshold' + timeThreshold: + $ref: '#/components/schemas/MobileAppTimeThreshold' + triggering: + type: boolean + description: Optional flag to indicate whether an Incident is also triggered + or not. + required: + - customPayloadFields + - description + - granularity + - id + - mobileAppId + - name + - tagFilterExpression + - timeThreshold + WithResolvedName: + type: object + allOf: + - $ref: '#/components/schemas/Author' + - type: object + properties: + fullName: + type: string + ZChatOpsIntegration: + type: object + allOf: + - $ref: '#/components/schemas/AbstractIntegration' + - type: object + properties: + bearerAuthToken: + type: string + channels: + type: array + items: + type: string + maxItems: 1 + minItems: 0 + zchatOpsIncidentsUrl: + type: string + required: + - bearerAuthToken + - id + - kind + - name + - zchatOpsIncidentsUrl + securitySchemes: + ApiKeyAuth: + description: In order to use the REST API, you need to create an API token and + assign permissions to it. API tokens are managed only by the account owner + role, who can create multiple API tokens with varying permissions. API token + management can found in Settings → Access Control → API Tokens. + in: header + name: authorization + type: apiKey + x-description: authorization +x-tagGroups: +- name: Websites & Mobile Apps + tags: + - Website Metrics + - Website Catalog + - Website Analyze + - Website Configuration + - Mobile App Metrics + - Mobile App Catalog + - Mobile App Analyze + - Mobile App Configuration + - End User Monitoring +- name: Applications + tags: + - Application Metrics + - Application Resources + - Application Catalog + - Application Analyze + - Application Settings + - Application Topology + - Application Alert Configuration + - Global Application Alert Configuration +- name: Infrastructure + tags: + - Infrastructure Analyze + - Infrastructure Metrics + - Infrastructure Resources + - Infrastructure Catalog + - Infrastructure Topology +- name: Logging + tags: + - Logging Analyze +- name: Synthetic Monitoring + tags: + - Synthetic Catalog + - Synthetic Metrics + - Synthetic Settings + - Synthetic Test Playback Results + - Synthetic Alert Configuration +- name: Logs + tags: + - Log Alert Configuration +- name: Events + tags: + - Events + - Event Settings +- name: Automation + tags: + - Action Catalog + - Action History + - Policies +- name: Service Levels + tags: + - SLI Settings + - SLI Report + - Apdex Settings + - Apdex Report + - Service Levels Objective(SLO) Configurations + - Service Levels Objective(SLO) Report + - Service Levels Alert Configuration + - SLO Correction Configurations + - SLO Correction Windows +- name: AI Management + tags: + - AI Management +- name: Settings + tags: + - Custom Dashboards + - User + - Groups + - Teams + - Roles + - Audit Log + - API Token + - Maintenance Configuration + - Synthetic Calls + - Session Settings + - Automation Settings + - Authentication +- name: Open Beta Features + tags: + - Infrastructure Analyze +- name: Closed Beta Features + tags: + - Infrastructure Alert Configuration +- name: Instana + tags: + - Releases + - Host Agent + - Health + - Usage diff --git a/pyproject.toml b/pyproject.toml index 3597215..8c2d37f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.0.1" +version = "1.0.2" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, @@ -10,26 +10,24 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Instana REST API documentation"] requires-python = ">=3.9" dependencies = [ - "urllib3 (>=2.1.0,<3.0.0)", - "python-dateutil (>=2.8.2)", - "pydantic (>=2)", - "typing-extensions (>=4.7.1)", - "lazy-imports (>=1,<2)" + "urllib3 >= 2.1.0, < 3.0.0", + "python-dateutil >= 2.8.2", + "pydantic >= 2", + "typing-extensions >= 4.7.1", ] [project.urls] -Repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID" +Repository = "https://github.com/instana/client-python" -[tool.poetry] -requires-poetry = ">=2.0" - -[tool.poetry.group.dev.dependencies] -pytest = ">= 7.2.1" -pytest-cov = ">= 2.8.1" -tox = ">= 3.9.0" -flake8 = ">= 4.0.0" -types-python-dateutil = ">= 2.8.19.14" -mypy = ">= 1.5" +[project.optional-dependencies] +dev = [ + "pytest >= 7.2.1", + "pytest-cov >= 2.8.1", + "tox >= 3.9.0", + "flake8 >= 4.0.0", + "types-python-dateutil >= 2.8.19.14", + "mypy >= 1.5", +] [build-system] @@ -93,3 +91,22 @@ disallow_incomplete_defs = true disallow_untyped_defs = true no_implicit_reexport = true warn_return_any = true + +[tool.coverage.run] +omit = [ + # Exclude custom-fixed files from coverage + "instana_client/api/application_resources_api.py", + "instana_client/models/tag_filter.py", + # Exclude test files themselves from coverage (standard practice) + "*/test/*", + "*/tests/*", +] + +[tool.coverage.report] +exclude_lines = [ + "pragma: no cover", + "def __repr__", + "raise AssertionError", + "raise NotImplementedError", + "if __name__ == .__main__.:", +] diff --git a/requirements.txt b/requirements.txt index 867a449..6cbb2b9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,3 @@ 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.cfg b/setup.cfg index 11433ee..302bbd6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,19 @@ [flake8] max-line-length=99 + +[coverage:run] +omit = + # Exclude custom-fixed files from coverage + instana_client/api/application_resources_api.py + instana_client/models/tag_filter.py + # Exclude test files + */test/* + */tests/* + +[coverage:report] +exclude_lines = + pragma: no cover + def __repr__ + raise AssertionError + raise NotImplementedError + if __name__ == .__main__.: diff --git a/setup.py b/setup.py index df731b9..e224749 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.306.1368 + The version of the OpenAPI document: 1.309.1268 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,15 +21,14 @@ # # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -NAME = "instana-python-sdk" -VERSION = "1.0.1" +NAME = "instana-client" +VERSION = "1.0.2" 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( @@ -38,7 +37,7 @@ description="Instana REST API documentation", author="© Instana", author_email="support@instana.com", - url="", + url="https://github.com/instana/client-python", keywords=["OpenAPI", "OpenAPI-Generator", "Instana REST API documentation"], install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), diff --git a/test/test_browser_script_configuration_update.py b/test/test_browser_script_configuration_update.py new file mode 100644 index 0000000..4cbddfb --- /dev/null +++ b/test/test_browser_script_configuration_update.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.browser_script_configuration_update import BrowserScriptConfigurationUpdate + +class TestBrowserScriptConfigurationUpdate(unittest.TestCase): + """BrowserScriptConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrowserScriptConfigurationUpdate: + """Test BrowserScriptConfigurationUpdate + 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 `BrowserScriptConfigurationUpdate` + """ + model = BrowserScriptConfigurationUpdate() + if include_optional: + return BrowserScriptConfigurationUpdate( + browser = 'chrome', + file_name = '', + record_video = True, + script = '', + script_type = 'Basic', + scripts = instana_client.models.multiple_scripts_configuration.MultipleScriptsConfiguration( + bundle = '', + script_file = '', ) + ) + else: + return BrowserScriptConfigurationUpdate( + ) + """ + + def testBrowserScriptConfigurationUpdate(self): + """Test BrowserScriptConfigurationUpdate""" + # 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_dns_configuration_update.py b/test/test_dns_configuration_update.py new file mode 100644 index 0000000..d14666b --- /dev/null +++ b/test/test_dns_configuration_update.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.dns_configuration_update import DNSConfigurationUpdate + +class TestDNSConfigurationUpdate(unittest.TestCase): + """DNSConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DNSConfigurationUpdate: + """Test DNSConfigurationUpdate + 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 `DNSConfigurationUpdate` + """ + model = DNSConfigurationUpdate() + if include_optional: + return DNSConfigurationUpdate( + accept_cname = True, + lookup = '', + lookup_server_name = True, + port = 56, + query_time = instana_client.models.dns_filter_query_time.DNSFilterQueryTime( + key = '', + operator = 'CONTAINS', + value = 56, ), + query_type = 'ALL', + recursive_lookups = True, + server = '', + server_retries = 56, + target_values = instana_client.models.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue( + add = [ + instana_client.models.dns_filter_target_value.DNSFilterTargetValue( + key = 'ALL', + operator = 'CONTAINS', + value = '', ) + ], + remove = [ + instana_client.models.dns_filter_target_value.DNSFilterTargetValue( + key = 'ALL', + operator = 'CONTAINS', + value = '', ) + ], ), + transport = 'TCP' + ) + else: + return DNSConfigurationUpdate( + ) + """ + + def testDNSConfigurationUpdate(self): + """Test DNSConfigurationUpdate""" + # 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_http_action_configuration_update.py b/test/test_http_action_configuration_update.py new file mode 100644 index 0000000..a1944aa --- /dev/null +++ b/test/test_http_action_configuration_update.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.http_action_configuration_update import HttpActionConfigurationUpdate + +class TestHttpActionConfigurationUpdate(unittest.TestCase): + """HttpActionConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> HttpActionConfigurationUpdate: + """Test HttpActionConfigurationUpdate + 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 `HttpActionConfigurationUpdate` + """ + model = HttpActionConfigurationUpdate() + if include_optional: + return HttpActionConfigurationUpdate( + allow_insecure = True, + body = '', + expect_exists = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ), + expect_json = None, + expect_match = '', + expect_not_empty = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ), + expect_status = 56, + follow_redirect = True, + headers = instana_client.models.synthetic_resource_update_map_string_string_list_string.SyntheticResourceUpdateMapStringStringListString( + add = { + 'key' : '' + }, + remove = [ + '' + ], ), + operation = 'DELETE', + url = '', + validation_string = '' + ) + else: + return HttpActionConfigurationUpdate( + ) + """ + + def testHttpActionConfigurationUpdate(self): + """Test HttpActionConfigurationUpdate""" + # 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_http_script_configuration_update.py b/test/test_http_script_configuration_update.py new file mode 100644 index 0000000..33b67fd --- /dev/null +++ b/test/test_http_script_configuration_update.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.http_script_configuration_update import HttpScriptConfigurationUpdate + +class TestHttpScriptConfigurationUpdate(unittest.TestCase): + """HttpScriptConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> HttpScriptConfigurationUpdate: + """Test HttpScriptConfigurationUpdate + 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 `HttpScriptConfigurationUpdate` + """ + model = HttpScriptConfigurationUpdate() + if include_optional: + return HttpScriptConfigurationUpdate( + file_name = '', + script = '', + script_type = 'Basic', + scripts = instana_client.models.multiple_scripts_configuration.MultipleScriptsConfiguration( + bundle = '', + script_file = '', ) + ) + else: + return HttpScriptConfigurationUpdate( + ) + """ + + def testHttpScriptConfigurationUpdate(self): + """Test HttpScriptConfigurationUpdate""" + # 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_ssl_certificate_configuration_update.py b/test/test_ssl_certificate_configuration_update.py new file mode 100644 index 0000000..1ef6054 --- /dev/null +++ b/test/test_ssl_certificate_configuration_update.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.ssl_certificate_configuration_update import SSLCertificateConfigurationUpdate + +class TestSSLCertificateConfigurationUpdate(unittest.TestCase): + """SSLCertificateConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SSLCertificateConfigurationUpdate: + """Test SSLCertificateConfigurationUpdate + 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 `SSLCertificateConfigurationUpdate` + """ + model = SSLCertificateConfigurationUpdate() + if include_optional: + return SSLCertificateConfigurationUpdate( + accept_self_signed_certificate = True, + days_remaining_check = 56, + hostname = '', + port = 56, + validation_rules = instana_client.models.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation( + add = [ + instana_client.models.ssl_certificate_validation.SSLCertificateValidation( + key = '', + operator = 'CONTAINS', + value = instana_client.models.value.value(), ) + ], + remove = [ + instana_client.models.ssl_certificate_validation.SSLCertificateValidation( + key = '', + operator = 'CONTAINS', + value = instana_client.models.value.value(), ) + ], ) + ) + else: + return SSLCertificateConfigurationUpdate( + ) + """ + + def testSSLCertificateConfigurationUpdate(self): + """Test SSLCertificateConfigurationUpdate""" + # 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_bulk_response.py b/test/test_synthetic_bulk_response.py new file mode 100644 index 0000000..84ee17d --- /dev/null +++ b/test/test_synthetic_bulk_response.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_bulk_response import SyntheticBulkResponse + +class TestSyntheticBulkResponse(unittest.TestCase): + """SyntheticBulkResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticBulkResponse: + """Test SyntheticBulkResponse + 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 `SyntheticBulkResponse` + """ + model = SyntheticBulkResponse() + if include_optional: + return SyntheticBulkResponse( + error_message = '', + id = '', + status = '' + ) + else: + return SyntheticBulkResponse( + ) + """ + + def testSyntheticBulkResponse(self): + """Test SyntheticBulkResponse""" + # 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_configuration_update.py b/test/test_synthetic_configuration_update.py new file mode 100644 index 0000000..a888cfd --- /dev/null +++ b/test/test_synthetic_configuration_update.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_configuration_update import SyntheticConfigurationUpdate + +class TestSyntheticConfigurationUpdate(unittest.TestCase): + """SyntheticConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticConfigurationUpdate: + """Test SyntheticConfigurationUpdate + 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 `SyntheticConfigurationUpdate` + """ + model = SyntheticConfigurationUpdate() + if include_optional: + return SyntheticConfigurationUpdate( + mark_synthetic_call = True, + retries = 0, + retry_interval = 1, + timeout = '' + ) + else: + return SyntheticConfigurationUpdate( + ) + """ + + def testSyntheticConfigurationUpdate(self): + """Test SyntheticConfigurationUpdate""" + # 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_dns_filter_target_value_list_dns_filter_target_value.py b/test/test_synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py new file mode 100644 index 0000000..3af6711 --- /dev/null +++ b/test/test_synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value import SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + +class TestSyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue(unittest.TestCase): + """SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue: + """Test SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue + 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 `SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue` + """ + model = SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue() + if include_optional: + return SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue( + add = [ + instana_client.models.dns_filter_target_value.DNSFilterTargetValue( + key = 'ALL', + operator = 'CONTAINS', + value = '', ) + ], + remove = [ + instana_client.models.dns_filter_target_value.DNSFilterTargetValue( + key = 'ALL', + operator = 'CONTAINS', + value = '', ) + ] + ) + else: + return SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue( + ) + """ + + def testSyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue(self): + """Test SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue""" + # 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_ssl_certificate_validation_list_ssl_certificate_validation.py b/test/test_synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py new file mode 100644 index 0000000..e50ece3 --- /dev/null +++ b/test/test_synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation import SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + +class TestSyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation(unittest.TestCase): + """SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation: + """Test SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation + 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 `SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation` + """ + model = SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation() + if include_optional: + return SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation( + add = [ + instana_client.models.ssl_certificate_validation.SSLCertificateValidation( + key = '', + operator = 'CONTAINS', + value = instana_client.models.value.value(), ) + ], + remove = [ + instana_client.models.ssl_certificate_validation.SSLCertificateValidation( + key = '', + operator = 'CONTAINS', + value = instana_client.models.value.value(), ) + ] + ) + else: + return SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation( + ) + """ + + def testSyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation(self): + """Test SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation""" + # 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_string_list_string.py b/test/test_synthetic_resource_update_list_string_list_string.py new file mode 100644 index 0000000..381c37c --- /dev/null +++ b/test/test_synthetic_resource_update_list_string_list_string.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString + +class TestSyntheticResourceUpdateListStringListString(unittest.TestCase): + """SyntheticResourceUpdateListStringListString unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticResourceUpdateListStringListString: + """Test SyntheticResourceUpdateListStringListString + 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 `SyntheticResourceUpdateListStringListString` + """ + model = SyntheticResourceUpdateListStringListString() + if include_optional: + return SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ] + ) + else: + return SyntheticResourceUpdateListStringListString( + ) + """ + + def testSyntheticResourceUpdateListStringListString(self): + """Test SyntheticResourceUpdateListStringListString""" + # 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_map_string_string_list_string.py b/test/test_synthetic_resource_update_map_string_string_list_string.py new file mode 100644 index 0000000..180064b --- /dev/null +++ b/test/test_synthetic_resource_update_map_string_string_list_string.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString + +class TestSyntheticResourceUpdateMapStringStringListString(unittest.TestCase): + """SyntheticResourceUpdateMapStringStringListString unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticResourceUpdateMapStringStringListString: + """Test SyntheticResourceUpdateMapStringStringListString + 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 `SyntheticResourceUpdateMapStringStringListString` + """ + model = SyntheticResourceUpdateMapStringStringListString() + if include_optional: + return SyntheticResourceUpdateMapStringStringListString( + add = { + 'key' : '' + }, + remove = [ + '' + ] + ) + else: + return SyntheticResourceUpdateMapStringStringListString( + ) + """ + + def testSyntheticResourceUpdateMapStringStringListString(self): + """Test SyntheticResourceUpdateMapStringStringListString""" + # 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_test_deep_update.py b/test/test_synthetic_test_deep_update.py new file mode 100644 index 0000000..29fd2d6 --- /dev/null +++ b/test/test_synthetic_test_deep_update.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_test_deep_update import SyntheticTestDeepUpdate + +class TestSyntheticTestDeepUpdate(unittest.TestCase): + """SyntheticTestDeepUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticTestDeepUpdate: + """Test SyntheticTestDeepUpdate + 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 `SyntheticTestDeepUpdate` + """ + model = SyntheticTestDeepUpdate() + if include_optional: + return SyntheticTestDeepUpdate( + configuration = instana_client.models.synthetic_type_configuration_update.SyntheticTypeConfigurationUpdate( + mark_synthetic_call = True, + retries = 0, + retry_interval = 1, + synthetic_test = 'BrowserScript', + timeout = '', ) + ) + else: + return SyntheticTestDeepUpdate( + ) + """ + + def testSyntheticTestDeepUpdate(self): + """Test SyntheticTestDeepUpdate""" + # 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_test_shallow_update.py b/test/test_synthetic_test_shallow_update.py new file mode 100644 index 0000000..17f2dc5 --- /dev/null +++ b/test/test_synthetic_test_shallow_update.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_test_shallow_update import SyntheticTestShallowUpdate + +class TestSyntheticTestShallowUpdate(unittest.TestCase): + """SyntheticTestShallowUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticTestShallowUpdate: + """Test SyntheticTestShallowUpdate + 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 `SyntheticTestShallowUpdate` + """ + model = SyntheticTestShallowUpdate() + if include_optional: + return SyntheticTestShallowUpdate( + configuration = instana_client.models.synthetic_configuration_update.SyntheticConfigurationUpdate( + mark_synthetic_call = True, + retries = 0, + retry_interval = 1, + timeout = '', ) + ) + else: + return SyntheticTestShallowUpdate( + ) + """ + + def testSyntheticTestShallowUpdate(self): + """Test SyntheticTestShallowUpdate""" + # 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_test_update.py b/test/test_synthetic_test_update.py new file mode 100644 index 0000000..30e751b --- /dev/null +++ b/test/test_synthetic_test_update.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_test_update import SyntheticTestUpdate + +class TestSyntheticTestUpdate(unittest.TestCase): + """SyntheticTestUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticTestUpdate: + """Test SyntheticTestUpdate + 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 `SyntheticTestUpdate` + """ + model = SyntheticTestUpdate() + if include_optional: + return SyntheticTestUpdate( + active = True, + applications = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ), + custom_properties = instana_client.models.synthetic_resource_update_map_string_string_list_string.SyntheticResourceUpdateMapStringStringListString( + add = { + 'key' : '' + }, + remove = [ + '' + ], ), + ids = [ + '' + ], + last_modified_at = [ + 56 + ], + locations = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ), + mobile_apps = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ), + modified_by = '', + shallow_update = True, + synthetic_update_type = 'Deep', + test_frequency = 1, + websites = instana_client.models.synthetic_resource_update_list_string_list_string.SyntheticResourceUpdateListStringListString( + add = [ + '' + ], + remove = [ + '' + ], ) + ) + else: + return SyntheticTestUpdate( + synthetic_update_type = 'Deep', + ) + """ + + def testSyntheticTestUpdate(self): + """Test SyntheticTestUpdate""" + # 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_type_configuration_update.py b/test/test_synthetic_type_configuration_update.py new file mode 100644 index 0000000..bee8ecc --- /dev/null +++ b/test/test_synthetic_type_configuration_update.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate + +class TestSyntheticTypeConfigurationUpdate(unittest.TestCase): + """SyntheticTypeConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SyntheticTypeConfigurationUpdate: + """Test SyntheticTypeConfigurationUpdate + 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 `SyntheticTypeConfigurationUpdate` + """ + model = SyntheticTypeConfigurationUpdate() + if include_optional: + return SyntheticTypeConfigurationUpdate( + mark_synthetic_call = True, + retries = 0, + retry_interval = 1, + synthetic_test = 'BrowserScript', + synthetic_type = 'BrowserScript', + timeout = '' + ) + else: + return SyntheticTypeConfigurationUpdate( + ) + """ + + def testSyntheticTypeConfigurationUpdate(self): + """Test SyntheticTypeConfigurationUpdate""" + # 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_webpage_action_configuration_update.py b/test/test_webpage_action_configuration_update.py new file mode 100644 index 0000000..c630a9d --- /dev/null +++ b/test/test_webpage_action_configuration_update.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.webpage_action_configuration_update import WebpageActionConfigurationUpdate + +class TestWebpageActionConfigurationUpdate(unittest.TestCase): + """WebpageActionConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebpageActionConfigurationUpdate: + """Test WebpageActionConfigurationUpdate + 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 `WebpageActionConfigurationUpdate` + """ + model = WebpageActionConfigurationUpdate() + if include_optional: + return WebpageActionConfigurationUpdate( + browser = 'chrome', + record_video = True, + url = '' + ) + else: + return WebpageActionConfigurationUpdate( + ) + """ + + def testWebpageActionConfigurationUpdate(self): + """Test WebpageActionConfigurationUpdate""" + # 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_webpage_script_configuration_update.py b/test/test_webpage_script_configuration_update.py new file mode 100644 index 0000000..173e830 --- /dev/null +++ b/test/test_webpage_script_configuration_update.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.309.1268 + 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.webpage_script_configuration_update import WebpageScriptConfigurationUpdate + +class TestWebpageScriptConfigurationUpdate(unittest.TestCase): + """WebpageScriptConfigurationUpdate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebpageScriptConfigurationUpdate: + """Test WebpageScriptConfigurationUpdate + 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 `WebpageScriptConfigurationUpdate` + """ + model = WebpageScriptConfigurationUpdate() + if include_optional: + return WebpageScriptConfigurationUpdate( + browser = 'chrome', + file_name = '', + record_video = True, + script = '' + ) + else: + return WebpageScriptConfigurationUpdate( + ) + """ + + def testWebpageScriptConfigurationUpdate(self): + """Test WebpageScriptConfigurationUpdate""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()