oci 2.149.0__py3-none-any.whl → 2.149.2__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/__init__.py +2 -2
- 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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +340 -9
- oci/apm_config/models/__init__.py +22 -0
- oci/apm_config/models/apdex_rules_summary.py +7 -0
- oci/apm_config/models/config_summary.py +35 -2
- oci/apm_config/models/copy_configuration_details.py +86 -0
- oci/apm_config/models/export_configuration_details.py +76 -0
- oci/apm_config/models/export_configuration_response_details.py +70 -0
- oci/apm_config/models/export_import_apdex_rules_summary.py +128 -0
- oci/apm_config/models/export_import_config_summary.py +226 -0
- oci/apm_config/models/export_import_metric_group_summary.py +232 -0
- oci/apm_config/models/export_import_options_summary.py +194 -0
- oci/apm_config/models/export_import_span_filter_summary.py +163 -0
- oci/apm_config/models/import_configuration_details.py +113 -0
- oci/apm_config/models/import_configuration_failed_item_summary.py +193 -0
- oci/apm_config/models/import_configuration_failed_items_collection.py +70 -0
- oci/apm_config/models/metric_group_summary.py +7 -0
- oci/apm_config/models/options_summary.py +7 -0
- oci/apm_config/models/span_filter_summary.py +7 -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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- 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_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 +633 -113
- oci/core/compute_client_composite_operations.py +82 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/change_compute_host_compartment_details.py +76 -0
- oci/core/models/compute_host.py +826 -0
- oci/core/models/compute_host_collection.py +70 -0
- oci/core/models/compute_host_summary.py +720 -0
- oci/core/models/update_compute_host_details.py +154 -0
- oci/core/virtual_network_client.py +258 -258
- 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 +45 -45
- 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 +317 -317
- oci/data_science/data_science_client.py +7469 -3597
- oci/data_science/data_science_client_composite_operations.py +981 -105
- oci/data_science/models/__init__.py +118 -0
- oci/data_science/models/application_component.py +193 -0
- oci/data_science/models/auth_configuration.py +115 -0
- oci/data_science/models/change_ml_application_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_implementation_compartment_details.py +70 -0
- oci/data_science/models/change_ml_application_instance_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_instance_view_compartment_details.py +76 -0
- oci/data_science/models/configuration_property.py +101 -0
- oci/data_science/models/configuration_property_schema.py +276 -0
- oci/data_science/models/create_auth_configuration_details.py +95 -0
- oci/data_science/models/create_iam_auth_configuration_create_details.py +48 -0
- oci/data_science/models/create_idcs_auth_configuration_details.py +79 -0
- oci/data_science/models/create_idcs_custom_service_auth_configuration_details.py +203 -0
- oci/data_science/models/create_ml_application_details.py +206 -0
- oci/data_science/models/create_ml_application_implementation_details.py +264 -0
- oci/data_science/models/create_ml_application_instance_details.py +326 -0
- oci/data_science/models/data_flow_application_application_component.py +94 -0
- oci/data_science/models/data_science_job_application_component.py +94 -0
- oci/data_science/models/data_science_model_application_component.py +94 -0
- oci/data_science/models/data_science_model_deployment_instance_component.py +125 -0
- oci/data_science/models/data_science_pipeline_application_component.py +94 -0
- oci/data_science/models/data_science_schedule_instance_component.py +94 -0
- oci/data_science/models/disable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/enable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/generic_oci_resource_application_component.py +125 -0
- oci/data_science/models/generic_oci_resource_instance_component.py +125 -0
- oci/data_science/models/iam_auth_configuration.py +49 -0
- oci/data_science/models/idcs_auth_configuration.py +111 -0
- oci/data_science/models/idcs_custom_service_auth_configuration.py +204 -0
- oci/data_science/models/implementation_log_details.py +140 -0
- oci/data_science/models/implementation_logging.py +120 -0
- oci/data_science/models/instance_component.py +201 -0
- oci/data_science/models/ml_application.py +410 -0
- oci/data_science/models/ml_application_collection.py +70 -0
- oci/data_science/models/ml_application_implementation.py +666 -0
- oci/data_science/models/ml_application_implementation_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_summary.py +487 -0
- oci/data_science/models/ml_application_implementation_version.py +600 -0
- oci/data_science/models/ml_application_implementation_version_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_version_summary.py +487 -0
- oci/data_science/models/ml_application_instance.py +736 -0
- oci/data_science/models/ml_application_instance_collection.py +70 -0
- oci/data_science/models/ml_application_instance_internal_trigger.py +125 -0
- oci/data_science/models/ml_application_instance_summary.py +456 -0
- oci/data_science/models/ml_application_instance_view.py +829 -0
- oci/data_science/models/ml_application_instance_view_collection.py +70 -0
- oci/data_science/models/ml_application_instance_view_summary.py +580 -0
- oci/data_science/models/ml_application_package_argument_details.py +210 -0
- oci/data_science/models/ml_application_package_arguments.py +70 -0
- oci/data_science/models/ml_application_summary.py +332 -0
- oci/data_science/models/object_storage_bucket_instance_component.py +125 -0
- oci/data_science/models/object_storage_object_instance_component.py +156 -0
- oci/data_science/models/prediction_endpoint_details.py +101 -0
- oci/data_science/models/prediction_uri.py +101 -0
- oci/data_science/models/trigger_ml_application_instance_flow_details.py +70 -0
- oci/data_science/models/update_ml_application_details.py +144 -0
- oci/data_science/models/update_ml_application_implementation_details.py +171 -0
- oci/data_science/models/update_ml_application_implementation_version_details.py +113 -0
- oci/data_science/models/update_ml_application_instance_details.py +206 -0
- oci/data_science/models/update_ml_application_instance_view_details.py +113 -0
- oci/data_science/models/work_request.py +59 -3
- oci/data_science/models/work_request_summary.py +59 -3
- oci/database/database_client.py +414 -414
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- 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_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 +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +711 -111
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +132 -0
- oci/generative_ai_agent/models/__init__.py +66 -0
- oci/generative_ai_agent/models/agent.py +29 -2
- oci/generative_ai_agent/models/agent_endpoint.py +143 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +143 -0
- oci/generative_ai_agent/models/agent_summary.py +29 -2
- oci/generative_ai_agent/models/api_schema_inline_input_location.py +80 -0
- oci/generative_ai_agent/models/api_schema_input_location.py +113 -0
- oci/generative_ai_agent/models/api_schema_object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/content_moderation_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/create_agent_details.py +29 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/create_data_source_details.py +31 -0
- oci/generative_ai_agent/models/create_tool_details.py +307 -0
- oci/generative_ai_agent/models/data_source.py +31 -0
- oci/generative_ai_agent/models/function.py +134 -0
- oci/generative_ai_agent/models/function_calling_tool_config.py +76 -0
- oci/generative_ai_agent/models/guardrail_config.py +120 -0
- oci/generative_ai_agent/models/http_endpoint_auth_config.py +137 -0
- oci/generative_ai_agent/models/http_endpoint_delegated_bearer_auth_config.py +50 -0
- oci/generative_ai_agent/models/http_endpoint_idcs_auth_config.py +76 -0
- oci/generative_ai_agent/models/http_endpoint_no_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_oci_resource_principal_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_tool_config.py +134 -0
- oci/generative_ai_agent/models/human_input_config.py +70 -0
- oci/generative_ai_agent/models/idcs_secret.py +2 -1
- oci/generative_ai_agent/models/inline_input_location.py +80 -0
- oci/generative_ai_agent/models/input_location.py +113 -0
- oci/generative_ai_agent/models/knowledge_base_config.py +74 -0
- oci/generative_ai_agent/models/llm_config.py +66 -0
- oci/generative_ai_agent/models/llm_customization.py +70 -0
- oci/generative_ai_agent/models/object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +2 -2
- oci/generative_ai_agent/models/object_storage_prefix_output_location.py +142 -0
- oci/generative_ai_agent/models/output_config.py +97 -0
- oci/generative_ai_agent/models/output_location.py +99 -0
- oci/generative_ai_agent/models/personally_identifiable_information_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/prompt_injection_guardrail_config.py +90 -0
- oci/generative_ai_agent/models/rag_tool_config.py +107 -0
- oci/generative_ai_agent/models/sql_tool_config.py +341 -0
- oci/generative_ai_agent/models/tool.py +522 -0
- oci/generative_ai_agent/models/tool_collection.py +70 -0
- oci/generative_ai_agent/models/tool_config.py +133 -0
- oci/generative_ai_agent/models/tool_summary.py +486 -0
- oci/generative_ai_agent/models/update_agent_details.py +29 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/update_data_source_details.py +31 -0
- oci/generative_ai_agent/models/update_tool_details.py +241 -0
- oci/generative_ai_agent/models/work_request.py +19 -3
- oci/generative_ai_agent/models/work_request_summary.py +19 -3
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +128 -6
- oci/generative_ai_agent_runtime/models/__init__.py +24 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +65 -3
- oci/generative_ai_agent_runtime/models/chat_result.py +95 -2
- oci/generative_ai_agent_runtime/models/citation.py +34 -3
- oci/generative_ai_agent_runtime/models/function_call.py +101 -0
- oci/generative_ai_agent_runtime/models/function_calling_performed_action.py +87 -0
- oci/generative_ai_agent_runtime/models/function_calling_required_action.py +83 -0
- oci/generative_ai_agent_runtime/models/human_approval_performed_action.py +103 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_summary.py +262 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_value.py +101 -0
- oci/generative_ai_agent_runtime/models/message_content.py +33 -2
- oci/generative_ai_agent_runtime/models/metadata_filter.py +101 -0
- oci/generative_ai_agent_runtime/models/paragraph.py +132 -0
- oci/generative_ai_agent_runtime/models/paragraph_citation.py +97 -0
- oci/generative_ai_agent_runtime/models/performed_action.py +138 -0
- oci/generative_ai_agent_runtime/models/required_action.py +134 -0
- oci/generative_ai_agent_runtime/models/retrieve_metadata_details.py +70 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- 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/lustre_file_storage/__init__.py +14 -0
- oci/lustre_file_storage/lustre_file_storage_client.py +1536 -0
- oci/lustre_file_storage/lustre_file_storage_client_composite_operations.py +202 -0
- oci/lustre_file_storage/models/__init__.py +44 -0
- oci/lustre_file_storage/models/change_lustre_file_system_compartment_details.py +74 -0
- oci/lustre_file_storage/models/create_lustre_file_system_details.py +559 -0
- oci/lustre_file_storage/models/lustre_file_system.py +986 -0
- oci/lustre_file_storage/models/lustre_file_system_collection.py +70 -0
- oci/lustre_file_storage/models/lustre_file_system_summary.py +921 -0
- oci/lustre_file_storage/models/maintenance_window.py +141 -0
- oci/lustre_file_storage/models/root_squash_configuration.py +193 -0
- oci/lustre_file_storage/models/update_lustre_file_system_details.py +327 -0
- oci/lustre_file_storage/models/work_request.py +449 -0
- oci/lustre_file_storage/models/work_request_error.py +144 -0
- oci/lustre_file_storage/models/work_request_error_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_log_entry.py +107 -0
- oci/lustre_file_storage/models/work_request_log_entry_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_resource.py +205 -0
- oci/lustre_file_storage/models/work_request_summary.py +447 -0
- oci/lustre_file_storage/models/work_request_summary_collection.py +70 -0
- 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/mngdmac/mac_device_client.py +6 -6
- oci/mngdmac/mac_order_client.py +22 -22
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- 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 +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- 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 +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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/models/create_operations_insights_warehouse_details.py +33 -2
- oci/opsi/models/operations_insights_warehouse.py +49 -2
- oci/opsi/models/operations_insights_warehouse_summary.py +33 -2
- oci/opsi/models/sql_plan_line.py +66 -0
- oci/opsi/models/update_operations_insights_warehouse_details.py +33 -2
- oci/opsi/operations_insights_client.py +181 -181
- 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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- 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/models/functions_target_details.py +4 -0
- oci/sch/models/log_source.py +4 -6
- oci/sch/models/monitoring_target_details.py +0 -4
- oci/sch/models/notifications_target_details.py +0 -2
- oci/sch/models/plugin_source_details.py +4 -4
- oci/sch/models/service_connector.py +37 -0
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- 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/models/__init__.py +44 -0
- oci/stack_monitoring/models/additional_configuration_details.py +70 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration.py +277 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration_property.py +101 -0
- oci/stack_monitoring/models/agent_extension_handler_metric_mapping_details.py +165 -0
- oci/stack_monitoring/models/agent_receiver_properties.py +70 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +14 -6
- oci/stack_monitoring/models/associated_resources_summary.py +14 -6
- oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
- oci/stack_monitoring/models/availability_metrics_details.py +101 -0
- oci/stack_monitoring/models/collectd_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_details.py +146 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_summary.py +142 -0
- oci/stack_monitoring/models/config.py +19 -3
- oci/stack_monitoring/models/config_summary.py +8 -0
- oci/stack_monitoring/models/create_compute_auto_activate_plugin_config_details.py +107 -0
- oci/stack_monitoring/models/create_config_details.py +8 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/create_monitored_resource_type_details.py +9 -5
- oci/stack_monitoring/models/create_onboard_config_details.py +259 -0
- oci/stack_monitoring/models/dynamic_group_details.py +148 -0
- oci/stack_monitoring/models/group_details.py +132 -0
- oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +18 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +1 -1
- oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +1 -1
- oci/stack_monitoring/models/maintenance_window.py +108 -5
- oci/stack_monitoring/models/maintenance_window_summary.py +7 -3
- oci/stack_monitoring/models/metric_name_configuration_details.py +101 -0
- oci/stack_monitoring/models/monitored_resource.py +14 -6
- oci/stack_monitoring/models/monitored_resource_member_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_task.py +31 -0
- oci/stack_monitoring/models/monitored_resource_task_details.py +19 -3
- oci/stack_monitoring/models/monitored_resource_task_summary.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type.py +129 -5
- oci/stack_monitoring/models/monitored_resource_type_summary.py +94 -5
- oci/stack_monitoring/models/onboard_config_details.py +296 -0
- oci/stack_monitoring/models/onboard_config_summary.py +174 -0
- oci/stack_monitoring/models/resource_type_config_details.py +124 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +14 -6
- oci/stack_monitoring/models/telegraf_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/update_agent_receiver_task_details.py +190 -0
- oci/stack_monitoring/models/update_compute_auto_activate_plugin_config_details.py +100 -0
- oci/stack_monitoring/models/update_config_details.py +8 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/update_monitored_resource_type_details.py +7 -3
- oci/stack_monitoring/models/update_onboard_config_details.py +252 -0
- oci/stack_monitoring/models/update_resource_type_config_task_details.py +133 -0
- oci/stack_monitoring/models/work_request.py +11 -3
- oci/stack_monitoring/models/work_request_summary.py +11 -3
- oci/stack_monitoring/stack_monitoring_client.py +121 -93
- 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 +14 -14
- 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/zpr/zpr_client.py +15 -15
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/METADATA +1 -1
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/RECORD +498 -336
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/WHEEL +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/top_level.txt +0 -0
oci/apm_config/config_client.py
CHANGED
@@ -117,6 +117,119 @@ class ConfigClient(object):
|
|
117
117
|
self.retry_strategy = kwargs.get('retry_strategy')
|
118
118
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
119
119
|
|
120
|
+
def copy_configuration(self, copy_configuration_details, apm_domain_id, apm_target_domain_id, **kwargs):
|
121
|
+
"""
|
122
|
+
Fast importing configuration items to a destination APM domain ID.
|
123
|
+
|
124
|
+
|
125
|
+
:param oci.apm_config.models.CopyConfigurationDetails copy_configuration_details: (required)
|
126
|
+
JSON metadata for fast Export/Import configurations domain.
|
127
|
+
|
128
|
+
:param str apm_domain_id: (required)
|
129
|
+
The APM Domain ID the request is intended for.
|
130
|
+
|
131
|
+
:param str apm_target_domain_id: (required)
|
132
|
+
The Target APM Domain ID the request is intended for.
|
133
|
+
|
134
|
+
:param str opc_retry_token: (optional)
|
135
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
136
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
137
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
138
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
139
|
+
might be rejected.
|
140
|
+
|
141
|
+
:param str opc_request_id: (optional)
|
142
|
+
Unique identifier for the request.
|
143
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
144
|
+
|
145
|
+
:param obj retry_strategy: (optional)
|
146
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
147
|
+
|
148
|
+
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.
|
149
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
150
|
+
|
151
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
152
|
+
|
153
|
+
:param bool allow_control_chars: (optional)
|
154
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
155
|
+
By default, the response will not allow control characters in strings
|
156
|
+
|
157
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.ImportConfigurationFailedItemsCollection`
|
158
|
+
:rtype: :class:`~oci.response.Response`
|
159
|
+
|
160
|
+
:example:
|
161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/copy_configuration.py.html>`__ to see an example of how to use copy_configuration API.
|
162
|
+
"""
|
163
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
164
|
+
required_arguments = ['apmDomainId', 'apmTargetDomainId']
|
165
|
+
resource_path = "/actions/copyConfiguration"
|
166
|
+
method = "POST"
|
167
|
+
operation_name = "copy_configuration"
|
168
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/ExportConfigurationDetails/CopyConfiguration"
|
169
|
+
|
170
|
+
# Don't accept unknown kwargs
|
171
|
+
expected_kwargs = [
|
172
|
+
"allow_control_chars",
|
173
|
+
"retry_strategy",
|
174
|
+
"opc_retry_token",
|
175
|
+
"opc_request_id"
|
176
|
+
]
|
177
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
178
|
+
if extra_kwargs:
|
179
|
+
raise ValueError(
|
180
|
+
f"copy_configuration got unknown kwargs: {extra_kwargs!r}")
|
181
|
+
|
182
|
+
query_params = {
|
183
|
+
"apmDomainId": apm_domain_id,
|
184
|
+
"apmTargetDomainId": apm_target_domain_id
|
185
|
+
}
|
186
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
187
|
+
|
188
|
+
header_params = {
|
189
|
+
"accept": "application/json",
|
190
|
+
"content-type": "application/json",
|
191
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
192
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
193
|
+
}
|
194
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
195
|
+
|
196
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
197
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
198
|
+
client_retry_strategy=self.retry_strategy
|
199
|
+
)
|
200
|
+
if retry_strategy is None:
|
201
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
202
|
+
|
203
|
+
if retry_strategy:
|
204
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
205
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
206
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
207
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
208
|
+
return retry_strategy.make_retrying_call(
|
209
|
+
self.base_client.call_api,
|
210
|
+
resource_path=resource_path,
|
211
|
+
method=method,
|
212
|
+
query_params=query_params,
|
213
|
+
header_params=header_params,
|
214
|
+
body=copy_configuration_details,
|
215
|
+
response_type="ImportConfigurationFailedItemsCollection",
|
216
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
217
|
+
operation_name=operation_name,
|
218
|
+
api_reference_link=api_reference_link,
|
219
|
+
required_arguments=required_arguments)
|
220
|
+
else:
|
221
|
+
return self.base_client.call_api(
|
222
|
+
resource_path=resource_path,
|
223
|
+
method=method,
|
224
|
+
query_params=query_params,
|
225
|
+
header_params=header_params,
|
226
|
+
body=copy_configuration_details,
|
227
|
+
response_type="ImportConfigurationFailedItemsCollection",
|
228
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
229
|
+
operation_name=operation_name,
|
230
|
+
api_reference_link=api_reference_link,
|
231
|
+
required_arguments=required_arguments)
|
232
|
+
|
120
233
|
def create_config(self, apm_domain_id, create_config_details, **kwargs):
|
121
234
|
"""
|
122
235
|
Creates a new configuration item.
|
@@ -159,7 +272,7 @@ class ConfigClient(object):
|
|
159
272
|
:rtype: :class:`~oci.response.Response`
|
160
273
|
|
161
274
|
:example:
|
162
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/create_config.py.html>`__ to see an example of how to use create_config API.
|
163
276
|
"""
|
164
277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
165
278
|
required_arguments = ['apmDomainId']
|
@@ -272,7 +385,7 @@ class ConfigClient(object):
|
|
272
385
|
:rtype: :class:`~oci.response.Response`
|
273
386
|
|
274
387
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/delete_config.py.html>`__ to see an example of how to use delete_config API.
|
276
389
|
"""
|
277
390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
391
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -350,6 +463,115 @@ class ConfigClient(object):
|
|
350
463
|
api_reference_link=api_reference_link,
|
351
464
|
required_arguments=required_arguments)
|
352
465
|
|
466
|
+
def export_configuration(self, export_configuration_details, apm_domain_id, **kwargs):
|
467
|
+
"""
|
468
|
+
Exports configurations for the whole domain by domainId.
|
469
|
+
|
470
|
+
|
471
|
+
:param oci.apm_config.models.ExportConfigurationDetails export_configuration_details: (required)
|
472
|
+
JSON metadata for exporting configurations domain.
|
473
|
+
|
474
|
+
:param str apm_domain_id: (required)
|
475
|
+
The APM Domain ID the request is intended for.
|
476
|
+
|
477
|
+
:param str opc_retry_token: (optional)
|
478
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
479
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
480
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
481
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
482
|
+
might be rejected.
|
483
|
+
|
484
|
+
:param str opc_request_id: (optional)
|
485
|
+
Unique identifier for the request.
|
486
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
487
|
+
|
488
|
+
:param obj retry_strategy: (optional)
|
489
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
490
|
+
|
491
|
+
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.
|
492
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
493
|
+
|
494
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
495
|
+
|
496
|
+
:param bool allow_control_chars: (optional)
|
497
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
498
|
+
By default, the response will not allow control characters in strings
|
499
|
+
|
500
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.ExportConfigurationResponseDetails`
|
501
|
+
:rtype: :class:`~oci.response.Response`
|
502
|
+
|
503
|
+
:example:
|
504
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/export_configuration.py.html>`__ to see an example of how to use export_configuration API.
|
505
|
+
"""
|
506
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
507
|
+
required_arguments = ['apmDomainId']
|
508
|
+
resource_path = "/actions/exportConfiguration"
|
509
|
+
method = "POST"
|
510
|
+
operation_name = "export_configuration"
|
511
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/ExportConfigurationDetails/ExportConfiguration"
|
512
|
+
|
513
|
+
# Don't accept unknown kwargs
|
514
|
+
expected_kwargs = [
|
515
|
+
"allow_control_chars",
|
516
|
+
"retry_strategy",
|
517
|
+
"opc_retry_token",
|
518
|
+
"opc_request_id"
|
519
|
+
]
|
520
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
521
|
+
if extra_kwargs:
|
522
|
+
raise ValueError(
|
523
|
+
f"export_configuration got unknown kwargs: {extra_kwargs!r}")
|
524
|
+
|
525
|
+
query_params = {
|
526
|
+
"apmDomainId": apm_domain_id
|
527
|
+
}
|
528
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
529
|
+
|
530
|
+
header_params = {
|
531
|
+
"accept": "application/json",
|
532
|
+
"content-type": "application/json",
|
533
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
534
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
535
|
+
}
|
536
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
537
|
+
|
538
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
539
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
540
|
+
client_retry_strategy=self.retry_strategy
|
541
|
+
)
|
542
|
+
if retry_strategy is None:
|
543
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
544
|
+
|
545
|
+
if retry_strategy:
|
546
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
547
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
548
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
549
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
550
|
+
return retry_strategy.make_retrying_call(
|
551
|
+
self.base_client.call_api,
|
552
|
+
resource_path=resource_path,
|
553
|
+
method=method,
|
554
|
+
query_params=query_params,
|
555
|
+
header_params=header_params,
|
556
|
+
body=export_configuration_details,
|
557
|
+
response_type="ExportConfigurationResponseDetails",
|
558
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
559
|
+
operation_name=operation_name,
|
560
|
+
api_reference_link=api_reference_link,
|
561
|
+
required_arguments=required_arguments)
|
562
|
+
else:
|
563
|
+
return self.base_client.call_api(
|
564
|
+
resource_path=resource_path,
|
565
|
+
method=method,
|
566
|
+
query_params=query_params,
|
567
|
+
header_params=header_params,
|
568
|
+
body=export_configuration_details,
|
569
|
+
response_type="ExportConfigurationResponseDetails",
|
570
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
571
|
+
operation_name=operation_name,
|
572
|
+
api_reference_link=api_reference_link,
|
573
|
+
required_arguments=required_arguments)
|
574
|
+
|
353
575
|
def get_config(self, apm_domain_id, config_id, **kwargs):
|
354
576
|
"""
|
355
577
|
Gets the configuration item identified by the OCID.
|
@@ -383,7 +605,7 @@ class ConfigClient(object):
|
|
383
605
|
:rtype: :class:`~oci.response.Response`
|
384
606
|
|
385
607
|
:example:
|
386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
608
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/get_config.py.html>`__ to see an example of how to use get_config API.
|
387
609
|
"""
|
388
610
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
389
611
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -461,6 +683,115 @@ class ConfigClient(object):
|
|
461
683
|
api_reference_link=api_reference_link,
|
462
684
|
required_arguments=required_arguments)
|
463
685
|
|
686
|
+
def import_configuration(self, import_configuration_details, apm_domain_id, **kwargs):
|
687
|
+
"""
|
688
|
+
Import configurations Item(s) with its dependencies into a destination domain.
|
689
|
+
|
690
|
+
|
691
|
+
:param oci.apm_config.models.ImportConfigurationDetails import_configuration_details: (required)
|
692
|
+
JSON metadata for importing configurations domain.
|
693
|
+
|
694
|
+
:param str apm_domain_id: (required)
|
695
|
+
The APM Domain ID the request is intended for.
|
696
|
+
|
697
|
+
:param str opc_retry_token: (optional)
|
698
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
699
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
700
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
701
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
702
|
+
might be rejected.
|
703
|
+
|
704
|
+
:param str opc_request_id: (optional)
|
705
|
+
Unique identifier for the request.
|
706
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
707
|
+
|
708
|
+
:param obj retry_strategy: (optional)
|
709
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
710
|
+
|
711
|
+
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.
|
712
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
713
|
+
|
714
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
715
|
+
|
716
|
+
:param bool allow_control_chars: (optional)
|
717
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
718
|
+
By default, the response will not allow control characters in strings
|
719
|
+
|
720
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.ImportConfigurationFailedItemsCollection`
|
721
|
+
:rtype: :class:`~oci.response.Response`
|
722
|
+
|
723
|
+
:example:
|
724
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/import_configuration.py.html>`__ to see an example of how to use import_configuration API.
|
725
|
+
"""
|
726
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
727
|
+
required_arguments = ['apmDomainId']
|
728
|
+
resource_path = "/actions/importConfiguration"
|
729
|
+
method = "POST"
|
730
|
+
operation_name = "import_configuration"
|
731
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/ImportConfigurationDetails/ImportConfiguration"
|
732
|
+
|
733
|
+
# Don't accept unknown kwargs
|
734
|
+
expected_kwargs = [
|
735
|
+
"allow_control_chars",
|
736
|
+
"retry_strategy",
|
737
|
+
"opc_retry_token",
|
738
|
+
"opc_request_id"
|
739
|
+
]
|
740
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
741
|
+
if extra_kwargs:
|
742
|
+
raise ValueError(
|
743
|
+
f"import_configuration got unknown kwargs: {extra_kwargs!r}")
|
744
|
+
|
745
|
+
query_params = {
|
746
|
+
"apmDomainId": apm_domain_id
|
747
|
+
}
|
748
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
749
|
+
|
750
|
+
header_params = {
|
751
|
+
"accept": "application/json",
|
752
|
+
"content-type": "application/json",
|
753
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
754
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
755
|
+
}
|
756
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
757
|
+
|
758
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
759
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
760
|
+
client_retry_strategy=self.retry_strategy
|
761
|
+
)
|
762
|
+
if retry_strategy is None:
|
763
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
764
|
+
|
765
|
+
if retry_strategy:
|
766
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
767
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
768
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
769
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
770
|
+
return retry_strategy.make_retrying_call(
|
771
|
+
self.base_client.call_api,
|
772
|
+
resource_path=resource_path,
|
773
|
+
method=method,
|
774
|
+
query_params=query_params,
|
775
|
+
header_params=header_params,
|
776
|
+
body=import_configuration_details,
|
777
|
+
response_type="ImportConfigurationFailedItemsCollection",
|
778
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
779
|
+
operation_name=operation_name,
|
780
|
+
api_reference_link=api_reference_link,
|
781
|
+
required_arguments=required_arguments)
|
782
|
+
else:
|
783
|
+
return self.base_client.call_api(
|
784
|
+
resource_path=resource_path,
|
785
|
+
method=method,
|
786
|
+
query_params=query_params,
|
787
|
+
header_params=header_params,
|
788
|
+
body=import_configuration_details,
|
789
|
+
response_type="ImportConfigurationFailedItemsCollection",
|
790
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
791
|
+
operation_name=operation_name,
|
792
|
+
api_reference_link=api_reference_link,
|
793
|
+
required_arguments=required_arguments)
|
794
|
+
|
464
795
|
def list_configs(self, apm_domain_id, **kwargs):
|
465
796
|
"""
|
466
797
|
Returns all configuration items, which can optionally be filtered by configuration type.
|
@@ -546,7 +877,7 @@ class ConfigClient(object):
|
|
546
877
|
:rtype: :class:`~oci.response.Response`
|
547
878
|
|
548
879
|
:example:
|
549
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
880
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/list_configs.py.html>`__ to see an example of how to use list_configs API.
|
550
881
|
"""
|
551
882
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
552
883
|
required_arguments = ['apmDomainId']
|
@@ -679,7 +1010,7 @@ class ConfigClient(object):
|
|
679
1010
|
:rtype: :class:`~oci.response.Response`
|
680
1011
|
|
681
1012
|
:example:
|
682
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1013
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/retrieve_namespace_metrics.py.html>`__ to see an example of how to use retrieve_namespace_metrics API.
|
683
1014
|
"""
|
684
1015
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
685
1016
|
required_arguments = ['apmDomainId']
|
@@ -775,7 +1106,7 @@ class ConfigClient(object):
|
|
775
1106
|
:rtype: :class:`~oci.response.Response`
|
776
1107
|
|
777
1108
|
:example:
|
778
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1109
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/retrieve_namespaces.py.html>`__ to see an example of how to use retrieve_namespaces API.
|
779
1110
|
"""
|
780
1111
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
781
1112
|
required_arguments = ['apmDomainId']
|
@@ -873,7 +1204,7 @@ class ConfigClient(object):
|
|
873
1204
|
:rtype: :class:`~oci.response.Response`
|
874
1205
|
|
875
1206
|
:example:
|
876
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1207
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/test.py.html>`__ to see an example of how to use test API.
|
877
1208
|
"""
|
878
1209
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
879
1210
|
required_arguments = ['apmDomainId']
|
@@ -988,7 +1319,7 @@ class ConfigClient(object):
|
|
988
1319
|
:rtype: :class:`~oci.response.Response`
|
989
1320
|
|
990
1321
|
:example:
|
991
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1322
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/update_config.py.html>`__ to see an example of how to use update_config API.
|
992
1323
|
"""
|
993
1324
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
994
1325
|
required_arguments = ['configId', 'apmDomainId']
|
@@ -1104,7 +1435,7 @@ class ConfigClient(object):
|
|
1104
1435
|
:rtype: :class:`~oci.response.Response`
|
1105
1436
|
|
1106
1437
|
:example:
|
1107
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1438
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/apmconfig/validate_span_filter_pattern.py.html>`__ to see an example of how to use validate_span_filter_pattern API.
|
1108
1439
|
"""
|
1109
1440
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1110
1441
|
required_arguments = ['apmDomainId']
|
@@ -12,13 +12,24 @@ from .apdex_rules_summary import ApdexRulesSummary
|
|
12
12
|
from .config import Config
|
13
13
|
from .config_collection import ConfigCollection
|
14
14
|
from .config_summary import ConfigSummary
|
15
|
+
from .copy_configuration_details import CopyConfigurationDetails
|
15
16
|
from .create_apdex_rules_details import CreateApdexRulesDetails
|
16
17
|
from .create_config_details import CreateConfigDetails
|
17
18
|
from .create_metric_group_details import CreateMetricGroupDetails
|
18
19
|
from .create_options_details import CreateOptionsDetails
|
19
20
|
from .create_span_filter_details import CreateSpanFilterDetails
|
20
21
|
from .dimension import Dimension
|
22
|
+
from .export_configuration_details import ExportConfigurationDetails
|
23
|
+
from .export_configuration_response_details import ExportConfigurationResponseDetails
|
24
|
+
from .export_import_apdex_rules_summary import ExportImportApdexRulesSummary
|
25
|
+
from .export_import_config_summary import ExportImportConfigSummary
|
26
|
+
from .export_import_metric_group_summary import ExportImportMetricGroupSummary
|
27
|
+
from .export_import_options_summary import ExportImportOptionsSummary
|
28
|
+
from .export_import_span_filter_summary import ExportImportSpanFilterSummary
|
21
29
|
from .filter_text_or_id import FilterTextOrId
|
30
|
+
from .import_configuration_details import ImportConfigurationDetails
|
31
|
+
from .import_configuration_failed_item_summary import ImportConfigurationFailedItemSummary
|
32
|
+
from .import_configuration_failed_items_collection import ImportConfigurationFailedItemsCollection
|
22
33
|
from .metric import Metric
|
23
34
|
from .metric_group import MetricGroup
|
24
35
|
from .metric_group_summary import MetricGroupSummary
|
@@ -51,13 +62,24 @@ apm_config_type_mapping = {
|
|
51
62
|
"Config": Config,
|
52
63
|
"ConfigCollection": ConfigCollection,
|
53
64
|
"ConfigSummary": ConfigSummary,
|
65
|
+
"CopyConfigurationDetails": CopyConfigurationDetails,
|
54
66
|
"CreateApdexRulesDetails": CreateApdexRulesDetails,
|
55
67
|
"CreateConfigDetails": CreateConfigDetails,
|
56
68
|
"CreateMetricGroupDetails": CreateMetricGroupDetails,
|
57
69
|
"CreateOptionsDetails": CreateOptionsDetails,
|
58
70
|
"CreateSpanFilterDetails": CreateSpanFilterDetails,
|
59
71
|
"Dimension": Dimension,
|
72
|
+
"ExportConfigurationDetails": ExportConfigurationDetails,
|
73
|
+
"ExportConfigurationResponseDetails": ExportConfigurationResponseDetails,
|
74
|
+
"ExportImportApdexRulesSummary": ExportImportApdexRulesSummary,
|
75
|
+
"ExportImportConfigSummary": ExportImportConfigSummary,
|
76
|
+
"ExportImportMetricGroupSummary": ExportImportMetricGroupSummary,
|
77
|
+
"ExportImportOptionsSummary": ExportImportOptionsSummary,
|
78
|
+
"ExportImportSpanFilterSummary": ExportImportSpanFilterSummary,
|
60
79
|
"FilterTextOrId": FilterTextOrId,
|
80
|
+
"ImportConfigurationDetails": ImportConfigurationDetails,
|
81
|
+
"ImportConfigurationFailedItemSummary": ImportConfigurationFailedItemSummary,
|
82
|
+
"ImportConfigurationFailedItemsCollection": ImportConfigurationFailedItemsCollection,
|
61
83
|
"Metric": Metric,
|
62
84
|
"MetricGroup": MetricGroup,
|
63
85
|
"MetricGroupSummary": MetricGroupSummary,
|
@@ -58,6 +58,10 @@ class ApdexRulesSummary(ConfigSummary):
|
|
58
58
|
The value to assign to the defined_tags property of this ApdexRulesSummary.
|
59
59
|
:type defined_tags: dict(str, dict(str, object))
|
60
60
|
|
61
|
+
:param system_tags:
|
62
|
+
The value to assign to the system_tags property of this ApdexRulesSummary.
|
63
|
+
:type system_tags: dict(str, dict(str, object))
|
64
|
+
|
61
65
|
:param rules:
|
62
66
|
The value to assign to the rules property of this ApdexRulesSummary.
|
63
67
|
:type rules: list[oci.apm_config.models.Apdex]
|
@@ -77,6 +81,7 @@ class ApdexRulesSummary(ConfigSummary):
|
|
77
81
|
'etag': 'str',
|
78
82
|
'freeform_tags': 'dict(str, str)',
|
79
83
|
'defined_tags': 'dict(str, dict(str, object))',
|
84
|
+
'system_tags': 'dict(str, dict(str, object))',
|
80
85
|
'rules': 'list[Apdex]',
|
81
86
|
'display_name': 'str'
|
82
87
|
}
|
@@ -90,6 +95,7 @@ class ApdexRulesSummary(ConfigSummary):
|
|
90
95
|
'etag': 'etag',
|
91
96
|
'freeform_tags': 'freeformTags',
|
92
97
|
'defined_tags': 'definedTags',
|
98
|
+
'system_tags': 'systemTags',
|
93
99
|
'rules': 'rules',
|
94
100
|
'display_name': 'displayName'
|
95
101
|
}
|
@@ -102,6 +108,7 @@ class ApdexRulesSummary(ConfigSummary):
|
|
102
108
|
self._etag = None
|
103
109
|
self._freeform_tags = None
|
104
110
|
self._defined_tags = None
|
111
|
+
self._system_tags = None
|
105
112
|
self._rules = None
|
106
113
|
self._display_name = None
|
107
114
|
self._config_type = 'APDEX'
|
@@ -81,6 +81,10 @@ class ConfigSummary(object):
|
|
81
81
|
The value to assign to the defined_tags property of this ConfigSummary.
|
82
82
|
:type defined_tags: dict(str, dict(str, object))
|
83
83
|
|
84
|
+
:param system_tags:
|
85
|
+
The value to assign to the system_tags property of this ConfigSummary.
|
86
|
+
:type system_tags: dict(str, dict(str, object))
|
87
|
+
|
84
88
|
"""
|
85
89
|
self.swagger_types = {
|
86
90
|
'id': 'str',
|
@@ -91,7 +95,8 @@ class ConfigSummary(object):
|
|
91
95
|
'updated_by': 'str',
|
92
96
|
'etag': 'str',
|
93
97
|
'freeform_tags': 'dict(str, str)',
|
94
|
-
'defined_tags': 'dict(str, dict(str, object))'
|
98
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
99
|
+
'system_tags': 'dict(str, dict(str, object))'
|
95
100
|
}
|
96
101
|
self.attribute_map = {
|
97
102
|
'id': 'id',
|
@@ -102,7 +107,8 @@ class ConfigSummary(object):
|
|
102
107
|
'updated_by': 'updatedBy',
|
103
108
|
'etag': 'etag',
|
104
109
|
'freeform_tags': 'freeformTags',
|
105
|
-
'defined_tags': 'definedTags'
|
110
|
+
'defined_tags': 'definedTags',
|
111
|
+
'system_tags': 'systemTags'
|
106
112
|
}
|
107
113
|
self._id = None
|
108
114
|
self._config_type = None
|
@@ -113,6 +119,7 @@ class ConfigSummary(object):
|
|
113
119
|
self._etag = None
|
114
120
|
self._freeform_tags = None
|
115
121
|
self._defined_tags = None
|
122
|
+
self._system_tags = None
|
116
123
|
|
117
124
|
@staticmethod
|
118
125
|
def get_subtype(object_dictionary):
|
@@ -392,6 +399,32 @@ class ConfigSummary(object):
|
|
392
399
|
"""
|
393
400
|
self._defined_tags = defined_tags
|
394
401
|
|
402
|
+
@property
|
403
|
+
def system_tags(self):
|
404
|
+
"""
|
405
|
+
Gets the system_tags of this ConfigSummary.
|
406
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces.
|
407
|
+
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
408
|
+
|
409
|
+
|
410
|
+
:return: The system_tags of this ConfigSummary.
|
411
|
+
:rtype: dict(str, dict(str, object))
|
412
|
+
"""
|
413
|
+
return self._system_tags
|
414
|
+
|
415
|
+
@system_tags.setter
|
416
|
+
def system_tags(self, system_tags):
|
417
|
+
"""
|
418
|
+
Sets the system_tags of this ConfigSummary.
|
419
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces.
|
420
|
+
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
421
|
+
|
422
|
+
|
423
|
+
:param system_tags: The system_tags of this ConfigSummary.
|
424
|
+
:type: dict(str, dict(str, object))
|
425
|
+
"""
|
426
|
+
self._system_tags = system_tags
|
427
|
+
|
395
428
|
def __repr__(self):
|
396
429
|
return formatted_flat_dict(self)
|
397
430
|
|