oci 2.127.0__py3-none-any.whl → 2.128.1__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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +108 -8
- oci/apm_config/models/__init__.py +10 -0
- oci/apm_config/models/filter_text_or_id.py +112 -0
- oci/apm_config/models/test_details.py +101 -0
- oci/apm_config/models/test_output.py +101 -0
- oci/apm_config/models/test_span_enrichment_details.py +148 -0
- oci/apm_config/models/test_span_enrichment_output.py +113 -0
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_guard/models/resource_profile.py +66 -4
- oci/cloud_guard/models/resource_profile_endpoint_summary.py +97 -4
- oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +126 -2
- oci/cloud_guard/models/resource_profile_summary.py +66 -4
- oci/cloud_guard/models/security_policy_collection.py +115 -2
- oci/cloud_guard/models/sighting.py +66 -4
- oci/cloud_guard/models/sighting_endpoint_summary.py +97 -4
- oci/cloud_guard/models/sighting_impacted_resource_summary.py +126 -2
- oci/cloud_guard/models/sighting_summary.py +66 -4
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +447 -333
- oci/database/models/__init__.py +6 -0
- oci/database/models/autonomous_database_peer_collection.py +72 -0
- oci/database/models/autonomous_database_peer_summary.py +107 -0
- oci/database/models/create_autonomous_database_base.py +4 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +512 -0
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +14 -14
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +233 -39
- oci/fusion_apps/fusion_applications_client_composite_operations.py +39 -0
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/__init__.py +4 -0
- oci/fusion_apps/models/extract_details_collection.py +72 -0
- oci/fusion_apps/models/extract_details_summary.py +134 -0
- oci/fusion_apps/models/fusion_environment.py +33 -2
- oci/fusion_apps/models/subscription.py +214 -0
- oci/fusion_apps/models/work_request.py +27 -3
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai/models/__init__.py +4 -0
- oci/generative_ai/models/chat_model_metrics.py +113 -0
- oci/generative_ai/models/create_dedicated_ai_cluster_details.py +8 -0
- oci/generative_ai/models/dedicated_ai_cluster.py +17 -5
- oci/generative_ai/models/lora_training_config.py +186 -0
- oci/generative_ai/models/model_metrics.py +11 -3
- oci/generative_ai/models/t_few_training_config.py +1 -1
- oci/generative_ai/models/text_generation_model_metrics.py +1 -1
- oci/generative_ai/models/training_config.py +11 -3
- oci/generative_ai/models/vanilla_training_config.py +1 -1
- oci/generative_ai_inference/generative_ai_inference_client.py +13 -17
- oci/generative_ai_inference/models/__init__.py +23 -1
- oci/generative_ai_inference/models/assistant_message.py +89 -0
- oci/generative_ai_inference/models/base_chat_request.py +3 -3
- oci/generative_ai_inference/models/base_chat_response.py +3 -3
- oci/generative_ai_inference/models/chat_details.py +3 -3
- oci/generative_ai_inference/models/chat_result.py +2 -2
- oci/generative_ai_inference/models/choice.py +1 -1
- oci/generative_ai_inference/models/citation.py +9 -9
- oci/generative_ai_inference/models/cohere_chat_bot_message.py +113 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +353 -30
- oci/generative_ai_inference/models/cohere_chat_response.py +166 -16
- oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/cohere_message.py +49 -43
- oci/generative_ai_inference/models/cohere_parameter_definition.py +134 -0
- oci/generative_ai_inference/models/cohere_system_message.py +82 -0
- oci/generative_ai_inference/models/cohere_tool.py +134 -0
- oci/generative_ai_inference/models/cohere_tool_call.py +103 -0
- oci/generative_ai_inference/models/cohere_tool_message.py +82 -0
- oci/generative_ai_inference/models/cohere_tool_result.py +99 -0
- oci/generative_ai_inference/models/cohere_user_message.py +82 -0
- oci/generative_ai_inference/models/embed_text_details.py +4 -4
- oci/generative_ai_inference/models/generate_text_details.py +2 -2
- oci/generative_ai_inference/models/generic_chat_request.py +16 -10
- oci/generative_ai_inference/models/generic_chat_response.py +3 -3
- oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
- oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/llm_inference_response.py +3 -11
- oci/generative_ai_inference/models/logprobs.py +3 -1
- oci/generative_ai_inference/models/message.py +50 -5
- oci/generative_ai_inference/models/on_demand_serving_mode.py +2 -2
- oci/generative_ai_inference/models/serving_mode.py +3 -3
- oci/generative_ai_inference/models/summarize_text_details.py +2 -2
- oci/generative_ai_inference/models/system_message.py +89 -0
- oci/generative_ai_inference/models/text_content.py +1 -1
- oci/generative_ai_inference/models/user_message.py +89 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/models/create_dedicated_sharded_database.py +93 -0
- oci/globally_distributed_database/models/dedicated_sharded_database.py +111 -0
- oci/globally_distributed_database/models/dedicated_sharded_database_summary.py +93 -0
- oci/globally_distributed_database/models/private_endpoint.py +31 -0
- oci/globally_distributed_database/models/work_request.py +51 -3
- oci/globally_distributed_database/models/work_request_summary.py +51 -3
- oci/globally_distributed_database/sharded_database_service_client.py +174 -30
- oci/globally_distributed_database/sharded_database_service_client_composite_operations.py +39 -0
- oci/golden_gate/golden_gate_client.py +2420 -1399
- oci/golden_gate/golden_gate_client_composite_operations.py +274 -0
- oci/golden_gate/models/__init__.py +20 -0
- oci/golden_gate/models/add_resource_lock_details.py +124 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +8 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -1
- oci/golden_gate/models/amazon_redshift_connection.py +8 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -1
- oci/golden_gate/models/amazon_s3_connection.py +8 -1
- oci/golden_gate/models/amazon_s3_connection_summary.py +8 -1
- oci/golden_gate/models/azure_data_lake_storage_connection.py +8 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -1
- oci/golden_gate/models/azure_synapse_connection.py +8 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +8 -1
- oci/golden_gate/models/certificate.py +2 -2
- oci/golden_gate/models/connection.py +42 -3
- oci/golden_gate/models/connection_summary.py +44 -5
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -1
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -1
- oci/golden_gate/models/create_certificate_details.py +2 -2
- oci/golden_gate/models/create_connection_details.py +42 -3
- oci/golden_gate/models/create_db2_connection_details.py +474 -0
- oci/golden_gate/models/create_deployment_backup_details.py +33 -2
- oci/golden_gate/models/create_deployment_details.py +37 -2
- oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -1
- oci/golden_gate/models/create_generic_connection_details.py +8 -1
- oci/golden_gate/models/create_golden_gate_connection_details.py +8 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +8 -1
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_hdfs_connection_details.py +8 -1
- oci/golden_gate/models/create_java_message_service_connection_details.py +8 -1
- oci/golden_gate/models/create_kafka_connection_details.py +8 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +8 -1
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +8 -1
- oci/golden_gate/models/create_mongo_db_connection_details.py +8 -1
- oci/golden_gate/models/create_mysql_connection_details.py +8 -1
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_ogg_deployment_details.py +4 -4
- oci/golden_gate/models/create_oracle_connection_details.py +41 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -1
- oci/golden_gate/models/create_postgresql_connection_details.py +47 -5
- oci/golden_gate/models/create_redis_connection_details.py +46 -4
- oci/golden_gate/models/create_snowflake_connection_details.py +8 -1
- oci/golden_gate/models/db2_connection.py +431 -0
- oci/golden_gate/models/db2_connection_summary.py +399 -0
- oci/golden_gate/models/deployment.py +37 -2
- oci/golden_gate/models/deployment_backup.py +112 -2
- oci/golden_gate/models/deployment_backup_summary.py +112 -2
- oci/golden_gate/models/deployment_summary.py +39 -4
- oci/golden_gate/models/deployment_type_summary.py +7 -3
- oci/golden_gate/models/elasticsearch_connection.py +8 -1
- oci/golden_gate/models/elasticsearch_connection_summary.py +8 -1
- oci/golden_gate/models/generate_library_url_details.py +101 -0
- oci/golden_gate/models/generate_log_reader_component_library_url_details.py +51 -0
- oci/golden_gate/models/generic_connection.py +8 -1
- oci/golden_gate/models/generic_connection_summary.py +8 -1
- oci/golden_gate/models/golden_gate_connection.py +8 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +8 -1
- oci/golden_gate/models/google_big_query_connection.py +8 -1
- oci/golden_gate/models/google_big_query_connection_summary.py +8 -1
- oci/golden_gate/models/google_cloud_storage_connection.py +8 -1
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -1
- oci/golden_gate/models/hdfs_connection.py +8 -1
- oci/golden_gate/models/hdfs_connection_summary.py +8 -1
- oci/golden_gate/models/java_message_service_connection.py +8 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +8 -1
- oci/golden_gate/models/kafka_connection.py +8 -1
- oci/golden_gate/models/kafka_connection_summary.py +8 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +8 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +8 -1
- oci/golden_gate/models/library_url.py +72 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +8 -1
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +8 -1
- oci/golden_gate/models/mongo_db_connection.py +8 -1
- oci/golden_gate/models/mongo_db_connection_summary.py +8 -1
- oci/golden_gate/models/mysql_connection.py +19 -4
- oci/golden_gate/models/mysql_connection_summary.py +8 -1
- oci/golden_gate/models/oci_object_storage_connection.py +8 -1
- oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -1
- oci/golden_gate/models/ogg_deployment.py +2 -2
- oci/golden_gate/models/oracle_connection.py +64 -4
- oci/golden_gate/models/oracle_connection_summary.py +41 -1
- oci/golden_gate/models/oracle_nosql_connection.py +8 -1
- oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -1
- oci/golden_gate/models/postgresql_connection.py +56 -6
- oci/golden_gate/models/postgresql_connection_summary.py +45 -3
- oci/golden_gate/models/redis_connection.py +52 -6
- oci/golden_gate/models/redis_connection_summary.py +45 -3
- oci/golden_gate/models/remove_resource_lock_details.py +91 -0
- oci/golden_gate/models/resource_lock.py +185 -0
- oci/golden_gate/models/snowflake_connection.py +8 -1
- oci/golden_gate/models/snowflake_connection_summary.py +8 -1
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/update_connection_details.py +11 -3
- oci/golden_gate/models/update_db2_connection_details.py +429 -0
- oci/golden_gate/models/update_deployment_details.py +43 -0
- oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +1 -1
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +1 -1
- oci/golden_gate/models/update_mongo_db_connection_details.py +1 -1
- oci/golden_gate/models/update_mysql_connection_details.py +1 -1
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_ogg_deployment_details.py +4 -4
- oci/golden_gate/models/update_oracle_connection_details.py +34 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/update_postgresql_connection_details.py +38 -3
- oci/golden_gate/models/update_redis_connection_details.py +38 -3
- oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
- oci/golden_gate/models/work_request.py +7 -3
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +50 -50
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/alarm.py +167 -8
- oci/monitoring/models/alarm_dimension_states_entry.py +49 -4
- oci/monitoring/models/alarm_history_entry.py +47 -0
- oci/monitoring/models/alarm_override.py +34 -4
- oci/monitoring/models/alarm_status_summary.py +49 -4
- oci/monitoring/models/alarm_summary.py +172 -6
- oci/monitoring/models/create_alarm_details.py +169 -10
- oci/monitoring/models/update_alarm_details.py +169 -10
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/models/get_message.py +35 -0
- oci/queue/models/queue.py +7 -3
- oci/queue/models/queue_stats.py +2 -2
- oci/queue/queue_admin_client.py +13 -13
- oci/queue/queue_client.py +10 -10
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +22 -22
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/METADATA +1 -1
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/RECORD +466 -433
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/WHEEL +0 -0
- {oci-2.127.0.dist-info → oci-2.128.1.dist-info}/top_level.txt +0 -0
oci/apm_config/config_client.py
CHANGED
@@ -159,7 +159,7 @@ class ConfigClient(object):
|
|
159
159
|
:rtype: :class:`~oci.response.Response`
|
160
160
|
|
161
161
|
:example:
|
162
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
162
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/create_config.py.html>`__ to see an example of how to use create_config API.
|
163
163
|
"""
|
164
164
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
165
165
|
required_arguments = ['apmDomainId']
|
@@ -272,7 +272,7 @@ class ConfigClient(object):
|
|
272
272
|
:rtype: :class:`~oci.response.Response`
|
273
273
|
|
274
274
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/delete_config.py.html>`__ to see an example of how to use delete_config API.
|
276
276
|
"""
|
277
277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
278
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -383,7 +383,7 @@ class ConfigClient(object):
|
|
383
383
|
:rtype: :class:`~oci.response.Response`
|
384
384
|
|
385
385
|
:example:
|
386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/get_config.py.html>`__ to see an example of how to use get_config API.
|
387
387
|
"""
|
388
388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
389
389
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -546,7 +546,7 @@ class ConfigClient(object):
|
|
546
546
|
:rtype: :class:`~oci.response.Response`
|
547
547
|
|
548
548
|
:example:
|
549
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
549
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/list_configs.py.html>`__ to see an example of how to use list_configs API.
|
550
550
|
"""
|
551
551
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
552
552
|
required_arguments = ['apmDomainId']
|
@@ -679,7 +679,7 @@ class ConfigClient(object):
|
|
679
679
|
:rtype: :class:`~oci.response.Response`
|
680
680
|
|
681
681
|
:example:
|
682
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
682
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/retrieve_namespace_metrics.py.html>`__ to see an example of how to use retrieve_namespace_metrics API.
|
683
683
|
"""
|
684
684
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
685
685
|
required_arguments = ['apmDomainId']
|
@@ -775,7 +775,7 @@ class ConfigClient(object):
|
|
775
775
|
:rtype: :class:`~oci.response.Response`
|
776
776
|
|
777
777
|
:example:
|
778
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
778
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/retrieve_namespaces.py.html>`__ to see an example of how to use retrieve_namespaces API.
|
779
779
|
"""
|
780
780
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
781
781
|
required_arguments = ['apmDomainId']
|
@@ -841,6 +841,106 @@ class ConfigClient(object):
|
|
841
841
|
api_reference_link=api_reference_link,
|
842
842
|
required_arguments=required_arguments)
|
843
843
|
|
844
|
+
def test(self, apm_domain_id, test_details, **kwargs):
|
845
|
+
"""
|
846
|
+
Tests a data processing operation on the provided input, returning the potentially modified
|
847
|
+
input as output. Returns 200 on success, 422 when the input can not be processed.
|
848
|
+
|
849
|
+
|
850
|
+
:param str apm_domain_id: (required)
|
851
|
+
The APM Domain ID the request is intended for.
|
852
|
+
|
853
|
+
:param oci.apm_config.models.TestDetails test_details: (required)
|
854
|
+
The test input.
|
855
|
+
|
856
|
+
:param str opc_request_id: (optional)
|
857
|
+
Unique identifier for the request.
|
858
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
859
|
+
|
860
|
+
:param obj retry_strategy: (optional)
|
861
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
862
|
+
|
863
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
864
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
865
|
+
|
866
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
867
|
+
|
868
|
+
:param bool allow_control_chars: (optional)
|
869
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
870
|
+
By default, the response will not allow control characters in strings
|
871
|
+
|
872
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.TestOutput`
|
873
|
+
:rtype: :class:`~oci.response.Response`
|
874
|
+
|
875
|
+
:example:
|
876
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/test.py.html>`__ to see an example of how to use test API.
|
877
|
+
"""
|
878
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
879
|
+
required_arguments = ['apmDomainId']
|
880
|
+
resource_path = "/actions/test"
|
881
|
+
method = "POST"
|
882
|
+
operation_name = "test"
|
883
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/TestOutput/Test"
|
884
|
+
|
885
|
+
# Don't accept unknown kwargs
|
886
|
+
expected_kwargs = [
|
887
|
+
"allow_control_chars",
|
888
|
+
"retry_strategy",
|
889
|
+
"opc_request_id"
|
890
|
+
]
|
891
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
892
|
+
if extra_kwargs:
|
893
|
+
raise ValueError(
|
894
|
+
f"test got unknown kwargs: {extra_kwargs!r}")
|
895
|
+
|
896
|
+
query_params = {
|
897
|
+
"apmDomainId": apm_domain_id
|
898
|
+
}
|
899
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
900
|
+
|
901
|
+
header_params = {
|
902
|
+
"accept": "application/json",
|
903
|
+
"content-type": "application/json",
|
904
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
905
|
+
}
|
906
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
907
|
+
|
908
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
909
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
910
|
+
client_retry_strategy=self.retry_strategy
|
911
|
+
)
|
912
|
+
if retry_strategy is None:
|
913
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
914
|
+
|
915
|
+
if retry_strategy:
|
916
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
917
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
918
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
919
|
+
return retry_strategy.make_retrying_call(
|
920
|
+
self.base_client.call_api,
|
921
|
+
resource_path=resource_path,
|
922
|
+
method=method,
|
923
|
+
query_params=query_params,
|
924
|
+
header_params=header_params,
|
925
|
+
body=test_details,
|
926
|
+
response_type="TestOutput",
|
927
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
928
|
+
operation_name=operation_name,
|
929
|
+
api_reference_link=api_reference_link,
|
930
|
+
required_arguments=required_arguments)
|
931
|
+
else:
|
932
|
+
return self.base_client.call_api(
|
933
|
+
resource_path=resource_path,
|
934
|
+
method=method,
|
935
|
+
query_params=query_params,
|
936
|
+
header_params=header_params,
|
937
|
+
body=test_details,
|
938
|
+
response_type="TestOutput",
|
939
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
940
|
+
operation_name=operation_name,
|
941
|
+
api_reference_link=api_reference_link,
|
942
|
+
required_arguments=required_arguments)
|
943
|
+
|
844
944
|
def update_config(self, apm_domain_id, config_id, update_config_details, **kwargs):
|
845
945
|
"""
|
846
946
|
Updates the details of the configuration item identified by the OCID.
|
@@ -888,7 +988,7 @@ class ConfigClient(object):
|
|
888
988
|
:rtype: :class:`~oci.response.Response`
|
889
989
|
|
890
990
|
:example:
|
891
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
991
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/update_config.py.html>`__ to see an example of how to use update_config API.
|
892
992
|
"""
|
893
993
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
894
994
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -1004,7 +1104,7 @@ class ConfigClient(object):
|
|
1004
1104
|
:rtype: :class:`~oci.response.Response`
|
1005
1105
|
|
1006
1106
|
:example:
|
1007
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1107
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/apmconfig/validate_span_filter_pattern.py.html>`__ to see an example of how to use validate_span_filter_pattern API.
|
1008
1108
|
"""
|
1009
1109
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1010
1110
|
required_arguments = ['apmDomainId']
|
@@ -18,6 +18,7 @@ from .create_metric_group_details import CreateMetricGroupDetails
|
|
18
18
|
from .create_options_details import CreateOptionsDetails
|
19
19
|
from .create_span_filter_details import CreateSpanFilterDetails
|
20
20
|
from .dimension import Dimension
|
21
|
+
from .filter_text_or_id import FilterTextOrId
|
21
22
|
from .metric import Metric
|
22
23
|
from .metric_group import MetricGroup
|
23
24
|
from .metric_group_summary import MetricGroupSummary
|
@@ -31,6 +32,10 @@ from .retrieve_namespace_metrics_details import RetrieveNamespaceMetricsDetails
|
|
31
32
|
from .span_filter import SpanFilter
|
32
33
|
from .span_filter_reference import SpanFilterReference
|
33
34
|
from .span_filter_summary import SpanFilterSummary
|
35
|
+
from .test_details import TestDetails
|
36
|
+
from .test_output import TestOutput
|
37
|
+
from .test_span_enrichment_details import TestSpanEnrichmentDetails
|
38
|
+
from .test_span_enrichment_output import TestSpanEnrichmentOutput
|
34
39
|
from .update_apdex_rules_details import UpdateApdexRulesDetails
|
35
40
|
from .update_config_details import UpdateConfigDetails
|
36
41
|
from .update_metric_group_details import UpdateMetricGroupDetails
|
@@ -52,6 +57,7 @@ apm_config_type_mapping = {
|
|
52
57
|
"CreateOptionsDetails": CreateOptionsDetails,
|
53
58
|
"CreateSpanFilterDetails": CreateSpanFilterDetails,
|
54
59
|
"Dimension": Dimension,
|
60
|
+
"FilterTextOrId": FilterTextOrId,
|
55
61
|
"Metric": Metric,
|
56
62
|
"MetricGroup": MetricGroup,
|
57
63
|
"MetricGroupSummary": MetricGroupSummary,
|
@@ -65,6 +71,10 @@ apm_config_type_mapping = {
|
|
65
71
|
"SpanFilter": SpanFilter,
|
66
72
|
"SpanFilterReference": SpanFilterReference,
|
67
73
|
"SpanFilterSummary": SpanFilterSummary,
|
74
|
+
"TestDetails": TestDetails,
|
75
|
+
"TestOutput": TestOutput,
|
76
|
+
"TestSpanEnrichmentDetails": TestSpanEnrichmentDetails,
|
77
|
+
"TestSpanEnrichmentOutput": TestSpanEnrichmentOutput,
|
68
78
|
"UpdateApdexRulesDetails": UpdateApdexRulesDetails,
|
69
79
|
"UpdateConfigDetails": UpdateConfigDetails,
|
70
80
|
"UpdateMetricGroupDetails": UpdateMetricGroupDetails,
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class FilterTextOrId(object):
|
14
|
+
"""
|
15
|
+
A span filter written in text, or as the `OCID`__ of a
|
16
|
+
SpanFilter resource. If both are given, the filterText is used.
|
17
|
+
|
18
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
19
|
+
"""
|
20
|
+
|
21
|
+
def __init__(self, **kwargs):
|
22
|
+
"""
|
23
|
+
Initializes a new FilterTextOrId object with values from keyword arguments.
|
24
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
25
|
+
|
26
|
+
:param filter_id:
|
27
|
+
The value to assign to the filter_id property of this FilterTextOrId.
|
28
|
+
:type filter_id: str
|
29
|
+
|
30
|
+
:param filter_text:
|
31
|
+
The value to assign to the filter_text property of this FilterTextOrId.
|
32
|
+
:type filter_text: str
|
33
|
+
|
34
|
+
"""
|
35
|
+
self.swagger_types = {
|
36
|
+
'filter_id': 'str',
|
37
|
+
'filter_text': 'str'
|
38
|
+
}
|
39
|
+
|
40
|
+
self.attribute_map = {
|
41
|
+
'filter_id': 'filterId',
|
42
|
+
'filter_text': 'filterText'
|
43
|
+
}
|
44
|
+
|
45
|
+
self._filter_id = None
|
46
|
+
self._filter_text = None
|
47
|
+
|
48
|
+
@property
|
49
|
+
def filter_id(self):
|
50
|
+
"""
|
51
|
+
Gets the filter_id of this FilterTextOrId.
|
52
|
+
The `OCID`__ of a Span Filter. The filterId is mandatory for the creation
|
53
|
+
of MetricGroups. A filterId is generated when a Span Filter is created.
|
54
|
+
|
55
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
56
|
+
|
57
|
+
|
58
|
+
:return: The filter_id of this FilterTextOrId.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._filter_id
|
62
|
+
|
63
|
+
@filter_id.setter
|
64
|
+
def filter_id(self, filter_id):
|
65
|
+
"""
|
66
|
+
Sets the filter_id of this FilterTextOrId.
|
67
|
+
The `OCID`__ of a Span Filter. The filterId is mandatory for the creation
|
68
|
+
of MetricGroups. A filterId is generated when a Span Filter is created.
|
69
|
+
|
70
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
71
|
+
|
72
|
+
|
73
|
+
:param filter_id: The filter_id of this FilterTextOrId.
|
74
|
+
:type: str
|
75
|
+
"""
|
76
|
+
self._filter_id = filter_id
|
77
|
+
|
78
|
+
@property
|
79
|
+
def filter_text(self):
|
80
|
+
"""
|
81
|
+
Gets the filter_text of this FilterTextOrId.
|
82
|
+
The string that defines the Span Filter expression.
|
83
|
+
|
84
|
+
|
85
|
+
:return: The filter_text of this FilterTextOrId.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._filter_text
|
89
|
+
|
90
|
+
@filter_text.setter
|
91
|
+
def filter_text(self, filter_text):
|
92
|
+
"""
|
93
|
+
Sets the filter_text of this FilterTextOrId.
|
94
|
+
The string that defines the Span Filter expression.
|
95
|
+
|
96
|
+
|
97
|
+
:param filter_text: The filter_text of this FilterTextOrId.
|
98
|
+
:type: str
|
99
|
+
"""
|
100
|
+
self._filter_text = filter_text
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
return formatted_flat_dict(self)
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
if other is None:
|
107
|
+
return False
|
108
|
+
|
109
|
+
return self.__dict__ == other.__dict__
|
110
|
+
|
111
|
+
def __ne__(self, other):
|
112
|
+
return not self == other
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class TestDetails(object):
|
14
|
+
"""
|
15
|
+
The request body used to execute a test.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the test_type property of a TestDetails.
|
19
|
+
#: This constant has a value of "SPAN_ENRICHMENT"
|
20
|
+
TEST_TYPE_SPAN_ENRICHMENT = "SPAN_ENRICHMENT"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new TestDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.apm_config.models.TestSpanEnrichmentDetails`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param test_type:
|
32
|
+
The value to assign to the test_type property of this TestDetails.
|
33
|
+
Allowed values for this property are: "SPAN_ENRICHMENT"
|
34
|
+
:type test_type: str
|
35
|
+
|
36
|
+
"""
|
37
|
+
self.swagger_types = {
|
38
|
+
'test_type': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
self.attribute_map = {
|
42
|
+
'test_type': 'testType'
|
43
|
+
}
|
44
|
+
|
45
|
+
self._test_type = None
|
46
|
+
|
47
|
+
@staticmethod
|
48
|
+
def get_subtype(object_dictionary):
|
49
|
+
"""
|
50
|
+
Given the hash representation of a subtype of this class,
|
51
|
+
use the info in the hash to return the class of the subtype.
|
52
|
+
"""
|
53
|
+
type = object_dictionary['testType']
|
54
|
+
|
55
|
+
if type == 'SPAN_ENRICHMENT':
|
56
|
+
return 'TestSpanEnrichmentDetails'
|
57
|
+
else:
|
58
|
+
return 'TestDetails'
|
59
|
+
|
60
|
+
@property
|
61
|
+
def test_type(self):
|
62
|
+
"""
|
63
|
+
**[Required]** Gets the test_type of this TestDetails.
|
64
|
+
The kind of test to run.
|
65
|
+
|
66
|
+
Allowed values for this property are: "SPAN_ENRICHMENT"
|
67
|
+
|
68
|
+
|
69
|
+
:return: The test_type of this TestDetails.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._test_type
|
73
|
+
|
74
|
+
@test_type.setter
|
75
|
+
def test_type(self, test_type):
|
76
|
+
"""
|
77
|
+
Sets the test_type of this TestDetails.
|
78
|
+
The kind of test to run.
|
79
|
+
|
80
|
+
|
81
|
+
:param test_type: The test_type of this TestDetails.
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
allowed_values = ["SPAN_ENRICHMENT"]
|
85
|
+
if not value_allowed_none_or_none_sentinel(test_type, allowed_values):
|
86
|
+
raise ValueError(
|
87
|
+
f"Invalid value for `test_type`, must be None or one of {allowed_values}"
|
88
|
+
)
|
89
|
+
self._test_type = test_type
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class TestOutput(object):
|
14
|
+
"""
|
15
|
+
The result of running a test.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the test_type property of a TestOutput.
|
19
|
+
#: This constant has a value of "SPAN_ENRICHMENT"
|
20
|
+
TEST_TYPE_SPAN_ENRICHMENT = "SPAN_ENRICHMENT"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new TestOutput object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.apm_config.models.TestSpanEnrichmentOutput`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param test_type:
|
32
|
+
The value to assign to the test_type property of this TestOutput.
|
33
|
+
Allowed values for this property are: "SPAN_ENRICHMENT", 'UNKNOWN_ENUM_VALUE'.
|
34
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
35
|
+
:type test_type: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'test_type': 'str'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'test_type': 'testType'
|
44
|
+
}
|
45
|
+
|
46
|
+
self._test_type = None
|
47
|
+
|
48
|
+
@staticmethod
|
49
|
+
def get_subtype(object_dictionary):
|
50
|
+
"""
|
51
|
+
Given the hash representation of a subtype of this class,
|
52
|
+
use the info in the hash to return the class of the subtype.
|
53
|
+
"""
|
54
|
+
type = object_dictionary['testType']
|
55
|
+
|
56
|
+
if type == 'SPAN_ENRICHMENT':
|
57
|
+
return 'TestSpanEnrichmentOutput'
|
58
|
+
else:
|
59
|
+
return 'TestOutput'
|
60
|
+
|
61
|
+
@property
|
62
|
+
def test_type(self):
|
63
|
+
"""
|
64
|
+
**[Required]** Gets the test_type of this TestOutput.
|
65
|
+
The kind of test output.
|
66
|
+
|
67
|
+
Allowed values for this property are: "SPAN_ENRICHMENT", 'UNKNOWN_ENUM_VALUE'.
|
68
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
69
|
+
|
70
|
+
|
71
|
+
:return: The test_type of this TestOutput.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._test_type
|
75
|
+
|
76
|
+
@test_type.setter
|
77
|
+
def test_type(self, test_type):
|
78
|
+
"""
|
79
|
+
Sets the test_type of this TestOutput.
|
80
|
+
The kind of test output.
|
81
|
+
|
82
|
+
|
83
|
+
:param test_type: The test_type of this TestOutput.
|
84
|
+
:type: str
|
85
|
+
"""
|
86
|
+
allowed_values = ["SPAN_ENRICHMENT"]
|
87
|
+
if not value_allowed_none_or_none_sentinel(test_type, allowed_values):
|
88
|
+
test_type = 'UNKNOWN_ENUM_VALUE'
|
89
|
+
self._test_type = test_type
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|
@@ -0,0 +1,148 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
|
6
|
+
|
7
|
+
from .test_details import TestDetails
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class TestSpanEnrichmentDetails(TestDetails):
|
14
|
+
"""
|
15
|
+
Run a set of span enrichment rules on a given span to see the result.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new TestSpanEnrichmentDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.apm_config.models.TestSpanEnrichmentDetails.test_type` attribute
|
21
|
+
of this class is ``SPAN_ENRICHMENT`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param test_type:
|
25
|
+
The value to assign to the test_type property of this TestSpanEnrichmentDetails.
|
26
|
+
Allowed values for this property are: "SPAN_ENRICHMENT"
|
27
|
+
:type test_type: str
|
28
|
+
|
29
|
+
:param options:
|
30
|
+
The value to assign to the options property of this TestSpanEnrichmentDetails.
|
31
|
+
:type options: object
|
32
|
+
|
33
|
+
:param filters:
|
34
|
+
The value to assign to the filters property of this TestSpanEnrichmentDetails.
|
35
|
+
:type filters: list[oci.apm_config.models.FilterTextOrId]
|
36
|
+
|
37
|
+
:param span:
|
38
|
+
The value to assign to the span property of this TestSpanEnrichmentDetails.
|
39
|
+
:type span: object
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'test_type': 'str',
|
44
|
+
'options': 'object',
|
45
|
+
'filters': 'list[FilterTextOrId]',
|
46
|
+
'span': 'object'
|
47
|
+
}
|
48
|
+
|
49
|
+
self.attribute_map = {
|
50
|
+
'test_type': 'testType',
|
51
|
+
'options': 'options',
|
52
|
+
'filters': 'filters',
|
53
|
+
'span': 'span'
|
54
|
+
}
|
55
|
+
|
56
|
+
self._test_type = None
|
57
|
+
self._options = None
|
58
|
+
self._filters = None
|
59
|
+
self._span = None
|
60
|
+
self._test_type = 'SPAN_ENRICHMENT'
|
61
|
+
|
62
|
+
@property
|
63
|
+
def options(self):
|
64
|
+
"""
|
65
|
+
**[Required]** Gets the options of this TestSpanEnrichmentDetails.
|
66
|
+
The span enrichment rules to test in the format of an Options resource.
|
67
|
+
|
68
|
+
|
69
|
+
:return: The options of this TestSpanEnrichmentDetails.
|
70
|
+
:rtype: object
|
71
|
+
"""
|
72
|
+
return self._options
|
73
|
+
|
74
|
+
@options.setter
|
75
|
+
def options(self, options):
|
76
|
+
"""
|
77
|
+
Sets the options of this TestSpanEnrichmentDetails.
|
78
|
+
The span enrichment rules to test in the format of an Options resource.
|
79
|
+
|
80
|
+
|
81
|
+
:param options: The options of this TestSpanEnrichmentDetails.
|
82
|
+
:type: object
|
83
|
+
"""
|
84
|
+
self._options = options
|
85
|
+
|
86
|
+
@property
|
87
|
+
def filters(self):
|
88
|
+
"""
|
89
|
+
Gets the filters of this TestSpanEnrichmentDetails.
|
90
|
+
A list of filters to try against the given span.
|
91
|
+
|
92
|
+
|
93
|
+
:return: The filters of this TestSpanEnrichmentDetails.
|
94
|
+
:rtype: list[oci.apm_config.models.FilterTextOrId]
|
95
|
+
"""
|
96
|
+
return self._filters
|
97
|
+
|
98
|
+
@filters.setter
|
99
|
+
def filters(self, filters):
|
100
|
+
"""
|
101
|
+
Sets the filters of this TestSpanEnrichmentDetails.
|
102
|
+
A list of filters to try against the given span.
|
103
|
+
|
104
|
+
|
105
|
+
:param filters: The filters of this TestSpanEnrichmentDetails.
|
106
|
+
:type: list[oci.apm_config.models.FilterTextOrId]
|
107
|
+
"""
|
108
|
+
self._filters = filters
|
109
|
+
|
110
|
+
@property
|
111
|
+
def span(self):
|
112
|
+
"""
|
113
|
+
**[Required]** Gets the span of this TestSpanEnrichmentDetails.
|
114
|
+
The span to test the rules on. This should be a valid JSON object that follows one
|
115
|
+
of the formats used by distributed tracing frameworks, such as OpenTelemetry, Zipkin, or
|
116
|
+
Oracle Application Performance Monitoring.
|
117
|
+
|
118
|
+
|
119
|
+
:return: The span of this TestSpanEnrichmentDetails.
|
120
|
+
:rtype: object
|
121
|
+
"""
|
122
|
+
return self._span
|
123
|
+
|
124
|
+
@span.setter
|
125
|
+
def span(self, span):
|
126
|
+
"""
|
127
|
+
Sets the span of this TestSpanEnrichmentDetails.
|
128
|
+
The span to test the rules on. This should be a valid JSON object that follows one
|
129
|
+
of the formats used by distributed tracing frameworks, such as OpenTelemetry, Zipkin, or
|
130
|
+
Oracle Application Performance Monitoring.
|
131
|
+
|
132
|
+
|
133
|
+
:param span: The span of this TestSpanEnrichmentDetails.
|
134
|
+
:type: object
|
135
|
+
"""
|
136
|
+
self._span = span
|
137
|
+
|
138
|
+
def __repr__(self):
|
139
|
+
return formatted_flat_dict(self)
|
140
|
+
|
141
|
+
def __eq__(self, other):
|
142
|
+
if other is None:
|
143
|
+
return False
|
144
|
+
|
145
|
+
return self.__dict__ == other.__dict__
|
146
|
+
|
147
|
+
def __ne__(self, other):
|
148
|
+
return not self == other
|