instana-client 1.0.0__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- instana_client/__init__.py +91 -9
- instana_client/api/__init__.py +8 -0
- instana_client/api/action_catalog_api.py +329 -6
- instana_client/api/action_history_api.py +54 -2
- instana_client/api/ai_management_api.py +1973 -0
- instana_client/api/apdex_report_api.py +2 -2
- instana_client/api/apdex_settings_api.py +8 -9
- instana_client/api/api_token_api.py +23 -24
- instana_client/api/application_alert_configuration_api.py +79 -66
- instana_client/api/application_analyze_api.py +20 -282
- instana_client/api/application_catalog_api.py +11 -11
- instana_client/api/application_metrics_api.py +14 -14
- instana_client/api/application_resources_api.py +171 -44
- instana_client/api/application_settings_api.py +134 -104
- instana_client/api/application_topology_api.py +11 -2
- instana_client/api/audit_log_api.py +2 -2
- instana_client/api/authentication_api.py +14 -30
- instana_client/api/business_monitoring_api.py +2 -2
- instana_client/api/custom_dashboards_api.py +29 -19
- instana_client/api/custom_entities_api.py +1398 -0
- instana_client/api/end_user_monitoring_api.py +310 -0
- instana_client/api/event_settings_api.py +1365 -658
- instana_client/api/events_api.py +11 -26
- instana_client/api/global_application_alert_configuration_api.py +53 -56
- instana_client/api/groups_api.py +888 -87
- instana_client/api/health_api.py +8 -5
- instana_client/api/host_agent_api.py +274 -8
- instana_client/api/infrastructure_alert_configuration_api.py +50 -30
- instana_client/api/infrastructure_analyze_api.py +14 -14
- instana_client/api/infrastructure_catalog_api.py +44 -13
- instana_client/api/infrastructure_metrics_api.py +5 -5
- instana_client/api/infrastructure_resources_api.py +11 -11
- instana_client/api/infrastructure_topology_api.py +2 -2
- instana_client/api/log_alert_configuration_api.py +50 -30
- instana_client/api/logging_analyze_api.py +343 -0
- instana_client/api/maintenance_configuration_api.py +32 -20
- instana_client/api/mobile_app_analyze_api.py +2 -2
- instana_client/api/mobile_app_catalog_api.py +8 -2
- instana_client/api/mobile_app_configuration_api.py +3058 -334
- instana_client/api/mobile_app_metrics_api.py +3 -6
- instana_client/api/policies_api.py +14 -11
- instana_client/api/releases_api.py +8 -11
- instana_client/api/roles_api.py +1410 -0
- instana_client/api/service_levels_alert_configuration_api.py +2 -2
- instana_client/api/service_levels_objective_slo_configurations_api.py +211 -87
- instana_client/api/service_levels_objective_slo_report_api.py +38 -2
- instana_client/api/session_settings_api.py +2 -2
- instana_client/api/sli_report_api.py +2 -2
- instana_client/api/sli_settings_api.py +5 -8
- instana_client/api/slo_correction_configurations_api.py +1537 -0
- instana_client/api/slo_correction_windows_api.py +392 -0
- instana_client/api/synthetic_alert_configuration_api.py +53 -56
- instana_client/api/synthetic_calls_api.py +20 -9
- instana_client/api/synthetic_catalog_api.py +20 -2
- instana_client/api/synthetic_metrics_api.py +5 -5
- instana_client/api/synthetic_settings_api.py +1915 -477
- instana_client/api/synthetic_test_playback_results_api.py +307 -20
- instana_client/api/teams_api.py +1380 -0
- instana_client/api/usage_api.py +2 -2
- instana_client/api/user_api.py +41 -28
- instana_client/api/website_analyze_api.py +8 -8
- instana_client/api/website_catalog_api.py +11 -8
- instana_client/api/website_configuration_api.py +1801 -336
- instana_client/api/website_metrics_api.py +3 -3
- instana_client/api_client.py +3 -3
- instana_client/configuration.py +14 -7
- instana_client/exceptions.py +2 -2
- instana_client/models/__init__.py +626 -11
- instana_client/models/abstract_integration.py +11 -5
- instana_client/models/abstract_rule.py +2 -2
- instana_client/models/access_log_entry.py +12 -7
- instana_client/models/access_log_response.py +2 -2
- instana_client/models/access_rule.py +2 -2
- instana_client/models/action.py +2 -2
- instana_client/models/action_configuration.py +2 -2
- instana_client/models/action_instance.py +2 -2
- instana_client/models/action_instance_metadata_entry.py +2 -2
- instana_client/models/action_instance_parameter.py +2 -2
- instana_client/models/action_instance_request.py +2 -2
- instana_client/models/action_instance_request_parameters.py +2 -2
- instana_client/models/action_match.py +19 -6
- instana_client/models/action_search_space.py +2 -2
- instana_client/models/adaptive_baseline.py +3 -3
- instana_client/models/adaptive_threshold_rule.py +3 -3
- instana_client/models/addition.py +97 -0
- instana_client/models/adjusted_timeframe.py +2 -2
- instana_client/models/agent_configuration_update.py +2 -2
- instana_client/models/alerting_configuration.py +2 -2
- instana_client/models/alerting_configuration_with_last_updated.py +2 -2
- instana_client/models/alerting_time_window.py +2 -2
- instana_client/models/apdex_configuration.py +2 -2
- instana_client/models/apdex_configuration_input.py +2 -2
- instana_client/models/apdex_entity.py +2 -2
- instana_client/models/apdex_report.py +2 -2
- instana_client/models/api_create_group.py +2 -2
- instana_client/models/api_create_role.py +101 -0
- instana_client/models/api_group.py +2 -2
- instana_client/models/api_member.py +5 -3
- instana_client/models/api_permission_set.py +12 -3
- instana_client/models/api_restricted_application_filter.py +2 -2
- instana_client/models/api_role.py +102 -0
- instana_client/models/api_tag.py +91 -0
- instana_client/models/api_team.py +113 -0
- instana_client/models/api_team_info.py +89 -0
- instana_client/models/api_team_member.py +102 -0
- instana_client/models/api_team_role.py +92 -0
- instana_client/models/api_team_scope.py +131 -0
- instana_client/models/api_token.py +35 -5
- instana_client/models/app_data_metric_configuration.py +2 -2
- instana_client/models/application.py +2 -2
- instana_client/models/application_alert_config.py +2 -2
- instana_client/models/application_alert_config_with_metadata.py +2 -2
- instana_client/models/application_alert_rule.py +2 -2
- instana_client/models/application_apdex_entity.py +2 -2
- instana_client/models/application_config.py +2 -2
- instana_client/models/application_event_result.py +6 -7
- instana_client/models/application_item.py +2 -2
- instana_client/models/application_metric_result.py +2 -2
- instana_client/models/application_node.py +2 -2
- instana_client/models/application_result.py +2 -2
- instana_client/models/application_scope.py +4 -4
- instana_client/models/application_scope_with_metadata.py +6 -6
- instana_client/models/application_sli_entity.py +2 -2
- instana_client/models/application_slo_entity.py +2 -2
- instana_client/models/application_time_threshold.py +2 -2
- instana_client/models/arithmetic_configuration.py +123 -0
- instana_client/models/arithmetic_operand.py +154 -0
- instana_client/models/arithmetic_operation.py +128 -0
- instana_client/models/audit_log_entry.py +2 -2
- instana_client/models/audit_log_ui_response.py +2 -2
- instana_client/models/author.py +2 -2
- instana_client/models/availability_blueprint_indicator.py +5 -16
- instana_client/models/availability_sli_entity.py +2 -2
- instana_client/models/available_metrics.py +2 -2
- instana_client/models/available_plugins.py +2 -2
- instana_client/models/backend_trace_reference.py +2 -2
- instana_client/models/bidirectional_ms_teams_app_integration.py +108 -0
- instana_client/models/bidirectional_slack_app_integration.py +104 -0
- instana_client/models/binary_operator_dto.py +2 -2
- instana_client/models/browser_script_configuration.py +5 -3
- instana_client/models/browser_script_configuration_update.py +129 -0
- instana_client/models/built_in_event_specification.py +2 -2
- instana_client/models/built_in_event_specification_with_last_updated.py +2 -2
- instana_client/models/business_activity.py +5 -3
- instana_client/models/business_perspective_config.py +2 -2
- instana_client/models/call_groups_item.py +2 -2
- instana_client/models/call_groups_result.py +2 -2
- instana_client/models/call_relation.py +2 -2
- instana_client/models/change_summary.py +2 -2
- instana_client/models/cloudfoundry_physical_context.py +4 -4
- instana_client/models/condition.py +2 -2
- instana_client/models/config_version.py +2 -2
- instana_client/models/correction.py +105 -0
- instana_client/models/correction_configuration.py +110 -0
- instana_client/models/correction_scheduling.py +105 -0
- instana_client/models/correction_window.py +95 -0
- instana_client/models/crash_mobile_app_alert_rule.py +2 -2
- instana_client/models/create_website_request_inner.py +90 -0
- instana_client/models/cursor_paginated_business_activity_item.py +2 -2
- instana_client/models/cursor_pagination.py +2 -2
- instana_client/models/cursor_pagination_infra_explore_cursor.py +2 -2
- instana_client/models/custom_blueprint_indicator.py +8 -4
- instana_client/models/custom_dashboard.py +2 -2
- instana_client/models/custom_dashboard_preview.py +2 -2
- instana_client/models/custom_dashboard_with_user_specific_information.py +115 -0
- instana_client/models/custom_dependency.py +119 -0
- instana_client/models/custom_email_subject_prefix.py +2 -2
- instana_client/models/custom_entity_model.py +126 -0
- instana_client/models/custom_entity_with_metadata.py +98 -0
- instana_client/models/custom_event_mobile_app_alert_rule.py +2 -2
- instana_client/models/custom_event_specification.py +9 -3
- instana_client/models/custom_event_specification_with_last_updated.py +9 -3
- instana_client/models/custom_event_website_alert_rule.py +2 -2
- instana_client/models/custom_metric.py +134 -0
- instana_client/models/custom_payload_configuration.py +2 -2
- instana_client/models/custom_payload_field.py +2 -2
- instana_client/models/custom_payload_with_last_updated.py +2 -2
- instana_client/models/custom_payload_with_version.py +101 -0
- instana_client/models/dashboard_api_token.py +2 -2
- instana_client/models/database_integration.py +2 -2
- instana_client/models/deprecated_tag_filter.py +4 -4
- instana_client/models/division.py +97 -0
- instana_client/models/dns_configuration.py +146 -0
- instana_client/models/dns_configuration_update.py +143 -0
- instana_client/models/dns_filter_query_time.py +99 -0
- instana_client/models/dns_filter_target_value.py +106 -0
- instana_client/models/duration.py +2 -2
- instana_client/models/dynamic_field.py +2 -2
- instana_client/models/dynamic_field_value.py +2 -2
- instana_client/models/dynamic_parameter.py +2 -2
- instana_client/models/edit_user.py +2 -2
- instana_client/models/email_integration.py +2 -2
- instana_client/models/empty_configuration.py +2 -2
- instana_client/models/endpoint.py +4 -4
- instana_client/models/endpoint_config.py +2 -2
- instana_client/models/endpoint_event_result.py +8 -9
- instana_client/models/endpoint_item.py +2 -2
- instana_client/models/endpoint_metric_result.py +2 -2
- instana_client/models/endpoint_node.py +2 -2
- instana_client/models/endpoint_result.py +3 -3
- instana_client/models/endpoint_simple.py +3 -3
- instana_client/models/entity_count_rule.py +2 -2
- instana_client/models/entity_count_verification_rule.py +3 -3
- instana_client/models/entity_health_info.py +2 -2
- instana_client/models/entity_id.py +2 -2
- instana_client/models/entity_verification_rule.py +3 -3
- instana_client/models/error_budget_alert_rule.py +5 -5
- instana_client/models/errors_application_alert_rule.py +2 -2
- instana_client/models/event.py +11 -3
- instana_client/models/event_filtering_configuration.py +2 -2
- instana_client/models/event_result.py +4 -3
- instana_client/models/event_specification_info.py +2 -2
- instana_client/models/extended_service.py +2 -2
- instana_client/models/failure_synthetic_alert_rule.py +2 -2
- instana_client/models/fixed_http_path_segment_matching_rule.py +2 -2
- instana_client/models/fixed_time_window.py +4 -3
- instana_client/models/generic_infra_alert_rule.py +12 -4
- instana_client/models/geo_location_configuration.py +2 -2
- instana_client/models/geo_mapping_rule.py +2 -2
- instana_client/models/geo_subdivision.py +2 -2
- instana_client/models/get_activities.py +2 -2
- instana_client/models/get_application_metrics.py +2 -2
- instana_client/models/get_applications.py +2 -2
- instana_client/models/get_available_metrics_query.py +2 -2
- instana_client/models/get_available_plugins_query.py +2 -2
- instana_client/models/get_call_groups.py +2 -2
- instana_client/models/get_combined_metrics.py +2 -2
- instana_client/models/get_dynamic_parameter_values.py +2 -2
- instana_client/models/get_endpoints.py +2 -2
- instana_client/models/get_infrastructure_groups_query.py +2 -2
- instana_client/models/get_infrastructure_query.py +2 -2
- instana_client/models/get_metrics_result.py +2 -2
- instana_client/models/get_mobile_app_beacon_groups.py +2 -2
- instana_client/models/get_mobile_app_beacons.py +2 -2
- instana_client/models/get_mobile_app_metrics.py +2 -2
- instana_client/models/get_mobile_app_metrics_v2.py +2 -2
- instana_client/models/get_payload_keys_result.py +2 -2
- instana_client/models/get_services.py +2 -2
- instana_client/models/get_snapshots_query.py +2 -2
- instana_client/models/get_test_result.py +2 -2
- instana_client/models/get_test_result_analytic.py +126 -0
- instana_client/models/get_test_result_base.py +2 -2
- instana_client/models/get_test_result_list.py +2 -2
- instana_client/models/get_test_summary_result.py +2 -2
- instana_client/models/get_trace_download_result_item.py +3 -3
- instana_client/models/get_trace_groups.py +2 -2
- instana_client/models/get_traces.py +4 -4
- instana_client/models/get_website_beacon_groups.py +2 -2
- instana_client/models/get_website_beacons.py +2 -2
- instana_client/models/get_website_metrics.py +2 -2
- instana_client/models/get_website_metrics_v2.py +2 -2
- instana_client/models/global_application_alert_config_with_metadata.py +2 -2
- instana_client/models/global_applications_alert_config.py +2 -2
- instana_client/models/google_chat_integration.py +2 -2
- instana_client/models/graph_edge.py +2 -2
- instana_client/models/graph_node.py +2 -2
- instana_client/models/group.py +2 -2
- instana_client/models/group_by_tag.py +2 -2
- instana_client/models/group_mapping.py +5 -3
- instana_client/models/group_mapping_overview.py +96 -0
- instana_client/models/health_state.py +2 -2
- instana_client/models/historic_baseline.py +3 -3
- instana_client/models/host_availability_rule.py +2 -2
- instana_client/models/http_action_configuration.py +2 -2
- instana_client/models/http_action_configuration_update.py +138 -0
- instana_client/models/http_endpoint_config.py +2 -2
- instana_client/models/http_endpoint_rule.py +2 -2
- instana_client/models/http_path_segment_matching_rule.py +2 -2
- instana_client/models/http_script_configuration.py +5 -3
- instana_client/models/http_script_configuration_update.py +115 -0
- instana_client/models/hyper_param.py +2 -2
- instana_client/models/identity_provider_patch.py +2 -2
- instana_client/models/impacted_beacon_info.py +96 -0
- instana_client/models/infra_alert_config.py +8 -6
- instana_client/models/infra_alert_config_with_metadata.py +7 -5
- instana_client/models/infra_alert_rule.py +9 -3
- instana_client/models/infra_event_result.py +7 -8
- instana_client/models/infra_metric_configuration.py +103 -80
- instana_client/models/infra_slo_entity.py +95 -0
- instana_client/models/infra_time_threshold.py +2 -2
- instana_client/models/infrastructure_entities_result.py +2 -2
- instana_client/models/infrastructure_group.py +5 -3
- instana_client/models/infrastructure_groups_result.py +2 -2
- instana_client/models/infrastructure_item.py +2 -2
- instana_client/models/infrastructure_metric_result.py +2 -2
- instana_client/models/instana_version_info.py +2 -2
- instana_client/models/integration_overview.py +14 -4
- instana_client/models/invitation.py +6 -4
- instana_client/models/invitation_response.py +2 -2
- instana_client/models/invitation_result.py +2 -2
- instana_client/models/ip_masking_configuration.py +2 -2
- instana_client/models/js_stack_trace_line.py +2 -2
- instana_client/models/kubernetes_physical_context.py +3 -3
- instana_client/models/latency_blueprint_indicator.py +5 -16
- instana_client/models/llm_egress_gateway.py +124 -0
- instana_client/models/location_status.py +2 -2
- instana_client/models/log_alert_config.py +8 -6
- instana_client/models/log_alert_config_with_metadata.py +8 -6
- instana_client/models/log_alert_rule.py +2 -2
- instana_client/models/log_count_alert_rule.py +2 -2
- instana_client/models/log_entry_actor.py +2 -2
- instana_client/models/log_event_result.py +6 -7
- instana_client/models/log_time_threshold.py +2 -2
- instana_client/models/log_volume_group.py +91 -0
- instana_client/models/log_volume_usage_item.py +101 -0
- instana_client/models/log_volume_usage_result.py +96 -0
- instana_client/models/logs_application_alert_rule.py +4 -4
- instana_client/models/maintenance_config.py +2 -2
- instana_client/models/maintenance_config_scheduling.py +2 -2
- instana_client/models/maintenance_config_v2.py +2 -2
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/maintenance_config_with_last_updated.py +2 -2
- instana_client/models/maintenance_window.py +2 -2
- instana_client/models/manual_alerting_channel_configuration.py +2 -2
- instana_client/models/manual_close_info.py +2 -2
- instana_client/models/manual_service_config.py +2 -2
- instana_client/models/match_all_http_path_segment_matching_rule.py +2 -2
- instana_client/models/match_expression_dto.py +3 -3
- instana_client/models/meta_data.py +2 -2
- instana_client/models/metric_api_result.py +2 -2
- instana_client/models/metric_config.py +2 -2
- instana_client/models/metric_configuration.py +3 -3
- instana_client/models/metric_description.py +2 -2
- instana_client/models/metric_instance.py +2 -2
- instana_client/models/metric_item.py +2 -2
- instana_client/models/metric_metadata.py +4 -4
- instana_client/models/metric_pattern.py +2 -2
- instana_client/models/metric_query.py +128 -0
- instana_client/models/metrics_result.py +2 -2
- instana_client/models/metrics_result_item.py +5 -3
- instana_client/models/metrics_test_result_item.py +2 -2
- instana_client/models/mobile_app.py +2 -2
- instana_client/models/mobile_app_alert_config.py +2 -2
- instana_client/models/mobile_app_alert_rule.py +8 -5
- instana_client/models/mobile_app_beacon_groups_item.py +2 -2
- instana_client/models/mobile_app_beacon_groups_result.py +2 -2
- instana_client/models/mobile_app_beacon_result.py +2 -2
- instana_client/models/mobile_app_beacon_tag_group.py +2 -2
- instana_client/models/mobile_app_beacons_item.py +11 -5
- instana_client/models/mobile_app_event_result.py +6 -7
- instana_client/models/mobile_app_metric_result.py +2 -2
- instana_client/models/mobile_app_monitoring_beacon.py +22 -4
- instana_client/models/mobile_app_monitoring_metric_description.py +5 -3
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +2 -2
- instana_client/models/mobile_app_time_threshold.py +2 -2
- instana_client/models/model_field.py +2 -2
- instana_client/models/monitored_entities_stats.py +92 -0
- instana_client/models/monitoring_state.py +11 -3
- instana_client/models/multiple_scripts_configuration.py +2 -2
- instana_client/models/multiplication.py +97 -0
- instana_client/models/nested_operation.py +128 -0
- instana_client/models/new_application_config.py +2 -2
- instana_client/models/new_business_perspective_config.py +2 -2
- instana_client/models/new_manual_service_config.py +2 -2
- instana_client/models/o_auth_config.py +110 -0
- instana_client/models/o_auth_integration.py +98 -0
- instana_client/models/o_auth_token.py +111 -0
- instana_client/models/occurrence.py +2 -2
- instana_client/models/office365_integration.py +2 -2
- instana_client/models/one_time_maintenance_window.py +2 -2
- instana_client/models/opsgenie_integration.py +2 -2
- instana_client/models/order.py +2 -2
- instana_client/models/pagerduty_integration.py +2 -2
- instana_client/models/paginated_result.py +2 -2
- instana_client/models/pagination.py +2 -2
- instana_client/models/parameter.py +2 -2
- instana_client/models/parameter_value.py +2 -2
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +2 -2
- instana_client/models/physical_context.py +3 -3
- instana_client/models/plugin_result.py +2 -2
- instana_client/models/policy.py +2 -2
- instana_client/models/policy_runnable.py +2 -2
- instana_client/models/policy_scheduling.py +91 -0
- instana_client/models/post_mobile_app_source_map_config_request.py +88 -0
- instana_client/models/post_snapshots_result.py +2 -2
- instana_client/models/problem.py +2 -2
- instana_client/models/prometheus_webhook_integration.py +2 -2
- instana_client/models/recurrent_maintenance_window.py +2 -2
- instana_client/models/release.py +6 -6
- instana_client/models/release_scope.py +2 -2
- instana_client/models/release_with_metadata.py +8 -8
- instana_client/models/retention_period.py +101 -0
- instana_client/models/rolling_time_window.py +4 -3
- instana_client/models/rule_input.py +2 -2
- instana_client/models/rule_with_threshold_application_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_infra_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_log_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_website_alert_rule.py +2 -2
- instana_client/models/run_configuration.py +2 -2
- instana_client/models/salesforce_integration.py +2 -2
- instana_client/models/saturation_blueprint_indicator.py +97 -0
- instana_client/models/scope_binding.py +2 -2
- instana_client/models/search_field_result.py +2 -2
- instana_client/models/service.py +3 -3
- instana_client/models/service_config.py +2 -2
- instana_client/models/service_event_result.py +6 -7
- instana_client/models/service_item.py +2 -2
- instana_client/models/service_level_indicator.py +10 -7
- instana_client/models/service_level_objective_alert_rule.py +2 -2
- instana_client/models/service_level_objective_configuration.py +3 -3
- instana_client/models/service_levels_alert_config.py +15 -5
- instana_client/models/service_levels_alert_rule.py +2 -2
- instana_client/models/service_levels_burn_rate_config.py +115 -0
- instana_client/models/service_levels_burn_rate_time_windows.py +2 -2
- instana_client/models/service_levels_static_threshold_config.py +100 -0
- instana_client/models/service_levels_time_threshold.py +5 -5
- instana_client/models/service_levelse_alert_config_with_metadata.py +15 -5
- instana_client/models/service_map.py +2 -2
- instana_client/models/service_map_connection.py +2 -2
- instana_client/models/service_matching_rule.py +2 -2
- instana_client/models/service_metric_result.py +2 -2
- instana_client/models/service_node.py +2 -2
- instana_client/models/service_now_enhanced_integration.py +2 -2
- instana_client/models/service_now_integration.py +2 -2
- instana_client/models/service_result.py +3 -3
- instana_client/models/service_scope.py +4 -4
- instana_client/models/service_scope_with_metadata.py +5 -5
- instana_client/models/service_scoped_to.py +3 -3
- instana_client/models/service_scoped_to_with_metadata.py +4 -4
- instana_client/models/service_simple.py +2 -2
- instana_client/models/session_settings.py +4 -4
- instana_client/models/simple_metric_configuration.py +123 -0
- instana_client/models/single_value.py +128 -0
- instana_client/models/slack_integration.py +2 -2
- instana_client/models/sli_configuration.py +2 -2
- instana_client/models/sli_configuration_with_last_updated.py +2 -2
- instana_client/models/sli_entity.py +2 -2
- instana_client/models/sli_report.py +2 -2
- instana_client/models/slo_config_with_rbac_tag.py +128 -0
- instana_client/models/slo_entity.py +8 -5
- instana_client/models/slo_report.py +2 -2
- instana_client/models/slowness_application_alert_rule.py +2 -2
- instana_client/models/slowness_mobile_app_alert_rule.py +90 -0
- instana_client/models/slowness_website_alert_rule.py +2 -2
- instana_client/models/snapshot_item.py +2 -2
- instana_client/models/snapshot_preview.py +7 -7
- instana_client/models/snapshot_result.py +2 -2
- instana_client/models/software_user.py +2 -2
- instana_client/models/software_version.py +2 -2
- instana_client/models/source_map_file_blob.py +2 -2
- instana_client/models/source_map_file_meta.py +2 -2
- instana_client/models/source_map_upload_config.py +2 -2
- instana_client/models/source_map_upload_configs.py +106 -0
- instana_client/models/span_excerpt.py +12 -12
- instana_client/models/span_relation.py +3 -3
- instana_client/models/specific_js_errors_website_alert_rule.py +4 -4
- instana_client/models/splunk_integration.py +2 -2
- instana_client/models/ssl_certificate_configuration.py +17 -5
- instana_client/models/ssl_certificate_configuration_update.py +107 -0
- instana_client/models/ssl_certificate_validation.py +99 -0
- instana_client/models/stack_trace_item.py +7 -7
- instana_client/models/stack_trace_line.py +2 -2
- instana_client/models/static_baseline_threshold_rule.py +3 -3
- instana_client/models/static_string_field.py +2 -2
- instana_client/models/static_threshold.py +2 -2
- instana_client/models/static_threshold_rule.py +2 -2
- instana_client/models/status_code_application_alert_rule.py +2 -2
- instana_client/models/status_code_mobile_app_alert_rule.py +4 -4
- instana_client/models/status_code_website_alert_rule.py +4 -4
- instana_client/models/subtraction.py +97 -0
- instana_client/models/synthetic_alert_config.py +2 -2
- instana_client/models/synthetic_alert_config_with_metadata.py +2 -2
- instana_client/models/synthetic_alert_rule.py +2 -2
- instana_client/models/synthetic_bulk_response.py +92 -0
- instana_client/models/synthetic_call_config.py +4 -4
- instana_client/models/synthetic_call_rule.py +6 -6
- instana_client/models/synthetic_call_with_defaults_config.py +4 -4
- instana_client/models/synthetic_configuration.py +93 -0
- instana_client/models/synthetic_configuration_update.py +95 -0
- instana_client/models/synthetic_credential.py +23 -3
- instana_client/models/synthetic_datacenter.py +2 -2
- instana_client/models/synthetic_datacenter_configuration.py +2 -2
- instana_client/models/synthetic_geo_point.py +2 -2
- instana_client/models/synthetic_location.py +2 -2
- instana_client/models/synthetic_location_configuration.py +2 -2
- instana_client/models/synthetic_metric_configuration.py +2 -2
- instana_client/models/synthetic_metric_tag_group.py +18 -5
- instana_client/models/synthetic_playback_capabilities.py +17 -4
- instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +105 -0
- instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +105 -0
- instana_client/models/synthetic_resource_update_list_string_list_string.py +90 -0
- instana_client/models/synthetic_resource_update_map_string_string_list_string.py +90 -0
- instana_client/models/synthetic_slo_entity.py +7 -5
- instana_client/models/synthetic_test.py +27 -3
- instana_client/models/synthetic_test_cicd.py +96 -0
- instana_client/models/synthetic_test_cicd_customization.py +96 -0
- instana_client/models/synthetic_test_cicd_item.py +114 -0
- instana_client/models/synthetic_test_cicd_response.py +92 -0
- instana_client/models/synthetic_test_deep_update.py +122 -0
- instana_client/models/synthetic_test_shallow_update.py +122 -0
- instana_client/models/synthetic_test_update.py +147 -0
- instana_client/models/synthetic_time_threshold.py +2 -2
- instana_client/models/synthetic_type_configuration.py +11 -11
- instana_client/models/synthetic_type_configuration_update.py +152 -0
- instana_client/models/synthetics_event_result.py +6 -7
- instana_client/models/system_rule.py +2 -2
- instana_client/models/system_rule_label.py +2 -2
- instana_client/models/tag.py +6 -6
- instana_client/models/tag_catalog.py +2 -2
- instana_client/models/tag_filter.py +22 -10
- instana_client/models/tag_filter_all_of_value.py +195 -0
- instana_client/models/tag_filter_expression.py +2 -2
- instana_client/models/tag_filter_expression_element.py +2 -2
- instana_client/models/tag_matcher_dto.py +2 -2
- instana_client/models/tag_tree_level.py +2 -2
- instana_client/models/tag_tree_node.py +2 -2
- instana_client/models/tag_tree_tag.py +2 -2
- instana_client/models/test_common_properties.py +2 -2
- instana_client/models/test_last_error.py +90 -0
- instana_client/models/test_result.py +2 -2
- instana_client/models/test_result_common_properties.py +24 -3
- instana_client/models/test_result_detail_data.py +2 -2
- instana_client/models/test_result_item.py +2 -2
- instana_client/models/test_result_list_item.py +2 -2
- instana_client/models/test_result_list_result.py +2 -2
- instana_client/models/test_result_metadata.py +2 -2
- instana_client/models/test_result_subtransaction.py +2 -2
- instana_client/models/threshold.py +2 -2
- instana_client/models/threshold_config_rule.py +2 -2
- instana_client/models/threshold_rule.py +2 -2
- instana_client/models/throughput_application_alert_rule.py +2 -2
- instana_client/models/throughput_mobile_app_alert_rule.py +2 -2
- instana_client/models/throughput_website_alert_rule.py +2 -2
- instana_client/models/time_frame.py +2 -2
- instana_client/models/time_window.py +5 -4
- instana_client/models/topology.py +2 -2
- instana_client/models/trace.py +8 -8
- instana_client/models/trace_activity_tree_node_details.py +27 -15
- instana_client/models/trace_download_result.py +2 -2
- instana_client/models/trace_groups_item.py +2 -2
- instana_client/models/trace_groups_result.py +2 -2
- instana_client/models/trace_impact_application_time_threshold.py +2 -2
- instana_client/models/trace_item.py +2 -2
- instana_client/models/trace_result.py +2 -2
- instana_client/models/traffic_blueprint_indicator.py +3 -3
- instana_client/models/trigger.py +15 -7
- instana_client/models/type_configuration.py +2 -2
- instana_client/models/unsupported_http_path_segment_matching_rule.py +2 -2
- instana_client/models/updated_business_perspective_config.py +2 -2
- instana_client/models/usage_result.py +2 -2
- instana_client/models/usage_result_items.py +2 -2
- instana_client/models/user_basic_result.py +2 -2
- instana_client/models/user_impact_mobile_app_time_threshold.py +3 -3
- instana_client/models/user_impact_website_time_threshold.py +3 -3
- instana_client/models/user_result.py +2 -2
- instana_client/models/users_result.py +2 -2
- instana_client/models/validated_alerting_channel_input_info.py +4 -4
- instana_client/models/validated_alerting_configuration.py +2 -2
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/validated_maintenance_config_with_status.py +2 -2
- instana_client/models/victor_ops_integration.py +2 -2
- instana_client/models/violations_in_period_application_time_threshold.py +2 -2
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_period_website_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_application_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_infra_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_log_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_website_time_threshold.py +2 -2
- instana_client/models/watson_ai_ops_webhook_integration.py +2 -2
- instana_client/models/webex_teams_webhook_integration.py +2 -2
- instana_client/models/webhook_integration.py +14 -4
- instana_client/models/webpage_action_configuration.py +2 -2
- instana_client/models/webpage_action_configuration_update.py +109 -0
- instana_client/models/webpage_script_configuration.py +5 -3
- instana_client/models/webpage_script_configuration_update.py +111 -0
- instana_client/models/website.py +2 -2
- instana_client/models/website_alert_config.py +2 -2
- instana_client/models/website_alert_config_with_metadata.py +2 -2
- instana_client/models/website_alert_rule.py +2 -2
- instana_client/models/website_apdex_entity.py +2 -2
- instana_client/models/website_beacon_groups_item.py +2 -2
- instana_client/models/website_beacon_groups_result.py +2 -2
- instana_client/models/website_beacon_result.py +2 -2
- instana_client/models/website_beacon_tag_group.py +2 -2
- instana_client/models/website_beacons_item.py +11 -5
- instana_client/models/website_event_based_sli_entity.py +2 -2
- instana_client/models/website_event_result.py +5 -6
- instana_client/models/website_metric_result.py +2 -2
- instana_client/models/website_monitoring_beacon.py +7 -3
- instana_client/models/website_monitoring_metric_description.py +2 -2
- instana_client/models/website_monitoring_metrics_configuration.py +2 -2
- instana_client/models/website_slo_entity.py +2 -2
- instana_client/models/website_time_based_sli_entity.py +2 -2
- instana_client/models/website_time_threshold.py +2 -2
- instana_client/models/widget.py +2 -2
- instana_client/models/with_metadata.py +2 -2
- instana_client/models/with_resolved_name.py +2 -2
- instana_client/models/z_chat_ops_integration.py +2 -2
- instana_client/rest.py +3 -2
- instana_client-1.0.3.dist-info/METADATA +1097 -0
- instana_client-1.0.3.dist-info/RECORD +599 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/WHEEL +1 -1
- instana_client/models/dns_action_configuration.py +0 -134
- instana_client/models/dns_action_filter_query_time.py +0 -99
- instana_client/models/dns_action_filter_target_value.py +0 -106
- instana_client/models/full_trace.py +0 -97
- instana_client/models/span.py +0 -156
- instana_client-1.0.0.dist-info/METADATA +0 -25
- instana_client-1.0.0.dist-info/RECORD +0 -515
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.3.dist-info}/top_level.txt +0 -0
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Instana REST API documentation
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
9
|
Contact: support@instana.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -20,10 +20,15 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from instana_client.models.synthetic_bulk_response import SyntheticBulkResponse
|
|
23
24
|
from instana_client.models.synthetic_credential import SyntheticCredential
|
|
24
25
|
from instana_client.models.synthetic_datacenter import SyntheticDatacenter
|
|
25
26
|
from instana_client.models.synthetic_location import SyntheticLocation
|
|
26
27
|
from instana_client.models.synthetic_test import SyntheticTest
|
|
28
|
+
from instana_client.models.synthetic_test_cicd import SyntheticTestCICD
|
|
29
|
+
from instana_client.models.synthetic_test_cicd_item import SyntheticTestCICDItem
|
|
30
|
+
from instana_client.models.synthetic_test_cicd_response import SyntheticTestCICDResponse
|
|
31
|
+
from instana_client.models.synthetic_test_update import SyntheticTestUpdate
|
|
27
32
|
|
|
28
33
|
from instana_client.api_client import ApiClient, RequestSerialized
|
|
29
34
|
from instana_client.api_response import ApiResponse
|
|
@@ -44,9 +49,9 @@ class SyntheticSettingsApi:
|
|
|
44
49
|
|
|
45
50
|
|
|
46
51
|
@validate_call
|
|
47
|
-
def
|
|
52
|
+
def bulk_delete_synthetic_tests(
|
|
48
53
|
self,
|
|
49
|
-
|
|
54
|
+
request_body: List[StrictStr],
|
|
50
55
|
_request_timeout: Union[
|
|
51
56
|
None,
|
|
52
57
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -59,13 +64,13 @@ class SyntheticSettingsApi:
|
|
|
59
64
|
_content_type: Optional[StrictStr] = None,
|
|
60
65
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
61
66
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
62
|
-
) ->
|
|
63
|
-
"""
|
|
67
|
+
) -> List[SyntheticBulkResponse]:
|
|
68
|
+
"""Delete Synthetic tests
|
|
64
69
|
|
|
65
|
-
API request to
|
|
70
|
+
API request to delete a list of Synthetic Tests.
|
|
66
71
|
|
|
67
|
-
:param
|
|
68
|
-
:type
|
|
72
|
+
:param request_body: (required)
|
|
73
|
+
:type request_body: List[str]
|
|
69
74
|
:param _request_timeout: timeout setting for this request. If one
|
|
70
75
|
number provided, it will be total request
|
|
71
76
|
timeout. It can also be a pair (tuple) of
|
|
@@ -88,8 +93,8 @@ class SyntheticSettingsApi:
|
|
|
88
93
|
:return: Returns the result object.
|
|
89
94
|
""" # noqa: E501
|
|
90
95
|
|
|
91
|
-
_param = self.
|
|
92
|
-
|
|
96
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
97
|
+
request_body=request_body,
|
|
93
98
|
_request_auth=_request_auth,
|
|
94
99
|
_content_type=_content_type,
|
|
95
100
|
_headers=_headers,
|
|
@@ -97,7 +102,7 @@ class SyntheticSettingsApi:
|
|
|
97
102
|
)
|
|
98
103
|
|
|
99
104
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
100
|
-
'200':
|
|
105
|
+
'200': "List[SyntheticBulkResponse]",
|
|
101
106
|
'401': None,
|
|
102
107
|
'403': None,
|
|
103
108
|
'500': None,
|
|
@@ -114,9 +119,9 @@ class SyntheticSettingsApi:
|
|
|
114
119
|
|
|
115
120
|
|
|
116
121
|
@validate_call
|
|
117
|
-
def
|
|
122
|
+
def bulk_delete_synthetic_tests_with_http_info(
|
|
118
123
|
self,
|
|
119
|
-
|
|
124
|
+
request_body: List[StrictStr],
|
|
120
125
|
_request_timeout: Union[
|
|
121
126
|
None,
|
|
122
127
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -129,13 +134,13 @@ class SyntheticSettingsApi:
|
|
|
129
134
|
_content_type: Optional[StrictStr] = None,
|
|
130
135
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
131
136
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
132
|
-
) -> ApiResponse[
|
|
133
|
-
"""
|
|
137
|
+
) -> ApiResponse[List[SyntheticBulkResponse]]:
|
|
138
|
+
"""Delete Synthetic tests
|
|
134
139
|
|
|
135
|
-
API request to
|
|
140
|
+
API request to delete a list of Synthetic Tests.
|
|
136
141
|
|
|
137
|
-
:param
|
|
138
|
-
:type
|
|
142
|
+
:param request_body: (required)
|
|
143
|
+
:type request_body: List[str]
|
|
139
144
|
:param _request_timeout: timeout setting for this request. If one
|
|
140
145
|
number provided, it will be total request
|
|
141
146
|
timeout. It can also be a pair (tuple) of
|
|
@@ -158,8 +163,8 @@ class SyntheticSettingsApi:
|
|
|
158
163
|
:return: Returns the result object.
|
|
159
164
|
""" # noqa: E501
|
|
160
165
|
|
|
161
|
-
_param = self.
|
|
162
|
-
|
|
166
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
167
|
+
request_body=request_body,
|
|
163
168
|
_request_auth=_request_auth,
|
|
164
169
|
_content_type=_content_type,
|
|
165
170
|
_headers=_headers,
|
|
@@ -167,7 +172,7 @@ class SyntheticSettingsApi:
|
|
|
167
172
|
)
|
|
168
173
|
|
|
169
174
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
170
|
-
'200':
|
|
175
|
+
'200': "List[SyntheticBulkResponse]",
|
|
171
176
|
'401': None,
|
|
172
177
|
'403': None,
|
|
173
178
|
'500': None,
|
|
@@ -184,9 +189,9 @@ class SyntheticSettingsApi:
|
|
|
184
189
|
|
|
185
190
|
|
|
186
191
|
@validate_call
|
|
187
|
-
def
|
|
192
|
+
def bulk_delete_synthetic_tests_without_preload_content(
|
|
188
193
|
self,
|
|
189
|
-
|
|
194
|
+
request_body: List[StrictStr],
|
|
190
195
|
_request_timeout: Union[
|
|
191
196
|
None,
|
|
192
197
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -200,12 +205,12 @@ class SyntheticSettingsApi:
|
|
|
200
205
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
201
206
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
202
207
|
) -> RESTResponseType:
|
|
203
|
-
"""
|
|
208
|
+
"""Delete Synthetic tests
|
|
204
209
|
|
|
205
|
-
API request to
|
|
210
|
+
API request to delete a list of Synthetic Tests.
|
|
206
211
|
|
|
207
|
-
:param
|
|
208
|
-
:type
|
|
212
|
+
:param request_body: (required)
|
|
213
|
+
:type request_body: List[str]
|
|
209
214
|
:param _request_timeout: timeout setting for this request. If one
|
|
210
215
|
number provided, it will be total request
|
|
211
216
|
timeout. It can also be a pair (tuple) of
|
|
@@ -228,8 +233,8 @@ class SyntheticSettingsApi:
|
|
|
228
233
|
:return: Returns the result object.
|
|
229
234
|
""" # noqa: E501
|
|
230
235
|
|
|
231
|
-
_param = self.
|
|
232
|
-
|
|
236
|
+
_param = self._bulk_delete_synthetic_tests_serialize(
|
|
237
|
+
request_body=request_body,
|
|
233
238
|
_request_auth=_request_auth,
|
|
234
239
|
_content_type=_content_type,
|
|
235
240
|
_headers=_headers,
|
|
@@ -237,7 +242,7 @@ class SyntheticSettingsApi:
|
|
|
237
242
|
)
|
|
238
243
|
|
|
239
244
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
240
|
-
'200':
|
|
245
|
+
'200': "List[SyntheticBulkResponse]",
|
|
241
246
|
'401': None,
|
|
242
247
|
'403': None,
|
|
243
248
|
'500': None,
|
|
@@ -249,9 +254,9 @@ class SyntheticSettingsApi:
|
|
|
249
254
|
return response_data.response
|
|
250
255
|
|
|
251
256
|
|
|
252
|
-
def
|
|
257
|
+
def _bulk_delete_synthetic_tests_serialize(
|
|
253
258
|
self,
|
|
254
|
-
|
|
259
|
+
request_body,
|
|
255
260
|
_request_auth,
|
|
256
261
|
_content_type,
|
|
257
262
|
_headers,
|
|
@@ -261,6 +266,7 @@ class SyntheticSettingsApi:
|
|
|
261
266
|
_host = None
|
|
262
267
|
|
|
263
268
|
_collection_formats: Dict[str, str] = {
|
|
269
|
+
'request_body': '',
|
|
264
270
|
}
|
|
265
271
|
|
|
266
272
|
_path_params: Dict[str, str] = {}
|
|
@@ -277,8 +283,8 @@ class SyntheticSettingsApi:
|
|
|
277
283
|
# process the header parameters
|
|
278
284
|
# process the form parameters
|
|
279
285
|
# process the body parameter
|
|
280
|
-
if
|
|
281
|
-
_body_params =
|
|
286
|
+
if request_body is not None:
|
|
287
|
+
_body_params = request_body
|
|
282
288
|
|
|
283
289
|
|
|
284
290
|
# set the HTTP header `Accept`
|
|
@@ -310,7 +316,7 @@ class SyntheticSettingsApi:
|
|
|
310
316
|
|
|
311
317
|
return self.api_client.param_serialize(
|
|
312
318
|
method='POST',
|
|
313
|
-
resource_path='/api/synthetics/settings/
|
|
319
|
+
resource_path='/api/synthetics/settings/tests/bulk-delete',
|
|
314
320
|
path_params=_path_params,
|
|
315
321
|
query_params=_query_params,
|
|
316
322
|
header_params=_header_params,
|
|
@@ -327,9 +333,9 @@ class SyntheticSettingsApi:
|
|
|
327
333
|
|
|
328
334
|
|
|
329
335
|
@validate_call
|
|
330
|
-
def
|
|
336
|
+
def bulk_update_synthetic_tests(
|
|
331
337
|
self,
|
|
332
|
-
|
|
338
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
333
339
|
_request_timeout: Union[
|
|
334
340
|
None,
|
|
335
341
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -342,13 +348,13 @@ class SyntheticSettingsApi:
|
|
|
342
348
|
_content_type: Optional[StrictStr] = None,
|
|
343
349
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
344
350
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
345
|
-
) ->
|
|
346
|
-
"""
|
|
351
|
+
) -> List[SyntheticBulkResponse]:
|
|
352
|
+
"""Update Synthetic tests
|
|
347
353
|
|
|
348
|
-
|
|
354
|
+
API request to update a list of Synthetic Tests.
|
|
349
355
|
|
|
350
|
-
:param
|
|
351
|
-
:type
|
|
356
|
+
:param synthetic_test_update: (required)
|
|
357
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
352
358
|
:param _request_timeout: timeout setting for this request. If one
|
|
353
359
|
number provided, it will be total request
|
|
354
360
|
timeout. It can also be a pair (tuple) of
|
|
@@ -371,8 +377,8 @@ class SyntheticSettingsApi:
|
|
|
371
377
|
:return: Returns the result object.
|
|
372
378
|
""" # noqa: E501
|
|
373
379
|
|
|
374
|
-
_param = self.
|
|
375
|
-
|
|
380
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
381
|
+
synthetic_test_update=synthetic_test_update,
|
|
376
382
|
_request_auth=_request_auth,
|
|
377
383
|
_content_type=_content_type,
|
|
378
384
|
_headers=_headers,
|
|
@@ -380,7 +386,7 @@ class SyntheticSettingsApi:
|
|
|
380
386
|
)
|
|
381
387
|
|
|
382
388
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
383
|
-
'200': "
|
|
389
|
+
'200': "List[SyntheticBulkResponse]",
|
|
384
390
|
'401': None,
|
|
385
391
|
'403': None,
|
|
386
392
|
'500': None,
|
|
@@ -397,9 +403,9 @@ class SyntheticSettingsApi:
|
|
|
397
403
|
|
|
398
404
|
|
|
399
405
|
@validate_call
|
|
400
|
-
def
|
|
406
|
+
def bulk_update_synthetic_tests_with_http_info(
|
|
401
407
|
self,
|
|
402
|
-
|
|
408
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
403
409
|
_request_timeout: Union[
|
|
404
410
|
None,
|
|
405
411
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -412,13 +418,13 @@ class SyntheticSettingsApi:
|
|
|
412
418
|
_content_type: Optional[StrictStr] = None,
|
|
413
419
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
414
420
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
415
|
-
) -> ApiResponse[
|
|
416
|
-
"""
|
|
421
|
+
) -> ApiResponse[List[SyntheticBulkResponse]]:
|
|
422
|
+
"""Update Synthetic tests
|
|
417
423
|
|
|
418
|
-
|
|
424
|
+
API request to update a list of Synthetic Tests.
|
|
419
425
|
|
|
420
|
-
:param
|
|
421
|
-
:type
|
|
426
|
+
:param synthetic_test_update: (required)
|
|
427
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
422
428
|
:param _request_timeout: timeout setting for this request. If one
|
|
423
429
|
number provided, it will be total request
|
|
424
430
|
timeout. It can also be a pair (tuple) of
|
|
@@ -441,8 +447,8 @@ class SyntheticSettingsApi:
|
|
|
441
447
|
:return: Returns the result object.
|
|
442
448
|
""" # noqa: E501
|
|
443
449
|
|
|
444
|
-
_param = self.
|
|
445
|
-
|
|
450
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
451
|
+
synthetic_test_update=synthetic_test_update,
|
|
446
452
|
_request_auth=_request_auth,
|
|
447
453
|
_content_type=_content_type,
|
|
448
454
|
_headers=_headers,
|
|
@@ -450,7 +456,7 @@ class SyntheticSettingsApi:
|
|
|
450
456
|
)
|
|
451
457
|
|
|
452
458
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
453
|
-
'200': "
|
|
459
|
+
'200': "List[SyntheticBulkResponse]",
|
|
454
460
|
'401': None,
|
|
455
461
|
'403': None,
|
|
456
462
|
'500': None,
|
|
@@ -467,9 +473,9 @@ class SyntheticSettingsApi:
|
|
|
467
473
|
|
|
468
474
|
|
|
469
475
|
@validate_call
|
|
470
|
-
def
|
|
476
|
+
def bulk_update_synthetic_tests_without_preload_content(
|
|
471
477
|
self,
|
|
472
|
-
|
|
478
|
+
synthetic_test_update: SyntheticTestUpdate,
|
|
473
479
|
_request_timeout: Union[
|
|
474
480
|
None,
|
|
475
481
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -483,12 +489,12 @@ class SyntheticSettingsApi:
|
|
|
483
489
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
484
490
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
485
491
|
) -> RESTResponseType:
|
|
486
|
-
"""
|
|
492
|
+
"""Update Synthetic tests
|
|
487
493
|
|
|
488
|
-
|
|
494
|
+
API request to update a list of Synthetic Tests.
|
|
489
495
|
|
|
490
|
-
:param
|
|
491
|
-
:type
|
|
496
|
+
:param synthetic_test_update: (required)
|
|
497
|
+
:type synthetic_test_update: SyntheticTestUpdate
|
|
492
498
|
:param _request_timeout: timeout setting for this request. If one
|
|
493
499
|
number provided, it will be total request
|
|
494
500
|
timeout. It can also be a pair (tuple) of
|
|
@@ -511,8 +517,8 @@ class SyntheticSettingsApi:
|
|
|
511
517
|
:return: Returns the result object.
|
|
512
518
|
""" # noqa: E501
|
|
513
519
|
|
|
514
|
-
_param = self.
|
|
515
|
-
|
|
520
|
+
_param = self._bulk_update_synthetic_tests_serialize(
|
|
521
|
+
synthetic_test_update=synthetic_test_update,
|
|
516
522
|
_request_auth=_request_auth,
|
|
517
523
|
_content_type=_content_type,
|
|
518
524
|
_headers=_headers,
|
|
@@ -520,7 +526,7 @@ class SyntheticSettingsApi:
|
|
|
520
526
|
)
|
|
521
527
|
|
|
522
528
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
-
'200': "
|
|
529
|
+
'200': "List[SyntheticBulkResponse]",
|
|
524
530
|
'401': None,
|
|
525
531
|
'403': None,
|
|
526
532
|
'500': None,
|
|
@@ -532,9 +538,9 @@ class SyntheticSettingsApi:
|
|
|
532
538
|
return response_data.response
|
|
533
539
|
|
|
534
540
|
|
|
535
|
-
def
|
|
541
|
+
def _bulk_update_synthetic_tests_serialize(
|
|
536
542
|
self,
|
|
537
|
-
|
|
543
|
+
synthetic_test_update,
|
|
538
544
|
_request_auth,
|
|
539
545
|
_content_type,
|
|
540
546
|
_headers,
|
|
@@ -560,8 +566,8 @@ class SyntheticSettingsApi:
|
|
|
560
566
|
# process the header parameters
|
|
561
567
|
# process the form parameters
|
|
562
568
|
# process the body parameter
|
|
563
|
-
if
|
|
564
|
-
_body_params =
|
|
569
|
+
if synthetic_test_update is not None:
|
|
570
|
+
_body_params = synthetic_test_update
|
|
565
571
|
|
|
566
572
|
|
|
567
573
|
# set the HTTP header `Accept`
|
|
@@ -593,7 +599,7 @@ class SyntheticSettingsApi:
|
|
|
593
599
|
|
|
594
600
|
return self.api_client.param_serialize(
|
|
595
601
|
method='POST',
|
|
596
|
-
resource_path='/api/synthetics/settings/tests',
|
|
602
|
+
resource_path='/api/synthetics/settings/tests/bulk-update',
|
|
597
603
|
path_params=_path_params,
|
|
598
604
|
query_params=_query_params,
|
|
599
605
|
header_params=_header_params,
|
|
@@ -610,9 +616,9 @@ class SyntheticSettingsApi:
|
|
|
610
616
|
|
|
611
617
|
|
|
612
618
|
@validate_call
|
|
613
|
-
def
|
|
619
|
+
def create_synthetic_credential(
|
|
614
620
|
self,
|
|
615
|
-
|
|
621
|
+
synthetic_credential: SyntheticCredential,
|
|
616
622
|
_request_timeout: Union[
|
|
617
623
|
None,
|
|
618
624
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -626,12 +632,12 @@ class SyntheticSettingsApi:
|
|
|
626
632
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
627
633
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
628
634
|
) -> None:
|
|
629
|
-
"""
|
|
635
|
+
"""Create a Synthetic credential
|
|
630
636
|
|
|
631
|
-
API request to
|
|
637
|
+
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.
|
|
632
638
|
|
|
633
|
-
:param
|
|
634
|
-
:type
|
|
639
|
+
:param synthetic_credential: (required)
|
|
640
|
+
:type synthetic_credential: SyntheticCredential
|
|
635
641
|
:param _request_timeout: timeout setting for this request. If one
|
|
636
642
|
number provided, it will be total request
|
|
637
643
|
timeout. It can also be a pair (tuple) of
|
|
@@ -654,8 +660,8 @@ class SyntheticSettingsApi:
|
|
|
654
660
|
:return: Returns the result object.
|
|
655
661
|
""" # noqa: E501
|
|
656
662
|
|
|
657
|
-
_param = self.
|
|
658
|
-
|
|
663
|
+
_param = self._create_synthetic_credential_serialize(
|
|
664
|
+
synthetic_credential=synthetic_credential,
|
|
659
665
|
_request_auth=_request_auth,
|
|
660
666
|
_content_type=_content_type,
|
|
661
667
|
_headers=_headers,
|
|
@@ -664,7 +670,6 @@ class SyntheticSettingsApi:
|
|
|
664
670
|
|
|
665
671
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
666
672
|
'200': None,
|
|
667
|
-
'204': None,
|
|
668
673
|
'401': None,
|
|
669
674
|
'403': None,
|
|
670
675
|
'500': None,
|
|
@@ -681,9 +686,9 @@ class SyntheticSettingsApi:
|
|
|
681
686
|
|
|
682
687
|
|
|
683
688
|
@validate_call
|
|
684
|
-
def
|
|
689
|
+
def create_synthetic_credential_with_http_info(
|
|
685
690
|
self,
|
|
686
|
-
|
|
691
|
+
synthetic_credential: SyntheticCredential,
|
|
687
692
|
_request_timeout: Union[
|
|
688
693
|
None,
|
|
689
694
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -697,12 +702,12 @@ class SyntheticSettingsApi:
|
|
|
697
702
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
698
703
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
699
704
|
) -> ApiResponse[None]:
|
|
700
|
-
"""
|
|
705
|
+
"""Create a Synthetic credential
|
|
701
706
|
|
|
702
|
-
API request to
|
|
707
|
+
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.
|
|
703
708
|
|
|
704
|
-
:param
|
|
705
|
-
:type
|
|
709
|
+
:param synthetic_credential: (required)
|
|
710
|
+
:type synthetic_credential: SyntheticCredential
|
|
706
711
|
:param _request_timeout: timeout setting for this request. If one
|
|
707
712
|
number provided, it will be total request
|
|
708
713
|
timeout. It can also be a pair (tuple) of
|
|
@@ -725,8 +730,8 @@ class SyntheticSettingsApi:
|
|
|
725
730
|
:return: Returns the result object.
|
|
726
731
|
""" # noqa: E501
|
|
727
732
|
|
|
728
|
-
_param = self.
|
|
729
|
-
|
|
733
|
+
_param = self._create_synthetic_credential_serialize(
|
|
734
|
+
synthetic_credential=synthetic_credential,
|
|
730
735
|
_request_auth=_request_auth,
|
|
731
736
|
_content_type=_content_type,
|
|
732
737
|
_headers=_headers,
|
|
@@ -735,7 +740,6 @@ class SyntheticSettingsApi:
|
|
|
735
740
|
|
|
736
741
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
737
742
|
'200': None,
|
|
738
|
-
'204': None,
|
|
739
743
|
'401': None,
|
|
740
744
|
'403': None,
|
|
741
745
|
'500': None,
|
|
@@ -752,9 +756,9 @@ class SyntheticSettingsApi:
|
|
|
752
756
|
|
|
753
757
|
|
|
754
758
|
@validate_call
|
|
755
|
-
def
|
|
759
|
+
def create_synthetic_credential_without_preload_content(
|
|
756
760
|
self,
|
|
757
|
-
|
|
761
|
+
synthetic_credential: SyntheticCredential,
|
|
758
762
|
_request_timeout: Union[
|
|
759
763
|
None,
|
|
760
764
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -768,12 +772,12 @@ class SyntheticSettingsApi:
|
|
|
768
772
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
769
773
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
770
774
|
) -> RESTResponseType:
|
|
771
|
-
"""
|
|
775
|
+
"""Create a Synthetic credential
|
|
772
776
|
|
|
773
|
-
API request to
|
|
777
|
+
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.
|
|
774
778
|
|
|
775
|
-
:param
|
|
776
|
-
:type
|
|
779
|
+
:param synthetic_credential: (required)
|
|
780
|
+
:type synthetic_credential: SyntheticCredential
|
|
777
781
|
:param _request_timeout: timeout setting for this request. If one
|
|
778
782
|
number provided, it will be total request
|
|
779
783
|
timeout. It can also be a pair (tuple) of
|
|
@@ -796,8 +800,8 @@ class SyntheticSettingsApi:
|
|
|
796
800
|
:return: Returns the result object.
|
|
797
801
|
""" # noqa: E501
|
|
798
802
|
|
|
799
|
-
_param = self.
|
|
800
|
-
|
|
803
|
+
_param = self._create_synthetic_credential_serialize(
|
|
804
|
+
synthetic_credential=synthetic_credential,
|
|
801
805
|
_request_auth=_request_auth,
|
|
802
806
|
_content_type=_content_type,
|
|
803
807
|
_headers=_headers,
|
|
@@ -806,7 +810,6 @@ class SyntheticSettingsApi:
|
|
|
806
810
|
|
|
807
811
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
808
812
|
'200': None,
|
|
809
|
-
'204': None,
|
|
810
813
|
'401': None,
|
|
811
814
|
'403': None,
|
|
812
815
|
'500': None,
|
|
@@ -818,9 +821,9 @@ class SyntheticSettingsApi:
|
|
|
818
821
|
return response_data.response
|
|
819
822
|
|
|
820
823
|
|
|
821
|
-
def
|
|
824
|
+
def _create_synthetic_credential_serialize(
|
|
822
825
|
self,
|
|
823
|
-
|
|
826
|
+
synthetic_credential,
|
|
824
827
|
_request_auth,
|
|
825
828
|
_content_type,
|
|
826
829
|
_headers,
|
|
@@ -842,12 +845,12 @@ class SyntheticSettingsApi:
|
|
|
842
845
|
_body_params: Optional[bytes] = None
|
|
843
846
|
|
|
844
847
|
# process the path parameters
|
|
845
|
-
if name is not None:
|
|
846
|
-
_path_params['name'] = name
|
|
847
848
|
# process the query parameters
|
|
848
849
|
# process the header parameters
|
|
849
850
|
# process the form parameters
|
|
850
851
|
# process the body parameter
|
|
852
|
+
if synthetic_credential is not None:
|
|
853
|
+
_body_params = synthetic_credential
|
|
851
854
|
|
|
852
855
|
|
|
853
856
|
# set the HTTP header `Accept`
|
|
@@ -858,6 +861,19 @@ class SyntheticSettingsApi:
|
|
|
858
861
|
]
|
|
859
862
|
)
|
|
860
863
|
|
|
864
|
+
# set the HTTP header `Content-Type`
|
|
865
|
+
if _content_type:
|
|
866
|
+
_header_params['Content-Type'] = _content_type
|
|
867
|
+
else:
|
|
868
|
+
_default_content_type = (
|
|
869
|
+
self.api_client.select_header_content_type(
|
|
870
|
+
[
|
|
871
|
+
'application/json'
|
|
872
|
+
]
|
|
873
|
+
)
|
|
874
|
+
)
|
|
875
|
+
if _default_content_type is not None:
|
|
876
|
+
_header_params['Content-Type'] = _default_content_type
|
|
861
877
|
|
|
862
878
|
# authentication setting
|
|
863
879
|
_auth_settings: List[str] = [
|
|
@@ -865,8 +881,8 @@ class SyntheticSettingsApi:
|
|
|
865
881
|
]
|
|
866
882
|
|
|
867
883
|
return self.api_client.param_serialize(
|
|
868
|
-
method='
|
|
869
|
-
resource_path='/api/synthetics/settings/credentials
|
|
884
|
+
method='POST',
|
|
885
|
+
resource_path='/api/synthetics/settings/credentials',
|
|
870
886
|
path_params=_path_params,
|
|
871
887
|
query_params=_query_params,
|
|
872
888
|
header_params=_header_params,
|
|
@@ -883,9 +899,9 @@ class SyntheticSettingsApi:
|
|
|
883
899
|
|
|
884
900
|
|
|
885
901
|
@validate_call
|
|
886
|
-
def
|
|
902
|
+
def create_synthetic_test(
|
|
887
903
|
self,
|
|
888
|
-
|
|
904
|
+
synthetic_test: SyntheticTest,
|
|
889
905
|
_request_timeout: Union[
|
|
890
906
|
None,
|
|
891
907
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -898,13 +914,13 @@ class SyntheticSettingsApi:
|
|
|
898
914
|
_content_type: Optional[StrictStr] = None,
|
|
899
915
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
900
916
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
901
|
-
) ->
|
|
902
|
-
"""
|
|
917
|
+
) -> SyntheticTest:
|
|
918
|
+
"""Create a Synthetic test
|
|
903
919
|
|
|
904
|
-
|
|
920
|
+
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.
|
|
905
921
|
|
|
906
|
-
:param
|
|
907
|
-
:type
|
|
922
|
+
:param synthetic_test: (required)
|
|
923
|
+
:type synthetic_test: SyntheticTest
|
|
908
924
|
:param _request_timeout: timeout setting for this request. If one
|
|
909
925
|
number provided, it will be total request
|
|
910
926
|
timeout. It can also be a pair (tuple) of
|
|
@@ -927,8 +943,8 @@ class SyntheticSettingsApi:
|
|
|
927
943
|
:return: Returns the result object.
|
|
928
944
|
""" # noqa: E501
|
|
929
945
|
|
|
930
|
-
_param = self.
|
|
931
|
-
|
|
946
|
+
_param = self._create_synthetic_test_serialize(
|
|
947
|
+
synthetic_test=synthetic_test,
|
|
932
948
|
_request_auth=_request_auth,
|
|
933
949
|
_content_type=_content_type,
|
|
934
950
|
_headers=_headers,
|
|
@@ -936,8 +952,9 @@ class SyntheticSettingsApi:
|
|
|
936
952
|
)
|
|
937
953
|
|
|
938
954
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
939
|
-
'
|
|
955
|
+
'201': "SyntheticTest",
|
|
940
956
|
'401': None,
|
|
957
|
+
'403': None,
|
|
941
958
|
'500': None,
|
|
942
959
|
}
|
|
943
960
|
response_data = self.api_client.call_api(
|
|
@@ -952,9 +969,9 @@ class SyntheticSettingsApi:
|
|
|
952
969
|
|
|
953
970
|
|
|
954
971
|
@validate_call
|
|
955
|
-
def
|
|
972
|
+
def create_synthetic_test_with_http_info(
|
|
956
973
|
self,
|
|
957
|
-
|
|
974
|
+
synthetic_test: SyntheticTest,
|
|
958
975
|
_request_timeout: Union[
|
|
959
976
|
None,
|
|
960
977
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -967,13 +984,13 @@ class SyntheticSettingsApi:
|
|
|
967
984
|
_content_type: Optional[StrictStr] = None,
|
|
968
985
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
969
986
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
970
|
-
) -> ApiResponse[
|
|
971
|
-
"""
|
|
987
|
+
) -> ApiResponse[SyntheticTest]:
|
|
988
|
+
"""Create a Synthetic test
|
|
972
989
|
|
|
973
|
-
|
|
990
|
+
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.
|
|
974
991
|
|
|
975
|
-
:param
|
|
976
|
-
:type
|
|
992
|
+
:param synthetic_test: (required)
|
|
993
|
+
:type synthetic_test: SyntheticTest
|
|
977
994
|
:param _request_timeout: timeout setting for this request. If one
|
|
978
995
|
number provided, it will be total request
|
|
979
996
|
timeout. It can also be a pair (tuple) of
|
|
@@ -996,8 +1013,8 @@ class SyntheticSettingsApi:
|
|
|
996
1013
|
:return: Returns the result object.
|
|
997
1014
|
""" # noqa: E501
|
|
998
1015
|
|
|
999
|
-
_param = self.
|
|
1000
|
-
|
|
1016
|
+
_param = self._create_synthetic_test_serialize(
|
|
1017
|
+
synthetic_test=synthetic_test,
|
|
1001
1018
|
_request_auth=_request_auth,
|
|
1002
1019
|
_content_type=_content_type,
|
|
1003
1020
|
_headers=_headers,
|
|
@@ -1005,8 +1022,9 @@ class SyntheticSettingsApi:
|
|
|
1005
1022
|
)
|
|
1006
1023
|
|
|
1007
1024
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1008
|
-
'
|
|
1025
|
+
'201': "SyntheticTest",
|
|
1009
1026
|
'401': None,
|
|
1027
|
+
'403': None,
|
|
1010
1028
|
'500': None,
|
|
1011
1029
|
}
|
|
1012
1030
|
response_data = self.api_client.call_api(
|
|
@@ -1021,9 +1039,9 @@ class SyntheticSettingsApi:
|
|
|
1021
1039
|
|
|
1022
1040
|
|
|
1023
1041
|
@validate_call
|
|
1024
|
-
def
|
|
1042
|
+
def create_synthetic_test_without_preload_content(
|
|
1025
1043
|
self,
|
|
1026
|
-
|
|
1044
|
+
synthetic_test: SyntheticTest,
|
|
1027
1045
|
_request_timeout: Union[
|
|
1028
1046
|
None,
|
|
1029
1047
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1037,12 +1055,12 @@ class SyntheticSettingsApi:
|
|
|
1037
1055
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1038
1056
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1039
1057
|
) -> RESTResponseType:
|
|
1040
|
-
"""
|
|
1058
|
+
"""Create a Synthetic test
|
|
1041
1059
|
|
|
1042
|
-
|
|
1060
|
+
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.
|
|
1043
1061
|
|
|
1044
|
-
:param
|
|
1045
|
-
:type
|
|
1062
|
+
:param synthetic_test: (required)
|
|
1063
|
+
:type synthetic_test: SyntheticTest
|
|
1046
1064
|
:param _request_timeout: timeout setting for this request. If one
|
|
1047
1065
|
number provided, it will be total request
|
|
1048
1066
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1065,8 +1083,8 @@ class SyntheticSettingsApi:
|
|
|
1065
1083
|
:return: Returns the result object.
|
|
1066
1084
|
""" # noqa: E501
|
|
1067
1085
|
|
|
1068
|
-
_param = self.
|
|
1069
|
-
|
|
1086
|
+
_param = self._create_synthetic_test_serialize(
|
|
1087
|
+
synthetic_test=synthetic_test,
|
|
1070
1088
|
_request_auth=_request_auth,
|
|
1071
1089
|
_content_type=_content_type,
|
|
1072
1090
|
_headers=_headers,
|
|
@@ -1074,8 +1092,9 @@ class SyntheticSettingsApi:
|
|
|
1074
1092
|
)
|
|
1075
1093
|
|
|
1076
1094
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1077
|
-
'
|
|
1095
|
+
'201': "SyntheticTest",
|
|
1078
1096
|
'401': None,
|
|
1097
|
+
'403': None,
|
|
1079
1098
|
'500': None,
|
|
1080
1099
|
}
|
|
1081
1100
|
response_data = self.api_client.call_api(
|
|
@@ -1085,9 +1104,9 @@ class SyntheticSettingsApi:
|
|
|
1085
1104
|
return response_data.response
|
|
1086
1105
|
|
|
1087
1106
|
|
|
1088
|
-
def
|
|
1107
|
+
def _create_synthetic_test_serialize(
|
|
1089
1108
|
self,
|
|
1090
|
-
|
|
1109
|
+
synthetic_test,
|
|
1091
1110
|
_request_auth,
|
|
1092
1111
|
_content_type,
|
|
1093
1112
|
_headers,
|
|
@@ -1109,15 +1128,35 @@ class SyntheticSettingsApi:
|
|
|
1109
1128
|
_body_params: Optional[bytes] = None
|
|
1110
1129
|
|
|
1111
1130
|
# process the path parameters
|
|
1112
|
-
if id is not None:
|
|
1113
|
-
_path_params['id'] = id
|
|
1114
1131
|
# process the query parameters
|
|
1115
1132
|
# process the header parameters
|
|
1116
1133
|
# process the form parameters
|
|
1117
1134
|
# process the body parameter
|
|
1135
|
+
if synthetic_test is not None:
|
|
1136
|
+
_body_params = synthetic_test
|
|
1118
1137
|
|
|
1119
1138
|
|
|
1139
|
+
# set the HTTP header `Accept`
|
|
1140
|
+
if 'Accept' not in _header_params:
|
|
1141
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1142
|
+
[
|
|
1143
|
+
'application/json'
|
|
1144
|
+
]
|
|
1145
|
+
)
|
|
1120
1146
|
|
|
1147
|
+
# set the HTTP header `Content-Type`
|
|
1148
|
+
if _content_type:
|
|
1149
|
+
_header_params['Content-Type'] = _content_type
|
|
1150
|
+
else:
|
|
1151
|
+
_default_content_type = (
|
|
1152
|
+
self.api_client.select_header_content_type(
|
|
1153
|
+
[
|
|
1154
|
+
'application/json'
|
|
1155
|
+
]
|
|
1156
|
+
)
|
|
1157
|
+
)
|
|
1158
|
+
if _default_content_type is not None:
|
|
1159
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1121
1160
|
|
|
1122
1161
|
# authentication setting
|
|
1123
1162
|
_auth_settings: List[str] = [
|
|
@@ -1125,8 +1164,8 @@ class SyntheticSettingsApi:
|
|
|
1125
1164
|
]
|
|
1126
1165
|
|
|
1127
1166
|
return self.api_client.param_serialize(
|
|
1128
|
-
method='
|
|
1129
|
-
resource_path='/api/synthetics/settings/
|
|
1167
|
+
method='POST',
|
|
1168
|
+
resource_path='/api/synthetics/settings/tests',
|
|
1130
1169
|
path_params=_path_params,
|
|
1131
1170
|
query_params=_query_params,
|
|
1132
1171
|
header_params=_header_params,
|
|
@@ -1143,9 +1182,9 @@ class SyntheticSettingsApi:
|
|
|
1143
1182
|
|
|
1144
1183
|
|
|
1145
1184
|
@validate_call
|
|
1146
|
-
def
|
|
1185
|
+
def create_synthetic_test_cicd(
|
|
1147
1186
|
self,
|
|
1148
|
-
|
|
1187
|
+
synthetic_test_cicd: List[SyntheticTestCICD],
|
|
1149
1188
|
_request_timeout: Union[
|
|
1150
1189
|
None,
|
|
1151
1190
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1158,13 +1197,13 @@ class SyntheticSettingsApi:
|
|
|
1158
1197
|
_content_type: Optional[StrictStr] = None,
|
|
1159
1198
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1160
1199
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1161
|
-
) ->
|
|
1162
|
-
"""
|
|
1200
|
+
) -> List[SyntheticTestCICDResponse]:
|
|
1201
|
+
"""Create a Synthetic test CI/CD
|
|
1163
1202
|
|
|
1164
|
-
API request to
|
|
1203
|
+
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.
|
|
1165
1204
|
|
|
1166
|
-
:param
|
|
1167
|
-
:type
|
|
1205
|
+
:param synthetic_test_cicd: (required)
|
|
1206
|
+
:type synthetic_test_cicd: List[SyntheticTestCICD]
|
|
1168
1207
|
:param _request_timeout: timeout setting for this request. If one
|
|
1169
1208
|
number provided, it will be total request
|
|
1170
1209
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1187,8 +1226,8 @@ class SyntheticSettingsApi:
|
|
|
1187
1226
|
:return: Returns the result object.
|
|
1188
1227
|
""" # noqa: E501
|
|
1189
1228
|
|
|
1190
|
-
_param = self.
|
|
1191
|
-
|
|
1229
|
+
_param = self._create_synthetic_test_cicd_serialize(
|
|
1230
|
+
synthetic_test_cicd=synthetic_test_cicd,
|
|
1192
1231
|
_request_auth=_request_auth,
|
|
1193
1232
|
_content_type=_content_type,
|
|
1194
1233
|
_headers=_headers,
|
|
@@ -1196,8 +1235,7 @@ class SyntheticSettingsApi:
|
|
|
1196
1235
|
)
|
|
1197
1236
|
|
|
1198
1237
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1199
|
-
'200':
|
|
1200
|
-
'204': None,
|
|
1238
|
+
'200': "List[SyntheticTestCICDResponse]",
|
|
1201
1239
|
'401': None,
|
|
1202
1240
|
'403': None,
|
|
1203
1241
|
'500': None,
|
|
@@ -1214,9 +1252,9 @@ class SyntheticSettingsApi:
|
|
|
1214
1252
|
|
|
1215
1253
|
|
|
1216
1254
|
@validate_call
|
|
1217
|
-
def
|
|
1255
|
+
def create_synthetic_test_cicd_with_http_info(
|
|
1218
1256
|
self,
|
|
1219
|
-
|
|
1257
|
+
synthetic_test_cicd: List[SyntheticTestCICD],
|
|
1220
1258
|
_request_timeout: Union[
|
|
1221
1259
|
None,
|
|
1222
1260
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1229,13 +1267,1350 @@ class SyntheticSettingsApi:
|
|
|
1229
1267
|
_content_type: Optional[StrictStr] = None,
|
|
1230
1268
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1231
1269
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1232
|
-
) -> ApiResponse[
|
|
1233
|
-
"""
|
|
1270
|
+
) -> ApiResponse[List[SyntheticTestCICDResponse]]:
|
|
1271
|
+
"""Create a Synthetic test CI/CD
|
|
1234
1272
|
|
|
1235
|
-
API request to
|
|
1273
|
+
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.
|
|
1274
|
+
|
|
1275
|
+
:param synthetic_test_cicd: (required)
|
|
1276
|
+
:type synthetic_test_cicd: List[SyntheticTestCICD]
|
|
1277
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1278
|
+
number provided, it will be total request
|
|
1279
|
+
timeout. It can also be a pair (tuple) of
|
|
1280
|
+
(connection, read) timeouts.
|
|
1281
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1282
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1283
|
+
request; this effectively ignores the
|
|
1284
|
+
authentication in the spec for a single request.
|
|
1285
|
+
:type _request_auth: dict, optional
|
|
1286
|
+
:param _content_type: force content-type for the request.
|
|
1287
|
+
:type _content_type: str, Optional
|
|
1288
|
+
:param _headers: set to override the headers for a single
|
|
1289
|
+
request; this effectively ignores the headers
|
|
1290
|
+
in the spec for a single request.
|
|
1291
|
+
:type _headers: dict, optional
|
|
1292
|
+
:param _host_index: set to override the host_index for a single
|
|
1293
|
+
request; this effectively ignores the host_index
|
|
1294
|
+
in the spec for a single request.
|
|
1295
|
+
:type _host_index: int, optional
|
|
1296
|
+
:return: Returns the result object.
|
|
1297
|
+
""" # noqa: E501
|
|
1298
|
+
|
|
1299
|
+
_param = self._create_synthetic_test_cicd_serialize(
|
|
1300
|
+
synthetic_test_cicd=synthetic_test_cicd,
|
|
1301
|
+
_request_auth=_request_auth,
|
|
1302
|
+
_content_type=_content_type,
|
|
1303
|
+
_headers=_headers,
|
|
1304
|
+
_host_index=_host_index
|
|
1305
|
+
)
|
|
1306
|
+
|
|
1307
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1308
|
+
'200': "List[SyntheticTestCICDResponse]",
|
|
1309
|
+
'401': None,
|
|
1310
|
+
'403': None,
|
|
1311
|
+
'500': None,
|
|
1312
|
+
}
|
|
1313
|
+
response_data = self.api_client.call_api(
|
|
1314
|
+
*_param,
|
|
1315
|
+
_request_timeout=_request_timeout
|
|
1316
|
+
)
|
|
1317
|
+
response_data.read()
|
|
1318
|
+
return self.api_client.response_deserialize(
|
|
1319
|
+
response_data=response_data,
|
|
1320
|
+
response_types_map=_response_types_map,
|
|
1321
|
+
)
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
@validate_call
|
|
1325
|
+
def create_synthetic_test_cicd_without_preload_content(
|
|
1326
|
+
self,
|
|
1327
|
+
synthetic_test_cicd: List[SyntheticTestCICD],
|
|
1328
|
+
_request_timeout: Union[
|
|
1329
|
+
None,
|
|
1330
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1331
|
+
Tuple[
|
|
1332
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1333
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1334
|
+
]
|
|
1335
|
+
] = None,
|
|
1336
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1337
|
+
_content_type: Optional[StrictStr] = None,
|
|
1338
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1339
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1340
|
+
) -> RESTResponseType:
|
|
1341
|
+
"""Create a Synthetic test CI/CD
|
|
1342
|
+
|
|
1343
|
+
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.
|
|
1344
|
+
|
|
1345
|
+
:param synthetic_test_cicd: (required)
|
|
1346
|
+
:type synthetic_test_cicd: List[SyntheticTestCICD]
|
|
1347
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1348
|
+
number provided, it will be total request
|
|
1349
|
+
timeout. It can also be a pair (tuple) of
|
|
1350
|
+
(connection, read) timeouts.
|
|
1351
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1352
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1353
|
+
request; this effectively ignores the
|
|
1354
|
+
authentication in the spec for a single request.
|
|
1355
|
+
:type _request_auth: dict, optional
|
|
1356
|
+
:param _content_type: force content-type for the request.
|
|
1357
|
+
:type _content_type: str, Optional
|
|
1358
|
+
:param _headers: set to override the headers for a single
|
|
1359
|
+
request; this effectively ignores the headers
|
|
1360
|
+
in the spec for a single request.
|
|
1361
|
+
:type _headers: dict, optional
|
|
1362
|
+
:param _host_index: set to override the host_index for a single
|
|
1363
|
+
request; this effectively ignores the host_index
|
|
1364
|
+
in the spec for a single request.
|
|
1365
|
+
:type _host_index: int, optional
|
|
1366
|
+
:return: Returns the result object.
|
|
1367
|
+
""" # noqa: E501
|
|
1368
|
+
|
|
1369
|
+
_param = self._create_synthetic_test_cicd_serialize(
|
|
1370
|
+
synthetic_test_cicd=synthetic_test_cicd,
|
|
1371
|
+
_request_auth=_request_auth,
|
|
1372
|
+
_content_type=_content_type,
|
|
1373
|
+
_headers=_headers,
|
|
1374
|
+
_host_index=_host_index
|
|
1375
|
+
)
|
|
1376
|
+
|
|
1377
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1378
|
+
'200': "List[SyntheticTestCICDResponse]",
|
|
1379
|
+
'401': None,
|
|
1380
|
+
'403': None,
|
|
1381
|
+
'500': None,
|
|
1382
|
+
}
|
|
1383
|
+
response_data = self.api_client.call_api(
|
|
1384
|
+
*_param,
|
|
1385
|
+
_request_timeout=_request_timeout
|
|
1386
|
+
)
|
|
1387
|
+
return response_data.response
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
def _create_synthetic_test_cicd_serialize(
|
|
1391
|
+
self,
|
|
1392
|
+
synthetic_test_cicd,
|
|
1393
|
+
_request_auth,
|
|
1394
|
+
_content_type,
|
|
1395
|
+
_headers,
|
|
1396
|
+
_host_index,
|
|
1397
|
+
) -> RequestSerialized:
|
|
1398
|
+
|
|
1399
|
+
_host = None
|
|
1400
|
+
|
|
1401
|
+
_collection_formats: Dict[str, str] = {
|
|
1402
|
+
'SyntheticTestCICD': '',
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
_path_params: Dict[str, str] = {}
|
|
1406
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1407
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1408
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1409
|
+
_files: Dict[
|
|
1410
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1411
|
+
] = {}
|
|
1412
|
+
_body_params: Optional[bytes] = None
|
|
1413
|
+
|
|
1414
|
+
# process the path parameters
|
|
1415
|
+
# process the query parameters
|
|
1416
|
+
# process the header parameters
|
|
1417
|
+
# process the form parameters
|
|
1418
|
+
# process the body parameter
|
|
1419
|
+
if synthetic_test_cicd is not None:
|
|
1420
|
+
_body_params = synthetic_test_cicd
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
# set the HTTP header `Accept`
|
|
1424
|
+
if 'Accept' not in _header_params:
|
|
1425
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1426
|
+
[
|
|
1427
|
+
'application/json'
|
|
1428
|
+
]
|
|
1429
|
+
)
|
|
1430
|
+
|
|
1431
|
+
# set the HTTP header `Content-Type`
|
|
1432
|
+
if _content_type:
|
|
1433
|
+
_header_params['Content-Type'] = _content_type
|
|
1434
|
+
else:
|
|
1435
|
+
_default_content_type = (
|
|
1436
|
+
self.api_client.select_header_content_type(
|
|
1437
|
+
[
|
|
1438
|
+
'application/json'
|
|
1439
|
+
]
|
|
1440
|
+
)
|
|
1441
|
+
)
|
|
1442
|
+
if _default_content_type is not None:
|
|
1443
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1444
|
+
|
|
1445
|
+
# authentication setting
|
|
1446
|
+
_auth_settings: List[str] = [
|
|
1447
|
+
'ApiKeyAuth'
|
|
1448
|
+
]
|
|
1449
|
+
|
|
1450
|
+
return self.api_client.param_serialize(
|
|
1451
|
+
method='POST',
|
|
1452
|
+
resource_path='/api/synthetics/settings/tests/ci-cd',
|
|
1453
|
+
path_params=_path_params,
|
|
1454
|
+
query_params=_query_params,
|
|
1455
|
+
header_params=_header_params,
|
|
1456
|
+
body=_body_params,
|
|
1457
|
+
post_params=_form_params,
|
|
1458
|
+
files=_files,
|
|
1459
|
+
auth_settings=_auth_settings,
|
|
1460
|
+
collection_formats=_collection_formats,
|
|
1461
|
+
_host=_host,
|
|
1462
|
+
_request_auth=_request_auth
|
|
1463
|
+
)
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
@validate_call
|
|
1469
|
+
def delete_synthetic_credential(
|
|
1470
|
+
self,
|
|
1471
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be deleted")],
|
|
1472
|
+
_request_timeout: Union[
|
|
1473
|
+
None,
|
|
1474
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1475
|
+
Tuple[
|
|
1476
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1477
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1478
|
+
]
|
|
1479
|
+
] = None,
|
|
1480
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1481
|
+
_content_type: Optional[StrictStr] = None,
|
|
1482
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1483
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1484
|
+
) -> None:
|
|
1485
|
+
"""Delete a Synthetic credential
|
|
1486
|
+
|
|
1487
|
+
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.
|
|
1488
|
+
|
|
1489
|
+
:param name: Name of the credential to be deleted (required)
|
|
1490
|
+
:type name: str
|
|
1491
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1492
|
+
number provided, it will be total request
|
|
1493
|
+
timeout. It can also be a pair (tuple) of
|
|
1494
|
+
(connection, read) timeouts.
|
|
1495
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1496
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1497
|
+
request; this effectively ignores the
|
|
1498
|
+
authentication in the spec for a single request.
|
|
1499
|
+
:type _request_auth: dict, optional
|
|
1500
|
+
:param _content_type: force content-type for the request.
|
|
1501
|
+
:type _content_type: str, Optional
|
|
1502
|
+
:param _headers: set to override the headers for a single
|
|
1503
|
+
request; this effectively ignores the headers
|
|
1504
|
+
in the spec for a single request.
|
|
1505
|
+
:type _headers: dict, optional
|
|
1506
|
+
:param _host_index: set to override the host_index for a single
|
|
1507
|
+
request; this effectively ignores the host_index
|
|
1508
|
+
in the spec for a single request.
|
|
1509
|
+
:type _host_index: int, optional
|
|
1510
|
+
:return: Returns the result object.
|
|
1511
|
+
""" # noqa: E501
|
|
1512
|
+
|
|
1513
|
+
_param = self._delete_synthetic_credential_serialize(
|
|
1514
|
+
name=name,
|
|
1515
|
+
_request_auth=_request_auth,
|
|
1516
|
+
_content_type=_content_type,
|
|
1517
|
+
_headers=_headers,
|
|
1518
|
+
_host_index=_host_index
|
|
1519
|
+
)
|
|
1520
|
+
|
|
1521
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1522
|
+
'204': None,
|
|
1523
|
+
'401': None,
|
|
1524
|
+
'403': None,
|
|
1525
|
+
'500': None,
|
|
1526
|
+
}
|
|
1527
|
+
response_data = self.api_client.call_api(
|
|
1528
|
+
*_param,
|
|
1529
|
+
_request_timeout=_request_timeout
|
|
1530
|
+
)
|
|
1531
|
+
response_data.read()
|
|
1532
|
+
return self.api_client.response_deserialize(
|
|
1533
|
+
response_data=response_data,
|
|
1534
|
+
response_types_map=_response_types_map,
|
|
1535
|
+
).data
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
@validate_call
|
|
1539
|
+
def delete_synthetic_credential_with_http_info(
|
|
1540
|
+
self,
|
|
1541
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be deleted")],
|
|
1542
|
+
_request_timeout: Union[
|
|
1543
|
+
None,
|
|
1544
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1545
|
+
Tuple[
|
|
1546
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1547
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1548
|
+
]
|
|
1549
|
+
] = None,
|
|
1550
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1551
|
+
_content_type: Optional[StrictStr] = None,
|
|
1552
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1553
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1554
|
+
) -> ApiResponse[None]:
|
|
1555
|
+
"""Delete a Synthetic credential
|
|
1556
|
+
|
|
1557
|
+
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.
|
|
1558
|
+
|
|
1559
|
+
:param name: Name of the credential to be deleted (required)
|
|
1560
|
+
:type name: str
|
|
1561
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1562
|
+
number provided, it will be total request
|
|
1563
|
+
timeout. It can also be a pair (tuple) of
|
|
1564
|
+
(connection, read) timeouts.
|
|
1565
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1566
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1567
|
+
request; this effectively ignores the
|
|
1568
|
+
authentication in the spec for a single request.
|
|
1569
|
+
:type _request_auth: dict, optional
|
|
1570
|
+
:param _content_type: force content-type for the request.
|
|
1571
|
+
:type _content_type: str, Optional
|
|
1572
|
+
:param _headers: set to override the headers for a single
|
|
1573
|
+
request; this effectively ignores the headers
|
|
1574
|
+
in the spec for a single request.
|
|
1575
|
+
:type _headers: dict, optional
|
|
1576
|
+
:param _host_index: set to override the host_index for a single
|
|
1577
|
+
request; this effectively ignores the host_index
|
|
1578
|
+
in the spec for a single request.
|
|
1579
|
+
:type _host_index: int, optional
|
|
1580
|
+
:return: Returns the result object.
|
|
1581
|
+
""" # noqa: E501
|
|
1582
|
+
|
|
1583
|
+
_param = self._delete_synthetic_credential_serialize(
|
|
1584
|
+
name=name,
|
|
1585
|
+
_request_auth=_request_auth,
|
|
1586
|
+
_content_type=_content_type,
|
|
1587
|
+
_headers=_headers,
|
|
1588
|
+
_host_index=_host_index
|
|
1589
|
+
)
|
|
1590
|
+
|
|
1591
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1592
|
+
'204': None,
|
|
1593
|
+
'401': None,
|
|
1594
|
+
'403': None,
|
|
1595
|
+
'500': None,
|
|
1596
|
+
}
|
|
1597
|
+
response_data = self.api_client.call_api(
|
|
1598
|
+
*_param,
|
|
1599
|
+
_request_timeout=_request_timeout
|
|
1600
|
+
)
|
|
1601
|
+
response_data.read()
|
|
1602
|
+
return self.api_client.response_deserialize(
|
|
1603
|
+
response_data=response_data,
|
|
1604
|
+
response_types_map=_response_types_map,
|
|
1605
|
+
)
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
@validate_call
|
|
1609
|
+
def delete_synthetic_credential_without_preload_content(
|
|
1610
|
+
self,
|
|
1611
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be deleted")],
|
|
1612
|
+
_request_timeout: Union[
|
|
1613
|
+
None,
|
|
1614
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1615
|
+
Tuple[
|
|
1616
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1617
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1618
|
+
]
|
|
1619
|
+
] = None,
|
|
1620
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1621
|
+
_content_type: Optional[StrictStr] = None,
|
|
1622
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1623
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1624
|
+
) -> RESTResponseType:
|
|
1625
|
+
"""Delete a Synthetic credential
|
|
1626
|
+
|
|
1627
|
+
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.
|
|
1628
|
+
|
|
1629
|
+
:param name: Name of the credential to be deleted (required)
|
|
1630
|
+
:type name: str
|
|
1631
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1632
|
+
number provided, it will be total request
|
|
1633
|
+
timeout. It can also be a pair (tuple) of
|
|
1634
|
+
(connection, read) timeouts.
|
|
1635
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1636
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1637
|
+
request; this effectively ignores the
|
|
1638
|
+
authentication in the spec for a single request.
|
|
1639
|
+
:type _request_auth: dict, optional
|
|
1640
|
+
:param _content_type: force content-type for the request.
|
|
1641
|
+
:type _content_type: str, Optional
|
|
1642
|
+
:param _headers: set to override the headers for a single
|
|
1643
|
+
request; this effectively ignores the headers
|
|
1644
|
+
in the spec for a single request.
|
|
1645
|
+
:type _headers: dict, optional
|
|
1646
|
+
:param _host_index: set to override the host_index for a single
|
|
1647
|
+
request; this effectively ignores the host_index
|
|
1648
|
+
in the spec for a single request.
|
|
1649
|
+
:type _host_index: int, optional
|
|
1650
|
+
:return: Returns the result object.
|
|
1651
|
+
""" # noqa: E501
|
|
1652
|
+
|
|
1653
|
+
_param = self._delete_synthetic_credential_serialize(
|
|
1654
|
+
name=name,
|
|
1655
|
+
_request_auth=_request_auth,
|
|
1656
|
+
_content_type=_content_type,
|
|
1657
|
+
_headers=_headers,
|
|
1658
|
+
_host_index=_host_index
|
|
1659
|
+
)
|
|
1660
|
+
|
|
1661
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1662
|
+
'204': None,
|
|
1663
|
+
'401': None,
|
|
1664
|
+
'403': None,
|
|
1665
|
+
'500': None,
|
|
1666
|
+
}
|
|
1667
|
+
response_data = self.api_client.call_api(
|
|
1668
|
+
*_param,
|
|
1669
|
+
_request_timeout=_request_timeout
|
|
1670
|
+
)
|
|
1671
|
+
return response_data.response
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
def _delete_synthetic_credential_serialize(
|
|
1675
|
+
self,
|
|
1676
|
+
name,
|
|
1677
|
+
_request_auth,
|
|
1678
|
+
_content_type,
|
|
1679
|
+
_headers,
|
|
1680
|
+
_host_index,
|
|
1681
|
+
) -> RequestSerialized:
|
|
1682
|
+
|
|
1683
|
+
_host = None
|
|
1684
|
+
|
|
1685
|
+
_collection_formats: Dict[str, str] = {
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
_path_params: Dict[str, str] = {}
|
|
1689
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1690
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1691
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1692
|
+
_files: Dict[
|
|
1693
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1694
|
+
] = {}
|
|
1695
|
+
_body_params: Optional[bytes] = None
|
|
1696
|
+
|
|
1697
|
+
# process the path parameters
|
|
1698
|
+
if name is not None:
|
|
1699
|
+
_path_params['name'] = name
|
|
1700
|
+
# process the query parameters
|
|
1701
|
+
# process the header parameters
|
|
1702
|
+
# process the form parameters
|
|
1703
|
+
# process the body parameter
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
# authentication setting
|
|
1709
|
+
_auth_settings: List[str] = [
|
|
1710
|
+
'ApiKeyAuth'
|
|
1711
|
+
]
|
|
1712
|
+
|
|
1713
|
+
return self.api_client.param_serialize(
|
|
1714
|
+
method='DELETE',
|
|
1715
|
+
resource_path='/api/synthetics/settings/credentials/{name}',
|
|
1716
|
+
path_params=_path_params,
|
|
1717
|
+
query_params=_query_params,
|
|
1718
|
+
header_params=_header_params,
|
|
1719
|
+
body=_body_params,
|
|
1720
|
+
post_params=_form_params,
|
|
1721
|
+
files=_files,
|
|
1722
|
+
auth_settings=_auth_settings,
|
|
1723
|
+
collection_formats=_collection_formats,
|
|
1724
|
+
_host=_host,
|
|
1725
|
+
_request_auth=_request_auth
|
|
1726
|
+
)
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
@validate_call
|
|
1732
|
+
def delete_synthetic_location(
|
|
1733
|
+
self,
|
|
1734
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be deleted")],
|
|
1735
|
+
_request_timeout: Union[
|
|
1736
|
+
None,
|
|
1737
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1738
|
+
Tuple[
|
|
1739
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1740
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1741
|
+
]
|
|
1742
|
+
] = None,
|
|
1743
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1744
|
+
_content_type: Optional[StrictStr] = None,
|
|
1745
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1746
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1747
|
+
) -> None:
|
|
1748
|
+
"""Delete a Synthetic location
|
|
1749
|
+
|
|
1750
|
+
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.
|
|
1751
|
+
|
|
1752
|
+
:param id: Identifier of the location to be deleted (required)
|
|
1753
|
+
:type id: str
|
|
1754
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1755
|
+
number provided, it will be total request
|
|
1756
|
+
timeout. It can also be a pair (tuple) of
|
|
1757
|
+
(connection, read) timeouts.
|
|
1758
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1759
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1760
|
+
request; this effectively ignores the
|
|
1761
|
+
authentication in the spec for a single request.
|
|
1762
|
+
:type _request_auth: dict, optional
|
|
1763
|
+
:param _content_type: force content-type for the request.
|
|
1764
|
+
:type _content_type: str, Optional
|
|
1765
|
+
:param _headers: set to override the headers for a single
|
|
1766
|
+
request; this effectively ignores the headers
|
|
1767
|
+
in the spec for a single request.
|
|
1768
|
+
:type _headers: dict, optional
|
|
1769
|
+
:param _host_index: set to override the host_index for a single
|
|
1770
|
+
request; this effectively ignores the host_index
|
|
1771
|
+
in the spec for a single request.
|
|
1772
|
+
:type _host_index: int, optional
|
|
1773
|
+
:return: Returns the result object.
|
|
1774
|
+
""" # noqa: E501
|
|
1775
|
+
|
|
1776
|
+
_param = self._delete_synthetic_location_serialize(
|
|
1777
|
+
id=id,
|
|
1778
|
+
_request_auth=_request_auth,
|
|
1779
|
+
_content_type=_content_type,
|
|
1780
|
+
_headers=_headers,
|
|
1781
|
+
_host_index=_host_index
|
|
1782
|
+
)
|
|
1783
|
+
|
|
1784
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1785
|
+
'204': None,
|
|
1786
|
+
'401': None,
|
|
1787
|
+
'500': None,
|
|
1788
|
+
}
|
|
1789
|
+
response_data = self.api_client.call_api(
|
|
1790
|
+
*_param,
|
|
1791
|
+
_request_timeout=_request_timeout
|
|
1792
|
+
)
|
|
1793
|
+
response_data.read()
|
|
1794
|
+
return self.api_client.response_deserialize(
|
|
1795
|
+
response_data=response_data,
|
|
1796
|
+
response_types_map=_response_types_map,
|
|
1797
|
+
).data
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
@validate_call
|
|
1801
|
+
def delete_synthetic_location_with_http_info(
|
|
1802
|
+
self,
|
|
1803
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be deleted")],
|
|
1804
|
+
_request_timeout: Union[
|
|
1805
|
+
None,
|
|
1806
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1807
|
+
Tuple[
|
|
1808
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1809
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1810
|
+
]
|
|
1811
|
+
] = None,
|
|
1812
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1813
|
+
_content_type: Optional[StrictStr] = None,
|
|
1814
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1815
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1816
|
+
) -> ApiResponse[None]:
|
|
1817
|
+
"""Delete a Synthetic location
|
|
1818
|
+
|
|
1819
|
+
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.
|
|
1820
|
+
|
|
1821
|
+
:param id: Identifier of the location to be deleted (required)
|
|
1822
|
+
:type id: str
|
|
1823
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1824
|
+
number provided, it will be total request
|
|
1825
|
+
timeout. It can also be a pair (tuple) of
|
|
1826
|
+
(connection, read) timeouts.
|
|
1827
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1828
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1829
|
+
request; this effectively ignores the
|
|
1830
|
+
authentication in the spec for a single request.
|
|
1831
|
+
:type _request_auth: dict, optional
|
|
1832
|
+
:param _content_type: force content-type for the request.
|
|
1833
|
+
:type _content_type: str, Optional
|
|
1834
|
+
:param _headers: set to override the headers for a single
|
|
1835
|
+
request; this effectively ignores the headers
|
|
1836
|
+
in the spec for a single request.
|
|
1837
|
+
:type _headers: dict, optional
|
|
1838
|
+
:param _host_index: set to override the host_index for a single
|
|
1839
|
+
request; this effectively ignores the host_index
|
|
1840
|
+
in the spec for a single request.
|
|
1841
|
+
:type _host_index: int, optional
|
|
1842
|
+
:return: Returns the result object.
|
|
1843
|
+
""" # noqa: E501
|
|
1844
|
+
|
|
1845
|
+
_param = self._delete_synthetic_location_serialize(
|
|
1846
|
+
id=id,
|
|
1847
|
+
_request_auth=_request_auth,
|
|
1848
|
+
_content_type=_content_type,
|
|
1849
|
+
_headers=_headers,
|
|
1850
|
+
_host_index=_host_index
|
|
1851
|
+
)
|
|
1852
|
+
|
|
1853
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1854
|
+
'204': None,
|
|
1855
|
+
'401': None,
|
|
1856
|
+
'500': None,
|
|
1857
|
+
}
|
|
1858
|
+
response_data = self.api_client.call_api(
|
|
1859
|
+
*_param,
|
|
1860
|
+
_request_timeout=_request_timeout
|
|
1861
|
+
)
|
|
1862
|
+
response_data.read()
|
|
1863
|
+
return self.api_client.response_deserialize(
|
|
1864
|
+
response_data=response_data,
|
|
1865
|
+
response_types_map=_response_types_map,
|
|
1866
|
+
)
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
@validate_call
|
|
1870
|
+
def delete_synthetic_location_without_preload_content(
|
|
1871
|
+
self,
|
|
1872
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be deleted")],
|
|
1873
|
+
_request_timeout: Union[
|
|
1874
|
+
None,
|
|
1875
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1876
|
+
Tuple[
|
|
1877
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1878
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1879
|
+
]
|
|
1880
|
+
] = None,
|
|
1881
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1882
|
+
_content_type: Optional[StrictStr] = None,
|
|
1883
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1884
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1885
|
+
) -> RESTResponseType:
|
|
1886
|
+
"""Delete a Synthetic location
|
|
1887
|
+
|
|
1888
|
+
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.
|
|
1889
|
+
|
|
1890
|
+
:param id: Identifier of the location to be deleted (required)
|
|
1891
|
+
:type id: str
|
|
1892
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1893
|
+
number provided, it will be total request
|
|
1894
|
+
timeout. It can also be a pair (tuple) of
|
|
1895
|
+
(connection, read) timeouts.
|
|
1896
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1897
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1898
|
+
request; this effectively ignores the
|
|
1899
|
+
authentication in the spec for a single request.
|
|
1900
|
+
:type _request_auth: dict, optional
|
|
1901
|
+
:param _content_type: force content-type for the request.
|
|
1902
|
+
:type _content_type: str, Optional
|
|
1903
|
+
:param _headers: set to override the headers for a single
|
|
1904
|
+
request; this effectively ignores the headers
|
|
1905
|
+
in the spec for a single request.
|
|
1906
|
+
:type _headers: dict, optional
|
|
1907
|
+
:param _host_index: set to override the host_index for a single
|
|
1908
|
+
request; this effectively ignores the host_index
|
|
1909
|
+
in the spec for a single request.
|
|
1910
|
+
:type _host_index: int, optional
|
|
1911
|
+
:return: Returns the result object.
|
|
1912
|
+
""" # noqa: E501
|
|
1913
|
+
|
|
1914
|
+
_param = self._delete_synthetic_location_serialize(
|
|
1915
|
+
id=id,
|
|
1916
|
+
_request_auth=_request_auth,
|
|
1917
|
+
_content_type=_content_type,
|
|
1918
|
+
_headers=_headers,
|
|
1919
|
+
_host_index=_host_index
|
|
1920
|
+
)
|
|
1921
|
+
|
|
1922
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1923
|
+
'204': None,
|
|
1924
|
+
'401': None,
|
|
1925
|
+
'500': None,
|
|
1926
|
+
}
|
|
1927
|
+
response_data = self.api_client.call_api(
|
|
1928
|
+
*_param,
|
|
1929
|
+
_request_timeout=_request_timeout
|
|
1930
|
+
)
|
|
1931
|
+
return response_data.response
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
def _delete_synthetic_location_serialize(
|
|
1935
|
+
self,
|
|
1936
|
+
id,
|
|
1937
|
+
_request_auth,
|
|
1938
|
+
_content_type,
|
|
1939
|
+
_headers,
|
|
1940
|
+
_host_index,
|
|
1941
|
+
) -> RequestSerialized:
|
|
1942
|
+
|
|
1943
|
+
_host = None
|
|
1944
|
+
|
|
1945
|
+
_collection_formats: Dict[str, str] = {
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
_path_params: Dict[str, str] = {}
|
|
1949
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1950
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1951
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1952
|
+
_files: Dict[
|
|
1953
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1954
|
+
] = {}
|
|
1955
|
+
_body_params: Optional[bytes] = None
|
|
1956
|
+
|
|
1957
|
+
# process the path parameters
|
|
1958
|
+
if id is not None:
|
|
1959
|
+
_path_params['id'] = id
|
|
1960
|
+
# process the query parameters
|
|
1961
|
+
# process the header parameters
|
|
1962
|
+
# process the form parameters
|
|
1963
|
+
# process the body parameter
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
# authentication setting
|
|
1969
|
+
_auth_settings: List[str] = [
|
|
1970
|
+
'ApiKeyAuth'
|
|
1971
|
+
]
|
|
1972
|
+
|
|
1973
|
+
return self.api_client.param_serialize(
|
|
1974
|
+
method='DELETE',
|
|
1975
|
+
resource_path='/api/synthetics/settings/locations/{id}',
|
|
1976
|
+
path_params=_path_params,
|
|
1977
|
+
query_params=_query_params,
|
|
1978
|
+
header_params=_header_params,
|
|
1979
|
+
body=_body_params,
|
|
1980
|
+
post_params=_form_params,
|
|
1981
|
+
files=_files,
|
|
1982
|
+
auth_settings=_auth_settings,
|
|
1983
|
+
collection_formats=_collection_formats,
|
|
1984
|
+
_host=_host,
|
|
1985
|
+
_request_auth=_request_auth
|
|
1986
|
+
)
|
|
1987
|
+
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
@validate_call
|
|
1992
|
+
def delete_synthetic_test(
|
|
1993
|
+
self,
|
|
1994
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be deleted")],
|
|
1995
|
+
_request_timeout: Union[
|
|
1996
|
+
None,
|
|
1997
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1998
|
+
Tuple[
|
|
1999
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2000
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2001
|
+
]
|
|
2002
|
+
] = None,
|
|
2003
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2004
|
+
_content_type: Optional[StrictStr] = None,
|
|
2005
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2006
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2007
|
+
) -> None:
|
|
2008
|
+
"""Delete a Synthetic test
|
|
2009
|
+
|
|
2010
|
+
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.
|
|
2011
|
+
|
|
2012
|
+
:param id: Id of the synthetic test to be deleted (required)
|
|
2013
|
+
:type id: str
|
|
2014
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2015
|
+
number provided, it will be total request
|
|
2016
|
+
timeout. It can also be a pair (tuple) of
|
|
2017
|
+
(connection, read) timeouts.
|
|
2018
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2019
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2020
|
+
request; this effectively ignores the
|
|
2021
|
+
authentication in the spec for a single request.
|
|
2022
|
+
:type _request_auth: dict, optional
|
|
2023
|
+
:param _content_type: force content-type for the request.
|
|
2024
|
+
:type _content_type: str, Optional
|
|
2025
|
+
:param _headers: set to override the headers for a single
|
|
2026
|
+
request; this effectively ignores the headers
|
|
2027
|
+
in the spec for a single request.
|
|
2028
|
+
:type _headers: dict, optional
|
|
2029
|
+
:param _host_index: set to override the host_index for a single
|
|
2030
|
+
request; this effectively ignores the host_index
|
|
2031
|
+
in the spec for a single request.
|
|
2032
|
+
:type _host_index: int, optional
|
|
2033
|
+
:return: Returns the result object.
|
|
2034
|
+
""" # noqa: E501
|
|
2035
|
+
|
|
2036
|
+
_param = self._delete_synthetic_test_serialize(
|
|
2037
|
+
id=id,
|
|
2038
|
+
_request_auth=_request_auth,
|
|
2039
|
+
_content_type=_content_type,
|
|
2040
|
+
_headers=_headers,
|
|
2041
|
+
_host_index=_host_index
|
|
2042
|
+
)
|
|
2043
|
+
|
|
2044
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2045
|
+
'204': None,
|
|
2046
|
+
'401': None,
|
|
2047
|
+
'403': None,
|
|
2048
|
+
'500': None,
|
|
2049
|
+
}
|
|
2050
|
+
response_data = self.api_client.call_api(
|
|
2051
|
+
*_param,
|
|
2052
|
+
_request_timeout=_request_timeout
|
|
2053
|
+
)
|
|
2054
|
+
response_data.read()
|
|
2055
|
+
return self.api_client.response_deserialize(
|
|
2056
|
+
response_data=response_data,
|
|
2057
|
+
response_types_map=_response_types_map,
|
|
2058
|
+
).data
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
@validate_call
|
|
2062
|
+
def delete_synthetic_test_with_http_info(
|
|
2063
|
+
self,
|
|
2064
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be deleted")],
|
|
2065
|
+
_request_timeout: Union[
|
|
2066
|
+
None,
|
|
2067
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2068
|
+
Tuple[
|
|
2069
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2070
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2071
|
+
]
|
|
2072
|
+
] = None,
|
|
2073
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2074
|
+
_content_type: Optional[StrictStr] = None,
|
|
2075
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2076
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2077
|
+
) -> ApiResponse[None]:
|
|
2078
|
+
"""Delete a Synthetic test
|
|
2079
|
+
|
|
2080
|
+
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.
|
|
2081
|
+
|
|
2082
|
+
:param id: Id of the synthetic test to be deleted (required)
|
|
2083
|
+
:type id: str
|
|
2084
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2085
|
+
number provided, it will be total request
|
|
2086
|
+
timeout. It can also be a pair (tuple) of
|
|
2087
|
+
(connection, read) timeouts.
|
|
2088
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2089
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2090
|
+
request; this effectively ignores the
|
|
2091
|
+
authentication in the spec for a single request.
|
|
2092
|
+
:type _request_auth: dict, optional
|
|
2093
|
+
:param _content_type: force content-type for the request.
|
|
2094
|
+
:type _content_type: str, Optional
|
|
2095
|
+
:param _headers: set to override the headers for a single
|
|
2096
|
+
request; this effectively ignores the headers
|
|
2097
|
+
in the spec for a single request.
|
|
2098
|
+
:type _headers: dict, optional
|
|
2099
|
+
:param _host_index: set to override the host_index for a single
|
|
2100
|
+
request; this effectively ignores the host_index
|
|
2101
|
+
in the spec for a single request.
|
|
2102
|
+
:type _host_index: int, optional
|
|
2103
|
+
:return: Returns the result object.
|
|
2104
|
+
""" # noqa: E501
|
|
2105
|
+
|
|
2106
|
+
_param = self._delete_synthetic_test_serialize(
|
|
2107
|
+
id=id,
|
|
2108
|
+
_request_auth=_request_auth,
|
|
2109
|
+
_content_type=_content_type,
|
|
2110
|
+
_headers=_headers,
|
|
2111
|
+
_host_index=_host_index
|
|
2112
|
+
)
|
|
2113
|
+
|
|
2114
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2115
|
+
'204': None,
|
|
2116
|
+
'401': None,
|
|
2117
|
+
'403': None,
|
|
2118
|
+
'500': None,
|
|
2119
|
+
}
|
|
2120
|
+
response_data = self.api_client.call_api(
|
|
2121
|
+
*_param,
|
|
2122
|
+
_request_timeout=_request_timeout
|
|
2123
|
+
)
|
|
2124
|
+
response_data.read()
|
|
2125
|
+
return self.api_client.response_deserialize(
|
|
2126
|
+
response_data=response_data,
|
|
2127
|
+
response_types_map=_response_types_map,
|
|
2128
|
+
)
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
@validate_call
|
|
2132
|
+
def delete_synthetic_test_without_preload_content(
|
|
2133
|
+
self,
|
|
2134
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be deleted")],
|
|
2135
|
+
_request_timeout: Union[
|
|
2136
|
+
None,
|
|
2137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2138
|
+
Tuple[
|
|
2139
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2140
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2141
|
+
]
|
|
2142
|
+
] = None,
|
|
2143
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2144
|
+
_content_type: Optional[StrictStr] = None,
|
|
2145
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2146
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2147
|
+
) -> RESTResponseType:
|
|
2148
|
+
"""Delete a Synthetic test
|
|
2149
|
+
|
|
2150
|
+
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.
|
|
2151
|
+
|
|
2152
|
+
:param id: Id of the synthetic test to be deleted (required)
|
|
2153
|
+
:type id: str
|
|
2154
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2155
|
+
number provided, it will be total request
|
|
2156
|
+
timeout. It can also be a pair (tuple) of
|
|
2157
|
+
(connection, read) timeouts.
|
|
2158
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2159
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2160
|
+
request; this effectively ignores the
|
|
2161
|
+
authentication in the spec for a single request.
|
|
2162
|
+
:type _request_auth: dict, optional
|
|
2163
|
+
:param _content_type: force content-type for the request.
|
|
2164
|
+
:type _content_type: str, Optional
|
|
2165
|
+
:param _headers: set to override the headers for a single
|
|
2166
|
+
request; this effectively ignores the headers
|
|
2167
|
+
in the spec for a single request.
|
|
2168
|
+
:type _headers: dict, optional
|
|
2169
|
+
:param _host_index: set to override the host_index for a single
|
|
2170
|
+
request; this effectively ignores the host_index
|
|
2171
|
+
in the spec for a single request.
|
|
2172
|
+
:type _host_index: int, optional
|
|
2173
|
+
:return: Returns the result object.
|
|
2174
|
+
""" # noqa: E501
|
|
2175
|
+
|
|
2176
|
+
_param = self._delete_synthetic_test_serialize(
|
|
2177
|
+
id=id,
|
|
2178
|
+
_request_auth=_request_auth,
|
|
2179
|
+
_content_type=_content_type,
|
|
2180
|
+
_headers=_headers,
|
|
2181
|
+
_host_index=_host_index
|
|
2182
|
+
)
|
|
2183
|
+
|
|
2184
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2185
|
+
'204': None,
|
|
2186
|
+
'401': None,
|
|
2187
|
+
'403': None,
|
|
2188
|
+
'500': None,
|
|
2189
|
+
}
|
|
2190
|
+
response_data = self.api_client.call_api(
|
|
2191
|
+
*_param,
|
|
2192
|
+
_request_timeout=_request_timeout
|
|
2193
|
+
)
|
|
2194
|
+
return response_data.response
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
def _delete_synthetic_test_serialize(
|
|
2198
|
+
self,
|
|
2199
|
+
id,
|
|
2200
|
+
_request_auth,
|
|
2201
|
+
_content_type,
|
|
2202
|
+
_headers,
|
|
2203
|
+
_host_index,
|
|
2204
|
+
) -> RequestSerialized:
|
|
2205
|
+
|
|
2206
|
+
_host = None
|
|
2207
|
+
|
|
2208
|
+
_collection_formats: Dict[str, str] = {
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
_path_params: Dict[str, str] = {}
|
|
2212
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2213
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2214
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2215
|
+
_files: Dict[
|
|
2216
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2217
|
+
] = {}
|
|
2218
|
+
_body_params: Optional[bytes] = None
|
|
2219
|
+
|
|
2220
|
+
# process the path parameters
|
|
2221
|
+
if id is not None:
|
|
2222
|
+
_path_params['id'] = id
|
|
2223
|
+
# process the query parameters
|
|
2224
|
+
# process the header parameters
|
|
2225
|
+
# process the form parameters
|
|
2226
|
+
# process the body parameter
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
# authentication setting
|
|
2232
|
+
_auth_settings: List[str] = [
|
|
2233
|
+
'ApiKeyAuth'
|
|
2234
|
+
]
|
|
2235
|
+
|
|
2236
|
+
return self.api_client.param_serialize(
|
|
2237
|
+
method='DELETE',
|
|
2238
|
+
resource_path='/api/synthetics/settings/tests/{id}',
|
|
2239
|
+
path_params=_path_params,
|
|
2240
|
+
query_params=_query_params,
|
|
2241
|
+
header_params=_header_params,
|
|
2242
|
+
body=_body_params,
|
|
2243
|
+
post_params=_form_params,
|
|
2244
|
+
files=_files,
|
|
2245
|
+
auth_settings=_auth_settings,
|
|
2246
|
+
collection_formats=_collection_formats,
|
|
2247
|
+
_host=_host,
|
|
2248
|
+
_request_auth=_request_auth
|
|
2249
|
+
)
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
@validate_call
|
|
2255
|
+
def get_one_synthetic_credential_associations(
|
|
2256
|
+
self,
|
|
2257
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
2258
|
+
_request_timeout: Union[
|
|
2259
|
+
None,
|
|
2260
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2261
|
+
Tuple[
|
|
2262
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2263
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2264
|
+
]
|
|
2265
|
+
] = None,
|
|
2266
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2267
|
+
_content_type: Optional[StrictStr] = None,
|
|
2268
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2269
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2270
|
+
) -> SyntheticCredential:
|
|
2271
|
+
"""A Synthetic credential
|
|
2272
|
+
|
|
2273
|
+
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.
|
|
2274
|
+
|
|
2275
|
+
:param name: Name of the credential to be retrieved (required)
|
|
2276
|
+
:type name: str
|
|
2277
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2278
|
+
number provided, it will be total request
|
|
2279
|
+
timeout. It can also be a pair (tuple) of
|
|
2280
|
+
(connection, read) timeouts.
|
|
2281
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2282
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2283
|
+
request; this effectively ignores the
|
|
2284
|
+
authentication in the spec for a single request.
|
|
2285
|
+
:type _request_auth: dict, optional
|
|
2286
|
+
:param _content_type: force content-type for the request.
|
|
2287
|
+
:type _content_type: str, Optional
|
|
2288
|
+
:param _headers: set to override the headers for a single
|
|
2289
|
+
request; this effectively ignores the headers
|
|
2290
|
+
in the spec for a single request.
|
|
2291
|
+
:type _headers: dict, optional
|
|
2292
|
+
:param _host_index: set to override the host_index for a single
|
|
2293
|
+
request; this effectively ignores the host_index
|
|
2294
|
+
in the spec for a single request.
|
|
2295
|
+
:type _host_index: int, optional
|
|
2296
|
+
:return: Returns the result object.
|
|
2297
|
+
""" # noqa: E501
|
|
2298
|
+
|
|
2299
|
+
_param = self._get_one_synthetic_credential_associations_serialize(
|
|
2300
|
+
name=name,
|
|
2301
|
+
_request_auth=_request_auth,
|
|
2302
|
+
_content_type=_content_type,
|
|
2303
|
+
_headers=_headers,
|
|
2304
|
+
_host_index=_host_index
|
|
2305
|
+
)
|
|
2306
|
+
|
|
2307
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2308
|
+
'200': "SyntheticCredential",
|
|
2309
|
+
'401': None,
|
|
2310
|
+
'403': None,
|
|
2311
|
+
'404': None,
|
|
2312
|
+
'500': None,
|
|
2313
|
+
}
|
|
2314
|
+
response_data = self.api_client.call_api(
|
|
2315
|
+
*_param,
|
|
2316
|
+
_request_timeout=_request_timeout
|
|
2317
|
+
)
|
|
2318
|
+
response_data.read()
|
|
2319
|
+
return self.api_client.response_deserialize(
|
|
2320
|
+
response_data=response_data,
|
|
2321
|
+
response_types_map=_response_types_map,
|
|
2322
|
+
).data
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
@validate_call
|
|
2326
|
+
def get_one_synthetic_credential_associations_with_http_info(
|
|
2327
|
+
self,
|
|
2328
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
2329
|
+
_request_timeout: Union[
|
|
2330
|
+
None,
|
|
2331
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2332
|
+
Tuple[
|
|
2333
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2334
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2335
|
+
]
|
|
2336
|
+
] = None,
|
|
2337
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2338
|
+
_content_type: Optional[StrictStr] = None,
|
|
2339
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2340
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2341
|
+
) -> ApiResponse[SyntheticCredential]:
|
|
2342
|
+
"""A Synthetic credential
|
|
2343
|
+
|
|
2344
|
+
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.
|
|
2345
|
+
|
|
2346
|
+
:param name: Name of the credential to be retrieved (required)
|
|
2347
|
+
:type name: str
|
|
2348
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2349
|
+
number provided, it will be total request
|
|
2350
|
+
timeout. It can also be a pair (tuple) of
|
|
2351
|
+
(connection, read) timeouts.
|
|
2352
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2353
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2354
|
+
request; this effectively ignores the
|
|
2355
|
+
authentication in the spec for a single request.
|
|
2356
|
+
:type _request_auth: dict, optional
|
|
2357
|
+
:param _content_type: force content-type for the request.
|
|
2358
|
+
:type _content_type: str, Optional
|
|
2359
|
+
:param _headers: set to override the headers for a single
|
|
2360
|
+
request; this effectively ignores the headers
|
|
2361
|
+
in the spec for a single request.
|
|
2362
|
+
:type _headers: dict, optional
|
|
2363
|
+
:param _host_index: set to override the host_index for a single
|
|
2364
|
+
request; this effectively ignores the host_index
|
|
2365
|
+
in the spec for a single request.
|
|
2366
|
+
:type _host_index: int, optional
|
|
2367
|
+
:return: Returns the result object.
|
|
2368
|
+
""" # noqa: E501
|
|
2369
|
+
|
|
2370
|
+
_param = self._get_one_synthetic_credential_associations_serialize(
|
|
2371
|
+
name=name,
|
|
2372
|
+
_request_auth=_request_auth,
|
|
2373
|
+
_content_type=_content_type,
|
|
2374
|
+
_headers=_headers,
|
|
2375
|
+
_host_index=_host_index
|
|
2376
|
+
)
|
|
2377
|
+
|
|
2378
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2379
|
+
'200': "SyntheticCredential",
|
|
2380
|
+
'401': None,
|
|
2381
|
+
'403': None,
|
|
2382
|
+
'404': None,
|
|
2383
|
+
'500': None,
|
|
2384
|
+
}
|
|
2385
|
+
response_data = self.api_client.call_api(
|
|
2386
|
+
*_param,
|
|
2387
|
+
_request_timeout=_request_timeout
|
|
2388
|
+
)
|
|
2389
|
+
response_data.read()
|
|
2390
|
+
return self.api_client.response_deserialize(
|
|
2391
|
+
response_data=response_data,
|
|
2392
|
+
response_types_map=_response_types_map,
|
|
2393
|
+
)
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
@validate_call
|
|
2397
|
+
def get_one_synthetic_credential_associations_without_preload_content(
|
|
2398
|
+
self,
|
|
2399
|
+
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
2400
|
+
_request_timeout: Union[
|
|
2401
|
+
None,
|
|
2402
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2403
|
+
Tuple[
|
|
2404
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2405
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2406
|
+
]
|
|
2407
|
+
] = None,
|
|
2408
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2409
|
+
_content_type: Optional[StrictStr] = None,
|
|
2410
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2411
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2412
|
+
) -> RESTResponseType:
|
|
2413
|
+
"""A Synthetic credential
|
|
2414
|
+
|
|
2415
|
+
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.
|
|
2416
|
+
|
|
2417
|
+
:param name: Name of the credential to be retrieved (required)
|
|
2418
|
+
:type name: str
|
|
2419
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2420
|
+
number provided, it will be total request
|
|
2421
|
+
timeout. It can also be a pair (tuple) of
|
|
2422
|
+
(connection, read) timeouts.
|
|
2423
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2424
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2425
|
+
request; this effectively ignores the
|
|
2426
|
+
authentication in the spec for a single request.
|
|
2427
|
+
:type _request_auth: dict, optional
|
|
2428
|
+
:param _content_type: force content-type for the request.
|
|
2429
|
+
:type _content_type: str, Optional
|
|
2430
|
+
:param _headers: set to override the headers for a single
|
|
2431
|
+
request; this effectively ignores the headers
|
|
2432
|
+
in the spec for a single request.
|
|
2433
|
+
:type _headers: dict, optional
|
|
2434
|
+
:param _host_index: set to override the host_index for a single
|
|
2435
|
+
request; this effectively ignores the host_index
|
|
2436
|
+
in the spec for a single request.
|
|
2437
|
+
:type _host_index: int, optional
|
|
2438
|
+
:return: Returns the result object.
|
|
2439
|
+
""" # noqa: E501
|
|
2440
|
+
|
|
2441
|
+
_param = self._get_one_synthetic_credential_associations_serialize(
|
|
2442
|
+
name=name,
|
|
2443
|
+
_request_auth=_request_auth,
|
|
2444
|
+
_content_type=_content_type,
|
|
2445
|
+
_headers=_headers,
|
|
2446
|
+
_host_index=_host_index
|
|
2447
|
+
)
|
|
2448
|
+
|
|
2449
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2450
|
+
'200': "SyntheticCredential",
|
|
2451
|
+
'401': None,
|
|
2452
|
+
'403': None,
|
|
2453
|
+
'404': None,
|
|
2454
|
+
'500': None,
|
|
2455
|
+
}
|
|
2456
|
+
response_data = self.api_client.call_api(
|
|
2457
|
+
*_param,
|
|
2458
|
+
_request_timeout=_request_timeout
|
|
2459
|
+
)
|
|
2460
|
+
return response_data.response
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
def _get_one_synthetic_credential_associations_serialize(
|
|
2464
|
+
self,
|
|
2465
|
+
name,
|
|
2466
|
+
_request_auth,
|
|
2467
|
+
_content_type,
|
|
2468
|
+
_headers,
|
|
2469
|
+
_host_index,
|
|
2470
|
+
) -> RequestSerialized:
|
|
2471
|
+
|
|
2472
|
+
_host = None
|
|
2473
|
+
|
|
2474
|
+
_collection_formats: Dict[str, str] = {
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
_path_params: Dict[str, str] = {}
|
|
2478
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2479
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2480
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2481
|
+
_files: Dict[
|
|
2482
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2483
|
+
] = {}
|
|
2484
|
+
_body_params: Optional[bytes] = None
|
|
2485
|
+
|
|
2486
|
+
# process the path parameters
|
|
2487
|
+
if name is not None:
|
|
2488
|
+
_path_params['name'] = name
|
|
2489
|
+
# process the query parameters
|
|
2490
|
+
# process the header parameters
|
|
2491
|
+
# process the form parameters
|
|
2492
|
+
# process the body parameter
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
# set the HTTP header `Accept`
|
|
2496
|
+
if 'Accept' not in _header_params:
|
|
2497
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2498
|
+
[
|
|
2499
|
+
'application/json'
|
|
2500
|
+
]
|
|
2501
|
+
)
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
# authentication setting
|
|
2505
|
+
_auth_settings: List[str] = [
|
|
2506
|
+
'ApiKeyAuth'
|
|
2507
|
+
]
|
|
2508
|
+
|
|
2509
|
+
return self.api_client.param_serialize(
|
|
2510
|
+
method='GET',
|
|
2511
|
+
resource_path='/api/synthetics/settings/credentials/associations/{name}',
|
|
2512
|
+
path_params=_path_params,
|
|
2513
|
+
query_params=_query_params,
|
|
2514
|
+
header_params=_header_params,
|
|
2515
|
+
body=_body_params,
|
|
2516
|
+
post_params=_form_params,
|
|
2517
|
+
files=_files,
|
|
2518
|
+
auth_settings=_auth_settings,
|
|
2519
|
+
collection_formats=_collection_formats,
|
|
2520
|
+
_host=_host,
|
|
2521
|
+
_request_auth=_request_auth
|
|
2522
|
+
)
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
@validate_call
|
|
2528
|
+
def get_synthetic_credential_associations(
|
|
2529
|
+
self,
|
|
2530
|
+
_request_timeout: Union[
|
|
2531
|
+
None,
|
|
2532
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2533
|
+
Tuple[
|
|
2534
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2535
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2536
|
+
]
|
|
2537
|
+
] = None,
|
|
2538
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2539
|
+
_content_type: Optional[StrictStr] = None,
|
|
2540
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2541
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2542
|
+
) -> List[SyntheticCredential]:
|
|
2543
|
+
"""All Synthetic credentials
|
|
2544
|
+
|
|
2545
|
+
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.
|
|
2546
|
+
|
|
2547
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2548
|
+
number provided, it will be total request
|
|
2549
|
+
timeout. It can also be a pair (tuple) of
|
|
2550
|
+
(connection, read) timeouts.
|
|
2551
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2552
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2553
|
+
request; this effectively ignores the
|
|
2554
|
+
authentication in the spec for a single request.
|
|
2555
|
+
:type _request_auth: dict, optional
|
|
2556
|
+
:param _content_type: force content-type for the request.
|
|
2557
|
+
:type _content_type: str, Optional
|
|
2558
|
+
:param _headers: set to override the headers for a single
|
|
2559
|
+
request; this effectively ignores the headers
|
|
2560
|
+
in the spec for a single request.
|
|
2561
|
+
:type _headers: dict, optional
|
|
2562
|
+
:param _host_index: set to override the host_index for a single
|
|
2563
|
+
request; this effectively ignores the host_index
|
|
2564
|
+
in the spec for a single request.
|
|
2565
|
+
:type _host_index: int, optional
|
|
2566
|
+
:return: Returns the result object.
|
|
2567
|
+
""" # noqa: E501
|
|
2568
|
+
|
|
2569
|
+
_param = self._get_synthetic_credential_associations_serialize(
|
|
2570
|
+
_request_auth=_request_auth,
|
|
2571
|
+
_content_type=_content_type,
|
|
2572
|
+
_headers=_headers,
|
|
2573
|
+
_host_index=_host_index
|
|
2574
|
+
)
|
|
2575
|
+
|
|
2576
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2577
|
+
'200': "List[SyntheticCredential]",
|
|
2578
|
+
'401': None,
|
|
2579
|
+
'403': None,
|
|
2580
|
+
'404': None,
|
|
2581
|
+
'500': None,
|
|
2582
|
+
}
|
|
2583
|
+
response_data = self.api_client.call_api(
|
|
2584
|
+
*_param,
|
|
2585
|
+
_request_timeout=_request_timeout
|
|
2586
|
+
)
|
|
2587
|
+
response_data.read()
|
|
2588
|
+
return self.api_client.response_deserialize(
|
|
2589
|
+
response_data=response_data,
|
|
2590
|
+
response_types_map=_response_types_map,
|
|
2591
|
+
).data
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
@validate_call
|
|
2595
|
+
def get_synthetic_credential_associations_with_http_info(
|
|
2596
|
+
self,
|
|
2597
|
+
_request_timeout: Union[
|
|
2598
|
+
None,
|
|
2599
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2600
|
+
Tuple[
|
|
2601
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2602
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2603
|
+
]
|
|
2604
|
+
] = None,
|
|
2605
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2606
|
+
_content_type: Optional[StrictStr] = None,
|
|
2607
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2608
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2609
|
+
) -> ApiResponse[List[SyntheticCredential]]:
|
|
2610
|
+
"""All Synthetic credentials
|
|
2611
|
+
|
|
2612
|
+
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.
|
|
1236
2613
|
|
|
1237
|
-
:param id: Id of the synthetic test to be deleted (required)
|
|
1238
|
-
:type id: str
|
|
1239
2614
|
:param _request_timeout: timeout setting for this request. If one
|
|
1240
2615
|
number provided, it will be total request
|
|
1241
2616
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1258,8 +2633,7 @@ class SyntheticSettingsApi:
|
|
|
1258
2633
|
:return: Returns the result object.
|
|
1259
2634
|
""" # noqa: E501
|
|
1260
2635
|
|
|
1261
|
-
_param = self.
|
|
1262
|
-
id=id,
|
|
2636
|
+
_param = self._get_synthetic_credential_associations_serialize(
|
|
1263
2637
|
_request_auth=_request_auth,
|
|
1264
2638
|
_content_type=_content_type,
|
|
1265
2639
|
_headers=_headers,
|
|
@@ -1267,10 +2641,10 @@ class SyntheticSettingsApi:
|
|
|
1267
2641
|
)
|
|
1268
2642
|
|
|
1269
2643
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1270
|
-
'200':
|
|
1271
|
-
'204': None,
|
|
2644
|
+
'200': "List[SyntheticCredential]",
|
|
1272
2645
|
'401': None,
|
|
1273
2646
|
'403': None,
|
|
2647
|
+
'404': None,
|
|
1274
2648
|
'500': None,
|
|
1275
2649
|
}
|
|
1276
2650
|
response_data = self.api_client.call_api(
|
|
@@ -1285,9 +2659,8 @@ class SyntheticSettingsApi:
|
|
|
1285
2659
|
|
|
1286
2660
|
|
|
1287
2661
|
@validate_call
|
|
1288
|
-
def
|
|
2662
|
+
def get_synthetic_credential_associations_without_preload_content(
|
|
1289
2663
|
self,
|
|
1290
|
-
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be deleted")],
|
|
1291
2664
|
_request_timeout: Union[
|
|
1292
2665
|
None,
|
|
1293
2666
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1301,12 +2674,10 @@ class SyntheticSettingsApi:
|
|
|
1301
2674
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1302
2675
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1303
2676
|
) -> RESTResponseType:
|
|
1304
|
-
"""
|
|
2677
|
+
"""All Synthetic credentials
|
|
1305
2678
|
|
|
1306
|
-
API request to
|
|
2679
|
+
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.
|
|
1307
2680
|
|
|
1308
|
-
:param id: Id of the synthetic test to be deleted (required)
|
|
1309
|
-
:type id: str
|
|
1310
2681
|
:param _request_timeout: timeout setting for this request. If one
|
|
1311
2682
|
number provided, it will be total request
|
|
1312
2683
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1329,8 +2700,7 @@ class SyntheticSettingsApi:
|
|
|
1329
2700
|
:return: Returns the result object.
|
|
1330
2701
|
""" # noqa: E501
|
|
1331
2702
|
|
|
1332
|
-
_param = self.
|
|
1333
|
-
id=id,
|
|
2703
|
+
_param = self._get_synthetic_credential_associations_serialize(
|
|
1334
2704
|
_request_auth=_request_auth,
|
|
1335
2705
|
_content_type=_content_type,
|
|
1336
2706
|
_headers=_headers,
|
|
@@ -1338,10 +2708,10 @@ class SyntheticSettingsApi:
|
|
|
1338
2708
|
)
|
|
1339
2709
|
|
|
1340
2710
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1341
|
-
'200':
|
|
1342
|
-
'204': None,
|
|
2711
|
+
'200': "List[SyntheticCredential]",
|
|
1343
2712
|
'401': None,
|
|
1344
2713
|
'403': None,
|
|
2714
|
+
'404': None,
|
|
1345
2715
|
'500': None,
|
|
1346
2716
|
}
|
|
1347
2717
|
response_data = self.api_client.call_api(
|
|
@@ -1351,9 +2721,8 @@ class SyntheticSettingsApi:
|
|
|
1351
2721
|
return response_data.response
|
|
1352
2722
|
|
|
1353
2723
|
|
|
1354
|
-
def
|
|
2724
|
+
def _get_synthetic_credential_associations_serialize(
|
|
1355
2725
|
self,
|
|
1356
|
-
id,
|
|
1357
2726
|
_request_auth,
|
|
1358
2727
|
_content_type,
|
|
1359
2728
|
_headers,
|
|
@@ -1375,8 +2744,6 @@ class SyntheticSettingsApi:
|
|
|
1375
2744
|
_body_params: Optional[bytes] = None
|
|
1376
2745
|
|
|
1377
2746
|
# process the path parameters
|
|
1378
|
-
if id is not None:
|
|
1379
|
-
_path_params['id'] = id
|
|
1380
2747
|
# process the query parameters
|
|
1381
2748
|
# process the header parameters
|
|
1382
2749
|
# process the form parameters
|
|
@@ -1398,8 +2765,8 @@ class SyntheticSettingsApi:
|
|
|
1398
2765
|
]
|
|
1399
2766
|
|
|
1400
2767
|
return self.api_client.param_serialize(
|
|
1401
|
-
method='
|
|
1402
|
-
resource_path='/api/synthetics/settings/
|
|
2768
|
+
method='GET',
|
|
2769
|
+
resource_path='/api/synthetics/settings/credentials/associations',
|
|
1403
2770
|
path_params=_path_params,
|
|
1404
2771
|
query_params=_query_params,
|
|
1405
2772
|
header_params=_header_params,
|
|
@@ -1416,9 +2783,8 @@ class SyntheticSettingsApi:
|
|
|
1416
2783
|
|
|
1417
2784
|
|
|
1418
2785
|
@validate_call
|
|
1419
|
-
def
|
|
2786
|
+
def get_synthetic_credential_names(
|
|
1420
2787
|
self,
|
|
1421
|
-
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
1422
2788
|
_request_timeout: Union[
|
|
1423
2789
|
None,
|
|
1424
2790
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1431,13 +2797,11 @@ class SyntheticSettingsApi:
|
|
|
1431
2797
|
_content_type: Optional[StrictStr] = None,
|
|
1432
2798
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1433
2799
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1434
|
-
) ->
|
|
1435
|
-
"""
|
|
2800
|
+
) -> List[str]:
|
|
2801
|
+
"""All Synthetic credential names
|
|
1436
2802
|
|
|
1437
|
-
API request to retrieve
|
|
2803
|
+
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.
|
|
1438
2804
|
|
|
1439
|
-
:param name: Name of the credential to be retrieved (required)
|
|
1440
|
-
:type name: str
|
|
1441
2805
|
:param _request_timeout: timeout setting for this request. If one
|
|
1442
2806
|
number provided, it will be total request
|
|
1443
2807
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1460,8 +2824,7 @@ class SyntheticSettingsApi:
|
|
|
1460
2824
|
:return: Returns the result object.
|
|
1461
2825
|
""" # noqa: E501
|
|
1462
2826
|
|
|
1463
|
-
_param = self.
|
|
1464
|
-
name=name,
|
|
2827
|
+
_param = self._get_synthetic_credential_names_serialize(
|
|
1465
2828
|
_request_auth=_request_auth,
|
|
1466
2829
|
_content_type=_content_type,
|
|
1467
2830
|
_headers=_headers,
|
|
@@ -1469,7 +2832,7 @@ class SyntheticSettingsApi:
|
|
|
1469
2832
|
)
|
|
1470
2833
|
|
|
1471
2834
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1472
|
-
'200': "
|
|
2835
|
+
'200': "List[str]",
|
|
1473
2836
|
'401': None,
|
|
1474
2837
|
'403': None,
|
|
1475
2838
|
'404': None,
|
|
@@ -1487,9 +2850,8 @@ class SyntheticSettingsApi:
|
|
|
1487
2850
|
|
|
1488
2851
|
|
|
1489
2852
|
@validate_call
|
|
1490
|
-
def
|
|
2853
|
+
def get_synthetic_credential_names_with_http_info(
|
|
1491
2854
|
self,
|
|
1492
|
-
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
1493
2855
|
_request_timeout: Union[
|
|
1494
2856
|
None,
|
|
1495
2857
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1502,13 +2864,11 @@ class SyntheticSettingsApi:
|
|
|
1502
2864
|
_content_type: Optional[StrictStr] = None,
|
|
1503
2865
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1504
2866
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1505
|
-
) -> ApiResponse[
|
|
1506
|
-
"""
|
|
2867
|
+
) -> ApiResponse[List[str]]:
|
|
2868
|
+
"""All Synthetic credential names
|
|
1507
2869
|
|
|
1508
|
-
API request to retrieve
|
|
2870
|
+
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.
|
|
1509
2871
|
|
|
1510
|
-
:param name: Name of the credential to be retrieved (required)
|
|
1511
|
-
:type name: str
|
|
1512
2872
|
:param _request_timeout: timeout setting for this request. If one
|
|
1513
2873
|
number provided, it will be total request
|
|
1514
2874
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1531,8 +2891,7 @@ class SyntheticSettingsApi:
|
|
|
1531
2891
|
:return: Returns the result object.
|
|
1532
2892
|
""" # noqa: E501
|
|
1533
2893
|
|
|
1534
|
-
_param = self.
|
|
1535
|
-
name=name,
|
|
2894
|
+
_param = self._get_synthetic_credential_names_serialize(
|
|
1536
2895
|
_request_auth=_request_auth,
|
|
1537
2896
|
_content_type=_content_type,
|
|
1538
2897
|
_headers=_headers,
|
|
@@ -1540,7 +2899,7 @@ class SyntheticSettingsApi:
|
|
|
1540
2899
|
)
|
|
1541
2900
|
|
|
1542
2901
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1543
|
-
'200': "
|
|
2902
|
+
'200': "List[str]",
|
|
1544
2903
|
'401': None,
|
|
1545
2904
|
'403': None,
|
|
1546
2905
|
'404': None,
|
|
@@ -1558,9 +2917,8 @@ class SyntheticSettingsApi:
|
|
|
1558
2917
|
|
|
1559
2918
|
|
|
1560
2919
|
@validate_call
|
|
1561
|
-
def
|
|
2920
|
+
def get_synthetic_credential_names_without_preload_content(
|
|
1562
2921
|
self,
|
|
1563
|
-
name: Annotated[StrictStr, Field(description="Name of the credential to be retrieved")],
|
|
1564
2922
|
_request_timeout: Union[
|
|
1565
2923
|
None,
|
|
1566
2924
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1574,12 +2932,10 @@ class SyntheticSettingsApi:
|
|
|
1574
2932
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1575
2933
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1576
2934
|
) -> RESTResponseType:
|
|
1577
|
-
"""
|
|
2935
|
+
"""All Synthetic credential names
|
|
1578
2936
|
|
|
1579
|
-
API request to retrieve
|
|
2937
|
+
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.
|
|
1580
2938
|
|
|
1581
|
-
:param name: Name of the credential to be retrieved (required)
|
|
1582
|
-
:type name: str
|
|
1583
2939
|
:param _request_timeout: timeout setting for this request. If one
|
|
1584
2940
|
number provided, it will be total request
|
|
1585
2941
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1602,8 +2958,7 @@ class SyntheticSettingsApi:
|
|
|
1602
2958
|
:return: Returns the result object.
|
|
1603
2959
|
""" # noqa: E501
|
|
1604
2960
|
|
|
1605
|
-
_param = self.
|
|
1606
|
-
name=name,
|
|
2961
|
+
_param = self._get_synthetic_credential_names_serialize(
|
|
1607
2962
|
_request_auth=_request_auth,
|
|
1608
2963
|
_content_type=_content_type,
|
|
1609
2964
|
_headers=_headers,
|
|
@@ -1611,7 +2966,7 @@ class SyntheticSettingsApi:
|
|
|
1611
2966
|
)
|
|
1612
2967
|
|
|
1613
2968
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1614
|
-
'200': "
|
|
2969
|
+
'200': "List[str]",
|
|
1615
2970
|
'401': None,
|
|
1616
2971
|
'403': None,
|
|
1617
2972
|
'404': None,
|
|
@@ -1624,9 +2979,8 @@ class SyntheticSettingsApi:
|
|
|
1624
2979
|
return response_data.response
|
|
1625
2980
|
|
|
1626
2981
|
|
|
1627
|
-
def
|
|
2982
|
+
def _get_synthetic_credential_names_serialize(
|
|
1628
2983
|
self,
|
|
1629
|
-
name,
|
|
1630
2984
|
_request_auth,
|
|
1631
2985
|
_content_type,
|
|
1632
2986
|
_headers,
|
|
@@ -1648,8 +3002,6 @@ class SyntheticSettingsApi:
|
|
|
1648
3002
|
_body_params: Optional[bytes] = None
|
|
1649
3003
|
|
|
1650
3004
|
# process the path parameters
|
|
1651
|
-
if name is not None:
|
|
1652
|
-
_path_params['name'] = name
|
|
1653
3005
|
# process the query parameters
|
|
1654
3006
|
# process the header parameters
|
|
1655
3007
|
# process the form parameters
|
|
@@ -1672,7 +3024,7 @@ class SyntheticSettingsApi:
|
|
|
1672
3024
|
|
|
1673
3025
|
return self.api_client.param_serialize(
|
|
1674
3026
|
method='GET',
|
|
1675
|
-
resource_path='/api/synthetics/settings/credentials
|
|
3027
|
+
resource_path='/api/synthetics/settings/credentials',
|
|
1676
3028
|
path_params=_path_params,
|
|
1677
3029
|
query_params=_query_params,
|
|
1678
3030
|
header_params=_header_params,
|
|
@@ -1689,8 +3041,9 @@ class SyntheticSettingsApi:
|
|
|
1689
3041
|
|
|
1690
3042
|
|
|
1691
3043
|
@validate_call
|
|
1692
|
-
def
|
|
3044
|
+
def get_synthetic_datacenter(
|
|
1693
3045
|
self,
|
|
3046
|
+
datacenter_id: Annotated[StrictStr, Field(description="Id of the datacenter to be retrieved")],
|
|
1694
3047
|
_request_timeout: Union[
|
|
1695
3048
|
None,
|
|
1696
3049
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1703,11 +3056,13 @@ class SyntheticSettingsApi:
|
|
|
1703
3056
|
_content_type: Optional[StrictStr] = None,
|
|
1704
3057
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1705
3058
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1706
|
-
) ->
|
|
1707
|
-
"""
|
|
3059
|
+
) -> SyntheticDatacenter:
|
|
3060
|
+
"""A Synthetic datacenter
|
|
1708
3061
|
|
|
1709
|
-
API request to retrieve
|
|
3062
|
+
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.
|
|
1710
3063
|
|
|
3064
|
+
:param datacenter_id: Id of the datacenter to be retrieved (required)
|
|
3065
|
+
:type datacenter_id: str
|
|
1711
3066
|
:param _request_timeout: timeout setting for this request. If one
|
|
1712
3067
|
number provided, it will be total request
|
|
1713
3068
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1730,7 +3085,8 @@ class SyntheticSettingsApi:
|
|
|
1730
3085
|
:return: Returns the result object.
|
|
1731
3086
|
""" # noqa: E501
|
|
1732
3087
|
|
|
1733
|
-
_param = self.
|
|
3088
|
+
_param = self._get_synthetic_datacenter_serialize(
|
|
3089
|
+
datacenter_id=datacenter_id,
|
|
1734
3090
|
_request_auth=_request_auth,
|
|
1735
3091
|
_content_type=_content_type,
|
|
1736
3092
|
_headers=_headers,
|
|
@@ -1738,7 +3094,7 @@ class SyntheticSettingsApi:
|
|
|
1738
3094
|
)
|
|
1739
3095
|
|
|
1740
3096
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1741
|
-
'200': "
|
|
3097
|
+
'200': "SyntheticDatacenter",
|
|
1742
3098
|
'401': None,
|
|
1743
3099
|
'403': None,
|
|
1744
3100
|
'404': None,
|
|
@@ -1756,8 +3112,9 @@ class SyntheticSettingsApi:
|
|
|
1756
3112
|
|
|
1757
3113
|
|
|
1758
3114
|
@validate_call
|
|
1759
|
-
def
|
|
3115
|
+
def get_synthetic_datacenter_with_http_info(
|
|
1760
3116
|
self,
|
|
3117
|
+
datacenter_id: Annotated[StrictStr, Field(description="Id of the datacenter to be retrieved")],
|
|
1761
3118
|
_request_timeout: Union[
|
|
1762
3119
|
None,
|
|
1763
3120
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1770,11 +3127,13 @@ class SyntheticSettingsApi:
|
|
|
1770
3127
|
_content_type: Optional[StrictStr] = None,
|
|
1771
3128
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1772
3129
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1773
|
-
) -> ApiResponse[
|
|
1774
|
-
"""
|
|
3130
|
+
) -> ApiResponse[SyntheticDatacenter]:
|
|
3131
|
+
"""A Synthetic datacenter
|
|
1775
3132
|
|
|
1776
|
-
API request to retrieve
|
|
3133
|
+
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.
|
|
1777
3134
|
|
|
3135
|
+
:param datacenter_id: Id of the datacenter to be retrieved (required)
|
|
3136
|
+
:type datacenter_id: str
|
|
1778
3137
|
:param _request_timeout: timeout setting for this request. If one
|
|
1779
3138
|
number provided, it will be total request
|
|
1780
3139
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1797,7 +3156,8 @@ class SyntheticSettingsApi:
|
|
|
1797
3156
|
:return: Returns the result object.
|
|
1798
3157
|
""" # noqa: E501
|
|
1799
3158
|
|
|
1800
|
-
_param = self.
|
|
3159
|
+
_param = self._get_synthetic_datacenter_serialize(
|
|
3160
|
+
datacenter_id=datacenter_id,
|
|
1801
3161
|
_request_auth=_request_auth,
|
|
1802
3162
|
_content_type=_content_type,
|
|
1803
3163
|
_headers=_headers,
|
|
@@ -1805,7 +3165,7 @@ class SyntheticSettingsApi:
|
|
|
1805
3165
|
)
|
|
1806
3166
|
|
|
1807
3167
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1808
|
-
'200': "
|
|
3168
|
+
'200': "SyntheticDatacenter",
|
|
1809
3169
|
'401': None,
|
|
1810
3170
|
'403': None,
|
|
1811
3171
|
'404': None,
|
|
@@ -1823,8 +3183,9 @@ class SyntheticSettingsApi:
|
|
|
1823
3183
|
|
|
1824
3184
|
|
|
1825
3185
|
@validate_call
|
|
1826
|
-
def
|
|
3186
|
+
def get_synthetic_datacenter_without_preload_content(
|
|
1827
3187
|
self,
|
|
3188
|
+
datacenter_id: Annotated[StrictStr, Field(description="Id of the datacenter to be retrieved")],
|
|
1828
3189
|
_request_timeout: Union[
|
|
1829
3190
|
None,
|
|
1830
3191
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1838,10 +3199,12 @@ class SyntheticSettingsApi:
|
|
|
1838
3199
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1839
3200
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1840
3201
|
) -> RESTResponseType:
|
|
1841
|
-
"""
|
|
3202
|
+
"""A Synthetic datacenter
|
|
1842
3203
|
|
|
1843
|
-
API request to retrieve
|
|
3204
|
+
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.
|
|
1844
3205
|
|
|
3206
|
+
:param datacenter_id: Id of the datacenter to be retrieved (required)
|
|
3207
|
+
:type datacenter_id: str
|
|
1845
3208
|
:param _request_timeout: timeout setting for this request. If one
|
|
1846
3209
|
number provided, it will be total request
|
|
1847
3210
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1864,7 +3227,8 @@ class SyntheticSettingsApi:
|
|
|
1864
3227
|
:return: Returns the result object.
|
|
1865
3228
|
""" # noqa: E501
|
|
1866
3229
|
|
|
1867
|
-
_param = self.
|
|
3230
|
+
_param = self._get_synthetic_datacenter_serialize(
|
|
3231
|
+
datacenter_id=datacenter_id,
|
|
1868
3232
|
_request_auth=_request_auth,
|
|
1869
3233
|
_content_type=_content_type,
|
|
1870
3234
|
_headers=_headers,
|
|
@@ -1872,7 +3236,7 @@ class SyntheticSettingsApi:
|
|
|
1872
3236
|
)
|
|
1873
3237
|
|
|
1874
3238
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1875
|
-
'200': "
|
|
3239
|
+
'200': "SyntheticDatacenter",
|
|
1876
3240
|
'401': None,
|
|
1877
3241
|
'403': None,
|
|
1878
3242
|
'404': None,
|
|
@@ -1885,8 +3249,9 @@ class SyntheticSettingsApi:
|
|
|
1885
3249
|
return response_data.response
|
|
1886
3250
|
|
|
1887
3251
|
|
|
1888
|
-
def
|
|
3252
|
+
def _get_synthetic_datacenter_serialize(
|
|
1889
3253
|
self,
|
|
3254
|
+
datacenter_id,
|
|
1890
3255
|
_request_auth,
|
|
1891
3256
|
_content_type,
|
|
1892
3257
|
_headers,
|
|
@@ -1908,6 +3273,8 @@ class SyntheticSettingsApi:
|
|
|
1908
3273
|
_body_params: Optional[bytes] = None
|
|
1909
3274
|
|
|
1910
3275
|
# process the path parameters
|
|
3276
|
+
if datacenter_id is not None:
|
|
3277
|
+
_path_params['datacenterId'] = datacenter_id
|
|
1911
3278
|
# process the query parameters
|
|
1912
3279
|
# process the header parameters
|
|
1913
3280
|
# process the form parameters
|
|
@@ -1930,7 +3297,7 @@ class SyntheticSettingsApi:
|
|
|
1930
3297
|
|
|
1931
3298
|
return self.api_client.param_serialize(
|
|
1932
3299
|
method='GET',
|
|
1933
|
-
resource_path='/api/synthetics/settings/
|
|
3300
|
+
resource_path='/api/synthetics/settings/datacenters/{datacenterId}',
|
|
1934
3301
|
path_params=_path_params,
|
|
1935
3302
|
query_params=_query_params,
|
|
1936
3303
|
header_params=_header_params,
|
|
@@ -1947,7 +3314,7 @@ class SyntheticSettingsApi:
|
|
|
1947
3314
|
|
|
1948
3315
|
|
|
1949
3316
|
@validate_call
|
|
1950
|
-
def
|
|
3317
|
+
def get_synthetic_datacenters(
|
|
1951
3318
|
self,
|
|
1952
3319
|
_request_timeout: Union[
|
|
1953
3320
|
None,
|
|
@@ -1961,10 +3328,10 @@ class SyntheticSettingsApi:
|
|
|
1961
3328
|
_content_type: Optional[StrictStr] = None,
|
|
1962
3329
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1963
3330
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1964
|
-
) -> List[
|
|
1965
|
-
"""All Synthetic
|
|
3331
|
+
) -> List[SyntheticDatacenter]:
|
|
3332
|
+
"""All Synthetic datacenters
|
|
1966
3333
|
|
|
1967
|
-
API request to retrieve
|
|
3334
|
+
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.
|
|
1968
3335
|
|
|
1969
3336
|
:param _request_timeout: timeout setting for this request. If one
|
|
1970
3337
|
number provided, it will be total request
|
|
@@ -1988,7 +3355,7 @@ class SyntheticSettingsApi:
|
|
|
1988
3355
|
:return: Returns the result object.
|
|
1989
3356
|
""" # noqa: E501
|
|
1990
3357
|
|
|
1991
|
-
_param = self.
|
|
3358
|
+
_param = self._get_synthetic_datacenters_serialize(
|
|
1992
3359
|
_request_auth=_request_auth,
|
|
1993
3360
|
_content_type=_content_type,
|
|
1994
3361
|
_headers=_headers,
|
|
@@ -1996,10 +3363,9 @@ class SyntheticSettingsApi:
|
|
|
1996
3363
|
)
|
|
1997
3364
|
|
|
1998
3365
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1999
|
-
'200': "List[
|
|
3366
|
+
'200': "List[SyntheticDatacenter]",
|
|
2000
3367
|
'401': None,
|
|
2001
3368
|
'403': None,
|
|
2002
|
-
'404': None,
|
|
2003
3369
|
'500': None,
|
|
2004
3370
|
}
|
|
2005
3371
|
response_data = self.api_client.call_api(
|
|
@@ -2014,7 +3380,7 @@ class SyntheticSettingsApi:
|
|
|
2014
3380
|
|
|
2015
3381
|
|
|
2016
3382
|
@validate_call
|
|
2017
|
-
def
|
|
3383
|
+
def get_synthetic_datacenters_with_http_info(
|
|
2018
3384
|
self,
|
|
2019
3385
|
_request_timeout: Union[
|
|
2020
3386
|
None,
|
|
@@ -2028,10 +3394,10 @@ class SyntheticSettingsApi:
|
|
|
2028
3394
|
_content_type: Optional[StrictStr] = None,
|
|
2029
3395
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2030
3396
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2031
|
-
) -> ApiResponse[List[
|
|
2032
|
-
"""All Synthetic
|
|
3397
|
+
) -> ApiResponse[List[SyntheticDatacenter]]:
|
|
3398
|
+
"""All Synthetic datacenters
|
|
2033
3399
|
|
|
2034
|
-
API request to retrieve
|
|
3400
|
+
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.
|
|
2035
3401
|
|
|
2036
3402
|
:param _request_timeout: timeout setting for this request. If one
|
|
2037
3403
|
number provided, it will be total request
|
|
@@ -2055,7 +3421,7 @@ class SyntheticSettingsApi:
|
|
|
2055
3421
|
:return: Returns the result object.
|
|
2056
3422
|
""" # noqa: E501
|
|
2057
3423
|
|
|
2058
|
-
_param = self.
|
|
3424
|
+
_param = self._get_synthetic_datacenters_serialize(
|
|
2059
3425
|
_request_auth=_request_auth,
|
|
2060
3426
|
_content_type=_content_type,
|
|
2061
3427
|
_headers=_headers,
|
|
@@ -2063,10 +3429,9 @@ class SyntheticSettingsApi:
|
|
|
2063
3429
|
)
|
|
2064
3430
|
|
|
2065
3431
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2066
|
-
'200': "List[
|
|
3432
|
+
'200': "List[SyntheticDatacenter]",
|
|
2067
3433
|
'401': None,
|
|
2068
3434
|
'403': None,
|
|
2069
|
-
'404': None,
|
|
2070
3435
|
'500': None,
|
|
2071
3436
|
}
|
|
2072
3437
|
response_data = self.api_client.call_api(
|
|
@@ -2081,7 +3446,7 @@ class SyntheticSettingsApi:
|
|
|
2081
3446
|
|
|
2082
3447
|
|
|
2083
3448
|
@validate_call
|
|
2084
|
-
def
|
|
3449
|
+
def get_synthetic_datacenters_without_preload_content(
|
|
2085
3450
|
self,
|
|
2086
3451
|
_request_timeout: Union[
|
|
2087
3452
|
None,
|
|
@@ -2096,9 +3461,9 @@ class SyntheticSettingsApi:
|
|
|
2096
3461
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2097
3462
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2098
3463
|
) -> RESTResponseType:
|
|
2099
|
-
"""All Synthetic
|
|
3464
|
+
"""All Synthetic datacenters
|
|
2100
3465
|
|
|
2101
|
-
API request to retrieve
|
|
3466
|
+
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.
|
|
2102
3467
|
|
|
2103
3468
|
:param _request_timeout: timeout setting for this request. If one
|
|
2104
3469
|
number provided, it will be total request
|
|
@@ -2122,7 +3487,7 @@ class SyntheticSettingsApi:
|
|
|
2122
3487
|
:return: Returns the result object.
|
|
2123
3488
|
""" # noqa: E501
|
|
2124
3489
|
|
|
2125
|
-
_param = self.
|
|
3490
|
+
_param = self._get_synthetic_datacenters_serialize(
|
|
2126
3491
|
_request_auth=_request_auth,
|
|
2127
3492
|
_content_type=_content_type,
|
|
2128
3493
|
_headers=_headers,
|
|
@@ -2130,10 +3495,9 @@ class SyntheticSettingsApi:
|
|
|
2130
3495
|
)
|
|
2131
3496
|
|
|
2132
3497
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2133
|
-
'200': "List[
|
|
3498
|
+
'200': "List[SyntheticDatacenter]",
|
|
2134
3499
|
'401': None,
|
|
2135
3500
|
'403': None,
|
|
2136
|
-
'404': None,
|
|
2137
3501
|
'500': None,
|
|
2138
3502
|
}
|
|
2139
3503
|
response_data = self.api_client.call_api(
|
|
@@ -2143,7 +3507,7 @@ class SyntheticSettingsApi:
|
|
|
2143
3507
|
return response_data.response
|
|
2144
3508
|
|
|
2145
3509
|
|
|
2146
|
-
def
|
|
3510
|
+
def _get_synthetic_datacenters_serialize(
|
|
2147
3511
|
self,
|
|
2148
3512
|
_request_auth,
|
|
2149
3513
|
_content_type,
|
|
@@ -2188,7 +3552,7 @@ class SyntheticSettingsApi:
|
|
|
2188
3552
|
|
|
2189
3553
|
return self.api_client.param_serialize(
|
|
2190
3554
|
method='GET',
|
|
2191
|
-
resource_path='/api/synthetics/settings/
|
|
3555
|
+
resource_path='/api/synthetics/settings/datacenters',
|
|
2192
3556
|
path_params=_path_params,
|
|
2193
3557
|
query_params=_query_params,
|
|
2194
3558
|
header_params=_header_params,
|
|
@@ -2205,9 +3569,9 @@ class SyntheticSettingsApi:
|
|
|
2205
3569
|
|
|
2206
3570
|
|
|
2207
3571
|
@validate_call
|
|
2208
|
-
def
|
|
3572
|
+
def get_synthetic_location(
|
|
2209
3573
|
self,
|
|
2210
|
-
|
|
3574
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be retrieved")],
|
|
2211
3575
|
_request_timeout: Union[
|
|
2212
3576
|
None,
|
|
2213
3577
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2220,13 +3584,13 @@ class SyntheticSettingsApi:
|
|
|
2220
3584
|
_content_type: Optional[StrictStr] = None,
|
|
2221
3585
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2222
3586
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2223
|
-
) ->
|
|
2224
|
-
"""Synthetic
|
|
3587
|
+
) -> SyntheticLocation:
|
|
3588
|
+
"""A Synthetic location
|
|
2225
3589
|
|
|
2226
|
-
API request to retrieve a Synthetic
|
|
3590
|
+
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.
|
|
2227
3591
|
|
|
2228
|
-
:param
|
|
2229
|
-
:type
|
|
3592
|
+
:param id: Identifier of the location to be retrieved (required)
|
|
3593
|
+
:type id: str
|
|
2230
3594
|
:param _request_timeout: timeout setting for this request. If one
|
|
2231
3595
|
number provided, it will be total request
|
|
2232
3596
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2249,8 +3613,8 @@ class SyntheticSettingsApi:
|
|
|
2249
3613
|
:return: Returns the result object.
|
|
2250
3614
|
""" # noqa: E501
|
|
2251
3615
|
|
|
2252
|
-
_param = self.
|
|
2253
|
-
|
|
3616
|
+
_param = self._get_synthetic_location_serialize(
|
|
3617
|
+
id=id,
|
|
2254
3618
|
_request_auth=_request_auth,
|
|
2255
3619
|
_content_type=_content_type,
|
|
2256
3620
|
_headers=_headers,
|
|
@@ -2258,9 +3622,8 @@ class SyntheticSettingsApi:
|
|
|
2258
3622
|
)
|
|
2259
3623
|
|
|
2260
3624
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2261
|
-
'200': "
|
|
3625
|
+
'200': "SyntheticLocation",
|
|
2262
3626
|
'401': None,
|
|
2263
|
-
'403': None,
|
|
2264
3627
|
'404': None,
|
|
2265
3628
|
'500': None,
|
|
2266
3629
|
}
|
|
@@ -2276,9 +3639,9 @@ class SyntheticSettingsApi:
|
|
|
2276
3639
|
|
|
2277
3640
|
|
|
2278
3641
|
@validate_call
|
|
2279
|
-
def
|
|
3642
|
+
def get_synthetic_location_with_http_info(
|
|
2280
3643
|
self,
|
|
2281
|
-
|
|
3644
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be retrieved")],
|
|
2282
3645
|
_request_timeout: Union[
|
|
2283
3646
|
None,
|
|
2284
3647
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2291,13 +3654,13 @@ class SyntheticSettingsApi:
|
|
|
2291
3654
|
_content_type: Optional[StrictStr] = None,
|
|
2292
3655
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2293
3656
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2294
|
-
) -> ApiResponse[
|
|
2295
|
-
"""Synthetic
|
|
3657
|
+
) -> ApiResponse[SyntheticLocation]:
|
|
3658
|
+
"""A Synthetic location
|
|
2296
3659
|
|
|
2297
|
-
API request to retrieve a Synthetic
|
|
3660
|
+
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.
|
|
2298
3661
|
|
|
2299
|
-
:param
|
|
2300
|
-
:type
|
|
3662
|
+
:param id: Identifier of the location to be retrieved (required)
|
|
3663
|
+
:type id: str
|
|
2301
3664
|
:param _request_timeout: timeout setting for this request. If one
|
|
2302
3665
|
number provided, it will be total request
|
|
2303
3666
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2320,8 +3683,8 @@ class SyntheticSettingsApi:
|
|
|
2320
3683
|
:return: Returns the result object.
|
|
2321
3684
|
""" # noqa: E501
|
|
2322
3685
|
|
|
2323
|
-
_param = self.
|
|
2324
|
-
|
|
3686
|
+
_param = self._get_synthetic_location_serialize(
|
|
3687
|
+
id=id,
|
|
2325
3688
|
_request_auth=_request_auth,
|
|
2326
3689
|
_content_type=_content_type,
|
|
2327
3690
|
_headers=_headers,
|
|
@@ -2329,9 +3692,8 @@ class SyntheticSettingsApi:
|
|
|
2329
3692
|
)
|
|
2330
3693
|
|
|
2331
3694
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2332
|
-
'200': "
|
|
3695
|
+
'200': "SyntheticLocation",
|
|
2333
3696
|
'401': None,
|
|
2334
|
-
'403': None,
|
|
2335
3697
|
'404': None,
|
|
2336
3698
|
'500': None,
|
|
2337
3699
|
}
|
|
@@ -2347,9 +3709,9 @@ class SyntheticSettingsApi:
|
|
|
2347
3709
|
|
|
2348
3710
|
|
|
2349
3711
|
@validate_call
|
|
2350
|
-
def
|
|
3712
|
+
def get_synthetic_location_without_preload_content(
|
|
2351
3713
|
self,
|
|
2352
|
-
|
|
3714
|
+
id: Annotated[StrictStr, Field(description="Identifier of the location to be retrieved")],
|
|
2353
3715
|
_request_timeout: Union[
|
|
2354
3716
|
None,
|
|
2355
3717
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2363,12 +3725,12 @@ class SyntheticSettingsApi:
|
|
|
2363
3725
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2364
3726
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2365
3727
|
) -> RESTResponseType:
|
|
2366
|
-
"""Synthetic
|
|
3728
|
+
"""A Synthetic location
|
|
2367
3729
|
|
|
2368
|
-
API request to retrieve a Synthetic
|
|
3730
|
+
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.
|
|
2369
3731
|
|
|
2370
|
-
:param
|
|
2371
|
-
:type
|
|
3732
|
+
:param id: Identifier of the location to be retrieved (required)
|
|
3733
|
+
:type id: str
|
|
2372
3734
|
:param _request_timeout: timeout setting for this request. If one
|
|
2373
3735
|
number provided, it will be total request
|
|
2374
3736
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2391,8 +3753,8 @@ class SyntheticSettingsApi:
|
|
|
2391
3753
|
:return: Returns the result object.
|
|
2392
3754
|
""" # noqa: E501
|
|
2393
3755
|
|
|
2394
|
-
_param = self.
|
|
2395
|
-
|
|
3756
|
+
_param = self._get_synthetic_location_serialize(
|
|
3757
|
+
id=id,
|
|
2396
3758
|
_request_auth=_request_auth,
|
|
2397
3759
|
_content_type=_content_type,
|
|
2398
3760
|
_headers=_headers,
|
|
@@ -2400,9 +3762,8 @@ class SyntheticSettingsApi:
|
|
|
2400
3762
|
)
|
|
2401
3763
|
|
|
2402
3764
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2403
|
-
'200': "
|
|
3765
|
+
'200': "SyntheticLocation",
|
|
2404
3766
|
'401': None,
|
|
2405
|
-
'403': None,
|
|
2406
3767
|
'404': None,
|
|
2407
3768
|
'500': None,
|
|
2408
3769
|
}
|
|
@@ -2413,9 +3774,9 @@ class SyntheticSettingsApi:
|
|
|
2413
3774
|
return response_data.response
|
|
2414
3775
|
|
|
2415
3776
|
|
|
2416
|
-
def
|
|
3777
|
+
def _get_synthetic_location_serialize(
|
|
2417
3778
|
self,
|
|
2418
|
-
|
|
3779
|
+
id,
|
|
2419
3780
|
_request_auth,
|
|
2420
3781
|
_content_type,
|
|
2421
3782
|
_headers,
|
|
@@ -2437,8 +3798,8 @@ class SyntheticSettingsApi:
|
|
|
2437
3798
|
_body_params: Optional[bytes] = None
|
|
2438
3799
|
|
|
2439
3800
|
# process the path parameters
|
|
2440
|
-
if
|
|
2441
|
-
_path_params['
|
|
3801
|
+
if id is not None:
|
|
3802
|
+
_path_params['id'] = id
|
|
2442
3803
|
# process the query parameters
|
|
2443
3804
|
# process the header parameters
|
|
2444
3805
|
# process the form parameters
|
|
@@ -2461,7 +3822,7 @@ class SyntheticSettingsApi:
|
|
|
2461
3822
|
|
|
2462
3823
|
return self.api_client.param_serialize(
|
|
2463
3824
|
method='GET',
|
|
2464
|
-
resource_path='/api/synthetics/settings/
|
|
3825
|
+
resource_path='/api/synthetics/settings/locations/{id}',
|
|
2465
3826
|
path_params=_path_params,
|
|
2466
3827
|
query_params=_query_params,
|
|
2467
3828
|
header_params=_header_params,
|
|
@@ -2478,8 +3839,12 @@ class SyntheticSettingsApi:
|
|
|
2478
3839
|
|
|
2479
3840
|
|
|
2480
3841
|
@validate_call
|
|
2481
|
-
def
|
|
3842
|
+
def get_synthetic_locations(
|
|
2482
3843
|
self,
|
|
3844
|
+
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
3845
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
3846
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
3847
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
2483
3848
|
_request_timeout: Union[
|
|
2484
3849
|
None,
|
|
2485
3850
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2492,11 +3857,19 @@ class SyntheticSettingsApi:
|
|
|
2492
3857
|
_content_type: Optional[StrictStr] = None,
|
|
2493
3858
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2494
3859
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2495
|
-
) -> List[
|
|
2496
|
-
"""All Synthetic
|
|
3860
|
+
) -> List[SyntheticLocation]:
|
|
3861
|
+
"""All Synthetic locations
|
|
2497
3862
|
|
|
2498
|
-
API request to retrieve
|
|
3863
|
+
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.
|
|
2499
3864
|
|
|
3865
|
+
:param sort: Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
3866
|
+
:type sort: str
|
|
3867
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
3868
|
+
:type offset: int
|
|
3869
|
+
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
3870
|
+
:type limit: int
|
|
3871
|
+
:param filter: 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.
|
|
3872
|
+
:type filter: str
|
|
2500
3873
|
:param _request_timeout: timeout setting for this request. If one
|
|
2501
3874
|
number provided, it will be total request
|
|
2502
3875
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2519,7 +3892,11 @@ class SyntheticSettingsApi:
|
|
|
2519
3892
|
:return: Returns the result object.
|
|
2520
3893
|
""" # noqa: E501
|
|
2521
3894
|
|
|
2522
|
-
_param = self.
|
|
3895
|
+
_param = self._get_synthetic_locations_serialize(
|
|
3896
|
+
sort=sort,
|
|
3897
|
+
offset=offset,
|
|
3898
|
+
limit=limit,
|
|
3899
|
+
filter=filter,
|
|
2523
3900
|
_request_auth=_request_auth,
|
|
2524
3901
|
_content_type=_content_type,
|
|
2525
3902
|
_headers=_headers,
|
|
@@ -2527,9 +3904,8 @@ class SyntheticSettingsApi:
|
|
|
2527
3904
|
)
|
|
2528
3905
|
|
|
2529
3906
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2530
|
-
'200': "List[
|
|
3907
|
+
'200': "List[SyntheticLocation]",
|
|
2531
3908
|
'401': None,
|
|
2532
|
-
'403': None,
|
|
2533
3909
|
'500': None,
|
|
2534
3910
|
}
|
|
2535
3911
|
response_data = self.api_client.call_api(
|
|
@@ -2544,8 +3920,12 @@ class SyntheticSettingsApi:
|
|
|
2544
3920
|
|
|
2545
3921
|
|
|
2546
3922
|
@validate_call
|
|
2547
|
-
def
|
|
3923
|
+
def get_synthetic_locations_with_http_info(
|
|
2548
3924
|
self,
|
|
3925
|
+
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
3926
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
3927
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
3928
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
2549
3929
|
_request_timeout: Union[
|
|
2550
3930
|
None,
|
|
2551
3931
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2558,11 +3938,19 @@ class SyntheticSettingsApi:
|
|
|
2558
3938
|
_content_type: Optional[StrictStr] = None,
|
|
2559
3939
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2560
3940
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2561
|
-
) -> ApiResponse[List[
|
|
2562
|
-
"""All Synthetic
|
|
3941
|
+
) -> ApiResponse[List[SyntheticLocation]]:
|
|
3942
|
+
"""All Synthetic locations
|
|
2563
3943
|
|
|
2564
|
-
API request to retrieve
|
|
3944
|
+
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.
|
|
2565
3945
|
|
|
3946
|
+
:param sort: Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
3947
|
+
:type sort: str
|
|
3948
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
3949
|
+
:type offset: int
|
|
3950
|
+
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
3951
|
+
:type limit: int
|
|
3952
|
+
:param filter: 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.
|
|
3953
|
+
:type filter: str
|
|
2566
3954
|
:param _request_timeout: timeout setting for this request. If one
|
|
2567
3955
|
number provided, it will be total request
|
|
2568
3956
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2585,7 +3973,11 @@ class SyntheticSettingsApi:
|
|
|
2585
3973
|
:return: Returns the result object.
|
|
2586
3974
|
""" # noqa: E501
|
|
2587
3975
|
|
|
2588
|
-
_param = self.
|
|
3976
|
+
_param = self._get_synthetic_locations_serialize(
|
|
3977
|
+
sort=sort,
|
|
3978
|
+
offset=offset,
|
|
3979
|
+
limit=limit,
|
|
3980
|
+
filter=filter,
|
|
2589
3981
|
_request_auth=_request_auth,
|
|
2590
3982
|
_content_type=_content_type,
|
|
2591
3983
|
_headers=_headers,
|
|
@@ -2593,9 +3985,8 @@ class SyntheticSettingsApi:
|
|
|
2593
3985
|
)
|
|
2594
3986
|
|
|
2595
3987
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2596
|
-
'200': "List[
|
|
3988
|
+
'200': "List[SyntheticLocation]",
|
|
2597
3989
|
'401': None,
|
|
2598
|
-
'403': None,
|
|
2599
3990
|
'500': None,
|
|
2600
3991
|
}
|
|
2601
3992
|
response_data = self.api_client.call_api(
|
|
@@ -2610,8 +4001,12 @@ class SyntheticSettingsApi:
|
|
|
2610
4001
|
|
|
2611
4002
|
|
|
2612
4003
|
@validate_call
|
|
2613
|
-
def
|
|
4004
|
+
def get_synthetic_locations_without_preload_content(
|
|
2614
4005
|
self,
|
|
4006
|
+
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
4007
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
4008
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
4009
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
2615
4010
|
_request_timeout: Union[
|
|
2616
4011
|
None,
|
|
2617
4012
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2625,10 +4020,18 @@ class SyntheticSettingsApi:
|
|
|
2625
4020
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2626
4021
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2627
4022
|
) -> RESTResponseType:
|
|
2628
|
-
"""All Synthetic
|
|
4023
|
+
"""All Synthetic locations
|
|
2629
4024
|
|
|
2630
|
-
API request to retrieve
|
|
4025
|
+
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.
|
|
2631
4026
|
|
|
4027
|
+
:param sort: Defines the attribute by which the returned synthetic locations will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
4028
|
+
:type sort: str
|
|
4029
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
4030
|
+
:type offset: int
|
|
4031
|
+
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
4032
|
+
:type limit: int
|
|
4033
|
+
:param filter: 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.
|
|
4034
|
+
:type filter: str
|
|
2632
4035
|
:param _request_timeout: timeout setting for this request. If one
|
|
2633
4036
|
number provided, it will be total request
|
|
2634
4037
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2651,7 +4054,11 @@ class SyntheticSettingsApi:
|
|
|
2651
4054
|
:return: Returns the result object.
|
|
2652
4055
|
""" # noqa: E501
|
|
2653
4056
|
|
|
2654
|
-
_param = self.
|
|
4057
|
+
_param = self._get_synthetic_locations_serialize(
|
|
4058
|
+
sort=sort,
|
|
4059
|
+
offset=offset,
|
|
4060
|
+
limit=limit,
|
|
4061
|
+
filter=filter,
|
|
2655
4062
|
_request_auth=_request_auth,
|
|
2656
4063
|
_content_type=_content_type,
|
|
2657
4064
|
_headers=_headers,
|
|
@@ -2659,9 +4066,8 @@ class SyntheticSettingsApi:
|
|
|
2659
4066
|
)
|
|
2660
4067
|
|
|
2661
4068
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2662
|
-
'200': "List[
|
|
4069
|
+
'200': "List[SyntheticLocation]",
|
|
2663
4070
|
'401': None,
|
|
2664
|
-
'403': None,
|
|
2665
4071
|
'500': None,
|
|
2666
4072
|
}
|
|
2667
4073
|
response_data = self.api_client.call_api(
|
|
@@ -2671,8 +4077,12 @@ class SyntheticSettingsApi:
|
|
|
2671
4077
|
return response_data.response
|
|
2672
4078
|
|
|
2673
4079
|
|
|
2674
|
-
def
|
|
4080
|
+
def _get_synthetic_locations_serialize(
|
|
2675
4081
|
self,
|
|
4082
|
+
sort,
|
|
4083
|
+
offset,
|
|
4084
|
+
limit,
|
|
4085
|
+
filter,
|
|
2676
4086
|
_request_auth,
|
|
2677
4087
|
_content_type,
|
|
2678
4088
|
_headers,
|
|
@@ -2695,6 +4105,22 @@ class SyntheticSettingsApi:
|
|
|
2695
4105
|
|
|
2696
4106
|
# process the path parameters
|
|
2697
4107
|
# process the query parameters
|
|
4108
|
+
if sort is not None:
|
|
4109
|
+
|
|
4110
|
+
_query_params.append(('sort', sort))
|
|
4111
|
+
|
|
4112
|
+
if offset is not None:
|
|
4113
|
+
|
|
4114
|
+
_query_params.append(('offset', offset))
|
|
4115
|
+
|
|
4116
|
+
if limit is not None:
|
|
4117
|
+
|
|
4118
|
+
_query_params.append(('limit', limit))
|
|
4119
|
+
|
|
4120
|
+
if filter is not None:
|
|
4121
|
+
|
|
4122
|
+
_query_params.append(('filter', filter))
|
|
4123
|
+
|
|
2698
4124
|
# process the header parameters
|
|
2699
4125
|
# process the form parameters
|
|
2700
4126
|
# process the body parameter
|
|
@@ -2716,7 +4142,7 @@ class SyntheticSettingsApi:
|
|
|
2716
4142
|
|
|
2717
4143
|
return self.api_client.param_serialize(
|
|
2718
4144
|
method='GET',
|
|
2719
|
-
resource_path='/api/synthetics/settings/
|
|
4145
|
+
resource_path='/api/synthetics/settings/locations',
|
|
2720
4146
|
path_params=_path_params,
|
|
2721
4147
|
query_params=_query_params,
|
|
2722
4148
|
header_params=_header_params,
|
|
@@ -2733,9 +4159,9 @@ class SyntheticSettingsApi:
|
|
|
2733
4159
|
|
|
2734
4160
|
|
|
2735
4161
|
@validate_call
|
|
2736
|
-
def
|
|
4162
|
+
def get_synthetic_test(
|
|
2737
4163
|
self,
|
|
2738
|
-
id: Annotated[StrictStr, Field(description="
|
|
4164
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be retrieved")],
|
|
2739
4165
|
_request_timeout: Union[
|
|
2740
4166
|
None,
|
|
2741
4167
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2748,12 +4174,12 @@ class SyntheticSettingsApi:
|
|
|
2748
4174
|
_content_type: Optional[StrictStr] = None,
|
|
2749
4175
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2750
4176
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2751
|
-
) ->
|
|
2752
|
-
"""Synthetic
|
|
4177
|
+
) -> SyntheticTest:
|
|
4178
|
+
"""A Synthetic test
|
|
2753
4179
|
|
|
2754
|
-
API request to retrieve a Synthetic
|
|
4180
|
+
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.
|
|
2755
4181
|
|
|
2756
|
-
:param id:
|
|
4182
|
+
:param id: Id of the synthetic test to be retrieved (required)
|
|
2757
4183
|
:type id: str
|
|
2758
4184
|
:param _request_timeout: timeout setting for this request. If one
|
|
2759
4185
|
number provided, it will be total request
|
|
@@ -2777,7 +4203,7 @@ class SyntheticSettingsApi:
|
|
|
2777
4203
|
:return: Returns the result object.
|
|
2778
4204
|
""" # noqa: E501
|
|
2779
4205
|
|
|
2780
|
-
_param = self.
|
|
4206
|
+
_param = self._get_synthetic_test_serialize(
|
|
2781
4207
|
id=id,
|
|
2782
4208
|
_request_auth=_request_auth,
|
|
2783
4209
|
_content_type=_content_type,
|
|
@@ -2786,8 +4212,9 @@ class SyntheticSettingsApi:
|
|
|
2786
4212
|
)
|
|
2787
4213
|
|
|
2788
4214
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2789
|
-
'200': "
|
|
4215
|
+
'200': "SyntheticTest",
|
|
2790
4216
|
'401': None,
|
|
4217
|
+
'403': None,
|
|
2791
4218
|
'404': None,
|
|
2792
4219
|
'500': None,
|
|
2793
4220
|
}
|
|
@@ -2803,9 +4230,9 @@ class SyntheticSettingsApi:
|
|
|
2803
4230
|
|
|
2804
4231
|
|
|
2805
4232
|
@validate_call
|
|
2806
|
-
def
|
|
4233
|
+
def get_synthetic_test_with_http_info(
|
|
2807
4234
|
self,
|
|
2808
|
-
id: Annotated[StrictStr, Field(description="
|
|
4235
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be retrieved")],
|
|
2809
4236
|
_request_timeout: Union[
|
|
2810
4237
|
None,
|
|
2811
4238
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2818,12 +4245,12 @@ class SyntheticSettingsApi:
|
|
|
2818
4245
|
_content_type: Optional[StrictStr] = None,
|
|
2819
4246
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2820
4247
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2821
|
-
) -> ApiResponse[
|
|
2822
|
-
"""Synthetic
|
|
4248
|
+
) -> ApiResponse[SyntheticTest]:
|
|
4249
|
+
"""A Synthetic test
|
|
2823
4250
|
|
|
2824
|
-
API request to retrieve a Synthetic
|
|
4251
|
+
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.
|
|
2825
4252
|
|
|
2826
|
-
:param id:
|
|
4253
|
+
:param id: Id of the synthetic test to be retrieved (required)
|
|
2827
4254
|
:type id: str
|
|
2828
4255
|
:param _request_timeout: timeout setting for this request. If one
|
|
2829
4256
|
number provided, it will be total request
|
|
@@ -2847,7 +4274,7 @@ class SyntheticSettingsApi:
|
|
|
2847
4274
|
:return: Returns the result object.
|
|
2848
4275
|
""" # noqa: E501
|
|
2849
4276
|
|
|
2850
|
-
_param = self.
|
|
4277
|
+
_param = self._get_synthetic_test_serialize(
|
|
2851
4278
|
id=id,
|
|
2852
4279
|
_request_auth=_request_auth,
|
|
2853
4280
|
_content_type=_content_type,
|
|
@@ -2856,8 +4283,9 @@ class SyntheticSettingsApi:
|
|
|
2856
4283
|
)
|
|
2857
4284
|
|
|
2858
4285
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2859
|
-
'200': "
|
|
4286
|
+
'200': "SyntheticTest",
|
|
2860
4287
|
'401': None,
|
|
4288
|
+
'403': None,
|
|
2861
4289
|
'404': None,
|
|
2862
4290
|
'500': None,
|
|
2863
4291
|
}
|
|
@@ -2873,9 +4301,9 @@ class SyntheticSettingsApi:
|
|
|
2873
4301
|
|
|
2874
4302
|
|
|
2875
4303
|
@validate_call
|
|
2876
|
-
def
|
|
4304
|
+
def get_synthetic_test_without_preload_content(
|
|
2877
4305
|
self,
|
|
2878
|
-
id: Annotated[StrictStr, Field(description="
|
|
4306
|
+
id: Annotated[StrictStr, Field(description="Id of the synthetic test to be retrieved")],
|
|
2879
4307
|
_request_timeout: Union[
|
|
2880
4308
|
None,
|
|
2881
4309
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2889,11 +4317,11 @@ class SyntheticSettingsApi:
|
|
|
2889
4317
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2890
4318
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2891
4319
|
) -> RESTResponseType:
|
|
2892
|
-
"""Synthetic
|
|
4320
|
+
"""A Synthetic test
|
|
2893
4321
|
|
|
2894
|
-
API request to retrieve a Synthetic
|
|
4322
|
+
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.
|
|
2895
4323
|
|
|
2896
|
-
:param id:
|
|
4324
|
+
:param id: Id of the synthetic test to be retrieved (required)
|
|
2897
4325
|
:type id: str
|
|
2898
4326
|
:param _request_timeout: timeout setting for this request. If one
|
|
2899
4327
|
number provided, it will be total request
|
|
@@ -2917,7 +4345,7 @@ class SyntheticSettingsApi:
|
|
|
2917
4345
|
:return: Returns the result object.
|
|
2918
4346
|
""" # noqa: E501
|
|
2919
4347
|
|
|
2920
|
-
_param = self.
|
|
4348
|
+
_param = self._get_synthetic_test_serialize(
|
|
2921
4349
|
id=id,
|
|
2922
4350
|
_request_auth=_request_auth,
|
|
2923
4351
|
_content_type=_content_type,
|
|
@@ -2926,8 +4354,9 @@ class SyntheticSettingsApi:
|
|
|
2926
4354
|
)
|
|
2927
4355
|
|
|
2928
4356
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2929
|
-
'200': "
|
|
4357
|
+
'200': "SyntheticTest",
|
|
2930
4358
|
'401': None,
|
|
4359
|
+
'403': None,
|
|
2931
4360
|
'404': None,
|
|
2932
4361
|
'500': None,
|
|
2933
4362
|
}
|
|
@@ -2938,7 +4367,7 @@ class SyntheticSettingsApi:
|
|
|
2938
4367
|
return response_data.response
|
|
2939
4368
|
|
|
2940
4369
|
|
|
2941
|
-
def
|
|
4370
|
+
def _get_synthetic_test_serialize(
|
|
2942
4371
|
self,
|
|
2943
4372
|
id,
|
|
2944
4373
|
_request_auth,
|
|
@@ -2986,7 +4415,7 @@ class SyntheticSettingsApi:
|
|
|
2986
4415
|
|
|
2987
4416
|
return self.api_client.param_serialize(
|
|
2988
4417
|
method='GET',
|
|
2989
|
-
resource_path='/api/synthetics/settings/
|
|
4418
|
+
resource_path='/api/synthetics/settings/tests/{id}',
|
|
2990
4419
|
path_params=_path_params,
|
|
2991
4420
|
query_params=_query_params,
|
|
2992
4421
|
header_params=_header_params,
|
|
@@ -3003,12 +4432,9 @@ class SyntheticSettingsApi:
|
|
|
3003
4432
|
|
|
3004
4433
|
|
|
3005
4434
|
@validate_call
|
|
3006
|
-
def
|
|
4435
|
+
def get_synthetic_test_cicd(
|
|
3007
4436
|
self,
|
|
3008
|
-
|
|
3009
|
-
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
3010
|
-
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
3011
|
-
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4437
|
+
test_result_id: Annotated[StrictStr, Field(description="The synthetic test result id of the CI/CD to be retrieved")],
|
|
3012
4438
|
_request_timeout: Union[
|
|
3013
4439
|
None,
|
|
3014
4440
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3021,19 +4447,13 @@ class SyntheticSettingsApi:
|
|
|
3021
4447
|
_content_type: Optional[StrictStr] = None,
|
|
3022
4448
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3023
4449
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3024
|
-
) ->
|
|
3025
|
-
"""
|
|
4450
|
+
) -> SyntheticTestCICDItem:
|
|
4451
|
+
"""A Synthetic test CI/CD.
|
|
3026
4452
|
|
|
3027
|
-
|
|
4453
|
+
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.
|
|
3028
4454
|
|
|
3029
|
-
:param
|
|
3030
|
-
:type
|
|
3031
|
-
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
3032
|
-
:type offset: int
|
|
3033
|
-
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
3034
|
-
:type limit: int
|
|
3035
|
-
:param filter: 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.
|
|
3036
|
-
:type filter: str
|
|
4455
|
+
:param test_result_id: The synthetic test result id of the CI/CD to be retrieved (required)
|
|
4456
|
+
:type test_result_id: str
|
|
3037
4457
|
:param _request_timeout: timeout setting for this request. If one
|
|
3038
4458
|
number provided, it will be total request
|
|
3039
4459
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3056,11 +4476,8 @@ class SyntheticSettingsApi:
|
|
|
3056
4476
|
:return: Returns the result object.
|
|
3057
4477
|
""" # noqa: E501
|
|
3058
4478
|
|
|
3059
|
-
_param = self.
|
|
3060
|
-
|
|
3061
|
-
offset=offset,
|
|
3062
|
-
limit=limit,
|
|
3063
|
-
filter=filter,
|
|
4479
|
+
_param = self._get_synthetic_test_cicd_serialize(
|
|
4480
|
+
test_result_id=test_result_id,
|
|
3064
4481
|
_request_auth=_request_auth,
|
|
3065
4482
|
_content_type=_content_type,
|
|
3066
4483
|
_headers=_headers,
|
|
@@ -3068,8 +4485,10 @@ class SyntheticSettingsApi:
|
|
|
3068
4485
|
)
|
|
3069
4486
|
|
|
3070
4487
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3071
|
-
'200': "
|
|
4488
|
+
'200': "SyntheticTestCICDItem",
|
|
3072
4489
|
'401': None,
|
|
4490
|
+
'403': None,
|
|
4491
|
+
'404': None,
|
|
3073
4492
|
'500': None,
|
|
3074
4493
|
}
|
|
3075
4494
|
response_data = self.api_client.call_api(
|
|
@@ -3084,12 +4503,9 @@ class SyntheticSettingsApi:
|
|
|
3084
4503
|
|
|
3085
4504
|
|
|
3086
4505
|
@validate_call
|
|
3087
|
-
def
|
|
4506
|
+
def get_synthetic_test_cicd_with_http_info(
|
|
3088
4507
|
self,
|
|
3089
|
-
|
|
3090
|
-
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
3091
|
-
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
3092
|
-
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4508
|
+
test_result_id: Annotated[StrictStr, Field(description="The synthetic test result id of the CI/CD to be retrieved")],
|
|
3093
4509
|
_request_timeout: Union[
|
|
3094
4510
|
None,
|
|
3095
4511
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3102,19 +4518,13 @@ class SyntheticSettingsApi:
|
|
|
3102
4518
|
_content_type: Optional[StrictStr] = None,
|
|
3103
4519
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3104
4520
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3105
|
-
) -> ApiResponse[
|
|
3106
|
-
"""
|
|
4521
|
+
) -> ApiResponse[SyntheticTestCICDItem]:
|
|
4522
|
+
"""A Synthetic test CI/CD.
|
|
3107
4523
|
|
|
3108
|
-
|
|
4524
|
+
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.
|
|
3109
4525
|
|
|
3110
|
-
:param
|
|
3111
|
-
:type
|
|
3112
|
-
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
3113
|
-
:type offset: int
|
|
3114
|
-
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
3115
|
-
:type limit: int
|
|
3116
|
-
:param filter: 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.
|
|
3117
|
-
:type filter: str
|
|
4526
|
+
:param test_result_id: The synthetic test result id of the CI/CD to be retrieved (required)
|
|
4527
|
+
:type test_result_id: str
|
|
3118
4528
|
:param _request_timeout: timeout setting for this request. If one
|
|
3119
4529
|
number provided, it will be total request
|
|
3120
4530
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3137,11 +4547,8 @@ class SyntheticSettingsApi:
|
|
|
3137
4547
|
:return: Returns the result object.
|
|
3138
4548
|
""" # noqa: E501
|
|
3139
4549
|
|
|
3140
|
-
_param = self.
|
|
3141
|
-
|
|
3142
|
-
offset=offset,
|
|
3143
|
-
limit=limit,
|
|
3144
|
-
filter=filter,
|
|
4550
|
+
_param = self._get_synthetic_test_cicd_serialize(
|
|
4551
|
+
test_result_id=test_result_id,
|
|
3145
4552
|
_request_auth=_request_auth,
|
|
3146
4553
|
_content_type=_content_type,
|
|
3147
4554
|
_headers=_headers,
|
|
@@ -3149,8 +4556,10 @@ class SyntheticSettingsApi:
|
|
|
3149
4556
|
)
|
|
3150
4557
|
|
|
3151
4558
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3152
|
-
'200': "
|
|
4559
|
+
'200': "SyntheticTestCICDItem",
|
|
3153
4560
|
'401': None,
|
|
4561
|
+
'403': None,
|
|
4562
|
+
'404': None,
|
|
3154
4563
|
'500': None,
|
|
3155
4564
|
}
|
|
3156
4565
|
response_data = self.api_client.call_api(
|
|
@@ -3165,12 +4574,9 @@ class SyntheticSettingsApi:
|
|
|
3165
4574
|
|
|
3166
4575
|
|
|
3167
4576
|
@validate_call
|
|
3168
|
-
def
|
|
4577
|
+
def get_synthetic_test_cicd_without_preload_content(
|
|
3169
4578
|
self,
|
|
3170
|
-
|
|
3171
|
-
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations")] = None,
|
|
3172
|
-
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic locations that will be returned by the query")] = None,
|
|
3173
|
-
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4579
|
+
test_result_id: Annotated[StrictStr, Field(description="The synthetic test result id of the CI/CD to be retrieved")],
|
|
3174
4580
|
_request_timeout: Union[
|
|
3175
4581
|
None,
|
|
3176
4582
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3184,18 +4590,12 @@ class SyntheticSettingsApi:
|
|
|
3184
4590
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3185
4591
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3186
4592
|
) -> RESTResponseType:
|
|
3187
|
-
"""
|
|
4593
|
+
"""A Synthetic test CI/CD.
|
|
3188
4594
|
|
|
3189
|
-
|
|
4595
|
+
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.
|
|
3190
4596
|
|
|
3191
|
-
:param
|
|
3192
|
-
:type
|
|
3193
|
-
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic locations
|
|
3194
|
-
:type offset: int
|
|
3195
|
-
:param limit: Defines the size of a page - the number of synthetic locations that will be returned by the query
|
|
3196
|
-
:type limit: int
|
|
3197
|
-
:param filter: 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.
|
|
3198
|
-
:type filter: str
|
|
4597
|
+
:param test_result_id: The synthetic test result id of the CI/CD to be retrieved (required)
|
|
4598
|
+
:type test_result_id: str
|
|
3199
4599
|
:param _request_timeout: timeout setting for this request. If one
|
|
3200
4600
|
number provided, it will be total request
|
|
3201
4601
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3218,11 +4618,8 @@ class SyntheticSettingsApi:
|
|
|
3218
4618
|
:return: Returns the result object.
|
|
3219
4619
|
""" # noqa: E501
|
|
3220
4620
|
|
|
3221
|
-
_param = self.
|
|
3222
|
-
|
|
3223
|
-
offset=offset,
|
|
3224
|
-
limit=limit,
|
|
3225
|
-
filter=filter,
|
|
4621
|
+
_param = self._get_synthetic_test_cicd_serialize(
|
|
4622
|
+
test_result_id=test_result_id,
|
|
3226
4623
|
_request_auth=_request_auth,
|
|
3227
4624
|
_content_type=_content_type,
|
|
3228
4625
|
_headers=_headers,
|
|
@@ -3230,8 +4627,10 @@ class SyntheticSettingsApi:
|
|
|
3230
4627
|
)
|
|
3231
4628
|
|
|
3232
4629
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3233
|
-
'200': "
|
|
4630
|
+
'200': "SyntheticTestCICDItem",
|
|
3234
4631
|
'401': None,
|
|
4632
|
+
'403': None,
|
|
4633
|
+
'404': None,
|
|
3235
4634
|
'500': None,
|
|
3236
4635
|
}
|
|
3237
4636
|
response_data = self.api_client.call_api(
|
|
@@ -3241,12 +4640,9 @@ class SyntheticSettingsApi:
|
|
|
3241
4640
|
return response_data.response
|
|
3242
4641
|
|
|
3243
4642
|
|
|
3244
|
-
def
|
|
4643
|
+
def _get_synthetic_test_cicd_serialize(
|
|
3245
4644
|
self,
|
|
3246
|
-
|
|
3247
|
-
offset,
|
|
3248
|
-
limit,
|
|
3249
|
-
filter,
|
|
4645
|
+
test_result_id,
|
|
3250
4646
|
_request_auth,
|
|
3251
4647
|
_content_type,
|
|
3252
4648
|
_headers,
|
|
@@ -3268,23 +4664,9 @@ class SyntheticSettingsApi:
|
|
|
3268
4664
|
_body_params: Optional[bytes] = None
|
|
3269
4665
|
|
|
3270
4666
|
# process the path parameters
|
|
4667
|
+
if test_result_id is not None:
|
|
4668
|
+
_path_params['testResultId'] = test_result_id
|
|
3271
4669
|
# process the query parameters
|
|
3272
|
-
if sort is not None:
|
|
3273
|
-
|
|
3274
|
-
_query_params.append(('sort', sort))
|
|
3275
|
-
|
|
3276
|
-
if offset is not None:
|
|
3277
|
-
|
|
3278
|
-
_query_params.append(('offset', offset))
|
|
3279
|
-
|
|
3280
|
-
if limit is not None:
|
|
3281
|
-
|
|
3282
|
-
_query_params.append(('limit', limit))
|
|
3283
|
-
|
|
3284
|
-
if filter is not None:
|
|
3285
|
-
|
|
3286
|
-
_query_params.append(('filter', filter))
|
|
3287
|
-
|
|
3288
4670
|
# process the header parameters
|
|
3289
4671
|
# process the form parameters
|
|
3290
4672
|
# process the body parameter
|
|
@@ -3306,7 +4688,7 @@ class SyntheticSettingsApi:
|
|
|
3306
4688
|
|
|
3307
4689
|
return self.api_client.param_serialize(
|
|
3308
4690
|
method='GET',
|
|
3309
|
-
resource_path='/api/synthetics/settings/
|
|
4691
|
+
resource_path='/api/synthetics/settings/tests/ci-cd/{testResultId}',
|
|
3310
4692
|
path_params=_path_params,
|
|
3311
4693
|
query_params=_query_params,
|
|
3312
4694
|
header_params=_header_params,
|
|
@@ -3323,9 +4705,11 @@ class SyntheticSettingsApi:
|
|
|
3323
4705
|
|
|
3324
4706
|
|
|
3325
4707
|
@validate_call
|
|
3326
|
-
def
|
|
4708
|
+
def get_synthetic_test_cicds(
|
|
3327
4709
|
self,
|
|
3328
|
-
|
|
4710
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4711
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs")] = None,
|
|
4712
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query")] = None,
|
|
3329
4713
|
_request_timeout: Union[
|
|
3330
4714
|
None,
|
|
3331
4715
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3338,13 +4722,17 @@ class SyntheticSettingsApi:
|
|
|
3338
4722
|
_content_type: Optional[StrictStr] = None,
|
|
3339
4723
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3340
4724
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3341
|
-
) ->
|
|
3342
|
-
"""
|
|
4725
|
+
) -> List[SyntheticTestCICDItem]:
|
|
4726
|
+
"""All Synthetic test CI/CDs
|
|
3343
4727
|
|
|
3344
|
-
API request to retrieve
|
|
4728
|
+
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.
|
|
3345
4729
|
|
|
3346
|
-
:param
|
|
3347
|
-
:type
|
|
4730
|
+
:param filter: 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.
|
|
4731
|
+
:type filter: str
|
|
4732
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs
|
|
4733
|
+
:type offset: int
|
|
4734
|
+
:param limit: Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query
|
|
4735
|
+
:type limit: int
|
|
3348
4736
|
:param _request_timeout: timeout setting for this request. If one
|
|
3349
4737
|
number provided, it will be total request
|
|
3350
4738
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3367,8 +4755,10 @@ class SyntheticSettingsApi:
|
|
|
3367
4755
|
:return: Returns the result object.
|
|
3368
4756
|
""" # noqa: E501
|
|
3369
4757
|
|
|
3370
|
-
_param = self.
|
|
3371
|
-
|
|
4758
|
+
_param = self._get_synthetic_test_cicds_serialize(
|
|
4759
|
+
filter=filter,
|
|
4760
|
+
offset=offset,
|
|
4761
|
+
limit=limit,
|
|
3372
4762
|
_request_auth=_request_auth,
|
|
3373
4763
|
_content_type=_content_type,
|
|
3374
4764
|
_headers=_headers,
|
|
@@ -3376,10 +4766,9 @@ class SyntheticSettingsApi:
|
|
|
3376
4766
|
)
|
|
3377
4767
|
|
|
3378
4768
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3379
|
-
'200': "
|
|
4769
|
+
'200': "List[SyntheticTestCICDItem]",
|
|
3380
4770
|
'401': None,
|
|
3381
4771
|
'403': None,
|
|
3382
|
-
'404': None,
|
|
3383
4772
|
'500': None,
|
|
3384
4773
|
}
|
|
3385
4774
|
response_data = self.api_client.call_api(
|
|
@@ -3394,9 +4783,11 @@ class SyntheticSettingsApi:
|
|
|
3394
4783
|
|
|
3395
4784
|
|
|
3396
4785
|
@validate_call
|
|
3397
|
-
def
|
|
4786
|
+
def get_synthetic_test_cicds_with_http_info(
|
|
3398
4787
|
self,
|
|
3399
|
-
|
|
4788
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4789
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs")] = None,
|
|
4790
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query")] = None,
|
|
3400
4791
|
_request_timeout: Union[
|
|
3401
4792
|
None,
|
|
3402
4793
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3409,13 +4800,17 @@ class SyntheticSettingsApi:
|
|
|
3409
4800
|
_content_type: Optional[StrictStr] = None,
|
|
3410
4801
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3411
4802
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3412
|
-
) -> ApiResponse[
|
|
3413
|
-
"""
|
|
4803
|
+
) -> ApiResponse[List[SyntheticTestCICDItem]]:
|
|
4804
|
+
"""All Synthetic test CI/CDs
|
|
3414
4805
|
|
|
3415
|
-
API request to retrieve
|
|
4806
|
+
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.
|
|
3416
4807
|
|
|
3417
|
-
:param
|
|
3418
|
-
:type
|
|
4808
|
+
:param filter: 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.
|
|
4809
|
+
:type filter: str
|
|
4810
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs
|
|
4811
|
+
:type offset: int
|
|
4812
|
+
:param limit: Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query
|
|
4813
|
+
:type limit: int
|
|
3419
4814
|
:param _request_timeout: timeout setting for this request. If one
|
|
3420
4815
|
number provided, it will be total request
|
|
3421
4816
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3438,8 +4833,10 @@ class SyntheticSettingsApi:
|
|
|
3438
4833
|
:return: Returns the result object.
|
|
3439
4834
|
""" # noqa: E501
|
|
3440
4835
|
|
|
3441
|
-
_param = self.
|
|
3442
|
-
|
|
4836
|
+
_param = self._get_synthetic_test_cicds_serialize(
|
|
4837
|
+
filter=filter,
|
|
4838
|
+
offset=offset,
|
|
4839
|
+
limit=limit,
|
|
3443
4840
|
_request_auth=_request_auth,
|
|
3444
4841
|
_content_type=_content_type,
|
|
3445
4842
|
_headers=_headers,
|
|
@@ -3447,10 +4844,9 @@ class SyntheticSettingsApi:
|
|
|
3447
4844
|
)
|
|
3448
4845
|
|
|
3449
4846
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3450
|
-
'200': "
|
|
4847
|
+
'200': "List[SyntheticTestCICDItem]",
|
|
3451
4848
|
'401': None,
|
|
3452
4849
|
'403': None,
|
|
3453
|
-
'404': None,
|
|
3454
4850
|
'500': None,
|
|
3455
4851
|
}
|
|
3456
4852
|
response_data = self.api_client.call_api(
|
|
@@ -3465,9 +4861,11 @@ class SyntheticSettingsApi:
|
|
|
3465
4861
|
|
|
3466
4862
|
|
|
3467
4863
|
@validate_call
|
|
3468
|
-
def
|
|
4864
|
+
def get_synthetic_test_cicds_without_preload_content(
|
|
3469
4865
|
self,
|
|
3470
|
-
|
|
4866
|
+
filter: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(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.")] = None,
|
|
4867
|
+
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs")] = None,
|
|
4868
|
+
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query")] = None,
|
|
3471
4869
|
_request_timeout: Union[
|
|
3472
4870
|
None,
|
|
3473
4871
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3481,12 +4879,16 @@ class SyntheticSettingsApi:
|
|
|
3481
4879
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3482
4880
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3483
4881
|
) -> RESTResponseType:
|
|
3484
|
-
"""
|
|
4882
|
+
"""All Synthetic test CI/CDs
|
|
3485
4883
|
|
|
3486
|
-
API request to retrieve
|
|
4884
|
+
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.
|
|
3487
4885
|
|
|
3488
|
-
:param
|
|
3489
|
-
:type
|
|
4886
|
+
:param filter: 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.
|
|
4887
|
+
:type filter: str
|
|
4888
|
+
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic test CI/CDs
|
|
4889
|
+
:type offset: int
|
|
4890
|
+
:param limit: Defines the size of a page - the number of synthetic test CI/CDs that will be returned by the query
|
|
4891
|
+
:type limit: int
|
|
3490
4892
|
:param _request_timeout: timeout setting for this request. If one
|
|
3491
4893
|
number provided, it will be total request
|
|
3492
4894
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3509,8 +4911,10 @@ class SyntheticSettingsApi:
|
|
|
3509
4911
|
:return: Returns the result object.
|
|
3510
4912
|
""" # noqa: E501
|
|
3511
4913
|
|
|
3512
|
-
_param = self.
|
|
3513
|
-
|
|
4914
|
+
_param = self._get_synthetic_test_cicds_serialize(
|
|
4915
|
+
filter=filter,
|
|
4916
|
+
offset=offset,
|
|
4917
|
+
limit=limit,
|
|
3514
4918
|
_request_auth=_request_auth,
|
|
3515
4919
|
_content_type=_content_type,
|
|
3516
4920
|
_headers=_headers,
|
|
@@ -3518,10 +4922,9 @@ class SyntheticSettingsApi:
|
|
|
3518
4922
|
)
|
|
3519
4923
|
|
|
3520
4924
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3521
|
-
'200': "
|
|
4925
|
+
'200': "List[SyntheticTestCICDItem]",
|
|
3522
4926
|
'401': None,
|
|
3523
4927
|
'403': None,
|
|
3524
|
-
'404': None,
|
|
3525
4928
|
'500': None,
|
|
3526
4929
|
}
|
|
3527
4930
|
response_data = self.api_client.call_api(
|
|
@@ -3531,9 +4934,11 @@ class SyntheticSettingsApi:
|
|
|
3531
4934
|
return response_data.response
|
|
3532
4935
|
|
|
3533
4936
|
|
|
3534
|
-
def
|
|
4937
|
+
def _get_synthetic_test_cicds_serialize(
|
|
3535
4938
|
self,
|
|
3536
|
-
|
|
4939
|
+
filter,
|
|
4940
|
+
offset,
|
|
4941
|
+
limit,
|
|
3537
4942
|
_request_auth,
|
|
3538
4943
|
_content_type,
|
|
3539
4944
|
_headers,
|
|
@@ -3555,9 +4960,19 @@ class SyntheticSettingsApi:
|
|
|
3555
4960
|
_body_params: Optional[bytes] = None
|
|
3556
4961
|
|
|
3557
4962
|
# process the path parameters
|
|
3558
|
-
if id is not None:
|
|
3559
|
-
_path_params['id'] = id
|
|
3560
4963
|
# process the query parameters
|
|
4964
|
+
if filter is not None:
|
|
4965
|
+
|
|
4966
|
+
_query_params.append(('filter', filter))
|
|
4967
|
+
|
|
4968
|
+
if offset is not None:
|
|
4969
|
+
|
|
4970
|
+
_query_params.append(('offset', offset))
|
|
4971
|
+
|
|
4972
|
+
if limit is not None:
|
|
4973
|
+
|
|
4974
|
+
_query_params.append(('limit', limit))
|
|
4975
|
+
|
|
3561
4976
|
# process the header parameters
|
|
3562
4977
|
# process the form parameters
|
|
3563
4978
|
# process the body parameter
|
|
@@ -3579,7 +4994,7 @@ class SyntheticSettingsApi:
|
|
|
3579
4994
|
|
|
3580
4995
|
return self.api_client.param_serialize(
|
|
3581
4996
|
method='GET',
|
|
3582
|
-
resource_path='/api/synthetics/settings/tests/
|
|
4997
|
+
resource_path='/api/synthetics/settings/tests/ci-cd',
|
|
3583
4998
|
path_params=_path_params,
|
|
3584
4999
|
query_params=_query_params,
|
|
3585
5000
|
header_params=_header_params,
|
|
@@ -3600,6 +5015,7 @@ class SyntheticSettingsApi:
|
|
|
3600
5015
|
self,
|
|
3601
5016
|
application_id: Annotated[Optional[StrictStr], Field(description="Defines the application id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3602
5017
|
location_id: Annotated[Optional[StrictStr], Field(description="Defines the location id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
5018
|
+
credential_name: Annotated[Optional[StrictStr], Field(description="Defines the credential name by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3603
5019
|
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
3604
5020
|
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests")] = None,
|
|
3605
5021
|
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic tests that will be returned by the query")] = None,
|
|
@@ -3619,12 +5035,14 @@ class SyntheticSettingsApi:
|
|
|
3619
5035
|
) -> List[SyntheticTest]:
|
|
3620
5036
|
"""All Synthetic tests
|
|
3621
5037
|
|
|
3622
|
-
|
|
5038
|
+
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.
|
|
3623
5039
|
|
|
3624
5040
|
:param application_id: Defines the application id by which the returned synthetic tests will be filtered by.
|
|
3625
5041
|
:type application_id: str
|
|
3626
5042
|
:param location_id: Defines the location id by which the returned synthetic tests will be filtered by.
|
|
3627
5043
|
:type location_id: str
|
|
5044
|
+
:param credential_name: Defines the credential name by which the returned synthetic tests will be filtered by.
|
|
5045
|
+
:type credential_name: str
|
|
3628
5046
|
:param sort: Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
3629
5047
|
:type sort: str
|
|
3630
5048
|
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests
|
|
@@ -3658,6 +5076,7 @@ class SyntheticSettingsApi:
|
|
|
3658
5076
|
_param = self._get_synthetic_tests_serialize(
|
|
3659
5077
|
application_id=application_id,
|
|
3660
5078
|
location_id=location_id,
|
|
5079
|
+
credential_name=credential_name,
|
|
3661
5080
|
sort=sort,
|
|
3662
5081
|
offset=offset,
|
|
3663
5082
|
limit=limit,
|
|
@@ -3690,6 +5109,7 @@ class SyntheticSettingsApi:
|
|
|
3690
5109
|
self,
|
|
3691
5110
|
application_id: Annotated[Optional[StrictStr], Field(description="Defines the application id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3692
5111
|
location_id: Annotated[Optional[StrictStr], Field(description="Defines the location id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
5112
|
+
credential_name: Annotated[Optional[StrictStr], Field(description="Defines the credential name by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3693
5113
|
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
3694
5114
|
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests")] = None,
|
|
3695
5115
|
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic tests that will be returned by the query")] = None,
|
|
@@ -3709,12 +5129,14 @@ class SyntheticSettingsApi:
|
|
|
3709
5129
|
) -> ApiResponse[List[SyntheticTest]]:
|
|
3710
5130
|
"""All Synthetic tests
|
|
3711
5131
|
|
|
3712
|
-
|
|
5132
|
+
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.
|
|
3713
5133
|
|
|
3714
5134
|
:param application_id: Defines the application id by which the returned synthetic tests will be filtered by.
|
|
3715
5135
|
:type application_id: str
|
|
3716
5136
|
:param location_id: Defines the location id by which the returned synthetic tests will be filtered by.
|
|
3717
5137
|
:type location_id: str
|
|
5138
|
+
:param credential_name: Defines the credential name by which the returned synthetic tests will be filtered by.
|
|
5139
|
+
:type credential_name: str
|
|
3718
5140
|
:param sort: Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
3719
5141
|
:type sort: str
|
|
3720
5142
|
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests
|
|
@@ -3748,6 +5170,7 @@ class SyntheticSettingsApi:
|
|
|
3748
5170
|
_param = self._get_synthetic_tests_serialize(
|
|
3749
5171
|
application_id=application_id,
|
|
3750
5172
|
location_id=location_id,
|
|
5173
|
+
credential_name=credential_name,
|
|
3751
5174
|
sort=sort,
|
|
3752
5175
|
offset=offset,
|
|
3753
5176
|
limit=limit,
|
|
@@ -3780,6 +5203,7 @@ class SyntheticSettingsApi:
|
|
|
3780
5203
|
self,
|
|
3781
5204
|
application_id: Annotated[Optional[StrictStr], Field(description="Defines the application id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3782
5205
|
location_id: Annotated[Optional[StrictStr], Field(description="Defines the location id by which the returned synthetic tests will be filtered by. ")] = None,
|
|
5206
|
+
credential_name: Annotated[Optional[StrictStr], Field(description="Defines the credential name by which the returned synthetic tests will be filtered by. ")] = None,
|
|
3783
5207
|
sort: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC")] = None,
|
|
3784
5208
|
offset: Annotated[Optional[StrictInt], Field(description="Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests")] = None,
|
|
3785
5209
|
limit: Annotated[Optional[StrictInt], Field(description="Defines the size of a page - the number of synthetic tests that will be returned by the query")] = None,
|
|
@@ -3799,12 +5223,14 @@ class SyntheticSettingsApi:
|
|
|
3799
5223
|
) -> RESTResponseType:
|
|
3800
5224
|
"""All Synthetic tests
|
|
3801
5225
|
|
|
3802
|
-
|
|
5226
|
+
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.
|
|
3803
5227
|
|
|
3804
5228
|
:param application_id: Defines the application id by which the returned synthetic tests will be filtered by.
|
|
3805
5229
|
:type application_id: str
|
|
3806
5230
|
:param location_id: Defines the location id by which the returned synthetic tests will be filtered by.
|
|
3807
5231
|
:type location_id: str
|
|
5232
|
+
:param credential_name: Defines the credential name by which the returned synthetic tests will be filtered by.
|
|
5233
|
+
:type credential_name: str
|
|
3808
5234
|
:param sort: Defines the attribute by which the returned synthetic tests will be ordered by. Order using '+' means ASC and '-' means DESC
|
|
3809
5235
|
:type sort: str
|
|
3810
5236
|
:param offset: Used in conjunction with limit. Defines how many pages will be skipped before returning the synthetic tests
|
|
@@ -3838,6 +5264,7 @@ class SyntheticSettingsApi:
|
|
|
3838
5264
|
_param = self._get_synthetic_tests_serialize(
|
|
3839
5265
|
application_id=application_id,
|
|
3840
5266
|
location_id=location_id,
|
|
5267
|
+
credential_name=credential_name,
|
|
3841
5268
|
sort=sort,
|
|
3842
5269
|
offset=offset,
|
|
3843
5270
|
limit=limit,
|
|
@@ -3865,6 +5292,7 @@ class SyntheticSettingsApi:
|
|
|
3865
5292
|
self,
|
|
3866
5293
|
application_id,
|
|
3867
5294
|
location_id,
|
|
5295
|
+
credential_name,
|
|
3868
5296
|
sort,
|
|
3869
5297
|
offset,
|
|
3870
5298
|
limit,
|
|
@@ -3899,6 +5327,10 @@ class SyntheticSettingsApi:
|
|
|
3899
5327
|
|
|
3900
5328
|
_query_params.append(('locationId', location_id))
|
|
3901
5329
|
|
|
5330
|
+
if credential_name is not None:
|
|
5331
|
+
|
|
5332
|
+
_query_params.append(('credentialName', credential_name))
|
|
5333
|
+
|
|
3902
5334
|
if sort is not None:
|
|
3903
5335
|
|
|
3904
5336
|
_query_params.append(('sort', sort))
|
|
@@ -3970,8 +5402,9 @@ class SyntheticSettingsApi:
|
|
|
3970
5402
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3971
5403
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3972
5404
|
) -> None:
|
|
3973
|
-
"""Patch a Synthetic
|
|
5405
|
+
"""Patch a Synthetic credential
|
|
3974
5406
|
|
|
5407
|
+
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.
|
|
3975
5408
|
|
|
3976
5409
|
:param name: Name of the credential to be patched (required)
|
|
3977
5410
|
:type name: str
|
|
@@ -4043,8 +5476,9 @@ class SyntheticSettingsApi:
|
|
|
4043
5476
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4044
5477
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4045
5478
|
) -> ApiResponse[None]:
|
|
4046
|
-
"""Patch a Synthetic
|
|
5479
|
+
"""Patch a Synthetic credential
|
|
4047
5480
|
|
|
5481
|
+
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.
|
|
4048
5482
|
|
|
4049
5483
|
:param name: Name of the credential to be patched (required)
|
|
4050
5484
|
:type name: str
|
|
@@ -4116,8 +5550,9 @@ class SyntheticSettingsApi:
|
|
|
4116
5550
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4117
5551
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4118
5552
|
) -> RESTResponseType:
|
|
4119
|
-
"""Patch a Synthetic
|
|
5553
|
+
"""Patch a Synthetic credential
|
|
4120
5554
|
|
|
5555
|
+
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.
|
|
4121
5556
|
|
|
4122
5557
|
:param name: Name of the credential to be patched (required)
|
|
4123
5558
|
:type name: str
|
|
@@ -4267,7 +5702,7 @@ class SyntheticSettingsApi:
|
|
|
4267
5702
|
) -> None:
|
|
4268
5703
|
"""Patch a Synthetic test
|
|
4269
5704
|
|
|
4270
|
-
|
|
5705
|
+
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.
|
|
4271
5706
|
|
|
4272
5707
|
:param id: Id of the synthetic test to be patched (required)
|
|
4273
5708
|
:type id: str
|
|
@@ -4342,7 +5777,7 @@ class SyntheticSettingsApi:
|
|
|
4342
5777
|
) -> ApiResponse[None]:
|
|
4343
5778
|
"""Patch a Synthetic test
|
|
4344
5779
|
|
|
4345
|
-
|
|
5780
|
+
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.
|
|
4346
5781
|
|
|
4347
5782
|
:param id: Id of the synthetic test to be patched (required)
|
|
4348
5783
|
:type id: str
|
|
@@ -4417,7 +5852,7 @@ class SyntheticSettingsApi:
|
|
|
4417
5852
|
) -> RESTResponseType:
|
|
4418
5853
|
"""Patch a Synthetic test
|
|
4419
5854
|
|
|
4420
|
-
|
|
5855
|
+
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.
|
|
4421
5856
|
|
|
4422
5857
|
:param id: Id of the synthetic test to be patched (required)
|
|
4423
5858
|
:type id: str
|
|
@@ -4566,9 +6001,9 @@ class SyntheticSettingsApi:
|
|
|
4566
6001
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4567
6002
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4568
6003
|
) -> None:
|
|
4569
|
-
"""Update a Synthetic
|
|
6004
|
+
"""Update a Synthetic credential
|
|
4570
6005
|
|
|
4571
|
-
API request to update Synthetic
|
|
6006
|
+
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.
|
|
4572
6007
|
|
|
4573
6008
|
:param name: Name of the credential to be updated (required)
|
|
4574
6009
|
:type name: str
|
|
@@ -4606,7 +6041,7 @@ class SyntheticSettingsApi:
|
|
|
4606
6041
|
)
|
|
4607
6042
|
|
|
4608
6043
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4609
|
-
'
|
|
6044
|
+
'201': None,
|
|
4610
6045
|
'401': None,
|
|
4611
6046
|
'403': None,
|
|
4612
6047
|
'500': None,
|
|
@@ -4640,9 +6075,9 @@ class SyntheticSettingsApi:
|
|
|
4640
6075
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4641
6076
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4642
6077
|
) -> ApiResponse[None]:
|
|
4643
|
-
"""Update a Synthetic
|
|
6078
|
+
"""Update a Synthetic credential
|
|
4644
6079
|
|
|
4645
|
-
API request to update Synthetic
|
|
6080
|
+
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.
|
|
4646
6081
|
|
|
4647
6082
|
:param name: Name of the credential to be updated (required)
|
|
4648
6083
|
:type name: str
|
|
@@ -4680,7 +6115,7 @@ class SyntheticSettingsApi:
|
|
|
4680
6115
|
)
|
|
4681
6116
|
|
|
4682
6117
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4683
|
-
'
|
|
6118
|
+
'201': None,
|
|
4684
6119
|
'401': None,
|
|
4685
6120
|
'403': None,
|
|
4686
6121
|
'500': None,
|
|
@@ -4714,9 +6149,9 @@ class SyntheticSettingsApi:
|
|
|
4714
6149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4715
6150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4716
6151
|
) -> RESTResponseType:
|
|
4717
|
-
"""Update a Synthetic
|
|
6152
|
+
"""Update a Synthetic credential
|
|
4718
6153
|
|
|
4719
|
-
API request to update Synthetic
|
|
6154
|
+
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.
|
|
4720
6155
|
|
|
4721
6156
|
:param name: Name of the credential to be updated (required)
|
|
4722
6157
|
:type name: str
|
|
@@ -4754,7 +6189,7 @@ class SyntheticSettingsApi:
|
|
|
4754
6189
|
)
|
|
4755
6190
|
|
|
4756
6191
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4757
|
-
'
|
|
6192
|
+
'201': None,
|
|
4758
6193
|
'401': None,
|
|
4759
6194
|
'403': None,
|
|
4760
6195
|
'500': None,
|
|
@@ -4866,6 +6301,7 @@ class SyntheticSettingsApi:
|
|
|
4866
6301
|
) -> None:
|
|
4867
6302
|
"""Update a Synthetic test
|
|
4868
6303
|
|
|
6304
|
+
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.
|
|
4869
6305
|
|
|
4870
6306
|
:param id: Id of the synthetic test to be updated (required)
|
|
4871
6307
|
:type id: str
|
|
@@ -4940,6 +6376,7 @@ class SyntheticSettingsApi:
|
|
|
4940
6376
|
) -> ApiResponse[None]:
|
|
4941
6377
|
"""Update a Synthetic test
|
|
4942
6378
|
|
|
6379
|
+
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.
|
|
4943
6380
|
|
|
4944
6381
|
:param id: Id of the synthetic test to be updated (required)
|
|
4945
6382
|
:type id: str
|
|
@@ -5014,6 +6451,7 @@ class SyntheticSettingsApi:
|
|
|
5014
6451
|
) -> RESTResponseType:
|
|
5015
6452
|
"""Update a Synthetic test
|
|
5016
6453
|
|
|
6454
|
+
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.
|
|
5017
6455
|
|
|
5018
6456
|
:param id: Id of the synthetic test to be updated (required)
|
|
5019
6457
|
:type id: str
|