oci 2.133.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 +214 -17
- oci/ai_speech/models/__init__.py +23 -1
- oci/ai_speech/models/synthesize_speech_details.py +196 -0
- oci/ai_speech/models/tts_audio_config.py +106 -0
- oci/ai_speech/models/tts_base_audio_config.py +82 -0
- oci/ai_speech/models/tts_configuration.py +103 -0
- oci/ai_speech/models/tts_oracle_configuration.py +105 -0
- oci/ai_speech/models/tts_oracle_model_details.py +113 -0
- oci/ai_speech/models/tts_oracle_speech_settings.py +246 -0
- oci/ai_speech/models/tts_oracle_tts1_standard_model_details.py +84 -0
- oci/ai_speech/models/tts_oracle_tts2_natural_model_details.py +84 -0
- oci/ai_speech/models/voice_collection.py +72 -0
- oci/ai_speech/models/voice_summary.py +379 -0
- 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 +1692 -423
- oci/capacity_management/capacity_management_client_composite_operations.py +146 -0
- oci/capacity_management/models/__init__.py +23 -1
- oci/capacity_management/models/associated_capacity_request_details.py +103 -0
- oci/capacity_management/models/associated_occ_handover_resource_block.py +103 -0
- oci/capacity_management/models/create_occ_capacity_request_details.py +3 -3
- oci/capacity_management/models/create_occ_customer_details.py +181 -0
- oci/capacity_management/models/create_occ_customer_group_details.py +309 -0
- oci/capacity_management/models/occ_capacity_request_base_details.py +62 -0
- oci/capacity_management/models/occ_handover_resource_block_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_summary.py +104 -0
- oci/capacity_management/models/occ_handover_resource_block_summary.py +332 -0
- oci/capacity_management/models/placement_details.py +227 -0
- oci/capacity_management/models/update_occ_customer_details.py +150 -0
- oci/capacity_management/models/update_occ_customer_group_details.py +216 -0
- 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 +52 -52
- oci/delegate_access_control/work_request_client.py +8 -8
- 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 +16 -16
- oci/fleet_apps_management/fleet_apps_management_client.py +70 -70
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +10 -10
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +8 -8
- oci/fleet_apps_management/models/fleet_target.py +10 -10
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/create_db_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/create_gi_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/db_collection.py +7 -3
- oci/fleet_software_update/models/db_discovery_details.py +7 -3
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/gi_collection.py +7 -3
- oci/fleet_software_update/models/gi_discovery_details.py +7 -3
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- 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 +23 -23
- oci/generative_ai/models/create_endpoint_details.py +2 -2
- oci/generative_ai/models/dedicated_ai_cluster.py +7 -3
- 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/lockbox/models/access_request.py +35 -2
- oci/lockbox/models/access_request_ext.py +35 -2
- oci/lockbox/models/access_request_summary.py +33 -0
- oci/lockbox/models/create_access_request_details.py +35 -2
- 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/regions_definitions.py +3 -0
- 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.133.0.dist-info → oci-2.135.0.dist-info}/METADATA +1 -1
- {oci-2.133.0.dist-info → oci-2.135.0.dist-info}/RECORD +656 -519
- {oci-2.133.0.dist-info → oci-2.135.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.133.0.dist-info → oci-2.135.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.133.0.dist-info → oci-2.135.0.dist-info}/WHEEL +0 -0
- {oci-2.133.0.dist-info → oci-2.135.0.dist-info}/top_level.txt +0 -0
@@ -10605,6 +10605,182 @@ class DatabaseClientCompositeOperations(object):
|
|
10605
10605
|
except Exception as e:
|
10606
10606
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10607
10607
|
|
10608
|
+
def set_db_key_version_and_wait_for_work_request(self, database_id, set_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
10609
|
+
"""
|
10610
|
+
Calls :py:func:`~oci.database.DatabaseClient.set_db_key_version` and waits for the oci.work_requests.models.WorkRequest
|
10611
|
+
to enter the given state(s).
|
10612
|
+
|
10613
|
+
:param str database_id: (required)
|
10614
|
+
The database `OCID`__.
|
10615
|
+
|
10616
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
10617
|
+
|
10618
|
+
:param oci.database.models.SetKeyVersionDetails set_key_version_details: (required)
|
10619
|
+
Requests Key Version Update.
|
10620
|
+
|
10621
|
+
:param list[str] work_request_states: (optional)
|
10622
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
10623
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
10624
|
+
|
10625
|
+
:param dict operation_kwargs:
|
10626
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.set_db_key_version`
|
10627
|
+
|
10628
|
+
:param dict waiter_kwargs:
|
10629
|
+
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``
|
10630
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
10631
|
+
"""
|
10632
|
+
operation_result = self.client.set_db_key_version(database_id, set_key_version_details, **operation_kwargs)
|
10633
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
10634
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
10635
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
10636
|
+
return operation_result
|
10637
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
10638
|
+
try:
|
10639
|
+
waiter_result = oci.wait_until(
|
10640
|
+
self._work_request_client,
|
10641
|
+
self._work_request_client.get_work_request(work_request_id),
|
10642
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
10643
|
+
**waiter_kwargs
|
10644
|
+
)
|
10645
|
+
return waiter_result
|
10646
|
+
except Exception as e:
|
10647
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10648
|
+
|
10649
|
+
def set_db_key_version_and_wait_for_state(self, database_id, set_key_version_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
10650
|
+
"""
|
10651
|
+
Calls :py:func:`~oci.database.DatabaseClient.set_db_key_version` and waits for the :py:class:`~oci.database.models.Database` acted upon
|
10652
|
+
to enter the given state(s).
|
10653
|
+
|
10654
|
+
:param str database_id: (required)
|
10655
|
+
The database `OCID`__.
|
10656
|
+
|
10657
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
10658
|
+
|
10659
|
+
:param oci.database.models.SetKeyVersionDetails set_key_version_details: (required)
|
10660
|
+
Requests Key Version Update.
|
10661
|
+
|
10662
|
+
:param list[str] wait_for_states:
|
10663
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.Database.lifecycle_state`
|
10664
|
+
|
10665
|
+
:param dict operation_kwargs:
|
10666
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.set_db_key_version`
|
10667
|
+
|
10668
|
+
:param dict waiter_kwargs:
|
10669
|
+
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``
|
10670
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
10671
|
+
"""
|
10672
|
+
operation_result = self.client.set_db_key_version(database_id, set_key_version_details, **operation_kwargs)
|
10673
|
+
if not wait_for_states:
|
10674
|
+
return operation_result
|
10675
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
10676
|
+
database_id = operation_result.data.id
|
10677
|
+
|
10678
|
+
try:
|
10679
|
+
waiter_result = oci.wait_until(
|
10680
|
+
self.client,
|
10681
|
+
self.client.get_database(database_id), # noqa: F821
|
10682
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
10683
|
+
**waiter_kwargs
|
10684
|
+
)
|
10685
|
+
result_to_return = waiter_result
|
10686
|
+
|
10687
|
+
return result_to_return
|
10688
|
+
except (NameError, TypeError) as e:
|
10689
|
+
if not e.args:
|
10690
|
+
e.args = ('',)
|
10691
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
10692
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10693
|
+
except Exception as e:
|
10694
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10695
|
+
|
10696
|
+
def set_pdb_key_version_and_wait_for_work_request(self, pluggable_database_id, set_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
10697
|
+
"""
|
10698
|
+
Calls :py:func:`~oci.database.DatabaseClient.set_pdb_key_version` and waits for the oci.work_requests.models.WorkRequest
|
10699
|
+
to enter the given state(s).
|
10700
|
+
|
10701
|
+
:param str pluggable_database_id: (required)
|
10702
|
+
The database `OCID`__.
|
10703
|
+
|
10704
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
10705
|
+
|
10706
|
+
:param oci.database.models.SetKeyVersionDetails set_key_version_details: (required)
|
10707
|
+
Requests Key Version Update.
|
10708
|
+
|
10709
|
+
:param list[str] work_request_states: (optional)
|
10710
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
10711
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
10712
|
+
|
10713
|
+
:param dict operation_kwargs:
|
10714
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.set_pdb_key_version`
|
10715
|
+
|
10716
|
+
:param dict waiter_kwargs:
|
10717
|
+
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``
|
10718
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
10719
|
+
"""
|
10720
|
+
operation_result = self.client.set_pdb_key_version(pluggable_database_id, set_key_version_details, **operation_kwargs)
|
10721
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
10722
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
10723
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
10724
|
+
return operation_result
|
10725
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
10726
|
+
try:
|
10727
|
+
waiter_result = oci.wait_until(
|
10728
|
+
self._work_request_client,
|
10729
|
+
self._work_request_client.get_work_request(work_request_id),
|
10730
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
10731
|
+
**waiter_kwargs
|
10732
|
+
)
|
10733
|
+
return waiter_result
|
10734
|
+
except Exception as e:
|
10735
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10736
|
+
|
10737
|
+
def set_pdb_key_version_and_wait_for_state(self, pluggable_database_id, set_key_version_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
10738
|
+
"""
|
10739
|
+
Calls :py:func:`~oci.database.DatabaseClient.set_pdb_key_version` and waits for the :py:class:`~oci.database.models.PluggableDatabase` acted upon
|
10740
|
+
to enter the given state(s).
|
10741
|
+
|
10742
|
+
:param str pluggable_database_id: (required)
|
10743
|
+
The database `OCID`__.
|
10744
|
+
|
10745
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
10746
|
+
|
10747
|
+
:param oci.database.models.SetKeyVersionDetails set_key_version_details: (required)
|
10748
|
+
Requests Key Version Update.
|
10749
|
+
|
10750
|
+
:param list[str] wait_for_states:
|
10751
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.PluggableDatabase.lifecycle_state`
|
10752
|
+
|
10753
|
+
:param dict operation_kwargs:
|
10754
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.set_pdb_key_version`
|
10755
|
+
|
10756
|
+
:param dict waiter_kwargs:
|
10757
|
+
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``
|
10758
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
10759
|
+
"""
|
10760
|
+
operation_result = self.client.set_pdb_key_version(pluggable_database_id, set_key_version_details, **operation_kwargs)
|
10761
|
+
if not wait_for_states:
|
10762
|
+
return operation_result
|
10763
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
10764
|
+
pluggable_database_id = operation_result.data.id
|
10765
|
+
|
10766
|
+
try:
|
10767
|
+
waiter_result = oci.wait_until(
|
10768
|
+
self.client,
|
10769
|
+
self.client.get_pluggable_database(pluggable_database_id), # noqa: F821
|
10770
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
10771
|
+
**waiter_kwargs
|
10772
|
+
)
|
10773
|
+
result_to_return = waiter_result
|
10774
|
+
|
10775
|
+
return result_to_return
|
10776
|
+
except (NameError, TypeError) as e:
|
10777
|
+
if not e.args:
|
10778
|
+
e.args = ('',)
|
10779
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
10780
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10781
|
+
except Exception as e:
|
10782
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
10783
|
+
|
10608
10784
|
def shrink_autonomous_database_and_wait_for_work_request(self, autonomous_database_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
10609
10785
|
"""
|
10610
10786
|
Calls :py:func:`~oci.database.DatabaseClient.shrink_autonomous_database` and waits for the oci.work_requests.models.WorkRequest
|
oci/database/models/__init__.py
CHANGED
@@ -330,6 +330,7 @@ from .move_execution_action_member_details import MoveExecutionActionMemberDetai
|
|
330
330
|
from .network_bonding_mode_details import NetworkBondingModeDetails
|
331
331
|
from .node_details import NodeDetails
|
332
332
|
from .ocp_us import OCPUs
|
333
|
+
from .oci_provider_set_key_version_details import OciProviderSetKeyVersionDetails
|
333
334
|
from .oneoff_patch import OneoffPatch
|
334
335
|
from .oneoff_patch_summary import OneoffPatchSummary
|
335
336
|
from .operations_insights_config import OperationsInsightsConfig
|
@@ -385,11 +386,13 @@ from .scheduling_policy_summary import SchedulingPolicySummary
|
|
385
386
|
from .scheduling_window import SchedulingWindow
|
386
387
|
from .scheduling_window_summary import SchedulingWindowSummary
|
387
388
|
from .self_mount_details import SelfMountDetails
|
389
|
+
from .set_key_version_details import SetKeyVersionDetails
|
388
390
|
from .stack_monitoring_config import StackMonitoringConfig
|
389
391
|
from .storage_performance_details import StoragePerformanceDetails
|
390
392
|
from .switchover_data_guard_association_details import SwitchoverDataGuardAssociationDetails
|
391
393
|
from .system_version_collection import SystemVersionCollection
|
392
394
|
from .system_version_summary import SystemVersionSummary
|
395
|
+
from .undelete_autonomous_database_details import UndeleteAutonomousDatabaseDetails
|
393
396
|
from .update import Update
|
394
397
|
from .update_autonomous_container_database_data_guard_association_details import UpdateAutonomousContainerDatabaseDataGuardAssociationDetails
|
395
398
|
from .update_autonomous_container_database_details import UpdateAutonomousContainerDatabaseDetails
|
@@ -777,6 +780,7 @@ database_type_mapping = {
|
|
777
780
|
"NetworkBondingModeDetails": NetworkBondingModeDetails,
|
778
781
|
"NodeDetails": NodeDetails,
|
779
782
|
"OCPUs": OCPUs,
|
783
|
+
"OciProviderSetKeyVersionDetails": OciProviderSetKeyVersionDetails,
|
780
784
|
"OneoffPatch": OneoffPatch,
|
781
785
|
"OneoffPatchSummary": OneoffPatchSummary,
|
782
786
|
"OperationsInsightsConfig": OperationsInsightsConfig,
|
@@ -832,11 +836,13 @@ database_type_mapping = {
|
|
832
836
|
"SchedulingWindow": SchedulingWindow,
|
833
837
|
"SchedulingWindowSummary": SchedulingWindowSummary,
|
834
838
|
"SelfMountDetails": SelfMountDetails,
|
839
|
+
"SetKeyVersionDetails": SetKeyVersionDetails,
|
835
840
|
"StackMonitoringConfig": StackMonitoringConfig,
|
836
841
|
"StoragePerformanceDetails": StoragePerformanceDetails,
|
837
842
|
"SwitchoverDataGuardAssociationDetails": SwitchoverDataGuardAssociationDetails,
|
838
843
|
"SystemVersionCollection": SystemVersionCollection,
|
839
844
|
"SystemVersionSummary": SystemVersionSummary,
|
845
|
+
"UndeleteAutonomousDatabaseDetails": UndeleteAutonomousDatabaseDetails,
|
840
846
|
"Update": Update,
|
841
847
|
"UpdateAutonomousContainerDatabaseDataGuardAssociationDetails": UpdateAutonomousContainerDatabaseDataGuardAssociationDetails,
|
842
848
|
"UpdateAutonomousContainerDatabaseDetails": UpdateAutonomousContainerDatabaseDetails,
|
@@ -458,6 +458,10 @@ class AutonomousDatabase(object):
|
|
458
458
|
The value to assign to the autonomous_container_database_id property of this AutonomousDatabase.
|
459
459
|
:type autonomous_container_database_id: str
|
460
460
|
|
461
|
+
:param time_undeleted:
|
462
|
+
The value to assign to the time_undeleted property of this AutonomousDatabase.
|
463
|
+
:type time_undeleted: datetime
|
464
|
+
|
461
465
|
:param time_created:
|
462
466
|
The value to assign to the time_created property of this AutonomousDatabase.
|
463
467
|
:type time_created: datetime
|
@@ -855,6 +859,7 @@ class AutonomousDatabase(object):
|
|
855
859
|
'infrastructure_type': 'str',
|
856
860
|
'is_dedicated': 'bool',
|
857
861
|
'autonomous_container_database_id': 'str',
|
862
|
+
'time_undeleted': 'datetime',
|
858
863
|
'time_created': 'datetime',
|
859
864
|
'display_name': 'str',
|
860
865
|
'service_console_url': 'str',
|
@@ -977,6 +982,7 @@ class AutonomousDatabase(object):
|
|
977
982
|
'infrastructure_type': 'infrastructureType',
|
978
983
|
'is_dedicated': 'isDedicated',
|
979
984
|
'autonomous_container_database_id': 'autonomousContainerDatabaseId',
|
985
|
+
'time_undeleted': 'timeUndeleted',
|
980
986
|
'time_created': 'timeCreated',
|
981
987
|
'display_name': 'displayName',
|
982
988
|
'service_console_url': 'serviceConsoleUrl',
|
@@ -1098,6 +1104,7 @@ class AutonomousDatabase(object):
|
|
1098
1104
|
self._infrastructure_type = None
|
1099
1105
|
self._is_dedicated = None
|
1100
1106
|
self._autonomous_container_database_id = None
|
1107
|
+
self._time_undeleted = None
|
1101
1108
|
self._time_created = None
|
1102
1109
|
self._display_name = None
|
1103
1110
|
self._service_console_url = None
|
@@ -2165,6 +2172,30 @@ class AutonomousDatabase(object):
|
|
2165
2172
|
"""
|
2166
2173
|
self._autonomous_container_database_id = autonomous_container_database_id
|
2167
2174
|
|
2175
|
+
@property
|
2176
|
+
def time_undeleted(self):
|
2177
|
+
"""
|
2178
|
+
Gets the time_undeleted of this AutonomousDatabase.
|
2179
|
+
The date and time the Autonomous Database was most recently undeleted.
|
2180
|
+
|
2181
|
+
|
2182
|
+
:return: The time_undeleted of this AutonomousDatabase.
|
2183
|
+
:rtype: datetime
|
2184
|
+
"""
|
2185
|
+
return self._time_undeleted
|
2186
|
+
|
2187
|
+
@time_undeleted.setter
|
2188
|
+
def time_undeleted(self, time_undeleted):
|
2189
|
+
"""
|
2190
|
+
Sets the time_undeleted of this AutonomousDatabase.
|
2191
|
+
The date and time the Autonomous Database was most recently undeleted.
|
2192
|
+
|
2193
|
+
|
2194
|
+
:param time_undeleted: The time_undeleted of this AutonomousDatabase.
|
2195
|
+
:type: datetime
|
2196
|
+
"""
|
2197
|
+
self._time_undeleted = time_undeleted
|
2198
|
+
|
2168
2199
|
@property
|
2169
2200
|
def time_created(self):
|
2170
2201
|
"""
|
@@ -460,6 +460,10 @@ class AutonomousDatabaseSummary(object):
|
|
460
460
|
The value to assign to the autonomous_container_database_id property of this AutonomousDatabaseSummary.
|
461
461
|
:type autonomous_container_database_id: str
|
462
462
|
|
463
|
+
:param time_undeleted:
|
464
|
+
The value to assign to the time_undeleted property of this AutonomousDatabaseSummary.
|
465
|
+
:type time_undeleted: datetime
|
466
|
+
|
463
467
|
:param time_created:
|
464
468
|
The value to assign to the time_created property of this AutonomousDatabaseSummary.
|
465
469
|
:type time_created: datetime
|
@@ -857,6 +861,7 @@ class AutonomousDatabaseSummary(object):
|
|
857
861
|
'infrastructure_type': 'str',
|
858
862
|
'is_dedicated': 'bool',
|
859
863
|
'autonomous_container_database_id': 'str',
|
864
|
+
'time_undeleted': 'datetime',
|
860
865
|
'time_created': 'datetime',
|
861
866
|
'display_name': 'str',
|
862
867
|
'service_console_url': 'str',
|
@@ -979,6 +984,7 @@ class AutonomousDatabaseSummary(object):
|
|
979
984
|
'infrastructure_type': 'infrastructureType',
|
980
985
|
'is_dedicated': 'isDedicated',
|
981
986
|
'autonomous_container_database_id': 'autonomousContainerDatabaseId',
|
987
|
+
'time_undeleted': 'timeUndeleted',
|
982
988
|
'time_created': 'timeCreated',
|
983
989
|
'display_name': 'displayName',
|
984
990
|
'service_console_url': 'serviceConsoleUrl',
|
@@ -1100,6 +1106,7 @@ class AutonomousDatabaseSummary(object):
|
|
1100
1106
|
self._infrastructure_type = None
|
1101
1107
|
self._is_dedicated = None
|
1102
1108
|
self._autonomous_container_database_id = None
|
1109
|
+
self._time_undeleted = None
|
1103
1110
|
self._time_created = None
|
1104
1111
|
self._display_name = None
|
1105
1112
|
self._service_console_url = None
|
@@ -2167,6 +2174,30 @@ class AutonomousDatabaseSummary(object):
|
|
2167
2174
|
"""
|
2168
2175
|
self._autonomous_container_database_id = autonomous_container_database_id
|
2169
2176
|
|
2177
|
+
@property
|
2178
|
+
def time_undeleted(self):
|
2179
|
+
"""
|
2180
|
+
Gets the time_undeleted of this AutonomousDatabaseSummary.
|
2181
|
+
The date and time the Autonomous Database was most recently undeleted.
|
2182
|
+
|
2183
|
+
|
2184
|
+
:return: The time_undeleted of this AutonomousDatabaseSummary.
|
2185
|
+
:rtype: datetime
|
2186
|
+
"""
|
2187
|
+
return self._time_undeleted
|
2188
|
+
|
2189
|
+
@time_undeleted.setter
|
2190
|
+
def time_undeleted(self, time_undeleted):
|
2191
|
+
"""
|
2192
|
+
Sets the time_undeleted of this AutonomousDatabaseSummary.
|
2193
|
+
The date and time the Autonomous Database was most recently undeleted.
|
2194
|
+
|
2195
|
+
|
2196
|
+
:param time_undeleted: The time_undeleted of this AutonomousDatabaseSummary.
|
2197
|
+
:type: datetime
|
2198
|
+
"""
|
2199
|
+
self._time_undeleted = time_undeleted
|
2200
|
+
|
2170
2201
|
@property
|
2171
2202
|
def time_created(self):
|
2172
2203
|
"""
|
@@ -70,6 +70,10 @@ class CreateAutonomousDatabaseBase(object):
|
|
70
70
|
#: This constant has a value of "BACKUP_FROM_TIMESTAMP"
|
71
71
|
SOURCE_BACKUP_FROM_TIMESTAMP = "BACKUP_FROM_TIMESTAMP"
|
72
72
|
|
73
|
+
#: A constant which can be used with the source property of a CreateAutonomousDatabaseBase.
|
74
|
+
#: This constant has a value of "UNDELETE_ADB"
|
75
|
+
SOURCE_UNDELETE_ADB = "UNDELETE_ADB"
|
76
|
+
|
73
77
|
#: A constant which can be used with the source property of a CreateAutonomousDatabaseBase.
|
74
78
|
#: This constant has a value of "CLONE_TO_REFRESHABLE"
|
75
79
|
SOURCE_CLONE_TO_REFRESHABLE = "CLONE_TO_REFRESHABLE"
|
@@ -95,6 +99,7 @@ class CreateAutonomousDatabaseBase(object):
|
|
95
99
|
Initializes a new CreateAutonomousDatabaseBase object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
96
100
|
to a service operations then you should favor using a subclass over the base class:
|
97
101
|
|
102
|
+
* :class:`~oci.database.models.UndeleteAutonomousDatabaseDetails`
|
98
103
|
* :class:`~oci.database.models.CreateAutonomousDatabaseCloneDetails`
|
99
104
|
* :class:`~oci.database.models.CreateRefreshableAutonomousDatabaseCloneDetails`
|
100
105
|
* :class:`~oci.database.models.CreateAutonomousDatabaseFromBackupDetails`
|
@@ -267,7 +272,7 @@ class CreateAutonomousDatabaseBase(object):
|
|
267
272
|
|
268
273
|
:param source:
|
269
274
|
The value to assign to the source property of this CreateAutonomousDatabaseBase.
|
270
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
275
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
271
276
|
:type source: str
|
272
277
|
|
273
278
|
:param customer_contacts:
|
@@ -484,6 +489,9 @@ class CreateAutonomousDatabaseBase(object):
|
|
484
489
|
"""
|
485
490
|
type = object_dictionary['source']
|
486
491
|
|
492
|
+
if type == 'UNDELETE_ADB':
|
493
|
+
return 'UndeleteAutonomousDatabaseDetails'
|
494
|
+
|
487
495
|
if type == 'DATABASE':
|
488
496
|
return 'CreateAutonomousDatabaseCloneDetails'
|
489
497
|
|
@@ -1742,7 +1750,7 @@ class CreateAutonomousDatabaseBase(object):
|
|
1742
1750
|
__ https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/
|
1743
1751
|
__ https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/clone-autonomous-database.html#GUID-D771796F-5081-4CFB-A7FF-0F893EABD7BC
|
1744
1752
|
|
1745
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
1753
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
1746
1754
|
|
1747
1755
|
|
1748
1756
|
:return: The source of this CreateAutonomousDatabaseBase.
|
@@ -1765,7 +1773,7 @@ class CreateAutonomousDatabaseBase(object):
|
|
1765
1773
|
:param source: The source of this CreateAutonomousDatabaseBase.
|
1766
1774
|
:type: str
|
1767
1775
|
"""
|
1768
|
-
allowed_values = ["NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"]
|
1776
|
+
allowed_values = ["NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"]
|
1769
1777
|
if not value_allowed_none_or_none_sentinel(source, allowed_values):
|
1770
1778
|
raise ValueError(
|
1771
1779
|
f"Invalid value for `source`, must be None or one of {allowed_values}"
|
@@ -190,7 +190,7 @@ class CreateAutonomousDatabaseCloneDetails(CreateAutonomousDatabaseBase):
|
|
190
190
|
|
191
191
|
:param source:
|
192
192
|
The value to assign to the source property of this CreateAutonomousDatabaseCloneDetails.
|
193
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
193
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
194
194
|
:type source: str
|
195
195
|
|
196
196
|
:param customer_contacts:
|
@@ -182,7 +182,7 @@ class CreateAutonomousDatabaseDetails(CreateAutonomousDatabaseBase):
|
|
182
182
|
|
183
183
|
:param source:
|
184
184
|
The value to assign to the source property of this CreateAutonomousDatabaseDetails.
|
185
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
185
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
186
186
|
:type source: str
|
187
187
|
|
188
188
|
:param customer_contacts:
|
@@ -190,7 +190,7 @@ class CreateAutonomousDatabaseFromBackupDetails(CreateAutonomousDatabaseBase):
|
|
190
190
|
|
191
191
|
:param source:
|
192
192
|
The value to assign to the source property of this CreateAutonomousDatabaseFromBackupDetails.
|
193
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
193
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
194
194
|
:type source: str
|
195
195
|
|
196
196
|
:param customer_contacts:
|
@@ -190,7 +190,7 @@ class CreateAutonomousDatabaseFromBackupTimestampDetails(CreateAutonomousDatabas
|
|
190
190
|
|
191
191
|
:param source:
|
192
192
|
The value to assign to the source property of this CreateAutonomousDatabaseFromBackupTimestampDetails.
|
193
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
193
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
194
194
|
:type source: str
|
195
195
|
|
196
196
|
:param customer_contacts:
|
@@ -202,7 +202,7 @@ class CreateCrossRegionAutonomousDatabaseDataGuardDetails(CreateAutonomousDataba
|
|
202
202
|
|
203
203
|
:param source:
|
204
204
|
The value to assign to the source property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails.
|
205
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
205
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
206
206
|
:type source: str
|
207
207
|
|
208
208
|
:param customer_contacts:
|
@@ -201,7 +201,7 @@ class CreateCrossRegionDisasterRecoveryDetails(CreateAutonomousDatabaseBase):
|
|
201
201
|
|
202
202
|
:param source:
|
203
203
|
The value to assign to the source property of this CreateCrossRegionDisasterRecoveryDetails.
|
204
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
204
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
205
205
|
:type source: str
|
206
206
|
|
207
207
|
:param customer_contacts:
|
@@ -202,7 +202,7 @@ class CreateCrossTenancyDisasterRecoveryDetails(CreateAutonomousDatabaseBase):
|
|
202
202
|
|
203
203
|
:param source:
|
204
204
|
The value to assign to the source property of this CreateCrossTenancyDisasterRecoveryDetails.
|
205
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
205
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
206
206
|
:type source: str
|
207
207
|
|
208
208
|
:param customer_contacts:
|
@@ -198,7 +198,7 @@ class CreateRefreshableAutonomousDatabaseCloneDetails(CreateAutonomousDatabaseBa
|
|
198
198
|
|
199
199
|
:param source:
|
200
200
|
The value to assign to the source property of this CreateRefreshableAutonomousDatabaseCloneDetails.
|
201
|
-
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
201
|
+
Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "UNDELETE_ADB", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD", "CROSS_REGION_DISASTER_RECOVERY"
|
202
202
|
:type source: str
|
203
203
|
|
204
204
|
:param customer_contacts:
|
@@ -98,7 +98,8 @@ class ExternalDatabaseBase(object):
|
|
98
98
|
|
99
99
|
:param lifecycle_state:
|
100
100
|
The value to assign to the lifecycle_state property of this ExternalDatabaseBase.
|
101
|
-
Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"
|
101
|
+
Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
102
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
102
103
|
:type lifecycle_state: str
|
103
104
|
|
104
105
|
:param time_created:
|
@@ -119,7 +120,8 @@ class ExternalDatabaseBase(object):
|
|
119
120
|
|
120
121
|
:param database_edition:
|
121
122
|
The value to assign to the database_edition property of this ExternalDatabaseBase.
|
122
|
-
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
|
123
|
+
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
|
124
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
123
125
|
:type database_edition: str
|
124
126
|
|
125
127
|
:param time_zone:
|
@@ -140,7 +142,8 @@ class ExternalDatabaseBase(object):
|
|
140
142
|
|
141
143
|
:param database_configuration:
|
142
144
|
The value to assign to the database_configuration property of this ExternalDatabaseBase.
|
143
|
-
Allowed values for this property are: "RAC", "SINGLE_INSTANCE"
|
145
|
+
Allowed values for this property are: "RAC", "SINGLE_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
|
146
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
144
147
|
:type database_configuration: str
|
145
148
|
|
146
149
|
:param database_management_config:
|
@@ -390,7 +393,8 @@ class ExternalDatabaseBase(object):
|
|
390
393
|
**[Required]** Gets the lifecycle_state of this ExternalDatabaseBase.
|
391
394
|
The current state of the Oracle Cloud Infrastructure external database resource.
|
392
395
|
|
393
|
-
Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"
|
396
|
+
Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
397
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
394
398
|
|
395
399
|
|
396
400
|
:return: The lifecycle_state of this ExternalDatabaseBase.
|
@@ -410,9 +414,7 @@ class ExternalDatabaseBase(object):
|
|
410
414
|
"""
|
411
415
|
allowed_values = ["PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"]
|
412
416
|
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
413
|
-
|
414
|
-
f"Invalid value for `lifecycle_state`, must be None or one of {allowed_values}"
|
415
|
-
)
|
417
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
416
418
|
self._lifecycle_state = lifecycle_state
|
417
419
|
|
418
420
|
@property
|
@@ -517,7 +519,8 @@ class ExternalDatabaseBase(object):
|
|
517
519
|
Gets the database_edition of this ExternalDatabaseBase.
|
518
520
|
The Oracle Database edition.
|
519
521
|
|
520
|
-
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
|
522
|
+
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
|
523
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
521
524
|
|
522
525
|
|
523
526
|
:return: The database_edition of this ExternalDatabaseBase.
|
@@ -537,9 +540,7 @@ class ExternalDatabaseBase(object):
|
|
537
540
|
"""
|
538
541
|
allowed_values = ["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"]
|
539
542
|
if not value_allowed_none_or_none_sentinel(database_edition, allowed_values):
|
540
|
-
|
541
|
-
f"Invalid value for `database_edition`, must be None or one of {allowed_values}"
|
542
|
-
)
|
543
|
+
database_edition = 'UNKNOWN_ENUM_VALUE'
|
543
544
|
self._database_edition = database_edition
|
544
545
|
|
545
546
|
@property
|
@@ -648,7 +649,8 @@ class ExternalDatabaseBase(object):
|
|
648
649
|
Gets the database_configuration of this ExternalDatabaseBase.
|
649
650
|
The Oracle Database configuration
|
650
651
|
|
651
|
-
Allowed values for this property are: "RAC", "SINGLE_INSTANCE"
|
652
|
+
Allowed values for this property are: "RAC", "SINGLE_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
|
653
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
652
654
|
|
653
655
|
|
654
656
|
:return: The database_configuration of this ExternalDatabaseBase.
|
@@ -668,9 +670,7 @@ class ExternalDatabaseBase(object):
|
|
668
670
|
"""
|
669
671
|
allowed_values = ["RAC", "SINGLE_INSTANCE"]
|
670
672
|
if not value_allowed_none_or_none_sentinel(database_configuration, allowed_values):
|
671
|
-
|
672
|
-
f"Invalid value for `database_configuration`, must be None or one of {allowed_values}"
|
673
|
-
)
|
673
|
+
database_configuration = 'UNKNOWN_ENUM_VALUE'
|
674
674
|
self._database_configuration = database_configuration
|
675
675
|
|
676
676
|
@property
|
@@ -48,7 +48,8 @@ class InfrastructureTargetVersionSummary(object):
|
|
48
48
|
|
49
49
|
:param target_resource_type:
|
50
50
|
The value to assign to the target_resource_type property of this InfrastructureTargetVersionSummary.
|
51
|
-
Allowed values for this property are: "EXADATA_DB_SYSTEM", "CLOUD_EXADATA_INFRASTRUCTURE", "EXACC_INFRASTRUCTURE"
|
51
|
+
Allowed values for this property are: "EXADATA_DB_SYSTEM", "CLOUD_EXADATA_INFRASTRUCTURE", "EXACC_INFRASTRUCTURE", 'UNKNOWN_ENUM_VALUE'.
|
52
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
52
53
|
:type target_resource_type: str
|
53
54
|
|
54
55
|
:param target_resource_id:
|
@@ -129,7 +130,8 @@ class InfrastructureTargetVersionSummary(object):
|
|
129
130
|
Gets the target_resource_type of this InfrastructureTargetVersionSummary.
|
130
131
|
The resource type of the target Exadata infrastructure resource that will receive the system software update.
|
131
132
|
|
132
|
-
Allowed values for this property are: "EXADATA_DB_SYSTEM", "CLOUD_EXADATA_INFRASTRUCTURE", "EXACC_INFRASTRUCTURE"
|
133
|
+
Allowed values for this property are: "EXADATA_DB_SYSTEM", "CLOUD_EXADATA_INFRASTRUCTURE", "EXACC_INFRASTRUCTURE", 'UNKNOWN_ENUM_VALUE'.
|
134
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
133
135
|
|
134
136
|
|
135
137
|
:return: The target_resource_type of this InfrastructureTargetVersionSummary.
|
@@ -149,9 +151,7 @@ class InfrastructureTargetVersionSummary(object):
|
|
149
151
|
"""
|
150
152
|
allowed_values = ["EXADATA_DB_SYSTEM", "CLOUD_EXADATA_INFRASTRUCTURE", "EXACC_INFRASTRUCTURE"]
|
151
153
|
if not value_allowed_none_or_none_sentinel(target_resource_type, allowed_values):
|
152
|
-
|
153
|
-
f"Invalid value for `target_resource_type`, must be None or one of {allowed_values}"
|
154
|
-
)
|
154
|
+
target_resource_type = 'UNKNOWN_ENUM_VALUE'
|
155
155
|
self._target_resource_type = target_resource_type
|
156
156
|
|
157
157
|
@property
|