oci 2.134.0__py3-none-any.whl → 2.135.0__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 +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/analytics/models/analytics_instance.py +55 -0
- oci/analytics/models/create_analytics_instance_details.py +55 -0
- oci/analytics/models/update_analytics_instance_details.py +57 -2
- 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/models/base_announcement.py +25 -25
- oci/announcements_service/models/base_create_announcements_preferences_details.py +5 -5
- oci/announcements_service/models/base_service.py +15 -15
- 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/models/body_validation_request_policy.py +5 -5
- oci/apigateway/models/header_validation_request_policy.py +5 -5
- oci/apigateway/models/validation_request_policy.py +5 -5
- 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 +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_control_plane/models/base_domain_details.py +5 -5
- oci/apm_control_plane/models/base_key_details.py +5 -5
- 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 +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/blockchain/models/availability_domain.py +5 -5
- oci/blockchain/models/peer_role.py +5 -5
- 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 +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_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 +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/compute_bare_metal_host.py +10 -10
- oci/core/models/compute_hpc_island.py +5 -5
- oci/core/models/compute_network_block.py +5 -5
- oci/core/models/topology.py +5 -5
- oci/core/virtual_network_client.py +250 -250
- 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_catalog/models/base_tag.py +5 -5
- oci/data_catalog/models/base_tag_summary.py +5 -5
- oci/data_catalog/models/object_lineage.py +5 -5
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/abstract_call_attribute.py +5 -5
- oci/data_integration/models/abstract_data_operation_config.py +5 -5
- oci/data_integration/models/cancel_rest_call_config.py +5 -5
- oci/data_integration/models/composite_type.py +2 -1
- oci/data_integration/models/conditional_composite_field_map.py +2 -1
- oci/data_integration/models/connection_details.py +5 -5
- oci/data_integration/models/connection_from_adwc_details.py +2 -1
- oci/data_integration/models/connection_from_atp_details.py +2 -1
- oci/data_integration/models/connection_from_hdfs_details.py +2 -1
- oci/data_integration/models/connection_from_jdbc_details.py +2 -1
- oci/data_integration/models/connection_from_lake_details.py +2 -1
- oci/data_integration/models/connection_from_my_sql_details.py +2 -1
- oci/data_integration/models/connection_from_my_sql_heat_wave_details.py +2 -1
- oci/data_integration/models/connection_from_o_auth2_details.py +7 -6
- oci/data_integration/models/connection_from_object_storage_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_ebs_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_people_soft_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_siebel_details.py +2 -1
- oci/data_integration/models/connection_summary_from_adwc.py +2 -1
- oci/data_integration/models/connection_summary_from_atp.py +2 -1
- oci/data_integration/models/connection_summary_from_hdfs.py +2 -1
- oci/data_integration/models/connection_summary_from_jdbc.py +2 -1
- oci/data_integration/models/connection_summary_from_lake.py +2 -1
- oci/data_integration/models/connection_summary_from_my_sql.py +2 -1
- oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_ebs.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_people_soft.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_siebel.py +2 -1
- oci/data_integration/models/connector_attribute.py +5 -5
- oci/data_integration/models/derived_type.py +2 -1
- oci/data_integration/models/dynamic_proxy_field.py +2 -1
- oci/data_integration/models/flow_port_link.py +5 -5
- oci/data_integration/models/key.py +5 -5
- oci/data_integration/models/materialized_composite_type.py +2 -1
- oci/data_integration/models/materialized_dynamic_field.py +2 -1
- oci/data_integration/models/output_link.py +2 -1
- oci/data_integration/models/poll_rest_call_config.py +5 -5
- oci/data_integration/models/rest_call_config.py +5 -5
- oci/data_integration/models/shape_field.py +2 -1
- oci/data_integration/models/task_run_lineage_details.py +5 -5
- oci/data_integration/models/typed_expression.py +2 -1
- 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 +781 -287
- oci/data_safe/data_safe_client_composite_operations.py +164 -0
- oci/data_safe/models/__init__.py +12 -0
- oci/data_safe/models/bulk_create_sql_firewall_allowed_sqls_details.py +142 -0
- oci/data_safe/models/bulk_delete_sql_firewall_allowed_sqls_details.py +99 -0
- oci/data_safe/models/generate_report_details.py +7 -3
- oci/data_safe/models/list_selection_mode.py +84 -0
- oci/data_safe/models/patch_sql_firewall_allowed_sql_details.py +103 -0
- oci/data_safe/models/report.py +7 -3
- oci/data_safe/models/report_definition.py +7 -3
- oci/data_safe/models/report_summary.py +7 -3
- oci/data_safe/models/schedule_report_details.py +7 -3
- oci/data_safe/models/scim_query_selection_mode.py +98 -0
- oci/data_safe/models/selection_details.py +113 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +10 -10
- oci/data_safe/models/work_request.py +15 -3
- oci/data_safe/models/work_request_summary.py +15 -3
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/custom_expression_query_scaling_configuration.py +2 -1
- oci/data_science/models/scaling_configuration.py +5 -5
- oci/database/database_client.py +652 -394
- oci/database/database_client_composite_operations.py +176 -0
- oci/database/models/__init__.py +6 -0
- oci/database/models/autonomous_database.py +31 -0
- oci/database/models/autonomous_database_summary.py +31 -0
- oci/database/models/create_autonomous_database_base.py +11 -3
- oci/database/models/create_autonomous_database_clone_details.py +1 -1
- oci/database/models/create_autonomous_database_details.py +1 -1
- oci/database/models/create_autonomous_database_from_backup_details.py +1 -1
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +1 -1
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +1 -1
- oci/database/models/create_cross_region_disaster_recovery_details.py +1 -1
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +1 -1
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +1 -1
- oci/database/models/external_database_base.py +15 -15
- oci/database/models/infrastructure_target_version_summary.py +5 -5
- oci/database/models/oci_provider_set_key_version_details.py +82 -0
- oci/database/models/pluggable_database.py +62 -0
- oci/database/models/pluggable_database_summary.py +62 -0
- oci/database/models/set_key_version_details.py +101 -0
- oci/database/models/undelete_autonomous_database_details.py +440 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/awr_query_result.py +5 -5
- oci/database_management/models/dbm_resource.py +10 -10
- oci/database_management/models/discovered_external_asm_instance.py +4 -2
- oci/database_management/models/discovered_external_pluggable_database.py +4 -2
- oci/database_management/models/entity_discovered.py +10 -10
- oci/database_management/models/external_exadata_infrastructure_discovery_summary.py +9 -7
- oci/database_management/models/external_exadata_storage_grid_summary.py +4 -2
- oci/database_management/models/external_serviced_database.py +10 -10
- oci/database_management/models/external_storage_grid_discovery_summary.py +4 -2
- oci/database_management/models/external_storage_server_discovery_summary.py +4 -2
- 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_migration/models/migration_parameter_base.py +5 -5
- oci/database_tools/database_tools_client.py +23 -23
- 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/devops/models/build_run_snapshot.py +5 -5
- 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 +54 -54
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- 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 +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
- oci/fleet_apps_management/models/fleet_target.py +10 -10
- 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/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/allow_rule.py +1 -1
- oci/fusion_apps/models/create_refresh_activity_details.py +31 -0
- oci/fusion_apps/models/maintenance_policy.py +10 -10
- oci/fusion_apps/models/refresh_activity.py +31 -0
- oci/fusion_apps/models/refresh_activity_summary.py +31 -0
- 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_agent/__init__.py +14 -0
- oci/generative_ai_agent/generative_ai_agent_client.py +4245 -0
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +774 -0
- oci/generative_ai_agent/models/__init__.py +118 -0
- oci/generative_ai_agent/models/agent.py +536 -0
- oci/generative_ai_agent/models/agent_collection.py +74 -0
- oci/generative_ai_agent/models/agent_endpoint.py +648 -0
- oci/generative_ai_agent/models/agent_endpoint_collection.py +74 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +612 -0
- oci/generative_ai_agent/models/agent_summary.py +500 -0
- oci/generative_ai_agent/models/basic_auth_secret.py +88 -0
- oci/generative_ai_agent/models/change_agent_compartment_details.py +78 -0
- oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +78 -0
- oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +78 -0
- oci/generative_ai_agent/models/content_moderation_config.py +103 -0
- oci/generative_ai_agent/models/create_agent_details.py +288 -0
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +400 -0
- oci/generative_ai_agent/models/create_data_ingestion_job_details.py +257 -0
- oci/generative_ai_agent/models/create_data_source_details.py +284 -0
- oci/generative_ai_agent/models/create_knowledge_base_details.py +249 -0
- oci/generative_ai_agent/models/data_ingestion_job.py +536 -0
- oci/generative_ai_agent/models/data_ingestion_job_collection.py +74 -0
- oci/generative_ai_agent/models/data_ingestion_job_statistics.py +136 -0
- oci/generative_ai_agent/models/data_ingestion_job_summary.py +469 -0
- oci/generative_ai_agent/models/data_source.py +536 -0
- oci/generative_ai_agent/models/data_source_collection.py +74 -0
- oci/generative_ai_agent/models/data_source_config.py +107 -0
- oci/generative_ai_agent/models/data_source_summary.py +469 -0
- oci/generative_ai_agent/models/database_connection.py +107 -0
- oci/generative_ai_agent/models/database_function.py +74 -0
- oci/generative_ai_agent/models/database_tool_connection.py +88 -0
- oci/generative_ai_agent/models/default_index_config.py +84 -0
- oci/generative_ai_agent/models/idcs_secret.py +181 -0
- oci/generative_ai_agent/models/index.py +101 -0
- oci/generative_ai_agent/models/index_config.py +127 -0
- oci/generative_ai_agent/models/index_schema.py +167 -0
- oci/generative_ai_agent/models/knowledge_base.py +501 -0
- oci/generative_ai_agent/models/knowledge_base_collection.py +74 -0
- oci/generative_ai_agent/models/knowledge_base_summary.py +434 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +136 -0
- oci/generative_ai_agent/models/oci_database_config.py +111 -0
- oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +84 -0
- oci/generative_ai_agent/models/oci_open_search_index_config.py +146 -0
- oci/generative_ai_agent/models/secret_detail.py +117 -0
- oci/generative_ai_agent/models/session_config.py +74 -0
- oci/generative_ai_agent/models/update_agent_details.py +253 -0
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +303 -0
- oci/generative_ai_agent/models/update_data_source_details.py +214 -0
- oci/generative_ai_agent/models/update_knowledge_base_details.py +214 -0
- oci/generative_ai_agent/models/work_request.py +505 -0
- oci/generative_ai_agent/models/work_request_error.py +148 -0
- oci/generative_ai_agent/models/work_request_error_collection.py +74 -0
- oci/generative_ai_agent/models/work_request_log_entry.py +111 -0
- oci/generative_ai_agent/models/work_request_log_entry_collection.py +74 -0
- oci/generative_ai_agent/models/work_request_resource.py +240 -0
- oci/generative_ai_agent/models/work_request_summary.py +503 -0
- oci/generative_ai_agent/models/work_request_summary_collection.py +74 -0
- oci/generative_ai_agent_runtime/__init__.py +14 -0
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +689 -0
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client_composite_operations.py +26 -0
- oci/generative_ai_agent_runtime/models/__init__.py +44 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +134 -0
- oci/generative_ai_agent_runtime/models/chat_result.py +99 -0
- oci/generative_ai_agent_runtime/models/citation.py +99 -0
- oci/generative_ai_agent_runtime/models/create_session_details.py +103 -0
- oci/generative_ai_agent_runtime/models/error_trace.py +89 -0
- oci/generative_ai_agent_runtime/models/generation_trace.py +89 -0
- oci/generative_ai_agent_runtime/models/message.py +146 -0
- oci/generative_ai_agent_runtime/models/message_content.py +103 -0
- oci/generative_ai_agent_runtime/models/oci_database_source_location.py +148 -0
- oci/generative_ai_agent_runtime/models/oci_object_storage_source_location.py +82 -0
- oci/generative_ai_agent_runtime/models/oci_open_search_source_location.py +144 -0
- oci/generative_ai_agent_runtime/models/retrieval_trace.py +120 -0
- oci/generative_ai_agent_runtime/models/session.py +227 -0
- oci/generative_ai_agent_runtime/models/source_location.py +117 -0
- oci/generative_ai_agent_runtime/models/trace.py +148 -0
- oci/generative_ai_agent_runtime/models/update_session_details.py +103 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- 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 +68 -68
- 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 +307 -307
- oci/integration/integration_instance_client.py +255 -18
- oci/integration/integration_instance_client_composite_operations.py +81 -0
- oci/integration/models/__init__.py +2 -0
- oci/integration/models/add_oracle_managed_custom_endpoint_details.py +146 -0
- oci/integration/models/custom_endpoint_details.py +121 -0
- oci/integration/models/integration_instance.py +34 -7
- oci/integration/models/integration_instance_summary.py +34 -7
- oci/integration/models/work_request.py +11 -3
- oci/integration/models/work_request_summary.py +11 -3
- oci/jms/java_management_service_client.py +75 -75
- 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/log_analytics/models/chart_data_column.py +6 -3
- oci/log_analytics/models/function_field.py +4 -2
- oci/log_analytics/models/time_cluster_data_column.py +6 -3
- oci/log_analytics/models/time_stats_data_column.py +6 -3
- oci/logging/logging_management_client.py +30 -30
- oci/logging/models/unified_agent_monitoring_filter.py +5 -5
- oci/logging/models/unified_agent_tail_log_source.py +2 -1
- oci/logging/models/unified_agent_url_filter.py +2 -1
- 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/__init__.py +6 -0
- oci/monitoring/models/alarm_status_summary.py +2 -0
- oci/monitoring/models/alarm_suppression.py +94 -2
- oci/monitoring/models/alarm_suppression_alarm_target.py +1 -1
- oci/monitoring/models/alarm_suppression_collection.py +3 -3
- oci/monitoring/models/alarm_suppression_compartment_target.py +127 -0
- oci/monitoring/models/alarm_suppression_history_item.py +43 -2
- oci/monitoring/models/alarm_suppression_summary.py +78 -2
- oci/monitoring/models/alarm_suppression_target.py +11 -3
- oci/monitoring/models/create_alarm_suppression_details.py +86 -6
- oci/monitoring/models/recurrence.py +127 -0
- oci/monitoring/models/suppression.py +1 -0
- oci/monitoring/models/suppression_condition.py +101 -0
- oci/monitoring/monitoring_client.py +115 -33
- 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 +34 -34
- 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/models/bot.py +15 -15
- oci/oda/models/parameter.py +10 -10
- 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/models/__init__.py +50 -0
- oci/opsi/models/add_em_managed_external_exadata_insight_members_details.py +1 -1
- oci/opsi/models/add_exadata_insight_members_details.py +11 -3
- oci/opsi/models/add_macs_managed_cloud_exadata_insight_members_details.py +78 -0
- oci/opsi/models/add_pe_comanaged_exadata_insight_members_details.py +1 -1
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/awr_query_result.py +5 -5
- oci/opsi/models/change_macs_managed_cloud_database_insight_connection_details.py +130 -0
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/create_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/create_exadata_insight_details.py +11 -3
- oci/opsi/models/create_host_insight_details.py +7 -3
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +315 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_cluster_details.py +171 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_insight_details.py +134 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_vmcluster_details.py +96 -0
- oci/opsi/models/create_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/create_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/database_configuration_metric_group.py +35 -3
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/db_connection_status.py +58 -0
- oci/opsi/models/db_external_instance.py +1 -1
- oci/opsi/models/db_external_properties.py +1 -1
- oci/opsi/models/db_parameters.py +1 -1
- oci/opsi/models/dbos_config_instance.py +1 -1
- oci/opsi/models/em_managed_external_database_configuration_summary.py +127 -3
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/em_managed_external_exadata_insight.py +2 -2
- oci/opsi/models/em_managed_external_exadata_insight_summary.py +2 -2
- oci/opsi/models/em_managed_external_host_configuration_summary.py +127 -3
- oci/opsi/models/em_managed_external_host_insight.py +1 -1
- oci/opsi/models/em_managed_external_host_insight_summary.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/enable_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/enable_exadata_insight_details.py +11 -3
- oci/opsi/models/enable_host_insight_details.py +7 -3
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +274 -0
- oci/opsi/models/enable_macs_managed_cloud_exadata_insight_details.py +51 -0
- oci/opsi/models/enable_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/enable_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/exadata_asm_entity.py +151 -0
- oci/opsi/models/exadata_cell_config.py +213 -0
- oci/opsi/models/exadata_configuration_summary.py +30 -6
- oci/opsi/models/exadata_database_machine_configuration_summary.py +128 -4
- oci/opsi/models/exadata_exacc_configuration_summary.py +186 -0
- oci/opsi/models/exadata_exacs_configuration_summary.py +2 -2
- oci/opsi/models/exadata_insight.py +30 -6
- oci/opsi/models/exadata_insight_summary.py +30 -6
- oci/opsi/models/exadata_member_collection.py +19 -3
- oci/opsi/models/host_allocation.py +120 -0
- oci/opsi/models/host_configuration_summary.py +11 -3
- oci/opsi/models/host_containers.py +2 -2
- oci/opsi/models/host_insight.py +11 -3
- oci/opsi/models/host_insight_summary.py +11 -3
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +253 -0
- oci/opsi/models/macs_managed_cloud_database_host_insight.py +394 -0
- oci/opsi/models/macs_managed_cloud_database_host_insight_summary.py +339 -0
- oci/opsi/models/macs_managed_cloud_database_insight.py +469 -0
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +315 -0
- oci/opsi/models/macs_managed_cloud_db_host_configuration_summary.py +282 -0
- oci/opsi/models/macs_managed_cloud_exadata_insight.py +278 -0
- oci/opsi/models/macs_managed_cloud_exadata_insight_summary.py +271 -0
- oci/opsi/models/macs_managed_cloud_host_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_host_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_host_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_host_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_host_insight.py +1 -1
- oci/opsi/models/macs_managed_external_host_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_exadata_insight.py +9 -5
- oci/opsi/models/pe_comanaged_exadata_insight_summary.py +9 -5
- oci/opsi/models/pe_comanaged_host_configuration_summary.py +1 -1
- oci/opsi/models/pe_comanaged_host_insight.py +1 -1
- oci/opsi/models/pe_comanaged_host_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/test_macs_managed_cloud_database_insight_connection_details.py +130 -0
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/update_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/update_exadata_insight_details.py +11 -3
- oci/opsi/models/update_host_insight_details.py +11 -3
- oci/opsi/models/update_macs_managed_cloud_database_host_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_exadata_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/update_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/update_pe_comanaged_host_insight_details.py +1 -1
- oci/opsi/models/work_request.py +11 -3
- oci/opsi/operations_insights_client.py +482 -214
- oci/opsi/operations_insights_client_composite_operations.py +81 -0
- 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/models/event_content.py +5 -5
- oci/os_management_hub/models/exploit_attempt_event_content.py +2 -1
- oci/os_management_hub/models/package_summary.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/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/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/models/traffic_rule_target.py +5 -5
- 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/models/topology.py +5 -5
- 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/models/protection_rule.py +4 -2
- oci/waf/models/request_rate_limiting_rule.py +4 -2
- oci/waf/models/web_app_firewall_policy_rule.py +10 -10
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/METADATA +1 -1
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/RECORD +612 -497
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/WHEEL +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/top_level.txt +0 -0
@@ -116,6 +116,127 @@ class IntegrationInstanceClient(object):
|
|
116
116
|
self.retry_strategy = kwargs.get('retry_strategy')
|
117
117
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
118
118
|
|
119
|
+
def add_oracle_managed_custom_endpoint(self, add_oracle_managed_custom_endpoint_details, integration_instance_id, **kwargs):
|
120
|
+
"""
|
121
|
+
Enable Oracle Managed Custom Endpoint for given integration instance.
|
122
|
+
|
123
|
+
|
124
|
+
:param oci.integration.models.AddOracleManagedCustomEndpointDetails add_oracle_managed_custom_endpoint_details: (required)
|
125
|
+
Details for enabling oracle managed custom endpoint.
|
126
|
+
|
127
|
+
:param str integration_instance_id: (required)
|
128
|
+
Unique Integration Instance identifier.
|
129
|
+
|
130
|
+
:param str if_match: (optional)
|
131
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
132
|
+
for a resource, set the `if-match` parameter to the value of the
|
133
|
+
etag from a previous GET or POST response for that resource.
|
134
|
+
The resource will be updated or deleted only if the etag you
|
135
|
+
provide matches the resource's current etag value.
|
136
|
+
|
137
|
+
:param str opc_request_id: (optional)
|
138
|
+
The client request ID for tracing.
|
139
|
+
|
140
|
+
:param str opc_retry_token: (optional)
|
141
|
+
A token that uniquely identifies a request so it can be retried in case
|
142
|
+
of a timeout or server error without risk of executing that same action
|
143
|
+
again. Retry tokens expire after 24 hours, but can be invalidated before
|
144
|
+
then due to conflicting operations. For example, if a resource has been
|
145
|
+
deleted and purged from the system, then a retry of the original creation
|
146
|
+
request might be rejected.
|
147
|
+
|
148
|
+
:param obj retry_strategy: (optional)
|
149
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
150
|
+
|
151
|
+
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.
|
152
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
153
|
+
|
154
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
155
|
+
|
156
|
+
:param bool allow_control_chars: (optional)
|
157
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
158
|
+
By default, the response will not allow control characters in strings
|
159
|
+
|
160
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
161
|
+
:rtype: :class:`~oci.response.Response`
|
162
|
+
|
163
|
+
:example:
|
164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/add_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use add_oracle_managed_custom_endpoint API.
|
165
|
+
"""
|
166
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
167
|
+
required_arguments = ['integrationInstanceId']
|
168
|
+
resource_path = "/integrationInstances/{integrationInstanceId}/actions/addOracleManagedCustomEndpoint"
|
169
|
+
method = "POST"
|
170
|
+
operation_name = "add_oracle_managed_custom_endpoint"
|
171
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/integration/20190131/IntegrationInstance/AddOracleManagedCustomEndpoint"
|
172
|
+
|
173
|
+
# Don't accept unknown kwargs
|
174
|
+
expected_kwargs = [
|
175
|
+
"allow_control_chars",
|
176
|
+
"retry_strategy",
|
177
|
+
"if_match",
|
178
|
+
"opc_request_id",
|
179
|
+
"opc_retry_token"
|
180
|
+
]
|
181
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
182
|
+
if extra_kwargs:
|
183
|
+
raise ValueError(
|
184
|
+
f"add_oracle_managed_custom_endpoint got unknown kwargs: {extra_kwargs!r}")
|
185
|
+
|
186
|
+
path_params = {
|
187
|
+
"integrationInstanceId": integration_instance_id
|
188
|
+
}
|
189
|
+
|
190
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
191
|
+
|
192
|
+
for (k, v) in six.iteritems(path_params):
|
193
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
194
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
195
|
+
|
196
|
+
header_params = {
|
197
|
+
"accept": "application/json",
|
198
|
+
"content-type": "application/json",
|
199
|
+
"if-match": kwargs.get("if_match", missing),
|
200
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
201
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
202
|
+
}
|
203
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
204
|
+
|
205
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
206
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
207
|
+
client_retry_strategy=self.retry_strategy
|
208
|
+
)
|
209
|
+
if retry_strategy is None:
|
210
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
211
|
+
|
212
|
+
if retry_strategy:
|
213
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
214
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
215
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
216
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
217
|
+
return retry_strategy.make_retrying_call(
|
218
|
+
self.base_client.call_api,
|
219
|
+
resource_path=resource_path,
|
220
|
+
method=method,
|
221
|
+
path_params=path_params,
|
222
|
+
header_params=header_params,
|
223
|
+
body=add_oracle_managed_custom_endpoint_details,
|
224
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
225
|
+
operation_name=operation_name,
|
226
|
+
api_reference_link=api_reference_link,
|
227
|
+
required_arguments=required_arguments)
|
228
|
+
else:
|
229
|
+
return self.base_client.call_api(
|
230
|
+
resource_path=resource_path,
|
231
|
+
method=method,
|
232
|
+
path_params=path_params,
|
233
|
+
header_params=header_params,
|
234
|
+
body=add_oracle_managed_custom_endpoint_details,
|
235
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
236
|
+
operation_name=operation_name,
|
237
|
+
api_reference_link=api_reference_link,
|
238
|
+
required_arguments=required_arguments)
|
239
|
+
|
119
240
|
def change_integration_instance_compartment(self, integration_instance_id, change_integration_instance_compartment_details, **kwargs):
|
120
241
|
"""
|
121
242
|
Change the compartment for an integration instance
|
@@ -161,7 +282,7 @@ class IntegrationInstanceClient(object):
|
|
161
282
|
:rtype: :class:`~oci.response.Response`
|
162
283
|
|
163
284
|
:example:
|
164
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_integration_instance_compartment.py.html>`__ to see an example of how to use change_integration_instance_compartment API.
|
165
286
|
"""
|
166
287
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
167
288
|
required_arguments = ['integrationInstanceId']
|
@@ -281,7 +402,7 @@ class IntegrationInstanceClient(object):
|
|
281
402
|
:rtype: :class:`~oci.response.Response`
|
282
403
|
|
283
404
|
:example:
|
284
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
405
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_integration_instance_network_endpoint.py.html>`__ to see an example of how to use change_integration_instance_network_endpoint API.
|
285
406
|
"""
|
286
407
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
287
408
|
required_arguments = ['integrationInstanceId']
|
@@ -401,7 +522,7 @@ class IntegrationInstanceClient(object):
|
|
401
522
|
:rtype: :class:`~oci.response.Response`
|
402
523
|
|
403
524
|
:example:
|
404
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
525
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_private_endpoint_outbound_connection.py.html>`__ to see an example of how to use change_private_endpoint_outbound_connection API.
|
405
526
|
"""
|
406
527
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
407
528
|
required_arguments = ['integrationInstanceId']
|
@@ -510,7 +631,7 @@ class IntegrationInstanceClient(object):
|
|
510
631
|
:rtype: :class:`~oci.response.Response`
|
511
632
|
|
512
633
|
:example:
|
513
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
634
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/create_integration_instance.py.html>`__ to see an example of how to use create_integration_instance API.
|
514
635
|
"""
|
515
636
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
516
637
|
required_arguments = []
|
@@ -606,7 +727,7 @@ class IntegrationInstanceClient(object):
|
|
606
727
|
:rtype: :class:`~oci.response.Response`
|
607
728
|
|
608
729
|
:example:
|
609
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
730
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/delete_integration_instance.py.html>`__ to see an example of how to use delete_integration_instance API.
|
610
731
|
"""
|
611
732
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
612
733
|
required_arguments = ['integrationInstanceId']
|
@@ -717,7 +838,7 @@ class IntegrationInstanceClient(object):
|
|
717
838
|
:rtype: :class:`~oci.response.Response`
|
718
839
|
|
719
840
|
:example:
|
720
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
841
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/enable_process_automation.py.html>`__ to see an example of how to use enable_process_automation API.
|
721
842
|
"""
|
722
843
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
723
844
|
required_arguments = ['integrationInstanceId']
|
@@ -834,7 +955,7 @@ class IntegrationInstanceClient(object):
|
|
834
955
|
:rtype: :class:`~oci.response.Response`
|
835
956
|
|
836
957
|
:example:
|
837
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
958
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/extend_data_retention.py.html>`__ to see an example of how to use extend_data_retention API.
|
838
959
|
"""
|
839
960
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
840
961
|
required_arguments = ['integrationInstanceId']
|
@@ -937,7 +1058,7 @@ class IntegrationInstanceClient(object):
|
|
937
1058
|
:rtype: :class:`~oci.response.Response`
|
938
1059
|
|
939
1060
|
:example:
|
940
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1061
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/get_integration_instance.py.html>`__ to see an example of how to use get_integration_instance API.
|
941
1062
|
"""
|
942
1063
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
943
1064
|
required_arguments = ['integrationInstanceId']
|
@@ -1033,7 +1154,7 @@ class IntegrationInstanceClient(object):
|
|
1033
1154
|
:rtype: :class:`~oci.response.Response`
|
1034
1155
|
|
1035
1156
|
:example:
|
1036
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1037
1158
|
"""
|
1038
1159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1039
1160
|
required_arguments = ['workRequestId']
|
@@ -1118,7 +1239,7 @@ class IntegrationInstanceClient(object):
|
|
1118
1239
|
:param str lifecycle_state: (optional)
|
1119
1240
|
Life cycle state to query on.
|
1120
1241
|
|
1121
|
-
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
|
1242
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
|
1122
1243
|
|
1123
1244
|
:param int limit: (optional)
|
1124
1245
|
The maximum number of items to return.
|
@@ -1157,7 +1278,7 @@ class IntegrationInstanceClient(object):
|
|
1157
1278
|
:rtype: :class:`~oci.response.Response`
|
1158
1279
|
|
1159
1280
|
:example:
|
1160
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1281
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_integration_instances.py.html>`__ to see an example of how to use list_integration_instances API.
|
1161
1282
|
"""
|
1162
1283
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1163
1284
|
required_arguments = ['compartmentId']
|
@@ -1184,7 +1305,7 @@ class IntegrationInstanceClient(object):
|
|
1184
1305
|
f"list_integration_instances got unknown kwargs: {extra_kwargs!r}")
|
1185
1306
|
|
1186
1307
|
if 'lifecycle_state' in kwargs:
|
1187
|
-
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
|
1308
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"]
|
1188
1309
|
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
1189
1310
|
raise ValueError(
|
1190
1311
|
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
@@ -1290,7 +1411,7 @@ class IntegrationInstanceClient(object):
|
|
1290
1411
|
:rtype: :class:`~oci.response.Response`
|
1291
1412
|
|
1292
1413
|
:example:
|
1293
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
1294
1415
|
"""
|
1295
1416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1296
1417
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -1406,7 +1527,7 @@ class IntegrationInstanceClient(object):
|
|
1406
1527
|
:rtype: :class:`~oci.response.Response`
|
1407
1528
|
|
1408
1529
|
:example:
|
1409
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1530
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
1410
1531
|
"""
|
1411
1532
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1412
1533
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -1522,7 +1643,7 @@ class IntegrationInstanceClient(object):
|
|
1522
1643
|
:rtype: :class:`~oci.response.Response`
|
1523
1644
|
|
1524
1645
|
:example:
|
1525
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
1526
1647
|
"""
|
1527
1648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1528
1649
|
required_arguments = ['compartmentId']
|
@@ -1592,6 +1713,122 @@ class IntegrationInstanceClient(object):
|
|
1592
1713
|
api_reference_link=api_reference_link,
|
1593
1714
|
required_arguments=required_arguments)
|
1594
1715
|
|
1716
|
+
def remove_oracle_managed_custom_endpoint(self, integration_instance_id, **kwargs):
|
1717
|
+
"""
|
1718
|
+
Remove Oracle Managed Custom Endpoint for given integration instance that was previously enabled.
|
1719
|
+
|
1720
|
+
|
1721
|
+
:param str integration_instance_id: (required)
|
1722
|
+
Unique Integration Instance identifier.
|
1723
|
+
|
1724
|
+
:param str if_match: (optional)
|
1725
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1726
|
+
for a resource, set the `if-match` parameter to the value of the
|
1727
|
+
etag from a previous GET or POST response for that resource.
|
1728
|
+
The resource will be updated or deleted only if the etag you
|
1729
|
+
provide matches the resource's current etag value.
|
1730
|
+
|
1731
|
+
:param str opc_request_id: (optional)
|
1732
|
+
The client request ID for tracing.
|
1733
|
+
|
1734
|
+
:param str opc_retry_token: (optional)
|
1735
|
+
A token that uniquely identifies a request so it can be retried in case
|
1736
|
+
of a timeout or server error without risk of executing that same action
|
1737
|
+
again. Retry tokens expire after 24 hours, but can be invalidated before
|
1738
|
+
then due to conflicting operations. For example, if a resource has been
|
1739
|
+
deleted and purged from the system, then a retry of the original creation
|
1740
|
+
request might be rejected.
|
1741
|
+
|
1742
|
+
:param obj retry_strategy: (optional)
|
1743
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1744
|
+
|
1745
|
+
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.
|
1746
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1747
|
+
|
1748
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1749
|
+
|
1750
|
+
:param bool allow_control_chars: (optional)
|
1751
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1752
|
+
By default, the response will not allow control characters in strings
|
1753
|
+
|
1754
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1755
|
+
:rtype: :class:`~oci.response.Response`
|
1756
|
+
|
1757
|
+
:example:
|
1758
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/remove_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use remove_oracle_managed_custom_endpoint API.
|
1759
|
+
"""
|
1760
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1761
|
+
required_arguments = ['integrationInstanceId']
|
1762
|
+
resource_path = "/integrationInstances/{integrationInstanceId}/actions/removeOracleManagedCustomEndpoint"
|
1763
|
+
method = "POST"
|
1764
|
+
operation_name = "remove_oracle_managed_custom_endpoint"
|
1765
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/integration/20190131/IntegrationInstance/RemoveOracleManagedCustomEndpoint"
|
1766
|
+
|
1767
|
+
# Don't accept unknown kwargs
|
1768
|
+
expected_kwargs = [
|
1769
|
+
"allow_control_chars",
|
1770
|
+
"retry_strategy",
|
1771
|
+
"if_match",
|
1772
|
+
"opc_request_id",
|
1773
|
+
"opc_retry_token"
|
1774
|
+
]
|
1775
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1776
|
+
if extra_kwargs:
|
1777
|
+
raise ValueError(
|
1778
|
+
f"remove_oracle_managed_custom_endpoint got unknown kwargs: {extra_kwargs!r}")
|
1779
|
+
|
1780
|
+
path_params = {
|
1781
|
+
"integrationInstanceId": integration_instance_id
|
1782
|
+
}
|
1783
|
+
|
1784
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1785
|
+
|
1786
|
+
for (k, v) in six.iteritems(path_params):
|
1787
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1788
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1789
|
+
|
1790
|
+
header_params = {
|
1791
|
+
"accept": "application/json",
|
1792
|
+
"content-type": "application/json",
|
1793
|
+
"if-match": kwargs.get("if_match", missing),
|
1794
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1795
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1796
|
+
}
|
1797
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1798
|
+
|
1799
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1800
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1801
|
+
client_retry_strategy=self.retry_strategy
|
1802
|
+
)
|
1803
|
+
if retry_strategy is None:
|
1804
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1805
|
+
|
1806
|
+
if retry_strategy:
|
1807
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1808
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1809
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1810
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1811
|
+
return retry_strategy.make_retrying_call(
|
1812
|
+
self.base_client.call_api,
|
1813
|
+
resource_path=resource_path,
|
1814
|
+
method=method,
|
1815
|
+
path_params=path_params,
|
1816
|
+
header_params=header_params,
|
1817
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1818
|
+
operation_name=operation_name,
|
1819
|
+
api_reference_link=api_reference_link,
|
1820
|
+
required_arguments=required_arguments)
|
1821
|
+
else:
|
1822
|
+
return self.base_client.call_api(
|
1823
|
+
resource_path=resource_path,
|
1824
|
+
method=method,
|
1825
|
+
path_params=path_params,
|
1826
|
+
header_params=header_params,
|
1827
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1828
|
+
operation_name=operation_name,
|
1829
|
+
api_reference_link=api_reference_link,
|
1830
|
+
required_arguments=required_arguments)
|
1831
|
+
|
1595
1832
|
def start_integration_instance(self, integration_instance_id, **kwargs):
|
1596
1833
|
"""
|
1597
1834
|
Start an integration instance that was previously in an INACTIVE state
|
@@ -1634,7 +1871,7 @@ class IntegrationInstanceClient(object):
|
|
1634
1871
|
:rtype: :class:`~oci.response.Response`
|
1635
1872
|
|
1636
1873
|
:example:
|
1637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1874
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/start_integration_instance.py.html>`__ to see an example of how to use start_integration_instance API.
|
1638
1875
|
"""
|
1639
1876
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1640
1877
|
required_arguments = ['integrationInstanceId']
|
@@ -1748,7 +1985,7 @@ class IntegrationInstanceClient(object):
|
|
1748
1985
|
:rtype: :class:`~oci.response.Response`
|
1749
1986
|
|
1750
1987
|
:example:
|
1751
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1988
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/stop_integration_instance.py.html>`__ to see an example of how to use stop_integration_instance API.
|
1752
1989
|
"""
|
1753
1990
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1754
1991
|
required_arguments = ['integrationInstanceId']
|
@@ -1857,7 +2094,7 @@ class IntegrationInstanceClient(object):
|
|
1857
2094
|
:rtype: :class:`~oci.response.Response`
|
1858
2095
|
|
1859
2096
|
:example:
|
1860
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2097
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/update_integration_instance.py.html>`__ to see an example of how to use update_integration_instance API.
|
1861
2098
|
"""
|
1862
2099
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1863
2100
|
required_arguments = ['integrationInstanceId']
|
@@ -25,6 +25,48 @@ class IntegrationInstanceClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def add_oracle_managed_custom_endpoint_and_wait_for_state(self, add_oracle_managed_custom_endpoint_details, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.integration.IntegrationInstanceClient.add_oracle_managed_custom_endpoint` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param oci.integration.models.AddOracleManagedCustomEndpointDetails add_oracle_managed_custom_endpoint_details: (required)
|
34
|
+
Details for enabling oracle managed custom endpoint.
|
35
|
+
|
36
|
+
:param str integration_instance_id: (required)
|
37
|
+
Unique Integration Instance identifier.
|
38
|
+
|
39
|
+
:param list[str] wait_for_states:
|
40
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.integration.models.WorkRequest.status`
|
41
|
+
|
42
|
+
:param dict operation_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.integration.IntegrationInstanceClient.add_oracle_managed_custom_endpoint`
|
44
|
+
|
45
|
+
:param dict waiter_kwargs:
|
46
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
47
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
48
|
+
"""
|
49
|
+
operation_result = self.client.add_oracle_managed_custom_endpoint(add_oracle_managed_custom_endpoint_details, integration_instance_id, **operation_kwargs)
|
50
|
+
if not wait_for_states:
|
51
|
+
return operation_result
|
52
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
53
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
54
|
+
return operation_result
|
55
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
56
|
+
|
57
|
+
try:
|
58
|
+
waiter_result = oci.wait_until(
|
59
|
+
self.client,
|
60
|
+
self.client.get_work_request(wait_for_resource_id),
|
61
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
62
|
+
**waiter_kwargs
|
63
|
+
)
|
64
|
+
result_to_return = waiter_result
|
65
|
+
|
66
|
+
return result_to_return
|
67
|
+
except Exception as e:
|
68
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
69
|
+
|
28
70
|
def change_integration_instance_compartment_and_wait_for_state(self, integration_instance_id, change_integration_instance_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
71
|
"""
|
30
72
|
Calls :py:func:`~oci.integration.IntegrationInstanceClient.change_integration_instance_compartment` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
@@ -318,6 +360,45 @@ class IntegrationInstanceClientCompositeOperations(object):
|
|
318
360
|
except Exception as e:
|
319
361
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
320
362
|
|
363
|
+
def remove_oracle_managed_custom_endpoint_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
364
|
+
"""
|
365
|
+
Calls :py:func:`~oci.integration.IntegrationInstanceClient.remove_oracle_managed_custom_endpoint` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
366
|
+
to enter the given state(s).
|
367
|
+
|
368
|
+
:param str integration_instance_id: (required)
|
369
|
+
Unique Integration Instance identifier.
|
370
|
+
|
371
|
+
:param list[str] wait_for_states:
|
372
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.integration.models.WorkRequest.status`
|
373
|
+
|
374
|
+
:param dict operation_kwargs:
|
375
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.integration.IntegrationInstanceClient.remove_oracle_managed_custom_endpoint`
|
376
|
+
|
377
|
+
:param dict waiter_kwargs:
|
378
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
379
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
380
|
+
"""
|
381
|
+
operation_result = self.client.remove_oracle_managed_custom_endpoint(integration_instance_id, **operation_kwargs)
|
382
|
+
if not wait_for_states:
|
383
|
+
return operation_result
|
384
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
385
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
386
|
+
return operation_result
|
387
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
388
|
+
|
389
|
+
try:
|
390
|
+
waiter_result = oci.wait_until(
|
391
|
+
self.client,
|
392
|
+
self.client.get_work_request(wait_for_resource_id),
|
393
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
394
|
+
**waiter_kwargs
|
395
|
+
)
|
396
|
+
result_to_return = waiter_result
|
397
|
+
|
398
|
+
return result_to_return
|
399
|
+
except Exception as e:
|
400
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
401
|
+
|
321
402
|
def start_integration_instance_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
322
403
|
"""
|
323
404
|
Calls :py:func:`~oci.integration.IntegrationInstanceClient.start_integration_instance` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
@@ -6,6 +6,7 @@
|
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
|
+
from .add_oracle_managed_custom_endpoint_details import AddOracleManagedCustomEndpointDetails
|
9
10
|
from .attachment_details import AttachmentDetails
|
10
11
|
from .change_integration_instance_compartment_details import ChangeIntegrationInstanceCompartmentDetails
|
11
12
|
from .change_integration_instance_network_endpoint_details import ChangeIntegrationInstanceNetworkEndpointDetails
|
@@ -33,6 +34,7 @@ from .work_request_summary import WorkRequestSummary
|
|
33
34
|
|
34
35
|
# Maps type names to classes for integration services.
|
35
36
|
integration_type_mapping = {
|
37
|
+
"AddOracleManagedCustomEndpointDetails": AddOracleManagedCustomEndpointDetails,
|
36
38
|
"AttachmentDetails": AttachmentDetails,
|
37
39
|
"ChangeIntegrationInstanceCompartmentDetails": ChangeIntegrationInstanceCompartmentDetails,
|
38
40
|
"ChangeIntegrationInstanceNetworkEndpointDetails": ChangeIntegrationInstanceNetworkEndpointDetails,
|