oci 2.126.0__py3-none-any.whl → 2.126.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- 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 +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +272 -150
- oci/data_catalog/models/__init__.py +4 -0
- oci/data_catalog/models/import_lineage_details.py +72 -0
- oci/data_catalog/models/import_lineage_job_result.py +232 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/create_workspace_details.py +33 -2
- oci/data_integration/models/update_workspace_details.py +33 -2
- oci/data_integration/models/workspace.py +33 -2
- oci/data_integration/models/workspace_summary.py +33 -2
- 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 +1181 -397
- oci/data_safe/data_safe_client_composite_operations.py +89 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/change_masking_policy_health_report_compartment_details.py +72 -0
- oci/data_safe/models/generate_health_report_details.py +261 -0
- oci/data_safe/models/masking_policy_health_report.py +434 -0
- oci/data_safe/models/masking_policy_health_report_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_summary.py +220 -0
- oci/data_safe/models/masking_policy_health_report_summary.py +371 -0
- oci/data_safe/models/work_request.py +7 -3
- oci/data_safe/models/work_request_summary.py +7 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +343 -337
- oci/database/models/autonomous_container_database.py +6 -6
- oci/database/models/autonomous_container_database_summary.py +6 -6
- oci/database/models/autonomous_database.py +10 -6
- oci/database/models/autonomous_database_summary.py +10 -6
- oci/database/models/cloud_vm_cluster.py +37 -2
- oci/database/models/cloud_vm_cluster_summary.py +37 -2
- oci/database/models/create_autonomous_container_database_details.py +6 -6
- oci/database/models/create_autonomous_database_base.py +8 -4
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +2 -26
- oci/database/models/create_cross_region_disaster_recovery_details.py +2 -23
- oci/database/models/create_db_home_base.py +33 -2
- oci/database/models/create_db_home_with_db_system_id_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_backup_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_database_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py +7 -0
- oci/database/models/db_home.py +33 -2
- oci/database/models/db_home_from_agent_resource_id.py +33 -2
- oci/database/models/db_home_summary.py +33 -2
- oci/database/models/db_system.py +35 -0
- oci/database/models/db_system_summary.py +35 -0
- oci/database/models/update_autonomous_database_details.py +8 -4
- oci/database/models/update_details.py +37 -2
- oci/database/models/vm_cluster.py +37 -2
- oci/database/models/vm_cluster_summary.py +37 -2
- oci/database/models/vm_cluster_update_details.py +37 -2
- oci/database_management/db_management_client.py +1965 -494
- oci/database_management/db_management_client_composite_operations.py +528 -0
- oci/database_management/diagnosability_client.py +7 -7
- oci/database_management/managed_my_sql_databases_client.py +10 -10
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/basic_database_connection_string_details.py +160 -0
- oci/database_management/models/child_database.py +45 -2
- oci/database_management/models/connector_details.py +123 -0
- oci/database_management/models/database_connection_details.py +95 -0
- oci/database_management/models/database_connection_string_details.py +103 -0
- oci/database_management/models/database_diagnostics_and_management_feature_configuration.py +120 -0
- oci/database_management/models/database_diagnostics_and_management_feature_details.py +143 -0
- oci/database_management/models/database_feature_configuration.py +234 -0
- oci/database_management/models/database_feature_details.py +155 -0
- oci/database_management/models/db_management_private_endpoint.py +45 -2
- oci/database_management/models/db_management_private_endpoint_summary.py +45 -2
- oci/database_management/models/disable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_non_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/enable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_non_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/external_asm.py +45 -2
- oci/database_management/models/external_asm_instance.py +45 -2
- oci/database_management/models/external_asm_instance_summary.py +45 -2
- oci/database_management/models/external_asm_summary.py +45 -2
- oci/database_management/models/external_cluster.py +45 -2
- oci/database_management/models/external_cluster_instance.py +45 -2
- oci/database_management/models/external_cluster_instance_summary.py +45 -2
- oci/database_management/models/external_cluster_summary.py +45 -2
- oci/database_management/models/external_connector_details.py +86 -0
- oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +105 -0
- oci/database_management/models/external_database_feature_details.py +128 -0
- oci/database_management/models/external_database_summary.py +45 -2
- oci/database_management/models/external_db_home.py +45 -2
- oci/database_management/models/external_db_home_summary.py +45 -2
- oci/database_management/models/external_db_node.py +45 -2
- oci/database_management/models/external_db_node_summary.py +45 -2
- oci/database_management/models/external_db_system.py +45 -2
- oci/database_management/models/external_db_system_connector_summary.py +45 -2
- oci/database_management/models/external_db_system_discovery.py +45 -2
- oci/database_management/models/external_db_system_discovery_summary.py +45 -2
- oci/database_management/models/external_db_system_macs_connector.py +45 -2
- oci/database_management/models/external_db_system_summary.py +45 -2
- oci/database_management/models/external_exadata_infrastructure.py +45 -2
- oci/database_management/models/external_exadata_infrastructure_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_connector.py +45 -2
- oci/database_management/models/external_exadata_storage_connector_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_grid.py +45 -2
- oci/database_management/models/external_exadata_storage_server.py +45 -2
- oci/database_management/models/external_exadata_storage_server_summary.py +45 -2
- oci/database_management/models/external_listener.py +45 -2
- oci/database_management/models/external_listener_summary.py +45 -2
- oci/database_management/models/external_pluggable_database_diagnostics_and_management_feature_details.py +58 -0
- oci/database_management/models/external_pluggable_database_feature_details.py +128 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +12 -12
- oci/database_management/models/heat_wave_fleet_metrics.py +2 -2
- oci/database_management/models/heat_wave_fleet_summary.py +5 -5
- oci/database_management/models/heat_wave_node.py +2 -2
- oci/database_management/models/job_summary.py +45 -2
- oci/database_management/models/load_sql_tuning_set_details.py +7 -3
- oci/database_management/models/macs_connector_details.py +86 -0
- oci/database_management/models/managed_database.py +45 -2
- oci/database_management/models/managed_database_group.py +45 -2
- oci/database_management/models/managed_database_group_summary.py +45 -2
- oci/database_management/models/managed_database_summary.py +45 -2
- oci/database_management/models/managed_my_sql_database.py +10 -10
- oci/database_management/models/modify_database_management_feature_details.py +68 -0
- oci/database_management/models/modify_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/my_sql_database_usage_metrics.py +2 -2
- oci/database_management/models/my_sql_fleet_metric_definition.py +31 -0
- oci/database_management/models/named_credential.py +45 -2
- oci/database_management/models/named_credential_summary.py +45 -2
- oci/database_management/models/private_end_point_connector_details.py +86 -0
- oci/database_management/models/save_sql_tuning_set_as_details.py +7 -3
- oci/database_management/models/sql_job.py +45 -2
- oci/database_management/models/sql_plan_baseline.py +96 -0
- oci/database_management/models/sql_plan_baseline_summary.py +96 -0
- oci/database_management/models/sql_tuning_set.py +16 -0
- oci/database_management/models/work_request.py +39 -3
- oci/database_management/models/work_request_summary.py +39 -3
- oci/database_management/perfhub_client.py +4 -4
- oci/database_management/sql_tuning_client.py +20 -20
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- 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_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 +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/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_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +298 -40
- oci/recovery/database_recovery_client_composite_operations.py +39 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/create_protection_policy_details.py +45 -0
- oci/recovery/models/create_recovery_service_subnet_details.py +72 -4
- oci/recovery/models/fetch_protected_database_configuration_details.py +7 -3
- oci/recovery/models/metrics.py +33 -2
- oci/recovery/models/metrics_summary.py +33 -2
- oci/recovery/models/protected_database.py +48 -13
- oci/recovery/models/protected_database_summary.py +44 -3
- oci/recovery/models/protection_policy.py +41 -18
- oci/recovery/models/protection_policy_summary.py +38 -3
- oci/recovery/models/recovery_service_subnet.py +78 -20
- oci/recovery/models/recovery_service_subnet_details.py +7 -3
- oci/recovery/models/recovery_service_subnet_summary.py +78 -20
- oci/recovery/models/schedule_protected_database_deletion_details.py +92 -0
- oci/recovery/models/update_protection_policy_details.py +45 -0
- oci/recovery/models/update_recovery_service_subnet_details.py +68 -0
- oci/recovery/models/work_request.py +7 -3
- oci/recovery/models/work_request_summary.py +7 -3
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/METADATA +1 -1
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/RECORD +393 -356
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/WHEEL +0 -0
- {oci-2.126.0.dist-info → oci-2.126.1.dist-info}/top_level.txt +0 -0
@@ -1039,6 +1039,94 @@ class DbManagementClientCompositeOperations(object):
|
|
1039
1039
|
except Exception as e:
|
1040
1040
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1041
1041
|
|
1042
|
+
def disable_database_management_feature_and_wait_for_state(self, database_id, disable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1043
|
+
"""
|
1044
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1045
|
+
to enter the given state(s).
|
1046
|
+
|
1047
|
+
:param str database_id: (required)
|
1048
|
+
The `OCID`__ of the Database.
|
1049
|
+
|
1050
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1051
|
+
|
1052
|
+
:param oci.database_management.models.DisableDatabaseManagementFeatureDetails disable_database_management_feature_details: (required)
|
1053
|
+
The details required to disable a Database Management feature for an Oracle cloud database.
|
1054
|
+
|
1055
|
+
:param list[str] wait_for_states:
|
1056
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1057
|
+
|
1058
|
+
:param dict operation_kwargs:
|
1059
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_database_management_feature`
|
1060
|
+
|
1061
|
+
:param dict waiter_kwargs:
|
1062
|
+
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``
|
1063
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1064
|
+
"""
|
1065
|
+
operation_result = self.client.disable_database_management_feature(database_id, disable_database_management_feature_details, **operation_kwargs)
|
1066
|
+
if not wait_for_states:
|
1067
|
+
return operation_result
|
1068
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1069
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1070
|
+
return operation_result
|
1071
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1072
|
+
|
1073
|
+
try:
|
1074
|
+
waiter_result = oci.wait_until(
|
1075
|
+
self.client,
|
1076
|
+
self.client.get_work_request(wait_for_resource_id),
|
1077
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1078
|
+
**waiter_kwargs
|
1079
|
+
)
|
1080
|
+
result_to_return = waiter_result
|
1081
|
+
|
1082
|
+
return result_to_return
|
1083
|
+
except Exception as e:
|
1084
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1085
|
+
|
1086
|
+
def disable_external_container_database_management_feature_and_wait_for_state(self, external_container_database_id, disable_external_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1087
|
+
"""
|
1088
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1089
|
+
to enter the given state(s).
|
1090
|
+
|
1091
|
+
:param str external_container_database_id: (required)
|
1092
|
+
The `OCID`__ of the external container database.
|
1093
|
+
|
1094
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1095
|
+
|
1096
|
+
:param oci.database_management.models.DisableExternalContainerDatabaseManagementFeatureDetails disable_external_container_database_management_feature_details: (required)
|
1097
|
+
The details required to disable a Database Management feature for an external container database.
|
1098
|
+
|
1099
|
+
:param list[str] wait_for_states:
|
1100
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1101
|
+
|
1102
|
+
:param dict operation_kwargs:
|
1103
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_external_container_database_management_feature`
|
1104
|
+
|
1105
|
+
:param dict waiter_kwargs:
|
1106
|
+
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``
|
1107
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1108
|
+
"""
|
1109
|
+
operation_result = self.client.disable_external_container_database_management_feature(external_container_database_id, disable_external_container_database_management_feature_details, **operation_kwargs)
|
1110
|
+
if not wait_for_states:
|
1111
|
+
return operation_result
|
1112
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1113
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1114
|
+
return operation_result
|
1115
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1116
|
+
|
1117
|
+
try:
|
1118
|
+
waiter_result = oci.wait_until(
|
1119
|
+
self.client,
|
1120
|
+
self.client.get_work_request(wait_for_resource_id),
|
1121
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1122
|
+
**waiter_kwargs
|
1123
|
+
)
|
1124
|
+
result_to_return = waiter_result
|
1125
|
+
|
1126
|
+
return result_to_return
|
1127
|
+
except Exception as e:
|
1128
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1129
|
+
|
1042
1130
|
def disable_external_db_system_database_management_and_wait_for_state(self, external_db_system_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1043
1131
|
"""
|
1044
1132
|
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_db_system_database_management` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
@@ -1162,6 +1250,226 @@ class DbManagementClientCompositeOperations(object):
|
|
1162
1250
|
except Exception as e:
|
1163
1251
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1164
1252
|
|
1253
|
+
def disable_external_non_container_database_management_feature_and_wait_for_state(self, external_non_container_database_id, disable_external_non_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1254
|
+
"""
|
1255
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_non_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1256
|
+
to enter the given state(s).
|
1257
|
+
|
1258
|
+
:param str external_non_container_database_id: (required)
|
1259
|
+
The `OCID`__ of the external non-container database.
|
1260
|
+
|
1261
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1262
|
+
|
1263
|
+
:param oci.database_management.models.DisableExternalNonContainerDatabaseManagementFeatureDetails disable_external_non_container_database_management_feature_details: (required)
|
1264
|
+
The details required to disable a Database Management feature for an external non-container database.
|
1265
|
+
|
1266
|
+
:param list[str] wait_for_states:
|
1267
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1268
|
+
|
1269
|
+
:param dict operation_kwargs:
|
1270
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_external_non_container_database_management_feature`
|
1271
|
+
|
1272
|
+
:param dict waiter_kwargs:
|
1273
|
+
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``
|
1274
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1275
|
+
"""
|
1276
|
+
operation_result = self.client.disable_external_non_container_database_management_feature(external_non_container_database_id, disable_external_non_container_database_management_feature_details, **operation_kwargs)
|
1277
|
+
if not wait_for_states:
|
1278
|
+
return operation_result
|
1279
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1280
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1281
|
+
return operation_result
|
1282
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1283
|
+
|
1284
|
+
try:
|
1285
|
+
waiter_result = oci.wait_until(
|
1286
|
+
self.client,
|
1287
|
+
self.client.get_work_request(wait_for_resource_id),
|
1288
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1289
|
+
**waiter_kwargs
|
1290
|
+
)
|
1291
|
+
result_to_return = waiter_result
|
1292
|
+
|
1293
|
+
return result_to_return
|
1294
|
+
except Exception as e:
|
1295
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1296
|
+
|
1297
|
+
def disable_external_pluggable_database_management_feature_and_wait_for_state(self, external_pluggable_database_id, disable_external_pluggable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1298
|
+
"""
|
1299
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_pluggable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1300
|
+
to enter the given state(s).
|
1301
|
+
|
1302
|
+
:param str external_pluggable_database_id: (required)
|
1303
|
+
The `OCID`__ of the external pluggable database.
|
1304
|
+
|
1305
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1306
|
+
|
1307
|
+
:param oci.database_management.models.DisableExternalPluggableDatabaseManagementFeatureDetails disable_external_pluggable_database_management_feature_details: (required)
|
1308
|
+
The details required to disable a Database Management feature for an external pluggable database.
|
1309
|
+
|
1310
|
+
:param list[str] wait_for_states:
|
1311
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1312
|
+
|
1313
|
+
:param dict operation_kwargs:
|
1314
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_external_pluggable_database_management_feature`
|
1315
|
+
|
1316
|
+
:param dict waiter_kwargs:
|
1317
|
+
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``
|
1318
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1319
|
+
"""
|
1320
|
+
operation_result = self.client.disable_external_pluggable_database_management_feature(external_pluggable_database_id, disable_external_pluggable_database_management_feature_details, **operation_kwargs)
|
1321
|
+
if not wait_for_states:
|
1322
|
+
return operation_result
|
1323
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1324
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1325
|
+
return operation_result
|
1326
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1327
|
+
|
1328
|
+
try:
|
1329
|
+
waiter_result = oci.wait_until(
|
1330
|
+
self.client,
|
1331
|
+
self.client.get_work_request(wait_for_resource_id),
|
1332
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1333
|
+
**waiter_kwargs
|
1334
|
+
)
|
1335
|
+
result_to_return = waiter_result
|
1336
|
+
|
1337
|
+
return result_to_return
|
1338
|
+
except Exception as e:
|
1339
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1340
|
+
|
1341
|
+
def disable_pluggable_database_management_feature_and_wait_for_state(self, pluggable_database_id, disable_pluggable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1342
|
+
"""
|
1343
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_pluggable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1344
|
+
to enter the given state(s).
|
1345
|
+
|
1346
|
+
:param str pluggable_database_id: (required)
|
1347
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
1348
|
+
|
1349
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1350
|
+
|
1351
|
+
:param oci.database_management.models.DisablePluggableDatabaseManagementFeatureDetails disable_pluggable_database_management_feature_details: (required)
|
1352
|
+
The details required to disable a Database Management feature for an Oracle cloud pluggable database.
|
1353
|
+
|
1354
|
+
:param list[str] wait_for_states:
|
1355
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1356
|
+
|
1357
|
+
:param dict operation_kwargs:
|
1358
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_pluggable_database_management_feature`
|
1359
|
+
|
1360
|
+
:param dict waiter_kwargs:
|
1361
|
+
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``
|
1362
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1363
|
+
"""
|
1364
|
+
operation_result = self.client.disable_pluggable_database_management_feature(pluggable_database_id, disable_pluggable_database_management_feature_details, **operation_kwargs)
|
1365
|
+
if not wait_for_states:
|
1366
|
+
return operation_result
|
1367
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1368
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1369
|
+
return operation_result
|
1370
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1371
|
+
|
1372
|
+
try:
|
1373
|
+
waiter_result = oci.wait_until(
|
1374
|
+
self.client,
|
1375
|
+
self.client.get_work_request(wait_for_resource_id),
|
1376
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1377
|
+
**waiter_kwargs
|
1378
|
+
)
|
1379
|
+
result_to_return = waiter_result
|
1380
|
+
|
1381
|
+
return result_to_return
|
1382
|
+
except Exception as e:
|
1383
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1384
|
+
|
1385
|
+
def enable_database_management_feature_and_wait_for_state(self, database_id, enable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1386
|
+
"""
|
1387
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1388
|
+
to enter the given state(s).
|
1389
|
+
|
1390
|
+
:param str database_id: (required)
|
1391
|
+
The `OCID`__ of the Database.
|
1392
|
+
|
1393
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1394
|
+
|
1395
|
+
:param oci.database_management.models.EnableDatabaseManagementFeatureDetails enable_database_management_feature_details: (required)
|
1396
|
+
The details required to enable a Database Management feature for an Oracle cloud database.
|
1397
|
+
|
1398
|
+
:param list[str] wait_for_states:
|
1399
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1400
|
+
|
1401
|
+
:param dict operation_kwargs:
|
1402
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_database_management_feature`
|
1403
|
+
|
1404
|
+
:param dict waiter_kwargs:
|
1405
|
+
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``
|
1406
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1407
|
+
"""
|
1408
|
+
operation_result = self.client.enable_database_management_feature(database_id, enable_database_management_feature_details, **operation_kwargs)
|
1409
|
+
if not wait_for_states:
|
1410
|
+
return operation_result
|
1411
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1412
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1413
|
+
return operation_result
|
1414
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1415
|
+
|
1416
|
+
try:
|
1417
|
+
waiter_result = oci.wait_until(
|
1418
|
+
self.client,
|
1419
|
+
self.client.get_work_request(wait_for_resource_id),
|
1420
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1421
|
+
**waiter_kwargs
|
1422
|
+
)
|
1423
|
+
result_to_return = waiter_result
|
1424
|
+
|
1425
|
+
return result_to_return
|
1426
|
+
except Exception as e:
|
1427
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1428
|
+
|
1429
|
+
def enable_external_container_database_management_feature_and_wait_for_state(self, external_container_database_id, enable_external_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1430
|
+
"""
|
1431
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1432
|
+
to enter the given state(s).
|
1433
|
+
|
1434
|
+
:param str external_container_database_id: (required)
|
1435
|
+
The `OCID`__ of the external container database.
|
1436
|
+
|
1437
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1438
|
+
|
1439
|
+
:param oci.database_management.models.EnableExternalContainerDatabaseManagementFeatureDetails enable_external_container_database_management_feature_details: (required)
|
1440
|
+
The details required to enable a Database Management feature for an external container database.
|
1441
|
+
|
1442
|
+
:param list[str] wait_for_states:
|
1443
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1444
|
+
|
1445
|
+
:param dict operation_kwargs:
|
1446
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_external_container_database_management_feature`
|
1447
|
+
|
1448
|
+
:param dict waiter_kwargs:
|
1449
|
+
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``
|
1450
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1451
|
+
"""
|
1452
|
+
operation_result = self.client.enable_external_container_database_management_feature(external_container_database_id, enable_external_container_database_management_feature_details, **operation_kwargs)
|
1453
|
+
if not wait_for_states:
|
1454
|
+
return operation_result
|
1455
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1456
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1457
|
+
return operation_result
|
1458
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1459
|
+
|
1460
|
+
try:
|
1461
|
+
waiter_result = oci.wait_until(
|
1462
|
+
self.client,
|
1463
|
+
self.client.get_work_request(wait_for_resource_id),
|
1464
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1465
|
+
**waiter_kwargs
|
1466
|
+
)
|
1467
|
+
result_to_return = waiter_result
|
1468
|
+
|
1469
|
+
return result_to_return
|
1470
|
+
except Exception as e:
|
1471
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1472
|
+
|
1165
1473
|
def enable_external_db_system_database_management_and_wait_for_state(self, external_db_system_id, enable_external_db_system_database_management_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1166
1474
|
"""
|
1167
1475
|
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_db_system_database_management` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
@@ -1294,6 +1602,226 @@ class DbManagementClientCompositeOperations(object):
|
|
1294
1602
|
except Exception as e:
|
1295
1603
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1296
1604
|
|
1605
|
+
def enable_external_non_container_database_management_feature_and_wait_for_state(self, external_non_container_database_id, enable_external_non_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1606
|
+
"""
|
1607
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_non_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1608
|
+
to enter the given state(s).
|
1609
|
+
|
1610
|
+
:param str external_non_container_database_id: (required)
|
1611
|
+
The `OCID`__ of the external non-container database.
|
1612
|
+
|
1613
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1614
|
+
|
1615
|
+
:param oci.database_management.models.EnableExternalNonContainerDatabaseManagementFeatureDetails enable_external_non_container_database_management_feature_details: (required)
|
1616
|
+
The details required to enable a Database Management feature for an external non-container database.
|
1617
|
+
|
1618
|
+
:param list[str] wait_for_states:
|
1619
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1620
|
+
|
1621
|
+
:param dict operation_kwargs:
|
1622
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_external_non_container_database_management_feature`
|
1623
|
+
|
1624
|
+
:param dict waiter_kwargs:
|
1625
|
+
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``
|
1626
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1627
|
+
"""
|
1628
|
+
operation_result = self.client.enable_external_non_container_database_management_feature(external_non_container_database_id, enable_external_non_container_database_management_feature_details, **operation_kwargs)
|
1629
|
+
if not wait_for_states:
|
1630
|
+
return operation_result
|
1631
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1632
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1633
|
+
return operation_result
|
1634
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1635
|
+
|
1636
|
+
try:
|
1637
|
+
waiter_result = oci.wait_until(
|
1638
|
+
self.client,
|
1639
|
+
self.client.get_work_request(wait_for_resource_id),
|
1640
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1641
|
+
**waiter_kwargs
|
1642
|
+
)
|
1643
|
+
result_to_return = waiter_result
|
1644
|
+
|
1645
|
+
return result_to_return
|
1646
|
+
except Exception as e:
|
1647
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1648
|
+
|
1649
|
+
def enable_external_pluggable_database_management_feature_and_wait_for_state(self, external_pluggable_database_id, enable_external_pluggable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1650
|
+
"""
|
1651
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_pluggable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1652
|
+
to enter the given state(s).
|
1653
|
+
|
1654
|
+
:param str external_pluggable_database_id: (required)
|
1655
|
+
The `OCID`__ of the external pluggable database.
|
1656
|
+
|
1657
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1658
|
+
|
1659
|
+
:param oci.database_management.models.EnableExternalPluggableDatabaseManagementFeatureDetails enable_external_pluggable_database_management_feature_details: (required)
|
1660
|
+
The details required to enable a Database Management feature for an external pluggable database.
|
1661
|
+
|
1662
|
+
:param list[str] wait_for_states:
|
1663
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1664
|
+
|
1665
|
+
:param dict operation_kwargs:
|
1666
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_external_pluggable_database_management_feature`
|
1667
|
+
|
1668
|
+
:param dict waiter_kwargs:
|
1669
|
+
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``
|
1670
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1671
|
+
"""
|
1672
|
+
operation_result = self.client.enable_external_pluggable_database_management_feature(external_pluggable_database_id, enable_external_pluggable_database_management_feature_details, **operation_kwargs)
|
1673
|
+
if not wait_for_states:
|
1674
|
+
return operation_result
|
1675
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1676
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1677
|
+
return operation_result
|
1678
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1679
|
+
|
1680
|
+
try:
|
1681
|
+
waiter_result = oci.wait_until(
|
1682
|
+
self.client,
|
1683
|
+
self.client.get_work_request(wait_for_resource_id),
|
1684
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1685
|
+
**waiter_kwargs
|
1686
|
+
)
|
1687
|
+
result_to_return = waiter_result
|
1688
|
+
|
1689
|
+
return result_to_return
|
1690
|
+
except Exception as e:
|
1691
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1692
|
+
|
1693
|
+
def enable_pluggable_database_management_feature_and_wait_for_state(self, pluggable_database_id, enable_pluggable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1694
|
+
"""
|
1695
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_pluggable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1696
|
+
to enter the given state(s).
|
1697
|
+
|
1698
|
+
:param str pluggable_database_id: (required)
|
1699
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
1700
|
+
|
1701
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1702
|
+
|
1703
|
+
:param oci.database_management.models.EnablePluggableDatabaseManagementFeatureDetails enable_pluggable_database_management_feature_details: (required)
|
1704
|
+
The details required to enable a Database Management feature for an Oracle cloud pluggable database.
|
1705
|
+
|
1706
|
+
:param list[str] wait_for_states:
|
1707
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1708
|
+
|
1709
|
+
:param dict operation_kwargs:
|
1710
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_pluggable_database_management_feature`
|
1711
|
+
|
1712
|
+
:param dict waiter_kwargs:
|
1713
|
+
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``
|
1714
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1715
|
+
"""
|
1716
|
+
operation_result = self.client.enable_pluggable_database_management_feature(pluggable_database_id, enable_pluggable_database_management_feature_details, **operation_kwargs)
|
1717
|
+
if not wait_for_states:
|
1718
|
+
return operation_result
|
1719
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1720
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1721
|
+
return operation_result
|
1722
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1723
|
+
|
1724
|
+
try:
|
1725
|
+
waiter_result = oci.wait_until(
|
1726
|
+
self.client,
|
1727
|
+
self.client.get_work_request(wait_for_resource_id),
|
1728
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1729
|
+
**waiter_kwargs
|
1730
|
+
)
|
1731
|
+
result_to_return = waiter_result
|
1732
|
+
|
1733
|
+
return result_to_return
|
1734
|
+
except Exception as e:
|
1735
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1736
|
+
|
1737
|
+
def modify_database_management_feature_and_wait_for_state(self, database_id, modify_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1738
|
+
"""
|
1739
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.modify_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1740
|
+
to enter the given state(s).
|
1741
|
+
|
1742
|
+
:param str database_id: (required)
|
1743
|
+
The `OCID`__ of the Database.
|
1744
|
+
|
1745
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1746
|
+
|
1747
|
+
:param oci.database_management.models.ModifyDatabaseManagementFeatureDetails modify_database_management_feature_details: (required)
|
1748
|
+
The details required to modify a Database Management feature for an Oracle cloud database.
|
1749
|
+
|
1750
|
+
:param list[str] wait_for_states:
|
1751
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1752
|
+
|
1753
|
+
:param dict operation_kwargs:
|
1754
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.modify_database_management_feature`
|
1755
|
+
|
1756
|
+
:param dict waiter_kwargs:
|
1757
|
+
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``
|
1758
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1759
|
+
"""
|
1760
|
+
operation_result = self.client.modify_database_management_feature(database_id, modify_database_management_feature_details, **operation_kwargs)
|
1761
|
+
if not wait_for_states:
|
1762
|
+
return operation_result
|
1763
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1764
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1765
|
+
return operation_result
|
1766
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1767
|
+
|
1768
|
+
try:
|
1769
|
+
waiter_result = oci.wait_until(
|
1770
|
+
self.client,
|
1771
|
+
self.client.get_work_request(wait_for_resource_id),
|
1772
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1773
|
+
**waiter_kwargs
|
1774
|
+
)
|
1775
|
+
result_to_return = waiter_result
|
1776
|
+
|
1777
|
+
return result_to_return
|
1778
|
+
except Exception as e:
|
1779
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1780
|
+
|
1781
|
+
def modify_pluggable_database_management_feature_and_wait_for_state(self, pluggable_database_id, modify_pluggable_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1782
|
+
"""
|
1783
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.modify_pluggable_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1784
|
+
to enter the given state(s).
|
1785
|
+
|
1786
|
+
:param str pluggable_database_id: (required)
|
1787
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
1788
|
+
|
1789
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1790
|
+
|
1791
|
+
:param oci.database_management.models.ModifyPluggableDatabaseManagementFeatureDetails modify_pluggable_database_management_feature_details: (required)
|
1792
|
+
The details required to modify a Database Management feature for an Oracle cloud pluggable database.
|
1793
|
+
|
1794
|
+
:param list[str] wait_for_states:
|
1795
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1796
|
+
|
1797
|
+
:param dict operation_kwargs:
|
1798
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.modify_pluggable_database_management_feature`
|
1799
|
+
|
1800
|
+
:param dict waiter_kwargs:
|
1801
|
+
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``
|
1802
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1803
|
+
"""
|
1804
|
+
operation_result = self.client.modify_pluggable_database_management_feature(pluggable_database_id, modify_pluggable_database_management_feature_details, **operation_kwargs)
|
1805
|
+
if not wait_for_states:
|
1806
|
+
return operation_result
|
1807
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1808
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1809
|
+
return operation_result
|
1810
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1811
|
+
|
1812
|
+
try:
|
1813
|
+
waiter_result = oci.wait_until(
|
1814
|
+
self.client,
|
1815
|
+
self.client.get_work_request(wait_for_resource_id),
|
1816
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1817
|
+
**waiter_kwargs
|
1818
|
+
)
|
1819
|
+
result_to_return = waiter_result
|
1820
|
+
|
1821
|
+
return result_to_return
|
1822
|
+
except Exception as e:
|
1823
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1824
|
+
|
1297
1825
|
def update_db_management_private_endpoint_and_wait_for_state(self, db_management_private_endpoint_id, update_db_management_private_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1298
1826
|
"""
|
1299
1827
|
Calls :py:func:`~oci.database_management.DbManagementClient.update_db_management_private_endpoint` and waits for the :py:class:`~oci.database_management.models.DbManagementPrivateEndpoint` acted upon
|
@@ -22,9 +22,9 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class DiagnosabilityClient(object):
|
24
24
|
"""
|
25
|
-
Use the Database Management API to
|
26
|
-
|
27
|
-
|
25
|
+
Use the Database Management API to monitor and manage resources such as
|
26
|
+
Oracle Databases, MySQL Databases, and External Database Systems.
|
27
|
+
For more information, see [Database Management](/iaas/database-management/home.htm).
|
28
28
|
"""
|
29
29
|
|
30
30
|
def __init__(self, config, **kwargs):
|
@@ -189,7 +189,7 @@ class DiagnosabilityClient(object):
|
|
189
189
|
:rtype: :class:`~oci.response.Response`
|
190
190
|
|
191
191
|
:example:
|
192
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
192
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_alert_logs.py.html>`__ to see an example of how to use list_alert_logs API.
|
193
193
|
"""
|
194
194
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
195
195
|
required_arguments = ['managedDatabaseId']
|
@@ -385,7 +385,7 @@ class DiagnosabilityClient(object):
|
|
385
385
|
:rtype: :class:`~oci.response.Response`
|
386
386
|
|
387
387
|
:example:
|
388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_attention_logs.py.html>`__ to see an example of how to use list_attention_logs API.
|
389
389
|
"""
|
390
390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
391
391
|
required_arguments = ['managedDatabaseId']
|
@@ -576,7 +576,7 @@ class DiagnosabilityClient(object):
|
|
576
576
|
:rtype: :class:`~oci.response.Response`
|
577
577
|
|
578
578
|
:example:
|
579
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
579
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_alert_log_counts.py.html>`__ to see an example of how to use summarize_alert_log_counts API.
|
580
580
|
"""
|
581
581
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
582
582
|
required_arguments = ['managedDatabaseId']
|
@@ -758,7 +758,7 @@ class DiagnosabilityClient(object):
|
|
758
758
|
:rtype: :class:`~oci.response.Response`
|
759
759
|
|
760
760
|
:example:
|
761
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
761
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_attention_log_counts.py.html>`__ to see an example of how to use summarize_attention_log_counts API.
|
762
762
|
"""
|
763
763
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
764
764
|
required_arguments = ['managedDatabaseId']
|