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
@@ -22,9 +22,9 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class DbManagementClient(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):
|
@@ -160,7 +160,7 @@ class DbManagementClient(object):
|
|
160
160
|
:rtype: :class:`~oci.response.Response`
|
161
161
|
|
162
162
|
:example:
|
163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/add_data_files.py.html>`__ to see an example of how to use add_data_files API.
|
164
164
|
"""
|
165
165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
166
166
|
required_arguments = ['managedDatabaseId', 'tablespaceName']
|
@@ -276,7 +276,7 @@ class DbManagementClient(object):
|
|
276
276
|
:rtype: :class:`~oci.response.Response`
|
277
277
|
|
278
278
|
:example:
|
279
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
279
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/add_managed_database_to_managed_database_group.py.html>`__ to see an example of how to use add_managed_database_to_managed_database_group API.
|
280
280
|
"""
|
281
281
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
282
282
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -404,7 +404,7 @@ class DbManagementClient(object):
|
|
404
404
|
:rtype: :class:`~oci.response.Response`
|
405
405
|
|
406
406
|
:example:
|
407
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
407
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/addm_tasks.py.html>`__ to see an example of how to use addm_tasks API.
|
408
408
|
"""
|
409
409
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
410
410
|
required_arguments = ['managedDatabaseId', 'timeStart', 'timeEnd']
|
@@ -556,7 +556,7 @@ class DbManagementClient(object):
|
|
556
556
|
:rtype: :class:`~oci.response.Response`
|
557
557
|
|
558
558
|
:example:
|
559
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
559
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_database_parameters.py.html>`__ to see an example of how to use change_database_parameters API.
|
560
560
|
"""
|
561
561
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
562
562
|
required_arguments = ['managedDatabaseId']
|
@@ -676,7 +676,7 @@ class DbManagementClient(object):
|
|
676
676
|
:rtype: :class:`~oci.response.Response`
|
677
677
|
|
678
678
|
:example:
|
679
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
679
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_db_management_private_endpoint_compartment.py.html>`__ to see an example of how to use change_db_management_private_endpoint_compartment API.
|
680
680
|
"""
|
681
681
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
682
682
|
required_arguments = ['dbManagementPrivateEndpointId']
|
@@ -798,7 +798,7 @@ class DbManagementClient(object):
|
|
798
798
|
:rtype: :class:`~oci.response.Response`
|
799
799
|
|
800
800
|
:example:
|
801
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
801
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_external_db_system_compartment.py.html>`__ to see an example of how to use change_external_db_system_compartment API.
|
802
802
|
"""
|
803
803
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
804
804
|
required_arguments = ['externalDbSystemId']
|
@@ -920,7 +920,7 @@ class DbManagementClient(object):
|
|
920
920
|
:rtype: :class:`~oci.response.Response`
|
921
921
|
|
922
922
|
:example:
|
923
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
923
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_external_exadata_infrastructure_compartment.py.html>`__ to see an example of how to use change_external_exadata_infrastructure_compartment API.
|
924
924
|
"""
|
925
925
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
926
926
|
required_arguments = ['externalExadataInfrastructureId']
|
@@ -1042,7 +1042,7 @@ class DbManagementClient(object):
|
|
1042
1042
|
:rtype: :class:`~oci.response.Response`
|
1043
1043
|
|
1044
1044
|
:example:
|
1045
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1045
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_job_compartment.py.html>`__ to see an example of how to use change_job_compartment API.
|
1046
1046
|
"""
|
1047
1047
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1048
1048
|
required_arguments = ['jobId']
|
@@ -1166,7 +1166,7 @@ class DbManagementClient(object):
|
|
1166
1166
|
:rtype: :class:`~oci.response.Response`
|
1167
1167
|
|
1168
1168
|
:example:
|
1169
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1169
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_managed_database_group_compartment.py.html>`__ to see an example of how to use change_managed_database_group_compartment API.
|
1170
1170
|
"""
|
1171
1171
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1172
1172
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -1290,7 +1290,7 @@ class DbManagementClient(object):
|
|
1290
1290
|
:rtype: :class:`~oci.response.Response`
|
1291
1291
|
|
1292
1292
|
:example:
|
1293
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1293
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_named_credential_compartment.py.html>`__ to see an example of how to use change_named_credential_compartment API.
|
1294
1294
|
"""
|
1295
1295
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1296
1296
|
required_arguments = ['namedCredentialId']
|
@@ -1400,7 +1400,7 @@ class DbManagementClient(object):
|
|
1400
1400
|
:rtype: :class:`~oci.response.Response`
|
1401
1401
|
|
1402
1402
|
:example:
|
1403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_plan_retention.py.html>`__ to see an example of how to use change_plan_retention API.
|
1404
1404
|
"""
|
1405
1405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1406
1406
|
required_arguments = ['managedDatabaseId']
|
@@ -1502,7 +1502,7 @@ class DbManagementClient(object):
|
|
1502
1502
|
:rtype: :class:`~oci.response.Response`
|
1503
1503
|
|
1504
1504
|
:example:
|
1505
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1505
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_space_budget.py.html>`__ to see an example of how to use change_space_budget API.
|
1506
1506
|
"""
|
1507
1507
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1508
1508
|
required_arguments = ['managedDatabaseId']
|
@@ -1603,7 +1603,7 @@ class DbManagementClient(object):
|
|
1603
1603
|
:rtype: :class:`~oci.response.Response`
|
1604
1604
|
|
1605
1605
|
:example:
|
1606
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1606
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/change_sql_plan_baselines_attributes.py.html>`__ to see an example of how to use change_sql_plan_baselines_attributes API.
|
1607
1607
|
"""
|
1608
1608
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1609
1609
|
required_arguments = ['managedDatabaseId']
|
@@ -1716,7 +1716,7 @@ class DbManagementClient(object):
|
|
1716
1716
|
:rtype: :class:`~oci.response.Response`
|
1717
1717
|
|
1718
1718
|
:example:
|
1719
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1719
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/check_external_db_system_connector_connection_status.py.html>`__ to see an example of how to use check_external_db_system_connector_connection_status API.
|
1720
1720
|
"""
|
1721
1721
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1722
1722
|
required_arguments = ['externalDbSystemConnectorId']
|
@@ -1835,7 +1835,7 @@ class DbManagementClient(object):
|
|
1835
1835
|
:rtype: :class:`~oci.response.Response`
|
1836
1836
|
|
1837
1837
|
:example:
|
1838
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/check_external_exadata_storage_connector.py.html>`__ to see an example of how to use check_external_exadata_storage_connector API.
|
1839
1839
|
"""
|
1840
1840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1841
1841
|
required_arguments = ['externalExadataStorageConnectorId']
|
@@ -1944,7 +1944,7 @@ class DbManagementClient(object):
|
|
1944
1944
|
:rtype: :class:`~oci.response.Response`
|
1945
1945
|
|
1946
1946
|
:example:
|
1947
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
1947
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/configure_automatic_capture_filters.py.html>`__ to see an example of how to use configure_automatic_capture_filters API.
|
1948
1948
|
"""
|
1949
1949
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1950
1950
|
required_arguments = ['managedDatabaseId']
|
@@ -2047,7 +2047,7 @@ class DbManagementClient(object):
|
|
2047
2047
|
:rtype: :class:`~oci.response.Response`
|
2048
2048
|
|
2049
2049
|
:example:
|
2050
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2050
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/configure_automatic_spm_evolve_advisor_task.py.html>`__ to see an example of how to use configure_automatic_spm_evolve_advisor_task API.
|
2051
2051
|
"""
|
2052
2052
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2053
2053
|
required_arguments = ['managedDatabaseId']
|
@@ -2150,7 +2150,7 @@ class DbManagementClient(object):
|
|
2150
2150
|
:rtype: :class:`~oci.response.Response`
|
2151
2151
|
|
2152
2152
|
:example:
|
2153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_db_management_private_endpoint.py.html>`__ to see an example of how to use create_db_management_private_endpoint API.
|
2154
2154
|
"""
|
2155
2155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2156
2156
|
required_arguments = []
|
@@ -2246,7 +2246,7 @@ class DbManagementClient(object):
|
|
2246
2246
|
:rtype: :class:`~oci.response.Response`
|
2247
2247
|
|
2248
2248
|
:example:
|
2249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_external_db_system.py.html>`__ to see an example of how to use create_external_db_system API.
|
2250
2250
|
"""
|
2251
2251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2252
2252
|
required_arguments = []
|
@@ -2344,7 +2344,7 @@ class DbManagementClient(object):
|
|
2344
2344
|
:rtype: :class:`~oci.response.Response`
|
2345
2345
|
|
2346
2346
|
:example:
|
2347
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2347
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_external_db_system_connector.py.html>`__ to see an example of how to use create_external_db_system_connector API.
|
2348
2348
|
"""
|
2349
2349
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2350
2350
|
required_arguments = []
|
@@ -2442,7 +2442,7 @@ class DbManagementClient(object):
|
|
2442
2442
|
:rtype: :class:`~oci.response.Response`
|
2443
2443
|
|
2444
2444
|
:example:
|
2445
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2445
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_external_db_system_discovery.py.html>`__ to see an example of how to use create_external_db_system_discovery API.
|
2446
2446
|
"""
|
2447
2447
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2448
2448
|
required_arguments = []
|
@@ -2545,7 +2545,7 @@ class DbManagementClient(object):
|
|
2545
2545
|
:rtype: :class:`~oci.response.Response`
|
2546
2546
|
|
2547
2547
|
:example:
|
2548
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2548
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_external_exadata_infrastructure.py.html>`__ to see an example of how to use create_external_exadata_infrastructure API.
|
2549
2549
|
"""
|
2550
2550
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2551
2551
|
required_arguments = []
|
@@ -2643,7 +2643,7 @@ class DbManagementClient(object):
|
|
2643
2643
|
:rtype: :class:`~oci.response.Response`
|
2644
2644
|
|
2645
2645
|
:example:
|
2646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_external_exadata_storage_connector.py.html>`__ to see an example of how to use create_external_exadata_storage_connector API.
|
2647
2647
|
"""
|
2648
2648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2649
2649
|
required_arguments = []
|
@@ -2743,7 +2743,7 @@ class DbManagementClient(object):
|
|
2743
2743
|
:rtype: :class:`~oci.response.Response`
|
2744
2744
|
|
2745
2745
|
:example:
|
2746
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2746
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_job.py.html>`__ to see an example of how to use create_job API.
|
2747
2747
|
"""
|
2748
2748
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2749
2749
|
required_arguments = []
|
@@ -2840,7 +2840,7 @@ class DbManagementClient(object):
|
|
2840
2840
|
:rtype: :class:`~oci.response.Response`
|
2841
2841
|
|
2842
2842
|
:example:
|
2843
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2843
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_managed_database_group.py.html>`__ to see an example of how to use create_managed_database_group API.
|
2844
2844
|
"""
|
2845
2845
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2846
2846
|
required_arguments = []
|
@@ -2936,7 +2936,7 @@ class DbManagementClient(object):
|
|
2936
2936
|
:rtype: :class:`~oci.response.Response`
|
2937
2937
|
|
2938
2938
|
:example:
|
2939
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
2939
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_named_credential.py.html>`__ to see an example of how to use create_named_credential API.
|
2940
2940
|
"""
|
2941
2941
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2942
2942
|
required_arguments = []
|
@@ -3037,7 +3037,7 @@ class DbManagementClient(object):
|
|
3037
3037
|
:rtype: :class:`~oci.response.Response`
|
3038
3038
|
|
3039
3039
|
:example:
|
3040
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3040
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/create_tablespace.py.html>`__ to see an example of how to use create_tablespace API.
|
3041
3041
|
"""
|
3042
3042
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3043
3043
|
required_arguments = ['managedDatabaseId']
|
@@ -3147,7 +3147,7 @@ class DbManagementClient(object):
|
|
3147
3147
|
:rtype: :class:`~oci.response.Response`
|
3148
3148
|
|
3149
3149
|
:example:
|
3150
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3150
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_db_management_private_endpoint.py.html>`__ to see an example of how to use delete_db_management_private_endpoint API.
|
3151
3151
|
"""
|
3152
3152
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3153
3153
|
required_arguments = ['dbManagementPrivateEndpointId']
|
@@ -3252,7 +3252,7 @@ class DbManagementClient(object):
|
|
3252
3252
|
:rtype: :class:`~oci.response.Response`
|
3253
3253
|
|
3254
3254
|
:example:
|
3255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_external_db_system.py.html>`__ to see an example of how to use delete_external_db_system API.
|
3256
3256
|
"""
|
3257
3257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3258
3258
|
required_arguments = ['externalDbSystemId']
|
@@ -3357,7 +3357,7 @@ class DbManagementClient(object):
|
|
3357
3357
|
:rtype: :class:`~oci.response.Response`
|
3358
3358
|
|
3359
3359
|
:example:
|
3360
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3360
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_external_db_system_connector.py.html>`__ to see an example of how to use delete_external_db_system_connector API.
|
3361
3361
|
"""
|
3362
3362
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3363
3363
|
required_arguments = ['externalDbSystemConnectorId']
|
@@ -3462,7 +3462,7 @@ class DbManagementClient(object):
|
|
3462
3462
|
:rtype: :class:`~oci.response.Response`
|
3463
3463
|
|
3464
3464
|
:example:
|
3465
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3465
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_external_db_system_discovery.py.html>`__ to see an example of how to use delete_external_db_system_discovery API.
|
3466
3466
|
"""
|
3467
3467
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3468
3468
|
required_arguments = ['externalDbSystemDiscoveryId']
|
@@ -3567,7 +3567,7 @@ class DbManagementClient(object):
|
|
3567
3567
|
:rtype: :class:`~oci.response.Response`
|
3568
3568
|
|
3569
3569
|
:example:
|
3570
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3570
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_external_exadata_infrastructure.py.html>`__ to see an example of how to use delete_external_exadata_infrastructure API.
|
3571
3571
|
"""
|
3572
3572
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3573
3573
|
required_arguments = ['externalExadataInfrastructureId']
|
@@ -3672,7 +3672,7 @@ class DbManagementClient(object):
|
|
3672
3672
|
:rtype: :class:`~oci.response.Response`
|
3673
3673
|
|
3674
3674
|
:example:
|
3675
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3675
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_external_exadata_storage_connector.py.html>`__ to see an example of how to use delete_external_exadata_storage_connector API.
|
3676
3676
|
"""
|
3677
3677
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3678
3678
|
required_arguments = ['externalExadataStorageConnectorId']
|
@@ -3775,7 +3775,7 @@ class DbManagementClient(object):
|
|
3775
3775
|
:rtype: :class:`~oci.response.Response`
|
3776
3776
|
|
3777
3777
|
:example:
|
3778
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3778
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_job.py.html>`__ to see an example of how to use delete_job API.
|
3779
3779
|
"""
|
3780
3780
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3781
3781
|
required_arguments = ['jobId']
|
@@ -3881,7 +3881,7 @@ class DbManagementClient(object):
|
|
3881
3881
|
:rtype: :class:`~oci.response.Response`
|
3882
3882
|
|
3883
3883
|
:example:
|
3884
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3884
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_managed_database_group.py.html>`__ to see an example of how to use delete_managed_database_group API.
|
3885
3885
|
"""
|
3886
3886
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3887
3887
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -3986,7 +3986,7 @@ class DbManagementClient(object):
|
|
3986
3986
|
:rtype: :class:`~oci.response.Response`
|
3987
3987
|
|
3988
3988
|
:example:
|
3989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
3989
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_named_credential.py.html>`__ to see an example of how to use delete_named_credential API.
|
3990
3990
|
"""
|
3991
3991
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3992
3992
|
required_arguments = ['namedCredentialId']
|
@@ -4087,7 +4087,7 @@ class DbManagementClient(object):
|
|
4087
4087
|
:rtype: :class:`~oci.response.Response`
|
4088
4088
|
|
4089
4089
|
:example:
|
4090
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4090
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/delete_preferred_credential.py.html>`__ to see an example of how to use delete_preferred_credential API.
|
4091
4091
|
"""
|
4092
4092
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4093
4093
|
required_arguments = ['managedDatabaseId', 'credentialName']
|
@@ -4187,7 +4187,7 @@ class DbManagementClient(object):
|
|
4187
4187
|
:rtype: :class:`~oci.response.Response`
|
4188
4188
|
|
4189
4189
|
:example:
|
4190
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4190
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_automatic_initial_plan_capture.py.html>`__ to see an example of how to use disable_automatic_initial_plan_capture API.
|
4191
4191
|
"""
|
4192
4192
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4193
4193
|
required_arguments = ['managedDatabaseId']
|
@@ -4291,7 +4291,7 @@ class DbManagementClient(object):
|
|
4291
4291
|
:rtype: :class:`~oci.response.Response`
|
4292
4292
|
|
4293
4293
|
:example:
|
4294
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4294
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_automatic_spm_evolve_advisor_task.py.html>`__ to see an example of how to use disable_automatic_spm_evolve_advisor_task API.
|
4295
4295
|
"""
|
4296
4296
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4297
4297
|
required_arguments = ['managedDatabaseId']
|
@@ -4360,17 +4360,19 @@ class DbManagementClient(object):
|
|
4360
4360
|
api_reference_link=api_reference_link,
|
4361
4361
|
required_arguments=required_arguments)
|
4362
4362
|
|
4363
|
-
def
|
4363
|
+
def disable_database_management_feature(self, database_id, disable_database_management_feature_details, **kwargs):
|
4364
4364
|
"""
|
4365
|
-
Disables Database Management
|
4366
|
-
external DB system (except databases).
|
4365
|
+
Disables a Database Management feature for the specified Oracle cloud database.
|
4367
4366
|
|
4368
4367
|
|
4369
|
-
:param str
|
4370
|
-
The `OCID`__ of the
|
4368
|
+
:param str database_id: (required)
|
4369
|
+
The `OCID`__ of the Database.
|
4371
4370
|
|
4372
4371
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4373
4372
|
|
4373
|
+
:param oci.database_management.models.DisableDatabaseManagementFeatureDetails disable_database_management_feature_details: (required)
|
4374
|
+
The details required to disable a Database Management feature for an Oracle cloud database.
|
4375
|
+
|
4374
4376
|
:param str opc_request_id: (optional)
|
4375
4377
|
The client request ID for tracing.
|
4376
4378
|
|
@@ -4404,14 +4406,14 @@ class DbManagementClient(object):
|
|
4404
4406
|
:rtype: :class:`~oci.response.Response`
|
4405
4407
|
|
4406
4408
|
:example:
|
4407
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4409
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_database_management_feature.py.html>`__ to see an example of how to use disable_database_management_feature API.
|
4408
4410
|
"""
|
4409
4411
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4410
|
-
required_arguments = ['
|
4411
|
-
resource_path = "/
|
4412
|
+
required_arguments = ['databaseId']
|
4413
|
+
resource_path = "/databases/{databaseId}/actions/disableDatabaseManagement"
|
4412
4414
|
method = "POST"
|
4413
|
-
operation_name = "
|
4414
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
4415
|
+
operation_name = "disable_database_management_feature"
|
4416
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableDatabaseManagementFeature"
|
4415
4417
|
|
4416
4418
|
# Don't accept unknown kwargs
|
4417
4419
|
expected_kwargs = [
|
@@ -4424,10 +4426,10 @@ class DbManagementClient(object):
|
|
4424
4426
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4425
4427
|
if extra_kwargs:
|
4426
4428
|
raise ValueError(
|
4427
|
-
f"
|
4429
|
+
f"disable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
4428
4430
|
|
4429
4431
|
path_params = {
|
4430
|
-
"
|
4432
|
+
"databaseId": database_id
|
4431
4433
|
}
|
4432
4434
|
|
4433
4435
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -4463,6 +4465,7 @@ class DbManagementClient(object):
|
|
4463
4465
|
method=method,
|
4464
4466
|
path_params=path_params,
|
4465
4467
|
header_params=header_params,
|
4468
|
+
body=disable_database_management_feature_details,
|
4466
4469
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4467
4470
|
operation_name=operation_name,
|
4468
4471
|
api_reference_link=api_reference_link,
|
@@ -4473,22 +4476,25 @@ class DbManagementClient(object):
|
|
4473
4476
|
method=method,
|
4474
4477
|
path_params=path_params,
|
4475
4478
|
header_params=header_params,
|
4479
|
+
body=disable_database_management_feature_details,
|
4476
4480
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4477
4481
|
operation_name=operation_name,
|
4478
4482
|
api_reference_link=api_reference_link,
|
4479
4483
|
required_arguments=required_arguments)
|
4480
4484
|
|
4481
|
-
def
|
4485
|
+
def disable_external_container_database_management_feature(self, external_container_database_id, disable_external_container_database_management_feature_details, **kwargs):
|
4482
4486
|
"""
|
4483
|
-
Disables
|
4484
|
-
external DB system (except databases).
|
4487
|
+
Disables a Database Management feature for the specified external container database.
|
4485
4488
|
|
4486
4489
|
|
4487
|
-
:param str
|
4488
|
-
The `OCID`__ of the external
|
4490
|
+
:param str external_container_database_id: (required)
|
4491
|
+
The `OCID`__ of the external container database.
|
4489
4492
|
|
4490
4493
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4491
4494
|
|
4495
|
+
:param oci.database_management.models.DisableExternalContainerDatabaseManagementFeatureDetails disable_external_container_database_management_feature_details: (required)
|
4496
|
+
The details required to disable a Database Management feature for an external container database.
|
4497
|
+
|
4492
4498
|
:param str opc_request_id: (optional)
|
4493
4499
|
The client request ID for tracing.
|
4494
4500
|
|
@@ -4522,14 +4528,14 @@ class DbManagementClient(object):
|
|
4522
4528
|
:rtype: :class:`~oci.response.Response`
|
4523
4529
|
|
4524
4530
|
:example:
|
4525
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4531
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_container_database_management_feature.py.html>`__ to see an example of how to use disable_external_container_database_management_feature API.
|
4526
4532
|
"""
|
4527
4533
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4528
|
-
required_arguments = ['
|
4529
|
-
resource_path = "/
|
4534
|
+
required_arguments = ['externalContainerDatabaseId']
|
4535
|
+
resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/disableDatabaseManagement"
|
4530
4536
|
method = "POST"
|
4531
|
-
operation_name = "
|
4532
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
4537
|
+
operation_name = "disable_external_container_database_management_feature"
|
4538
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableExternalContainerDatabaseManagementFeature"
|
4533
4539
|
|
4534
4540
|
# Don't accept unknown kwargs
|
4535
4541
|
expected_kwargs = [
|
@@ -4542,10 +4548,10 @@ class DbManagementClient(object):
|
|
4542
4548
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4543
4549
|
if extra_kwargs:
|
4544
4550
|
raise ValueError(
|
4545
|
-
f"
|
4551
|
+
f"disable_external_container_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
4546
4552
|
|
4547
4553
|
path_params = {
|
4548
|
-
"
|
4554
|
+
"externalContainerDatabaseId": external_container_database_id
|
4549
4555
|
}
|
4550
4556
|
|
4551
4557
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -4581,6 +4587,7 @@ class DbManagementClient(object):
|
|
4581
4587
|
method=method,
|
4582
4588
|
path_params=path_params,
|
4583
4589
|
header_params=header_params,
|
4590
|
+
body=disable_external_container_database_management_feature_details,
|
4584
4591
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4585
4592
|
operation_name=operation_name,
|
4586
4593
|
api_reference_link=api_reference_link,
|
@@ -4591,25 +4598,20 @@ class DbManagementClient(object):
|
|
4591
4598
|
method=method,
|
4592
4599
|
path_params=path_params,
|
4593
4600
|
header_params=header_params,
|
4601
|
+
body=disable_external_container_database_management_feature_details,
|
4594
4602
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4595
4603
|
operation_name=operation_name,
|
4596
4604
|
api_reference_link=api_reference_link,
|
4597
4605
|
required_arguments=required_arguments)
|
4598
4606
|
|
4599
|
-
def
|
4607
|
+
def disable_external_db_system_database_management(self, external_db_system_id, **kwargs):
|
4600
4608
|
"""
|
4601
|
-
Disables Database Management for the
|
4602
|
-
|
4603
|
-
|
4604
|
-
- Exadata infrastructure
|
4605
|
-
- Exadata storage grid
|
4606
|
-
- Exadata storage server
|
4607
|
-
|
4608
|
-
Note that Database Management will not be disabled for the DB systems within the Exadata infrastructure and should be disabled explicitly, if required.
|
4609
|
+
Disables Database Management service for all the components of the specified
|
4610
|
+
external DB system (except databases).
|
4609
4611
|
|
4610
4612
|
|
4611
|
-
:param str
|
4612
|
-
The `OCID`__ of the
|
4613
|
+
:param str external_db_system_id: (required)
|
4614
|
+
The `OCID`__ of the external DB system.
|
4613
4615
|
|
4614
4616
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4615
4617
|
|
@@ -4646,14 +4648,14 @@ class DbManagementClient(object):
|
|
4646
4648
|
:rtype: :class:`~oci.response.Response`
|
4647
4649
|
|
4648
4650
|
:example:
|
4649
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4651
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_db_system_database_management.py.html>`__ to see an example of how to use disable_external_db_system_database_management API.
|
4650
4652
|
"""
|
4651
4653
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4652
|
-
required_arguments = ['
|
4653
|
-
resource_path = "/
|
4654
|
+
required_arguments = ['externalDbSystemId']
|
4655
|
+
resource_path = "/externalDbSystems/{externalDbSystemId}/actions/disableDatabaseManagement"
|
4654
4656
|
method = "POST"
|
4655
|
-
operation_name = "
|
4656
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
4657
|
+
operation_name = "disable_external_db_system_database_management"
|
4658
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/DisableExternalDbSystemDatabaseManagement"
|
4657
4659
|
|
4658
4660
|
# Don't accept unknown kwargs
|
4659
4661
|
expected_kwargs = [
|
@@ -4666,10 +4668,10 @@ class DbManagementClient(object):
|
|
4666
4668
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4667
4669
|
if extra_kwargs:
|
4668
4670
|
raise ValueError(
|
4669
|
-
f"
|
4671
|
+
f"disable_external_db_system_database_management got unknown kwargs: {extra_kwargs!r}")
|
4670
4672
|
|
4671
4673
|
path_params = {
|
4672
|
-
"
|
4674
|
+
"externalDbSystemId": external_db_system_id
|
4673
4675
|
}
|
4674
4676
|
|
4675
4677
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -4720,29 +4722,38 @@ class DbManagementClient(object):
|
|
4720
4722
|
api_reference_link=api_reference_link,
|
4721
4723
|
required_arguments=required_arguments)
|
4722
4724
|
|
4723
|
-
def
|
4725
|
+
def disable_external_db_system_stack_monitoring(self, external_db_system_id, **kwargs):
|
4724
4726
|
"""
|
4725
|
-
Disables
|
4726
|
-
|
4727
|
-
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
4728
|
-
Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
4727
|
+
Disables Stack Monitoring for all the components of the specified
|
4728
|
+
external DB system (except databases).
|
4729
4729
|
|
4730
4730
|
|
4731
|
-
:param str
|
4732
|
-
The `OCID`__ of the
|
4731
|
+
:param str external_db_system_id: (required)
|
4732
|
+
The `OCID`__ of the external DB system.
|
4733
4733
|
|
4734
4734
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4735
4735
|
|
4736
|
-
:param oci.database_management.models.DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails disable_high_frequency_automatic_spm_evolve_advisor_task_details: (required)
|
4737
|
-
The details required to disable high frequency Automatic SPM Evolve Advisor task.
|
4738
|
-
|
4739
4736
|
:param str opc_request_id: (optional)
|
4740
4737
|
The client request ID for tracing.
|
4741
4738
|
|
4739
|
+
:param str opc_retry_token: (optional)
|
4740
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4741
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
4742
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
4743
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
4744
|
+
might be rejected.
|
4745
|
+
|
4746
|
+
:param str if_match: (optional)
|
4747
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
4748
|
+
for a resource, set the `if-match` parameter to the value of the
|
4749
|
+
etag from a previous GET or POST response for that resource.
|
4750
|
+
The resource will be updated or deleted only if the etag you
|
4751
|
+
provide matches the resource's current etag value.
|
4752
|
+
|
4742
4753
|
:param obj retry_strategy: (optional)
|
4743
4754
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4744
4755
|
|
4745
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
4756
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
4746
4757
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4747
4758
|
|
4748
4759
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -4755,28 +4766,30 @@ class DbManagementClient(object):
|
|
4755
4766
|
:rtype: :class:`~oci.response.Response`
|
4756
4767
|
|
4757
4768
|
:example:
|
4758
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4769
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_db_system_stack_monitoring.py.html>`__ to see an example of how to use disable_external_db_system_stack_monitoring API.
|
4759
4770
|
"""
|
4760
4771
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4761
|
-
required_arguments = ['
|
4762
|
-
resource_path = "/
|
4772
|
+
required_arguments = ['externalDbSystemId']
|
4773
|
+
resource_path = "/externalDbSystems/{externalDbSystemId}/actions/disableStackMonitoring"
|
4763
4774
|
method = "POST"
|
4764
|
-
operation_name = "
|
4765
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
4775
|
+
operation_name = "disable_external_db_system_stack_monitoring"
|
4776
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/DisableExternalDbSystemStackMonitoring"
|
4766
4777
|
|
4767
4778
|
# Don't accept unknown kwargs
|
4768
4779
|
expected_kwargs = [
|
4769
4780
|
"allow_control_chars",
|
4770
4781
|
"retry_strategy",
|
4771
|
-
"opc_request_id"
|
4782
|
+
"opc_request_id",
|
4783
|
+
"opc_retry_token",
|
4784
|
+
"if_match"
|
4772
4785
|
]
|
4773
4786
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4774
4787
|
if extra_kwargs:
|
4775
4788
|
raise ValueError(
|
4776
|
-
f"
|
4789
|
+
f"disable_external_db_system_stack_monitoring got unknown kwargs: {extra_kwargs!r}")
|
4777
4790
|
|
4778
4791
|
path_params = {
|
4779
|
-
"
|
4792
|
+
"externalDbSystemId": external_db_system_id
|
4780
4793
|
}
|
4781
4794
|
|
4782
4795
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -4788,7 +4801,9 @@ class DbManagementClient(object):
|
|
4788
4801
|
header_params = {
|
4789
4802
|
"accept": "application/json",
|
4790
4803
|
"content-type": "application/json",
|
4791
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
4804
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
4805
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
4806
|
+
"if-match": kwargs.get("if_match", missing)
|
4792
4807
|
}
|
4793
4808
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4794
4809
|
|
@@ -4796,9 +4811,12 @@ class DbManagementClient(object):
|
|
4796
4811
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4797
4812
|
client_retry_strategy=self.retry_strategy
|
4798
4813
|
)
|
4814
|
+
if retry_strategy is None:
|
4815
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4799
4816
|
|
4800
4817
|
if retry_strategy:
|
4801
4818
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4819
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4802
4820
|
self.base_client.add_opc_client_retries_header(header_params)
|
4803
4821
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4804
4822
|
return retry_strategy.make_retrying_call(
|
@@ -4807,7 +4825,6 @@ class DbManagementClient(object):
|
|
4807
4825
|
method=method,
|
4808
4826
|
path_params=path_params,
|
4809
4827
|
header_params=header_params,
|
4810
|
-
body=disable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
4811
4828
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4812
4829
|
operation_name=operation_name,
|
4813
4830
|
api_reference_link=api_reference_link,
|
@@ -4818,34 +4835,49 @@ class DbManagementClient(object):
|
|
4818
4835
|
method=method,
|
4819
4836
|
path_params=path_params,
|
4820
4837
|
header_params=header_params,
|
4821
|
-
body=disable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
4822
4838
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4823
4839
|
operation_name=operation_name,
|
4824
4840
|
api_reference_link=api_reference_link,
|
4825
4841
|
required_arguments=required_arguments)
|
4826
4842
|
|
4827
|
-
def
|
4843
|
+
def disable_external_exadata_infrastructure_management(self, external_exadata_infrastructure_id, **kwargs):
|
4828
4844
|
"""
|
4829
|
-
Disables
|
4845
|
+
Disables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId.
|
4846
|
+
It covers the following components:
|
4830
4847
|
|
4831
|
-
|
4848
|
+
- Exadata infrastructure
|
4849
|
+
- Exadata storage grid
|
4850
|
+
- Exadata storage server
|
4832
4851
|
|
4852
|
+
Note that Database Management will not be disabled for the DB systems within the Exadata infrastructure and should be disabled explicitly, if required.
|
4833
4853
|
|
4834
|
-
:param str managed_database_id: (required)
|
4835
|
-
The `OCID`__ of the Managed Database.
|
4836
4854
|
|
4837
|
-
|
4855
|
+
:param str external_exadata_infrastructure_id: (required)
|
4856
|
+
The `OCID`__ of the Exadata infrastructure.
|
4838
4857
|
|
4839
|
-
|
4840
|
-
The details required to disable SQL plan baseline usage.
|
4858
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4841
4859
|
|
4842
4860
|
:param str opc_request_id: (optional)
|
4843
4861
|
The client request ID for tracing.
|
4844
4862
|
|
4863
|
+
:param str opc_retry_token: (optional)
|
4864
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4865
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
4866
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
4867
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
4868
|
+
might be rejected.
|
4869
|
+
|
4870
|
+
:param str if_match: (optional)
|
4871
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
4872
|
+
for a resource, set the `if-match` parameter to the value of the
|
4873
|
+
etag from a previous GET or POST response for that resource.
|
4874
|
+
The resource will be updated or deleted only if the etag you
|
4875
|
+
provide matches the resource's current etag value.
|
4876
|
+
|
4845
4877
|
:param obj retry_strategy: (optional)
|
4846
4878
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4847
4879
|
|
4848
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
4880
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
4849
4881
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4850
4882
|
|
4851
4883
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -4858,28 +4890,30 @@ class DbManagementClient(object):
|
|
4858
4890
|
:rtype: :class:`~oci.response.Response`
|
4859
4891
|
|
4860
4892
|
:example:
|
4861
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
4893
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_exadata_infrastructure_management.py.html>`__ to see an example of how to use disable_external_exadata_infrastructure_management API.
|
4862
4894
|
"""
|
4863
4895
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4864
|
-
required_arguments = ['
|
4865
|
-
resource_path = "/
|
4896
|
+
required_arguments = ['externalExadataInfrastructureId']
|
4897
|
+
resource_path = "/externalExadataInfrastructures/{externalExadataInfrastructureId}/actions/disableDatabaseManagement"
|
4866
4898
|
method = "POST"
|
4867
|
-
operation_name = "
|
4868
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
4899
|
+
operation_name = "disable_external_exadata_infrastructure_management"
|
4900
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/DisableExternalExadataInfrastructureManagement"
|
4869
4901
|
|
4870
4902
|
# Don't accept unknown kwargs
|
4871
4903
|
expected_kwargs = [
|
4872
4904
|
"allow_control_chars",
|
4873
4905
|
"retry_strategy",
|
4874
|
-
"opc_request_id"
|
4906
|
+
"opc_request_id",
|
4907
|
+
"opc_retry_token",
|
4908
|
+
"if_match"
|
4875
4909
|
]
|
4876
4910
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4877
4911
|
if extra_kwargs:
|
4878
4912
|
raise ValueError(
|
4879
|
-
f"
|
4913
|
+
f"disable_external_exadata_infrastructure_management got unknown kwargs: {extra_kwargs!r}")
|
4880
4914
|
|
4881
4915
|
path_params = {
|
4882
|
-
"
|
4916
|
+
"externalExadataInfrastructureId": external_exadata_infrastructure_id
|
4883
4917
|
}
|
4884
4918
|
|
4885
4919
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -4891,7 +4925,9 @@ class DbManagementClient(object):
|
|
4891
4925
|
header_params = {
|
4892
4926
|
"accept": "application/json",
|
4893
4927
|
"content-type": "application/json",
|
4894
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
4928
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
4929
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
4930
|
+
"if-match": kwargs.get("if_match", missing)
|
4895
4931
|
}
|
4896
4932
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4897
4933
|
|
@@ -4899,9 +4935,12 @@ class DbManagementClient(object):
|
|
4899
4935
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4900
4936
|
client_retry_strategy=self.retry_strategy
|
4901
4937
|
)
|
4938
|
+
if retry_strategy is None:
|
4939
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4902
4940
|
|
4903
4941
|
if retry_strategy:
|
4904
4942
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4943
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4905
4944
|
self.base_client.add_opc_client_retries_header(header_params)
|
4906
4945
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4907
4946
|
return retry_strategy.make_retrying_call(
|
@@ -4910,7 +4949,6 @@ class DbManagementClient(object):
|
|
4910
4949
|
method=method,
|
4911
4950
|
path_params=path_params,
|
4912
4951
|
header_params=header_params,
|
4913
|
-
body=disable_sql_plan_baselines_usage_details,
|
4914
4952
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4915
4953
|
operation_name=operation_name,
|
4916
4954
|
api_reference_link=api_reference_link,
|
@@ -4921,37 +4959,23 @@ class DbManagementClient(object):
|
|
4921
4959
|
method=method,
|
4922
4960
|
path_params=path_params,
|
4923
4961
|
header_params=header_params,
|
4924
|
-
body=disable_sql_plan_baselines_usage_details,
|
4925
4962
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
4926
4963
|
operation_name=operation_name,
|
4927
4964
|
api_reference_link=api_reference_link,
|
4928
4965
|
required_arguments=required_arguments)
|
4929
4966
|
|
4930
|
-
def
|
4967
|
+
def disable_external_non_container_database_management_feature(self, external_non_container_database_id, disable_external_non_container_database_management_feature_details, **kwargs):
|
4931
4968
|
"""
|
4932
|
-
|
4933
|
-
|
4934
|
-
- Verifies if the DB systems are valid RAC DB systems or return 400 status code with NON_RAC_DATABASE_SYSTEM error code.
|
4935
|
-
- Verifies if the ASM connector defined for each DB system or return 400 status code with CONNECTOR_NOT_DEFINED error code.
|
4936
|
-
- Verifies if the agents associated with ASM are valid and could be used for the Exadata storage servers or return 400 status code with
|
4937
|
-
INVALID_AGENT error code.
|
4938
|
-
- Verifies if it is an Exadata system or return 400 status code with INVALID_EXADATA_SYSTEM error code.
|
4939
|
-
|
4940
|
-
Starts the discovery process for the Exadata system infrastructure. The following resources/components are discovered
|
4969
|
+
Disables a Database Management feature for the specified external non-container database.
|
4941
4970
|
|
4942
|
-
- Exadata storage servers from each DB systems
|
4943
|
-
- Exadata storage grid for all Exadata storage servers
|
4944
|
-
- Exadata infrastructure
|
4945
4971
|
|
4946
|
-
|
4947
|
-
|
4948
|
-
For rediscovery case, the existing managed resources/sub-resources are checked to find out which ones should be added or which ones
|
4949
|
-
should be
|
4950
|
-
removed based on the unique key defined for each resource/sub-resource.
|
4972
|
+
:param str external_non_container_database_id: (required)
|
4973
|
+
The `OCID`__ of the external non-container database.
|
4951
4974
|
|
4975
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
4952
4976
|
|
4953
|
-
:param oci.database_management.models.
|
4954
|
-
The details required to
|
4977
|
+
:param oci.database_management.models.DisableExternalNonContainerDatabaseManagementFeatureDetails disable_external_non_container_database_management_feature_details: (required)
|
4978
|
+
The details required to disable a Database Management feature for an external non-container database.
|
4955
4979
|
|
4956
4980
|
:param str opc_request_id: (optional)
|
4957
4981
|
The client request ID for tracing.
|
@@ -4982,18 +5006,18 @@ class DbManagementClient(object):
|
|
4982
5006
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4983
5007
|
By default, the response will not allow control characters in strings
|
4984
5008
|
|
4985
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
5009
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
4986
5010
|
:rtype: :class:`~oci.response.Response`
|
4987
5011
|
|
4988
5012
|
:example:
|
4989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
5013
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_non_container_database_management_feature.py.html>`__ to see an example of how to use disable_external_non_container_database_management_feature API.
|
4990
5014
|
"""
|
4991
5015
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4992
|
-
required_arguments = []
|
4993
|
-
resource_path = "/
|
5016
|
+
required_arguments = ['externalNonContainerDatabaseId']
|
5017
|
+
resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/disableDatabaseManagement"
|
4994
5018
|
method = "POST"
|
4995
|
-
operation_name = "
|
4996
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
5019
|
+
operation_name = "disable_external_non_container_database_management_feature"
|
5020
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableExternalNonContainerDatabaseManagementFeature"
|
4997
5021
|
|
4998
5022
|
# Don't accept unknown kwargs
|
4999
5023
|
expected_kwargs = [
|
@@ -5006,7 +5030,17 @@ class DbManagementClient(object):
|
|
5006
5030
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5007
5031
|
if extra_kwargs:
|
5008
5032
|
raise ValueError(
|
5009
|
-
f"
|
5033
|
+
f"disable_external_non_container_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5034
|
+
|
5035
|
+
path_params = {
|
5036
|
+
"externalNonContainerDatabaseId": external_non_container_database_id
|
5037
|
+
}
|
5038
|
+
|
5039
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5040
|
+
|
5041
|
+
for (k, v) in six.iteritems(path_params):
|
5042
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5043
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5010
5044
|
|
5011
5045
|
header_params = {
|
5012
5046
|
"accept": "application/json",
|
@@ -5033,9 +5067,9 @@ class DbManagementClient(object):
|
|
5033
5067
|
self.base_client.call_api,
|
5034
5068
|
resource_path=resource_path,
|
5035
5069
|
method=method,
|
5070
|
+
path_params=path_params,
|
5036
5071
|
header_params=header_params,
|
5037
|
-
body=
|
5038
|
-
response_type="ExternalExadataInfrastructureDiscovery",
|
5072
|
+
body=disable_external_non_container_database_management_feature_details,
|
5039
5073
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5040
5074
|
operation_name=operation_name,
|
5041
5075
|
api_reference_link=api_reference_link,
|
@@ -5044,34 +5078,48 @@ class DbManagementClient(object):
|
|
5044
5078
|
return self.base_client.call_api(
|
5045
5079
|
resource_path=resource_path,
|
5046
5080
|
method=method,
|
5081
|
+
path_params=path_params,
|
5047
5082
|
header_params=header_params,
|
5048
|
-
body=
|
5049
|
-
response_type="ExternalExadataInfrastructureDiscovery",
|
5083
|
+
body=disable_external_non_container_database_management_feature_details,
|
5050
5084
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5051
5085
|
operation_name=operation_name,
|
5052
5086
|
api_reference_link=api_reference_link,
|
5053
5087
|
required_arguments=required_arguments)
|
5054
5088
|
|
5055
|
-
def
|
5089
|
+
def disable_external_pluggable_database_management_feature(self, external_pluggable_database_id, disable_external_pluggable_database_management_feature_details, **kwargs):
|
5056
5090
|
"""
|
5057
|
-
|
5091
|
+
Disables a Database Management feature for the specified external pluggable database.
|
5058
5092
|
|
5059
5093
|
|
5060
|
-
:param str
|
5061
|
-
The `OCID`__ of the
|
5094
|
+
:param str external_pluggable_database_id: (required)
|
5095
|
+
The `OCID`__ of the external pluggable database.
|
5062
5096
|
|
5063
5097
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5064
5098
|
|
5065
|
-
:param oci.database_management.models.
|
5066
|
-
The details required to
|
5099
|
+
:param oci.database_management.models.DisableExternalPluggableDatabaseManagementFeatureDetails disable_external_pluggable_database_management_feature_details: (required)
|
5100
|
+
The details required to disable a Database Management feature for an external pluggable database.
|
5067
5101
|
|
5068
5102
|
:param str opc_request_id: (optional)
|
5069
5103
|
The client request ID for tracing.
|
5070
5104
|
|
5105
|
+
:param str opc_retry_token: (optional)
|
5106
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
5107
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
5108
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
5109
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
5110
|
+
might be rejected.
|
5111
|
+
|
5112
|
+
:param str if_match: (optional)
|
5113
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
5114
|
+
for a resource, set the `if-match` parameter to the value of the
|
5115
|
+
etag from a previous GET or POST response for that resource.
|
5116
|
+
The resource will be updated or deleted only if the etag you
|
5117
|
+
provide matches the resource's current etag value.
|
5118
|
+
|
5071
5119
|
:param obj retry_strategy: (optional)
|
5072
5120
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5073
5121
|
|
5074
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
5122
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5075
5123
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5076
5124
|
|
5077
5125
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5084,28 +5132,30 @@ class DbManagementClient(object):
|
|
5084
5132
|
:rtype: :class:`~oci.response.Response`
|
5085
5133
|
|
5086
5134
|
:example:
|
5087
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
5135
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_external_pluggable_database_management_feature.py.html>`__ to see an example of how to use disable_external_pluggable_database_management_feature API.
|
5088
5136
|
"""
|
5089
5137
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5090
|
-
required_arguments = ['
|
5091
|
-
resource_path = "/
|
5138
|
+
required_arguments = ['externalPluggableDatabaseId']
|
5139
|
+
resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/disableDatabaseManagement"
|
5092
5140
|
method = "POST"
|
5093
|
-
operation_name = "
|
5094
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/
|
5141
|
+
operation_name = "disable_external_pluggable_database_management_feature"
|
5142
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableExternalPluggableDatabaseManagementFeature"
|
5095
5143
|
|
5096
5144
|
# Don't accept unknown kwargs
|
5097
5145
|
expected_kwargs = [
|
5098
5146
|
"allow_control_chars",
|
5099
5147
|
"retry_strategy",
|
5100
|
-
"opc_request_id"
|
5148
|
+
"opc_request_id",
|
5149
|
+
"opc_retry_token",
|
5150
|
+
"if_match"
|
5101
5151
|
]
|
5102
5152
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5103
5153
|
if extra_kwargs:
|
5104
5154
|
raise ValueError(
|
5105
|
-
f"
|
5155
|
+
f"disable_external_pluggable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5106
5156
|
|
5107
5157
|
path_params = {
|
5108
|
-
"
|
5158
|
+
"externalPluggableDatabaseId": external_pluggable_database_id
|
5109
5159
|
}
|
5110
5160
|
|
5111
5161
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5117,7 +5167,9 @@ class DbManagementClient(object):
|
|
5117
5167
|
header_params = {
|
5118
5168
|
"accept": "application/json",
|
5119
5169
|
"content-type": "application/json",
|
5120
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5170
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5171
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
5172
|
+
"if-match": kwargs.get("if_match", missing)
|
5121
5173
|
}
|
5122
5174
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5123
5175
|
|
@@ -5125,9 +5177,12 @@ class DbManagementClient(object):
|
|
5125
5177
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5126
5178
|
client_retry_strategy=self.retry_strategy
|
5127
5179
|
)
|
5180
|
+
if retry_strategy is None:
|
5181
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5128
5182
|
|
5129
5183
|
if retry_strategy:
|
5130
5184
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5185
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5131
5186
|
self.base_client.add_opc_client_retries_header(header_params)
|
5132
5187
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5133
5188
|
return retry_strategy.make_retrying_call(
|
@@ -5136,7 +5191,7 @@ class DbManagementClient(object):
|
|
5136
5191
|
method=method,
|
5137
5192
|
path_params=path_params,
|
5138
5193
|
header_params=header_params,
|
5139
|
-
body=
|
5194
|
+
body=disable_external_pluggable_database_management_feature_details,
|
5140
5195
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5141
5196
|
operation_name=operation_name,
|
5142
5197
|
api_reference_link=api_reference_link,
|
@@ -5147,27 +5202,128 @@ class DbManagementClient(object):
|
|
5147
5202
|
method=method,
|
5148
5203
|
path_params=path_params,
|
5149
5204
|
header_params=header_params,
|
5150
|
-
body=
|
5205
|
+
body=disable_external_pluggable_database_management_feature_details,
|
5151
5206
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5152
5207
|
operation_name=operation_name,
|
5153
5208
|
api_reference_link=api_reference_link,
|
5154
5209
|
required_arguments=required_arguments)
|
5155
5210
|
|
5156
|
-
def
|
5211
|
+
def disable_high_frequency_automatic_spm_evolve_advisor_task(self, managed_database_id, disable_high_frequency_automatic_spm_evolve_advisor_task_details, **kwargs):
|
5157
5212
|
"""
|
5158
|
-
|
5159
|
-
|
5213
|
+
Disables the high-frequency Automatic SPM Evolve Advisor task.
|
5214
|
+
|
5215
|
+
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
5216
|
+
Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
5217
|
+
|
5160
5218
|
|
5161
5219
|
:param str managed_database_id: (required)
|
5162
5220
|
The `OCID`__ of the Managed Database.
|
5163
5221
|
|
5164
5222
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5165
5223
|
|
5166
|
-
:param
|
5167
|
-
The
|
5224
|
+
:param oci.database_management.models.DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails disable_high_frequency_automatic_spm_evolve_advisor_task_details: (required)
|
5225
|
+
The details required to disable high frequency Automatic SPM Evolve Advisor task.
|
5168
5226
|
|
5169
|
-
:param
|
5170
|
-
The
|
5227
|
+
:param str opc_request_id: (optional)
|
5228
|
+
The client request ID for tracing.
|
5229
|
+
|
5230
|
+
:param obj retry_strategy: (optional)
|
5231
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5232
|
+
|
5233
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5234
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5235
|
+
|
5236
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5237
|
+
|
5238
|
+
:param bool allow_control_chars: (optional)
|
5239
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5240
|
+
By default, the response will not allow control characters in strings
|
5241
|
+
|
5242
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5243
|
+
:rtype: :class:`~oci.response.Response`
|
5244
|
+
|
5245
|
+
:example:
|
5246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_high_frequency_automatic_spm_evolve_advisor_task.py.html>`__ to see an example of how to use disable_high_frequency_automatic_spm_evolve_advisor_task API.
|
5247
|
+
"""
|
5248
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5249
|
+
required_arguments = ['managedDatabaseId']
|
5250
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableHighFrequencyAutomaticSpmEvolveAdvisorTask"
|
5251
|
+
method = "POST"
|
5252
|
+
operation_name = "disable_high_frequency_automatic_spm_evolve_advisor_task"
|
5253
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableHighFrequencyAutomaticSpmEvolveAdvisorTask"
|
5254
|
+
|
5255
|
+
# Don't accept unknown kwargs
|
5256
|
+
expected_kwargs = [
|
5257
|
+
"allow_control_chars",
|
5258
|
+
"retry_strategy",
|
5259
|
+
"opc_request_id"
|
5260
|
+
]
|
5261
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5262
|
+
if extra_kwargs:
|
5263
|
+
raise ValueError(
|
5264
|
+
f"disable_high_frequency_automatic_spm_evolve_advisor_task got unknown kwargs: {extra_kwargs!r}")
|
5265
|
+
|
5266
|
+
path_params = {
|
5267
|
+
"managedDatabaseId": managed_database_id
|
5268
|
+
}
|
5269
|
+
|
5270
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5271
|
+
|
5272
|
+
for (k, v) in six.iteritems(path_params):
|
5273
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5274
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5275
|
+
|
5276
|
+
header_params = {
|
5277
|
+
"accept": "application/json",
|
5278
|
+
"content-type": "application/json",
|
5279
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5280
|
+
}
|
5281
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5282
|
+
|
5283
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5284
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5285
|
+
client_retry_strategy=self.retry_strategy
|
5286
|
+
)
|
5287
|
+
|
5288
|
+
if retry_strategy:
|
5289
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5290
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5291
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5292
|
+
return retry_strategy.make_retrying_call(
|
5293
|
+
self.base_client.call_api,
|
5294
|
+
resource_path=resource_path,
|
5295
|
+
method=method,
|
5296
|
+
path_params=path_params,
|
5297
|
+
header_params=header_params,
|
5298
|
+
body=disable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
5299
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5300
|
+
operation_name=operation_name,
|
5301
|
+
api_reference_link=api_reference_link,
|
5302
|
+
required_arguments=required_arguments)
|
5303
|
+
else:
|
5304
|
+
return self.base_client.call_api(
|
5305
|
+
resource_path=resource_path,
|
5306
|
+
method=method,
|
5307
|
+
path_params=path_params,
|
5308
|
+
header_params=header_params,
|
5309
|
+
body=disable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
5310
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5311
|
+
operation_name=operation_name,
|
5312
|
+
api_reference_link=api_reference_link,
|
5313
|
+
required_arguments=required_arguments)
|
5314
|
+
|
5315
|
+
def disable_pluggable_database_management_feature(self, pluggable_database_id, disable_pluggable_database_management_feature_details, **kwargs):
|
5316
|
+
"""
|
5317
|
+
Disables a Database Management feature for the specified Oracle cloud pluggable database.
|
5318
|
+
|
5319
|
+
|
5320
|
+
:param str pluggable_database_id: (required)
|
5321
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
5322
|
+
|
5323
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5324
|
+
|
5325
|
+
:param oci.database_management.models.DisablePluggableDatabaseManagementFeatureDetails disable_pluggable_database_management_feature_details: (required)
|
5326
|
+
The details required to disable a Database Management feature for an Oracle cloud pluggable database.
|
5171
5327
|
|
5172
5328
|
:param str opc_request_id: (optional)
|
5173
5329
|
The client request ID for tracing.
|
@@ -5179,10 +5335,17 @@ class DbManagementClient(object):
|
|
5179
5335
|
has been deleted and purged from the system, then a retry of the original creation request
|
5180
5336
|
might be rejected.
|
5181
5337
|
|
5338
|
+
:param str if_match: (optional)
|
5339
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
5340
|
+
for a resource, set the `if-match` parameter to the value of the
|
5341
|
+
etag from a previous GET or POST response for that resource.
|
5342
|
+
The resource will be updated or deleted only if the etag you
|
5343
|
+
provide matches the resource's current etag value.
|
5344
|
+
|
5182
5345
|
:param obj retry_strategy: (optional)
|
5183
5346
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5184
5347
|
|
5185
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
5348
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5186
5349
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5187
5350
|
|
5188
5351
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5191,34 +5354,1068 @@ class DbManagementClient(object):
|
|
5191
5354
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5192
5355
|
By default, the response will not allow control characters in strings
|
5193
5356
|
|
5194
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
5357
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5195
5358
|
:rtype: :class:`~oci.response.Response`
|
5196
5359
|
|
5197
5360
|
:example:
|
5198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
5361
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_pluggable_database_management_feature.py.html>`__ to see an example of how to use disable_pluggable_database_management_feature API.
|
5199
5362
|
"""
|
5200
5363
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5201
|
-
required_arguments = ['
|
5202
|
-
resource_path = "/
|
5364
|
+
required_arguments = ['pluggableDatabaseId']
|
5365
|
+
resource_path = "/pluggabledatabases/{pluggableDatabaseId}/actions/disableDatabaseManagement"
|
5203
5366
|
method = "POST"
|
5204
|
-
operation_name = "
|
5205
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
5367
|
+
operation_name = "disable_pluggable_database_management_feature"
|
5368
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisablePluggableDatabaseManagementFeature"
|
5206
5369
|
|
5207
5370
|
# Don't accept unknown kwargs
|
5208
5371
|
expected_kwargs = [
|
5209
5372
|
"allow_control_chars",
|
5210
5373
|
"retry_strategy",
|
5211
5374
|
"opc_request_id",
|
5212
|
-
"opc_retry_token"
|
5375
|
+
"opc_retry_token",
|
5376
|
+
"if_match"
|
5377
|
+
]
|
5378
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5379
|
+
if extra_kwargs:
|
5380
|
+
raise ValueError(
|
5381
|
+
f"disable_pluggable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5382
|
+
|
5383
|
+
path_params = {
|
5384
|
+
"pluggableDatabaseId": pluggable_database_id
|
5385
|
+
}
|
5386
|
+
|
5387
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5388
|
+
|
5389
|
+
for (k, v) in six.iteritems(path_params):
|
5390
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5391
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5392
|
+
|
5393
|
+
header_params = {
|
5394
|
+
"accept": "application/json",
|
5395
|
+
"content-type": "application/json",
|
5396
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5397
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
5398
|
+
"if-match": kwargs.get("if_match", missing)
|
5399
|
+
}
|
5400
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5401
|
+
|
5402
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5403
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5404
|
+
client_retry_strategy=self.retry_strategy
|
5405
|
+
)
|
5406
|
+
if retry_strategy is None:
|
5407
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5408
|
+
|
5409
|
+
if retry_strategy:
|
5410
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5411
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5412
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5413
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5414
|
+
return retry_strategy.make_retrying_call(
|
5415
|
+
self.base_client.call_api,
|
5416
|
+
resource_path=resource_path,
|
5417
|
+
method=method,
|
5418
|
+
path_params=path_params,
|
5419
|
+
header_params=header_params,
|
5420
|
+
body=disable_pluggable_database_management_feature_details,
|
5421
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5422
|
+
operation_name=operation_name,
|
5423
|
+
api_reference_link=api_reference_link,
|
5424
|
+
required_arguments=required_arguments)
|
5425
|
+
else:
|
5426
|
+
return self.base_client.call_api(
|
5427
|
+
resource_path=resource_path,
|
5428
|
+
method=method,
|
5429
|
+
path_params=path_params,
|
5430
|
+
header_params=header_params,
|
5431
|
+
body=disable_pluggable_database_management_feature_details,
|
5432
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5433
|
+
operation_name=operation_name,
|
5434
|
+
api_reference_link=api_reference_link,
|
5435
|
+
required_arguments=required_arguments)
|
5436
|
+
|
5437
|
+
def disable_sql_plan_baselines_usage(self, managed_database_id, disable_sql_plan_baselines_usage_details, **kwargs):
|
5438
|
+
"""
|
5439
|
+
Disables the use of SQL plan baselines stored in SQL Management Base.
|
5440
|
+
|
5441
|
+
When disabled, the optimizer does not use any SQL plan baselines.
|
5442
|
+
|
5443
|
+
|
5444
|
+
:param str managed_database_id: (required)
|
5445
|
+
The `OCID`__ of the Managed Database.
|
5446
|
+
|
5447
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5448
|
+
|
5449
|
+
:param oci.database_management.models.DisableSqlPlanBaselinesUsageDetails disable_sql_plan_baselines_usage_details: (required)
|
5450
|
+
The details required to disable SQL plan baseline usage.
|
5451
|
+
|
5452
|
+
:param str opc_request_id: (optional)
|
5453
|
+
The client request ID for tracing.
|
5454
|
+
|
5455
|
+
:param obj retry_strategy: (optional)
|
5456
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5457
|
+
|
5458
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5459
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5460
|
+
|
5461
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5462
|
+
|
5463
|
+
:param bool allow_control_chars: (optional)
|
5464
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5465
|
+
By default, the response will not allow control characters in strings
|
5466
|
+
|
5467
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5468
|
+
:rtype: :class:`~oci.response.Response`
|
5469
|
+
|
5470
|
+
:example:
|
5471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/disable_sql_plan_baselines_usage.py.html>`__ to see an example of how to use disable_sql_plan_baselines_usage API.
|
5472
|
+
"""
|
5473
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5474
|
+
required_arguments = ['managedDatabaseId']
|
5475
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableSqlPlanBaselinesUsage"
|
5476
|
+
method = "POST"
|
5477
|
+
operation_name = "disable_sql_plan_baselines_usage"
|
5478
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableSqlPlanBaselinesUsage"
|
5479
|
+
|
5480
|
+
# Don't accept unknown kwargs
|
5481
|
+
expected_kwargs = [
|
5482
|
+
"allow_control_chars",
|
5483
|
+
"retry_strategy",
|
5484
|
+
"opc_request_id"
|
5485
|
+
]
|
5486
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5487
|
+
if extra_kwargs:
|
5488
|
+
raise ValueError(
|
5489
|
+
f"disable_sql_plan_baselines_usage got unknown kwargs: {extra_kwargs!r}")
|
5490
|
+
|
5491
|
+
path_params = {
|
5492
|
+
"managedDatabaseId": managed_database_id
|
5493
|
+
}
|
5494
|
+
|
5495
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5496
|
+
|
5497
|
+
for (k, v) in six.iteritems(path_params):
|
5498
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5499
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5500
|
+
|
5501
|
+
header_params = {
|
5502
|
+
"accept": "application/json",
|
5503
|
+
"content-type": "application/json",
|
5504
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5505
|
+
}
|
5506
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5507
|
+
|
5508
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5509
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5510
|
+
client_retry_strategy=self.retry_strategy
|
5511
|
+
)
|
5512
|
+
|
5513
|
+
if retry_strategy:
|
5514
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5515
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5516
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5517
|
+
return retry_strategy.make_retrying_call(
|
5518
|
+
self.base_client.call_api,
|
5519
|
+
resource_path=resource_path,
|
5520
|
+
method=method,
|
5521
|
+
path_params=path_params,
|
5522
|
+
header_params=header_params,
|
5523
|
+
body=disable_sql_plan_baselines_usage_details,
|
5524
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5525
|
+
operation_name=operation_name,
|
5526
|
+
api_reference_link=api_reference_link,
|
5527
|
+
required_arguments=required_arguments)
|
5528
|
+
else:
|
5529
|
+
return self.base_client.call_api(
|
5530
|
+
resource_path=resource_path,
|
5531
|
+
method=method,
|
5532
|
+
path_params=path_params,
|
5533
|
+
header_params=header_params,
|
5534
|
+
body=disable_sql_plan_baselines_usage_details,
|
5535
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5536
|
+
operation_name=operation_name,
|
5537
|
+
api_reference_link=api_reference_link,
|
5538
|
+
required_arguments=required_arguments)
|
5539
|
+
|
5540
|
+
def discover_external_exadata_infrastructure(self, discover_external_exadata_infrastructure_details, **kwargs):
|
5541
|
+
"""
|
5542
|
+
Completes the Exadata system prechecking on the following:
|
5543
|
+
|
5544
|
+
- Verifies if the DB systems are valid RAC DB systems or return 400 status code with NON_RAC_DATABASE_SYSTEM error code.
|
5545
|
+
- Verifies if the ASM connector defined for each DB system or return 400 status code with CONNECTOR_NOT_DEFINED error code.
|
5546
|
+
- Verifies if the agents associated with ASM are valid and could be used for the Exadata storage servers or return 400 status code with
|
5547
|
+
INVALID_AGENT error code.
|
5548
|
+
- Verifies if it is an Exadata system or return 400 status code with INVALID_EXADATA_SYSTEM error code.
|
5549
|
+
|
5550
|
+
Starts the discovery process for the Exadata system infrastructure. The following resources/components are discovered
|
5551
|
+
|
5552
|
+
- Exadata storage servers from each DB systems
|
5553
|
+
- Exadata storage grid for all Exadata storage servers
|
5554
|
+
- Exadata infrastructure
|
5555
|
+
|
5556
|
+
The same API covers both new discovery and rediscovery cases.
|
5557
|
+
For the new discovery case, new managed resources/sub-resources are created or the existing ones are overridden.
|
5558
|
+
For rediscovery case, the existing managed resources/sub-resources are checked to find out which ones should be added or which ones
|
5559
|
+
should be
|
5560
|
+
removed based on the unique key defined for each resource/sub-resource.
|
5561
|
+
|
5562
|
+
|
5563
|
+
:param oci.database_management.models.DiscoverExternalExadataInfrastructureDetails discover_external_exadata_infrastructure_details: (required)
|
5564
|
+
The details required to discover and monitor the Exadata infrastructure.
|
5565
|
+
|
5566
|
+
:param str opc_request_id: (optional)
|
5567
|
+
The client request ID for tracing.
|
5568
|
+
|
5569
|
+
:param str opc_retry_token: (optional)
|
5570
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
5571
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
5572
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
5573
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
5574
|
+
might be rejected.
|
5575
|
+
|
5576
|
+
:param str if_match: (optional)
|
5577
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
5578
|
+
for a resource, set the `if-match` parameter to the value of the
|
5579
|
+
etag from a previous GET or POST response for that resource.
|
5580
|
+
The resource will be updated or deleted only if the etag you
|
5581
|
+
provide matches the resource's current etag value.
|
5582
|
+
|
5583
|
+
:param obj retry_strategy: (optional)
|
5584
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5585
|
+
|
5586
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5587
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5588
|
+
|
5589
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5590
|
+
|
5591
|
+
:param bool allow_control_chars: (optional)
|
5592
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5593
|
+
By default, the response will not allow control characters in strings
|
5594
|
+
|
5595
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.ExternalExadataInfrastructureDiscovery`
|
5596
|
+
:rtype: :class:`~oci.response.Response`
|
5597
|
+
|
5598
|
+
:example:
|
5599
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/discover_external_exadata_infrastructure.py.html>`__ to see an example of how to use discover_external_exadata_infrastructure API.
|
5600
|
+
"""
|
5601
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5602
|
+
required_arguments = []
|
5603
|
+
resource_path = "/externalExadataInfrastructures/actions/discoverExadataInfrastructure"
|
5604
|
+
method = "POST"
|
5605
|
+
operation_name = "discover_external_exadata_infrastructure"
|
5606
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/DiscoverExternalExadataInfrastructure"
|
5607
|
+
|
5608
|
+
# Don't accept unknown kwargs
|
5609
|
+
expected_kwargs = [
|
5610
|
+
"allow_control_chars",
|
5611
|
+
"retry_strategy",
|
5612
|
+
"opc_request_id",
|
5613
|
+
"opc_retry_token",
|
5614
|
+
"if_match"
|
5615
|
+
]
|
5616
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5617
|
+
if extra_kwargs:
|
5618
|
+
raise ValueError(
|
5619
|
+
f"discover_external_exadata_infrastructure got unknown kwargs: {extra_kwargs!r}")
|
5620
|
+
|
5621
|
+
header_params = {
|
5622
|
+
"accept": "application/json",
|
5623
|
+
"content-type": "application/json",
|
5624
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5625
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
5626
|
+
"if-match": kwargs.get("if_match", missing)
|
5627
|
+
}
|
5628
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5629
|
+
|
5630
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5631
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5632
|
+
client_retry_strategy=self.retry_strategy
|
5633
|
+
)
|
5634
|
+
if retry_strategy is None:
|
5635
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5636
|
+
|
5637
|
+
if retry_strategy:
|
5638
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5639
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5640
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5641
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5642
|
+
return retry_strategy.make_retrying_call(
|
5643
|
+
self.base_client.call_api,
|
5644
|
+
resource_path=resource_path,
|
5645
|
+
method=method,
|
5646
|
+
header_params=header_params,
|
5647
|
+
body=discover_external_exadata_infrastructure_details,
|
5648
|
+
response_type="ExternalExadataInfrastructureDiscovery",
|
5649
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5650
|
+
operation_name=operation_name,
|
5651
|
+
api_reference_link=api_reference_link,
|
5652
|
+
required_arguments=required_arguments)
|
5653
|
+
else:
|
5654
|
+
return self.base_client.call_api(
|
5655
|
+
resource_path=resource_path,
|
5656
|
+
method=method,
|
5657
|
+
header_params=header_params,
|
5658
|
+
body=discover_external_exadata_infrastructure_details,
|
5659
|
+
response_type="ExternalExadataInfrastructureDiscovery",
|
5660
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5661
|
+
operation_name=operation_name,
|
5662
|
+
api_reference_link=api_reference_link,
|
5663
|
+
required_arguments=required_arguments)
|
5664
|
+
|
5665
|
+
def drop_sql_plan_baselines(self, managed_database_id, drop_sql_plan_baselines_details, **kwargs):
|
5666
|
+
"""
|
5667
|
+
Drops a single plan or all plans associated with a SQL statement.
|
5668
|
+
|
5669
|
+
|
5670
|
+
:param str managed_database_id: (required)
|
5671
|
+
The `OCID`__ of the Managed Database.
|
5672
|
+
|
5673
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5674
|
+
|
5675
|
+
:param oci.database_management.models.DropSqlPlanBaselinesDetails drop_sql_plan_baselines_details: (required)
|
5676
|
+
The details required to drop SQL plan baselines.
|
5677
|
+
|
5678
|
+
:param str opc_request_id: (optional)
|
5679
|
+
The client request ID for tracing.
|
5680
|
+
|
5681
|
+
:param obj retry_strategy: (optional)
|
5682
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5683
|
+
|
5684
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5685
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5686
|
+
|
5687
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5688
|
+
|
5689
|
+
:param bool allow_control_chars: (optional)
|
5690
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5691
|
+
By default, the response will not allow control characters in strings
|
5692
|
+
|
5693
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5694
|
+
:rtype: :class:`~oci.response.Response`
|
5695
|
+
|
5696
|
+
:example:
|
5697
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/drop_sql_plan_baselines.py.html>`__ to see an example of how to use drop_sql_plan_baselines API.
|
5698
|
+
"""
|
5699
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5700
|
+
required_arguments = ['managedDatabaseId']
|
5701
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/dropSqlPlanBaselines"
|
5702
|
+
method = "POST"
|
5703
|
+
operation_name = "drop_sql_plan_baselines"
|
5704
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DropSqlPlanBaselines"
|
5705
|
+
|
5706
|
+
# Don't accept unknown kwargs
|
5707
|
+
expected_kwargs = [
|
5708
|
+
"allow_control_chars",
|
5709
|
+
"retry_strategy",
|
5710
|
+
"opc_request_id"
|
5711
|
+
]
|
5712
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5713
|
+
if extra_kwargs:
|
5714
|
+
raise ValueError(
|
5715
|
+
f"drop_sql_plan_baselines got unknown kwargs: {extra_kwargs!r}")
|
5716
|
+
|
5717
|
+
path_params = {
|
5718
|
+
"managedDatabaseId": managed_database_id
|
5719
|
+
}
|
5720
|
+
|
5721
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5722
|
+
|
5723
|
+
for (k, v) in six.iteritems(path_params):
|
5724
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5725
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5726
|
+
|
5727
|
+
header_params = {
|
5728
|
+
"accept": "application/json",
|
5729
|
+
"content-type": "application/json",
|
5730
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5731
|
+
}
|
5732
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5733
|
+
|
5734
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5735
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5736
|
+
client_retry_strategy=self.retry_strategy
|
5737
|
+
)
|
5738
|
+
|
5739
|
+
if retry_strategy:
|
5740
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5741
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5742
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5743
|
+
return retry_strategy.make_retrying_call(
|
5744
|
+
self.base_client.call_api,
|
5745
|
+
resource_path=resource_path,
|
5746
|
+
method=method,
|
5747
|
+
path_params=path_params,
|
5748
|
+
header_params=header_params,
|
5749
|
+
body=drop_sql_plan_baselines_details,
|
5750
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5751
|
+
operation_name=operation_name,
|
5752
|
+
api_reference_link=api_reference_link,
|
5753
|
+
required_arguments=required_arguments)
|
5754
|
+
else:
|
5755
|
+
return self.base_client.call_api(
|
5756
|
+
resource_path=resource_path,
|
5757
|
+
method=method,
|
5758
|
+
path_params=path_params,
|
5759
|
+
header_params=header_params,
|
5760
|
+
body=drop_sql_plan_baselines_details,
|
5761
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5762
|
+
operation_name=operation_name,
|
5763
|
+
api_reference_link=api_reference_link,
|
5764
|
+
required_arguments=required_arguments)
|
5765
|
+
|
5766
|
+
def drop_tablespace(self, managed_database_id, tablespace_name, drop_tablespace_details, **kwargs):
|
5767
|
+
"""
|
5768
|
+
Drops the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
|
5769
|
+
|
5770
|
+
|
5771
|
+
:param str managed_database_id: (required)
|
5772
|
+
The `OCID`__ of the Managed Database.
|
5773
|
+
|
5774
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5775
|
+
|
5776
|
+
:param str tablespace_name: (required)
|
5777
|
+
The name of the tablespace.
|
5778
|
+
|
5779
|
+
:param oci.database_management.models.DropTablespaceDetails drop_tablespace_details: (required)
|
5780
|
+
The details required to drop a tablespace.
|
5781
|
+
|
5782
|
+
:param str opc_request_id: (optional)
|
5783
|
+
The client request ID for tracing.
|
5784
|
+
|
5785
|
+
:param str opc_retry_token: (optional)
|
5786
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
5787
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
5788
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
5789
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
5790
|
+
might be rejected.
|
5791
|
+
|
5792
|
+
:param obj retry_strategy: (optional)
|
5793
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5794
|
+
|
5795
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5796
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5797
|
+
|
5798
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5799
|
+
|
5800
|
+
:param bool allow_control_chars: (optional)
|
5801
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5802
|
+
By default, the response will not allow control characters in strings
|
5803
|
+
|
5804
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.TablespaceAdminStatus`
|
5805
|
+
:rtype: :class:`~oci.response.Response`
|
5806
|
+
|
5807
|
+
:example:
|
5808
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/drop_tablespace.py.html>`__ to see an example of how to use drop_tablespace API.
|
5809
|
+
"""
|
5810
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5811
|
+
required_arguments = ['managedDatabaseId', 'tablespaceName']
|
5812
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/dropTablespace"
|
5813
|
+
method = "POST"
|
5814
|
+
operation_name = "drop_tablespace"
|
5815
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/Tablespace/DropTablespace"
|
5816
|
+
|
5817
|
+
# Don't accept unknown kwargs
|
5818
|
+
expected_kwargs = [
|
5819
|
+
"allow_control_chars",
|
5820
|
+
"retry_strategy",
|
5821
|
+
"opc_request_id",
|
5822
|
+
"opc_retry_token"
|
5823
|
+
]
|
5824
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5825
|
+
if extra_kwargs:
|
5826
|
+
raise ValueError(
|
5827
|
+
f"drop_tablespace got unknown kwargs: {extra_kwargs!r}")
|
5828
|
+
|
5829
|
+
path_params = {
|
5830
|
+
"managedDatabaseId": managed_database_id,
|
5831
|
+
"tablespaceName": tablespace_name
|
5832
|
+
}
|
5833
|
+
|
5834
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5835
|
+
|
5836
|
+
for (k, v) in six.iteritems(path_params):
|
5837
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5838
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5839
|
+
|
5840
|
+
header_params = {
|
5841
|
+
"accept": "application/json",
|
5842
|
+
"content-type": "application/json",
|
5843
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5844
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
5845
|
+
}
|
5846
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5847
|
+
|
5848
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5849
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5850
|
+
client_retry_strategy=self.retry_strategy
|
5851
|
+
)
|
5852
|
+
|
5853
|
+
if retry_strategy:
|
5854
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5855
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5856
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5857
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5858
|
+
return retry_strategy.make_retrying_call(
|
5859
|
+
self.base_client.call_api,
|
5860
|
+
resource_path=resource_path,
|
5861
|
+
method=method,
|
5862
|
+
path_params=path_params,
|
5863
|
+
header_params=header_params,
|
5864
|
+
body=drop_tablespace_details,
|
5865
|
+
response_type="TablespaceAdminStatus",
|
5866
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5867
|
+
operation_name=operation_name,
|
5868
|
+
api_reference_link=api_reference_link,
|
5869
|
+
required_arguments=required_arguments)
|
5870
|
+
else:
|
5871
|
+
return self.base_client.call_api(
|
5872
|
+
resource_path=resource_path,
|
5873
|
+
method=method,
|
5874
|
+
path_params=path_params,
|
5875
|
+
header_params=header_params,
|
5876
|
+
body=drop_tablespace_details,
|
5877
|
+
response_type="TablespaceAdminStatus",
|
5878
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5879
|
+
operation_name=operation_name,
|
5880
|
+
api_reference_link=api_reference_link,
|
5881
|
+
required_arguments=required_arguments)
|
5882
|
+
|
5883
|
+
def enable_automatic_initial_plan_capture(self, managed_database_id, enable_automatic_initial_plan_capture_details, **kwargs):
|
5884
|
+
"""
|
5885
|
+
Enables automatic initial plan capture. When enabled, the database checks whether
|
5886
|
+
executed SQL statements are eligible for automatic capture. It creates initial
|
5887
|
+
plan baselines for eligible statements.
|
5888
|
+
|
5889
|
+
By default, the database creates a SQL plan baseline for every eligible repeatable
|
5890
|
+
statement, including all recursive SQL and monitoring SQL. Thus, automatic capture
|
5891
|
+
may result in the creation of an extremely large number of plan baselines. To limit
|
5892
|
+
the statements that are eligible for plan baselines, configure filters.
|
5893
|
+
|
5894
|
+
|
5895
|
+
:param str managed_database_id: (required)
|
5896
|
+
The `OCID`__ of the Managed Database.
|
5897
|
+
|
5898
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5899
|
+
|
5900
|
+
:param oci.database_management.models.EnableAutomaticInitialPlanCaptureDetails enable_automatic_initial_plan_capture_details: (required)
|
5901
|
+
The details required to enable automatic initial plan capture.
|
5902
|
+
|
5903
|
+
:param str opc_request_id: (optional)
|
5904
|
+
The client request ID for tracing.
|
5905
|
+
|
5906
|
+
:param obj retry_strategy: (optional)
|
5907
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5908
|
+
|
5909
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5910
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5911
|
+
|
5912
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5913
|
+
|
5914
|
+
:param bool allow_control_chars: (optional)
|
5915
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5916
|
+
By default, the response will not allow control characters in strings
|
5917
|
+
|
5918
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5919
|
+
:rtype: :class:`~oci.response.Response`
|
5920
|
+
|
5921
|
+
:example:
|
5922
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_automatic_initial_plan_capture.py.html>`__ to see an example of how to use enable_automatic_initial_plan_capture API.
|
5923
|
+
"""
|
5924
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5925
|
+
required_arguments = ['managedDatabaseId']
|
5926
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableAutomaticInitialPlanCapture"
|
5927
|
+
method = "POST"
|
5928
|
+
operation_name = "enable_automatic_initial_plan_capture"
|
5929
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableAutomaticInitialPlanCapture"
|
5930
|
+
|
5931
|
+
# Don't accept unknown kwargs
|
5932
|
+
expected_kwargs = [
|
5933
|
+
"allow_control_chars",
|
5934
|
+
"retry_strategy",
|
5935
|
+
"opc_request_id"
|
5936
|
+
]
|
5937
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5938
|
+
if extra_kwargs:
|
5939
|
+
raise ValueError(
|
5940
|
+
f"enable_automatic_initial_plan_capture got unknown kwargs: {extra_kwargs!r}")
|
5941
|
+
|
5942
|
+
path_params = {
|
5943
|
+
"managedDatabaseId": managed_database_id
|
5944
|
+
}
|
5945
|
+
|
5946
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5947
|
+
|
5948
|
+
for (k, v) in six.iteritems(path_params):
|
5949
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5950
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5951
|
+
|
5952
|
+
header_params = {
|
5953
|
+
"accept": "application/json",
|
5954
|
+
"content-type": "application/json",
|
5955
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5956
|
+
}
|
5957
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5958
|
+
|
5959
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5960
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5961
|
+
client_retry_strategy=self.retry_strategy
|
5962
|
+
)
|
5963
|
+
|
5964
|
+
if retry_strategy:
|
5965
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5966
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5967
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5968
|
+
return retry_strategy.make_retrying_call(
|
5969
|
+
self.base_client.call_api,
|
5970
|
+
resource_path=resource_path,
|
5971
|
+
method=method,
|
5972
|
+
path_params=path_params,
|
5973
|
+
header_params=header_params,
|
5974
|
+
body=enable_automatic_initial_plan_capture_details,
|
5975
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5976
|
+
operation_name=operation_name,
|
5977
|
+
api_reference_link=api_reference_link,
|
5978
|
+
required_arguments=required_arguments)
|
5979
|
+
else:
|
5980
|
+
return self.base_client.call_api(
|
5981
|
+
resource_path=resource_path,
|
5982
|
+
method=method,
|
5983
|
+
path_params=path_params,
|
5984
|
+
header_params=header_params,
|
5985
|
+
body=enable_automatic_initial_plan_capture_details,
|
5986
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5987
|
+
operation_name=operation_name,
|
5988
|
+
api_reference_link=api_reference_link,
|
5989
|
+
required_arguments=required_arguments)
|
5990
|
+
|
5991
|
+
def enable_automatic_spm_evolve_advisor_task(self, managed_database_id, enable_automatic_spm_evolve_advisor_task_details, **kwargs):
|
5992
|
+
"""
|
5993
|
+
Enables the Automatic SPM Evolve Advisor task. By default, the automatic task
|
5994
|
+
`SYS_AUTO_SPM_EVOLVE_TASK` runs every day in the scheduled maintenance window.
|
5995
|
+
|
5996
|
+
The SPM Evolve Advisor performs the following tasks:
|
5997
|
+
|
5998
|
+
- Checks AWR for top SQL
|
5999
|
+
- Looks for alternative plans in all available sources
|
6000
|
+
- Adds unaccepted plans to the plan history
|
6001
|
+
- Tests the execution of as many plans as possible during the maintenance window
|
6002
|
+
- Adds the alternative plan to the baseline if it performs better than the current plan
|
6003
|
+
|
6004
|
+
One client controls both Automatic SQL Tuning Advisor and Automatic SPM Evolve Advisor.
|
6005
|
+
Thus, the same task enables or disables both.
|
6006
|
+
|
6007
|
+
|
6008
|
+
:param str managed_database_id: (required)
|
6009
|
+
The `OCID`__ of the Managed Database.
|
6010
|
+
|
6011
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
6012
|
+
|
6013
|
+
:param oci.database_management.models.EnableAutomaticSpmEvolveAdvisorTaskDetails enable_automatic_spm_evolve_advisor_task_details: (required)
|
6014
|
+
The details required to enable Automatic SPM Evolve Advisor task.
|
6015
|
+
|
6016
|
+
:param str opc_request_id: (optional)
|
6017
|
+
The client request ID for tracing.
|
6018
|
+
|
6019
|
+
:param obj retry_strategy: (optional)
|
6020
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6021
|
+
|
6022
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
6023
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6024
|
+
|
6025
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6026
|
+
|
6027
|
+
:param bool allow_control_chars: (optional)
|
6028
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6029
|
+
By default, the response will not allow control characters in strings
|
6030
|
+
|
6031
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
6032
|
+
:rtype: :class:`~oci.response.Response`
|
6033
|
+
|
6034
|
+
:example:
|
6035
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_automatic_spm_evolve_advisor_task.py.html>`__ to see an example of how to use enable_automatic_spm_evolve_advisor_task API.
|
6036
|
+
"""
|
6037
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6038
|
+
required_arguments = ['managedDatabaseId']
|
6039
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableAutomaticSpmEvolveAdvisorTask"
|
6040
|
+
method = "POST"
|
6041
|
+
operation_name = "enable_automatic_spm_evolve_advisor_task"
|
6042
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableAutomaticSpmEvolveAdvisorTask"
|
6043
|
+
|
6044
|
+
# Don't accept unknown kwargs
|
6045
|
+
expected_kwargs = [
|
6046
|
+
"allow_control_chars",
|
6047
|
+
"retry_strategy",
|
6048
|
+
"opc_request_id"
|
6049
|
+
]
|
6050
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6051
|
+
if extra_kwargs:
|
6052
|
+
raise ValueError(
|
6053
|
+
f"enable_automatic_spm_evolve_advisor_task got unknown kwargs: {extra_kwargs!r}")
|
6054
|
+
|
6055
|
+
path_params = {
|
6056
|
+
"managedDatabaseId": managed_database_id
|
6057
|
+
}
|
6058
|
+
|
6059
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6060
|
+
|
6061
|
+
for (k, v) in six.iteritems(path_params):
|
6062
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6063
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6064
|
+
|
6065
|
+
header_params = {
|
6066
|
+
"accept": "application/json",
|
6067
|
+
"content-type": "application/json",
|
6068
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6069
|
+
}
|
6070
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6071
|
+
|
6072
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6073
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6074
|
+
client_retry_strategy=self.retry_strategy
|
6075
|
+
)
|
6076
|
+
|
6077
|
+
if retry_strategy:
|
6078
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6079
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6080
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6081
|
+
return retry_strategy.make_retrying_call(
|
6082
|
+
self.base_client.call_api,
|
6083
|
+
resource_path=resource_path,
|
6084
|
+
method=method,
|
6085
|
+
path_params=path_params,
|
6086
|
+
header_params=header_params,
|
6087
|
+
body=enable_automatic_spm_evolve_advisor_task_details,
|
6088
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6089
|
+
operation_name=operation_name,
|
6090
|
+
api_reference_link=api_reference_link,
|
6091
|
+
required_arguments=required_arguments)
|
6092
|
+
else:
|
6093
|
+
return self.base_client.call_api(
|
6094
|
+
resource_path=resource_path,
|
6095
|
+
method=method,
|
6096
|
+
path_params=path_params,
|
6097
|
+
header_params=header_params,
|
6098
|
+
body=enable_automatic_spm_evolve_advisor_task_details,
|
6099
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6100
|
+
operation_name=operation_name,
|
6101
|
+
api_reference_link=api_reference_link,
|
6102
|
+
required_arguments=required_arguments)
|
6103
|
+
|
6104
|
+
def enable_database_management_feature(self, database_id, enable_database_management_feature_details, **kwargs):
|
6105
|
+
"""
|
6106
|
+
Enables a Database Management feature for the specified cloud database.
|
6107
|
+
|
6108
|
+
|
6109
|
+
:param str database_id: (required)
|
6110
|
+
The `OCID`__ of the Database.
|
6111
|
+
|
6112
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
6113
|
+
|
6114
|
+
:param oci.database_management.models.EnableDatabaseManagementFeatureDetails enable_database_management_feature_details: (required)
|
6115
|
+
The details required to enable a Database Management feature for an Oracle cloud database.
|
6116
|
+
|
6117
|
+
:param str opc_request_id: (optional)
|
6118
|
+
The client request ID for tracing.
|
6119
|
+
|
6120
|
+
:param str opc_retry_token: (optional)
|
6121
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6122
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
6123
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6124
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
6125
|
+
might be rejected.
|
6126
|
+
|
6127
|
+
:param str if_match: (optional)
|
6128
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
6129
|
+
for a resource, set the `if-match` parameter to the value of the
|
6130
|
+
etag from a previous GET or POST response for that resource.
|
6131
|
+
The resource will be updated or deleted only if the etag you
|
6132
|
+
provide matches the resource's current etag value.
|
6133
|
+
|
6134
|
+
:param obj retry_strategy: (optional)
|
6135
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6136
|
+
|
6137
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
6138
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6139
|
+
|
6140
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6141
|
+
|
6142
|
+
:param bool allow_control_chars: (optional)
|
6143
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6144
|
+
By default, the response will not allow control characters in strings
|
6145
|
+
|
6146
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
6147
|
+
:rtype: :class:`~oci.response.Response`
|
6148
|
+
|
6149
|
+
:example:
|
6150
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_database_management_feature.py.html>`__ to see an example of how to use enable_database_management_feature API.
|
6151
|
+
"""
|
6152
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6153
|
+
required_arguments = ['databaseId']
|
6154
|
+
resource_path = "/databases/{databaseId}/actions/enableDatabaseManagement"
|
6155
|
+
method = "POST"
|
6156
|
+
operation_name = "enable_database_management_feature"
|
6157
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableDatabaseManagementFeature"
|
6158
|
+
|
6159
|
+
# Don't accept unknown kwargs
|
6160
|
+
expected_kwargs = [
|
6161
|
+
"allow_control_chars",
|
6162
|
+
"retry_strategy",
|
6163
|
+
"opc_request_id",
|
6164
|
+
"opc_retry_token",
|
6165
|
+
"if_match"
|
6166
|
+
]
|
6167
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6168
|
+
if extra_kwargs:
|
6169
|
+
raise ValueError(
|
6170
|
+
f"enable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
6171
|
+
|
6172
|
+
path_params = {
|
6173
|
+
"databaseId": database_id
|
6174
|
+
}
|
6175
|
+
|
6176
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6177
|
+
|
6178
|
+
for (k, v) in six.iteritems(path_params):
|
6179
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6180
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6181
|
+
|
6182
|
+
header_params = {
|
6183
|
+
"accept": "application/json",
|
6184
|
+
"content-type": "application/json",
|
6185
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
6186
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
6187
|
+
"if-match": kwargs.get("if_match", missing)
|
6188
|
+
}
|
6189
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6190
|
+
|
6191
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6192
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6193
|
+
client_retry_strategy=self.retry_strategy
|
6194
|
+
)
|
6195
|
+
if retry_strategy is None:
|
6196
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
6197
|
+
|
6198
|
+
if retry_strategy:
|
6199
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6200
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
6201
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6202
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6203
|
+
return retry_strategy.make_retrying_call(
|
6204
|
+
self.base_client.call_api,
|
6205
|
+
resource_path=resource_path,
|
6206
|
+
method=method,
|
6207
|
+
path_params=path_params,
|
6208
|
+
header_params=header_params,
|
6209
|
+
body=enable_database_management_feature_details,
|
6210
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6211
|
+
operation_name=operation_name,
|
6212
|
+
api_reference_link=api_reference_link,
|
6213
|
+
required_arguments=required_arguments)
|
6214
|
+
else:
|
6215
|
+
return self.base_client.call_api(
|
6216
|
+
resource_path=resource_path,
|
6217
|
+
method=method,
|
6218
|
+
path_params=path_params,
|
6219
|
+
header_params=header_params,
|
6220
|
+
body=enable_database_management_feature_details,
|
6221
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6222
|
+
operation_name=operation_name,
|
6223
|
+
api_reference_link=api_reference_link,
|
6224
|
+
required_arguments=required_arguments)
|
6225
|
+
|
6226
|
+
def enable_external_container_database_management_feature(self, external_container_database_id, enable_external_container_database_management_feature_details, **kwargs):
|
6227
|
+
"""
|
6228
|
+
Enables a Database Management feature for the specified external container database.
|
6229
|
+
|
6230
|
+
|
6231
|
+
:param str external_container_database_id: (required)
|
6232
|
+
The `OCID`__ of the external container database.
|
6233
|
+
|
6234
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
6235
|
+
|
6236
|
+
:param oci.database_management.models.EnableExternalContainerDatabaseManagementFeatureDetails enable_external_container_database_management_feature_details: (required)
|
6237
|
+
The details required to enable a Database Management feature for an external container database.
|
6238
|
+
|
6239
|
+
:param str opc_request_id: (optional)
|
6240
|
+
The client request ID for tracing.
|
6241
|
+
|
6242
|
+
:param str opc_retry_token: (optional)
|
6243
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6244
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
6245
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6246
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
6247
|
+
might be rejected.
|
6248
|
+
|
6249
|
+
:param str if_match: (optional)
|
6250
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
6251
|
+
for a resource, set the `if-match` parameter to the value of the
|
6252
|
+
etag from a previous GET or POST response for that resource.
|
6253
|
+
The resource will be updated or deleted only if the etag you
|
6254
|
+
provide matches the resource's current etag value.
|
6255
|
+
|
6256
|
+
:param obj retry_strategy: (optional)
|
6257
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6258
|
+
|
6259
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
6260
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6261
|
+
|
6262
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6263
|
+
|
6264
|
+
:param bool allow_control_chars: (optional)
|
6265
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6266
|
+
By default, the response will not allow control characters in strings
|
6267
|
+
|
6268
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
6269
|
+
:rtype: :class:`~oci.response.Response`
|
6270
|
+
|
6271
|
+
:example:
|
6272
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_container_database_management_feature.py.html>`__ to see an example of how to use enable_external_container_database_management_feature API.
|
6273
|
+
"""
|
6274
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6275
|
+
required_arguments = ['externalContainerDatabaseId']
|
6276
|
+
resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/enableDatabaseManagement"
|
6277
|
+
method = "POST"
|
6278
|
+
operation_name = "enable_external_container_database_management_feature"
|
6279
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableExternalContainerDatabaseManagementFeature"
|
6280
|
+
|
6281
|
+
# Don't accept unknown kwargs
|
6282
|
+
expected_kwargs = [
|
6283
|
+
"allow_control_chars",
|
6284
|
+
"retry_strategy",
|
6285
|
+
"opc_request_id",
|
6286
|
+
"opc_retry_token",
|
6287
|
+
"if_match"
|
6288
|
+
]
|
6289
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6290
|
+
if extra_kwargs:
|
6291
|
+
raise ValueError(
|
6292
|
+
f"enable_external_container_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
6293
|
+
|
6294
|
+
path_params = {
|
6295
|
+
"externalContainerDatabaseId": external_container_database_id
|
6296
|
+
}
|
6297
|
+
|
6298
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6299
|
+
|
6300
|
+
for (k, v) in six.iteritems(path_params):
|
6301
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6302
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6303
|
+
|
6304
|
+
header_params = {
|
6305
|
+
"accept": "application/json",
|
6306
|
+
"content-type": "application/json",
|
6307
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
6308
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
6309
|
+
"if-match": kwargs.get("if_match", missing)
|
6310
|
+
}
|
6311
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6312
|
+
|
6313
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6314
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6315
|
+
client_retry_strategy=self.retry_strategy
|
6316
|
+
)
|
6317
|
+
if retry_strategy is None:
|
6318
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
6319
|
+
|
6320
|
+
if retry_strategy:
|
6321
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6322
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
6323
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6324
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6325
|
+
return retry_strategy.make_retrying_call(
|
6326
|
+
self.base_client.call_api,
|
6327
|
+
resource_path=resource_path,
|
6328
|
+
method=method,
|
6329
|
+
path_params=path_params,
|
6330
|
+
header_params=header_params,
|
6331
|
+
body=enable_external_container_database_management_feature_details,
|
6332
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6333
|
+
operation_name=operation_name,
|
6334
|
+
api_reference_link=api_reference_link,
|
6335
|
+
required_arguments=required_arguments)
|
6336
|
+
else:
|
6337
|
+
return self.base_client.call_api(
|
6338
|
+
resource_path=resource_path,
|
6339
|
+
method=method,
|
6340
|
+
path_params=path_params,
|
6341
|
+
header_params=header_params,
|
6342
|
+
body=enable_external_container_database_management_feature_details,
|
6343
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6344
|
+
operation_name=operation_name,
|
6345
|
+
api_reference_link=api_reference_link,
|
6346
|
+
required_arguments=required_arguments)
|
6347
|
+
|
6348
|
+
def enable_external_db_system_database_management(self, external_db_system_id, enable_external_db_system_database_management_details, **kwargs):
|
6349
|
+
"""
|
6350
|
+
Enables Database Management service for all the components of the specified
|
6351
|
+
external DB system (except databases).
|
6352
|
+
|
6353
|
+
|
6354
|
+
:param str external_db_system_id: (required)
|
6355
|
+
The `OCID`__ of the external DB system.
|
6356
|
+
|
6357
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
6358
|
+
|
6359
|
+
:param oci.database_management.models.EnableExternalDbSystemDatabaseManagementDetails enable_external_db_system_database_management_details: (required)
|
6360
|
+
The details required to enable Database Management for an external DB system.
|
6361
|
+
|
6362
|
+
:param str opc_request_id: (optional)
|
6363
|
+
The client request ID for tracing.
|
6364
|
+
|
6365
|
+
:param str opc_retry_token: (optional)
|
6366
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6367
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
6368
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6369
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
6370
|
+
might be rejected.
|
6371
|
+
|
6372
|
+
:param str if_match: (optional)
|
6373
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
6374
|
+
for a resource, set the `if-match` parameter to the value of the
|
6375
|
+
etag from a previous GET or POST response for that resource.
|
6376
|
+
The resource will be updated or deleted only if the etag you
|
6377
|
+
provide matches the resource's current etag value.
|
6378
|
+
|
6379
|
+
:param obj retry_strategy: (optional)
|
6380
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6381
|
+
|
6382
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
6383
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6384
|
+
|
6385
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6386
|
+
|
6387
|
+
:param bool allow_control_chars: (optional)
|
6388
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6389
|
+
By default, the response will not allow control characters in strings
|
6390
|
+
|
6391
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
6392
|
+
:rtype: :class:`~oci.response.Response`
|
6393
|
+
|
6394
|
+
:example:
|
6395
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_db_system_database_management.py.html>`__ to see an example of how to use enable_external_db_system_database_management API.
|
6396
|
+
"""
|
6397
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6398
|
+
required_arguments = ['externalDbSystemId']
|
6399
|
+
resource_path = "/externalDbSystems/{externalDbSystemId}/actions/enableDatabaseManagement"
|
6400
|
+
method = "POST"
|
6401
|
+
operation_name = "enable_external_db_system_database_management"
|
6402
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/EnableExternalDbSystemDatabaseManagement"
|
6403
|
+
|
6404
|
+
# Don't accept unknown kwargs
|
6405
|
+
expected_kwargs = [
|
6406
|
+
"allow_control_chars",
|
6407
|
+
"retry_strategy",
|
6408
|
+
"opc_request_id",
|
6409
|
+
"opc_retry_token",
|
6410
|
+
"if_match"
|
5213
6411
|
]
|
5214
6412
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5215
6413
|
if extra_kwargs:
|
5216
6414
|
raise ValueError(
|
5217
|
-
f"
|
6415
|
+
f"enable_external_db_system_database_management got unknown kwargs: {extra_kwargs!r}")
|
5218
6416
|
|
5219
6417
|
path_params = {
|
5220
|
-
"
|
5221
|
-
"tablespaceName": tablespace_name
|
6418
|
+
"externalDbSystemId": external_db_system_id
|
5222
6419
|
}
|
5223
6420
|
|
5224
6421
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5231,7 +6428,8 @@ class DbManagementClient(object):
|
|
5231
6428
|
"accept": "application/json",
|
5232
6429
|
"content-type": "application/json",
|
5233
6430
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
5234
|
-
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
6431
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
6432
|
+
"if-match": kwargs.get("if_match", missing)
|
5235
6433
|
}
|
5236
6434
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5237
6435
|
|
@@ -5239,6 +6437,8 @@ class DbManagementClient(object):
|
|
5239
6437
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5240
6438
|
client_retry_strategy=self.retry_strategy
|
5241
6439
|
)
|
6440
|
+
if retry_strategy is None:
|
6441
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5242
6442
|
|
5243
6443
|
if retry_strategy:
|
5244
6444
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
@@ -5251,8 +6451,7 @@ class DbManagementClient(object):
|
|
5251
6451
|
method=method,
|
5252
6452
|
path_params=path_params,
|
5253
6453
|
header_params=header_params,
|
5254
|
-
body=
|
5255
|
-
response_type="TablespaceAdminStatus",
|
6454
|
+
body=enable_external_db_system_database_management_details,
|
5256
6455
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5257
6456
|
operation_name=operation_name,
|
5258
6457
|
api_reference_link=api_reference_link,
|
@@ -5263,40 +6462,47 @@ class DbManagementClient(object):
|
|
5263
6462
|
method=method,
|
5264
6463
|
path_params=path_params,
|
5265
6464
|
header_params=header_params,
|
5266
|
-
body=
|
5267
|
-
response_type="TablespaceAdminStatus",
|
6465
|
+
body=enable_external_db_system_database_management_details,
|
5268
6466
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5269
6467
|
operation_name=operation_name,
|
5270
6468
|
api_reference_link=api_reference_link,
|
5271
6469
|
required_arguments=required_arguments)
|
5272
6470
|
|
5273
|
-
def
|
6471
|
+
def enable_external_db_system_stack_monitoring(self, external_db_system_id, enable_external_db_system_stack_monitoring_details, **kwargs):
|
5274
6472
|
"""
|
5275
|
-
Enables
|
5276
|
-
|
5277
|
-
plan baselines for eligible statements.
|
5278
|
-
|
5279
|
-
By default, the database creates a SQL plan baseline for every eligible repeatable
|
5280
|
-
statement, including all recursive SQL and monitoring SQL. Thus, automatic capture
|
5281
|
-
may result in the creation of an extremely large number of plan baselines. To limit
|
5282
|
-
the statements that are eligible for plan baselines, configure filters.
|
6473
|
+
Enables Stack Monitoring for all the components of the specified
|
6474
|
+
external DB system (except databases).
|
5283
6475
|
|
5284
6476
|
|
5285
|
-
:param str
|
5286
|
-
The `OCID`__ of the
|
6477
|
+
:param str external_db_system_id: (required)
|
6478
|
+
The `OCID`__ of the external DB system.
|
5287
6479
|
|
5288
6480
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5289
6481
|
|
5290
|
-
:param oci.database_management.models.
|
5291
|
-
The details required to enable
|
6482
|
+
:param oci.database_management.models.EnableExternalDbSystemStackMonitoringDetails enable_external_db_system_stack_monitoring_details: (required)
|
6483
|
+
The details required to enable Stack Monitoring for an external DB system.
|
5292
6484
|
|
5293
6485
|
:param str opc_request_id: (optional)
|
5294
6486
|
The client request ID for tracing.
|
5295
6487
|
|
6488
|
+
:param str opc_retry_token: (optional)
|
6489
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6490
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
6491
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6492
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
6493
|
+
might be rejected.
|
6494
|
+
|
6495
|
+
:param str if_match: (optional)
|
6496
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
6497
|
+
for a resource, set the `if-match` parameter to the value of the
|
6498
|
+
etag from a previous GET or POST response for that resource.
|
6499
|
+
The resource will be updated or deleted only if the etag you
|
6500
|
+
provide matches the resource's current etag value.
|
6501
|
+
|
5296
6502
|
:param obj retry_strategy: (optional)
|
5297
6503
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5298
6504
|
|
5299
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
6505
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5300
6506
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5301
6507
|
|
5302
6508
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5309,28 +6515,30 @@ class DbManagementClient(object):
|
|
5309
6515
|
:rtype: :class:`~oci.response.Response`
|
5310
6516
|
|
5311
6517
|
:example:
|
5312
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
6518
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_db_system_stack_monitoring.py.html>`__ to see an example of how to use enable_external_db_system_stack_monitoring API.
|
5313
6519
|
"""
|
5314
6520
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5315
|
-
required_arguments = ['
|
5316
|
-
resource_path = "/
|
6521
|
+
required_arguments = ['externalDbSystemId']
|
6522
|
+
resource_path = "/externalDbSystems/{externalDbSystemId}/actions/enableStackMonitoring"
|
5317
6523
|
method = "POST"
|
5318
|
-
operation_name = "
|
5319
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
6524
|
+
operation_name = "enable_external_db_system_stack_monitoring"
|
6525
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/EnableExternalDbSystemStackMonitoring"
|
5320
6526
|
|
5321
6527
|
# Don't accept unknown kwargs
|
5322
6528
|
expected_kwargs = [
|
5323
6529
|
"allow_control_chars",
|
5324
6530
|
"retry_strategy",
|
5325
|
-
"opc_request_id"
|
6531
|
+
"opc_request_id",
|
6532
|
+
"opc_retry_token",
|
6533
|
+
"if_match"
|
5326
6534
|
]
|
5327
6535
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5328
6536
|
if extra_kwargs:
|
5329
6537
|
raise ValueError(
|
5330
|
-
f"
|
6538
|
+
f"enable_external_db_system_stack_monitoring got unknown kwargs: {extra_kwargs!r}")
|
5331
6539
|
|
5332
6540
|
path_params = {
|
5333
|
-
"
|
6541
|
+
"externalDbSystemId": external_db_system_id
|
5334
6542
|
}
|
5335
6543
|
|
5336
6544
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5342,7 +6550,9 @@ class DbManagementClient(object):
|
|
5342
6550
|
header_params = {
|
5343
6551
|
"accept": "application/json",
|
5344
6552
|
"content-type": "application/json",
|
5345
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6553
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
6554
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
6555
|
+
"if-match": kwargs.get("if_match", missing)
|
5346
6556
|
}
|
5347
6557
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5348
6558
|
|
@@ -5350,9 +6560,12 @@ class DbManagementClient(object):
|
|
5350
6560
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5351
6561
|
client_retry_strategy=self.retry_strategy
|
5352
6562
|
)
|
6563
|
+
if retry_strategy is None:
|
6564
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5353
6565
|
|
5354
6566
|
if retry_strategy:
|
5355
6567
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6568
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5356
6569
|
self.base_client.add_opc_client_retries_header(header_params)
|
5357
6570
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5358
6571
|
return retry_strategy.make_retrying_call(
|
@@ -5361,7 +6574,7 @@ class DbManagementClient(object):
|
|
5361
6574
|
method=method,
|
5362
6575
|
path_params=path_params,
|
5363
6576
|
header_params=header_params,
|
5364
|
-
body=
|
6577
|
+
body=enable_external_db_system_stack_monitoring_details,
|
5365
6578
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5366
6579
|
operation_name=operation_name,
|
5367
6580
|
api_reference_link=api_reference_link,
|
@@ -5372,44 +6585,51 @@ class DbManagementClient(object):
|
|
5372
6585
|
method=method,
|
5373
6586
|
path_params=path_params,
|
5374
6587
|
header_params=header_params,
|
5375
|
-
body=
|
6588
|
+
body=enable_external_db_system_stack_monitoring_details,
|
5376
6589
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5377
6590
|
operation_name=operation_name,
|
5378
6591
|
api_reference_link=api_reference_link,
|
5379
6592
|
required_arguments=required_arguments)
|
5380
6593
|
|
5381
|
-
def
|
6594
|
+
def enable_external_exadata_infrastructure_management(self, external_exadata_infrastructure_id, enable_external_exadata_infrastructure_management_details, **kwargs):
|
5382
6595
|
"""
|
5383
|
-
Enables the
|
5384
|
-
|
5385
|
-
|
5386
|
-
The SPM Evolve Advisor performs the following tasks:
|
5387
|
-
|
5388
|
-
- Checks AWR for top SQL
|
5389
|
-
- Looks for alternative plans in all available sources
|
5390
|
-
- Adds unaccepted plans to the plan history
|
5391
|
-
- Tests the execution of as many plans as possible during the maintenance window
|
5392
|
-
- Adds the alternative plan to the baseline if it performs better than the current plan
|
6596
|
+
Enables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId. It covers the following
|
6597
|
+
components:
|
5393
6598
|
|
5394
|
-
|
5395
|
-
|
6599
|
+
- Exadata infrastructure
|
6600
|
+
- Exadata storage grid
|
6601
|
+
- Exadata storage server
|
5396
6602
|
|
5397
6603
|
|
5398
|
-
:param str
|
5399
|
-
The `OCID`__ of the
|
6604
|
+
:param str external_exadata_infrastructure_id: (required)
|
6605
|
+
The `OCID`__ of the Exadata infrastructure.
|
5400
6606
|
|
5401
6607
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5402
6608
|
|
5403
|
-
:param oci.database_management.models.
|
5404
|
-
The details required to enable
|
6609
|
+
:param oci.database_management.models.EnableExternalExadataInfrastructureManagementDetails enable_external_exadata_infrastructure_management_details: (required)
|
6610
|
+
The details required to enable management for the Exadata infrastructure.
|
5405
6611
|
|
5406
6612
|
:param str opc_request_id: (optional)
|
5407
6613
|
The client request ID for tracing.
|
5408
6614
|
|
6615
|
+
:param str opc_retry_token: (optional)
|
6616
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6617
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
6618
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6619
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
6620
|
+
might be rejected.
|
6621
|
+
|
6622
|
+
:param str if_match: (optional)
|
6623
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
6624
|
+
for a resource, set the `if-match` parameter to the value of the
|
6625
|
+
etag from a previous GET or POST response for that resource.
|
6626
|
+
The resource will be updated or deleted only if the etag you
|
6627
|
+
provide matches the resource's current etag value.
|
6628
|
+
|
5409
6629
|
:param obj retry_strategy: (optional)
|
5410
6630
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5411
6631
|
|
5412
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
6632
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5413
6633
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5414
6634
|
|
5415
6635
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5422,28 +6642,30 @@ class DbManagementClient(object):
|
|
5422
6642
|
:rtype: :class:`~oci.response.Response`
|
5423
6643
|
|
5424
6644
|
:example:
|
5425
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
6645
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_exadata_infrastructure_management.py.html>`__ to see an example of how to use enable_external_exadata_infrastructure_management API.
|
5426
6646
|
"""
|
5427
6647
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5428
|
-
required_arguments = ['
|
5429
|
-
resource_path = "/
|
6648
|
+
required_arguments = ['externalExadataInfrastructureId']
|
6649
|
+
resource_path = "/externalExadataInfrastructures/{externalExadataInfrastructureId}/actions/enableDatabaseManagement"
|
5430
6650
|
method = "POST"
|
5431
|
-
operation_name = "
|
5432
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
6651
|
+
operation_name = "enable_external_exadata_infrastructure_management"
|
6652
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/EnableExternalExadataInfrastructureManagement"
|
5433
6653
|
|
5434
6654
|
# Don't accept unknown kwargs
|
5435
6655
|
expected_kwargs = [
|
5436
6656
|
"allow_control_chars",
|
5437
6657
|
"retry_strategy",
|
5438
|
-
"opc_request_id"
|
6658
|
+
"opc_request_id",
|
6659
|
+
"opc_retry_token",
|
6660
|
+
"if_match"
|
5439
6661
|
]
|
5440
6662
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5441
6663
|
if extra_kwargs:
|
5442
6664
|
raise ValueError(
|
5443
|
-
f"
|
6665
|
+
f"enable_external_exadata_infrastructure_management got unknown kwargs: {extra_kwargs!r}")
|
5444
6666
|
|
5445
6667
|
path_params = {
|
5446
|
-
"
|
6668
|
+
"externalExadataInfrastructureId": external_exadata_infrastructure_id
|
5447
6669
|
}
|
5448
6670
|
|
5449
6671
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5455,7 +6677,9 @@ class DbManagementClient(object):
|
|
5455
6677
|
header_params = {
|
5456
6678
|
"accept": "application/json",
|
5457
6679
|
"content-type": "application/json",
|
5458
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6680
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
6681
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
6682
|
+
"if-match": kwargs.get("if_match", missing)
|
5459
6683
|
}
|
5460
6684
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5461
6685
|
|
@@ -5463,9 +6687,12 @@ class DbManagementClient(object):
|
|
5463
6687
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5464
6688
|
client_retry_strategy=self.retry_strategy
|
5465
6689
|
)
|
6690
|
+
if retry_strategy is None:
|
6691
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5466
6692
|
|
5467
6693
|
if retry_strategy:
|
5468
6694
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6695
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5469
6696
|
self.base_client.add_opc_client_retries_header(header_params)
|
5470
6697
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5471
6698
|
return retry_strategy.make_retrying_call(
|
@@ -5474,7 +6701,7 @@ class DbManagementClient(object):
|
|
5474
6701
|
method=method,
|
5475
6702
|
path_params=path_params,
|
5476
6703
|
header_params=header_params,
|
5477
|
-
body=
|
6704
|
+
body=enable_external_exadata_infrastructure_management_details,
|
5478
6705
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5479
6706
|
operation_name=operation_name,
|
5480
6707
|
api_reference_link=api_reference_link,
|
@@ -5485,25 +6712,24 @@ class DbManagementClient(object):
|
|
5485
6712
|
method=method,
|
5486
6713
|
path_params=path_params,
|
5487
6714
|
header_params=header_params,
|
5488
|
-
body=
|
6715
|
+
body=enable_external_exadata_infrastructure_management_details,
|
5489
6716
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5490
6717
|
operation_name=operation_name,
|
5491
6718
|
api_reference_link=api_reference_link,
|
5492
6719
|
required_arguments=required_arguments)
|
5493
6720
|
|
5494
|
-
def
|
6721
|
+
def enable_external_non_container_database_management_feature(self, external_non_container_database_id, enable_external_non_container_database_management_feature_details, **kwargs):
|
5495
6722
|
"""
|
5496
|
-
Enables Database Management
|
5497
|
-
external DB system (except databases).
|
6723
|
+
Enables Database Management feature for the specified external non-container database.
|
5498
6724
|
|
5499
6725
|
|
5500
|
-
:param str
|
5501
|
-
The `OCID`__ of the external
|
6726
|
+
:param str external_non_container_database_id: (required)
|
6727
|
+
The `OCID`__ of the external non-container database.
|
5502
6728
|
|
5503
6729
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5504
6730
|
|
5505
|
-
:param oci.database_management.models.
|
5506
|
-
The details required to enable Database Management for an external
|
6731
|
+
:param oci.database_management.models.EnableExternalNonContainerDatabaseManagementFeatureDetails enable_external_non_container_database_management_feature_details: (required)
|
6732
|
+
The details required to enable a Database Management feature for an external non-container database.
|
5507
6733
|
|
5508
6734
|
:param str opc_request_id: (optional)
|
5509
6735
|
The client request ID for tracing.
|
@@ -5538,14 +6764,14 @@ class DbManagementClient(object):
|
|
5538
6764
|
:rtype: :class:`~oci.response.Response`
|
5539
6765
|
|
5540
6766
|
:example:
|
5541
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
6767
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_non_container_database_management_feature.py.html>`__ to see an example of how to use enable_external_non_container_database_management_feature API.
|
5542
6768
|
"""
|
5543
6769
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5544
|
-
required_arguments = ['
|
5545
|
-
resource_path = "/
|
6770
|
+
required_arguments = ['externalNonContainerDatabaseId']
|
6771
|
+
resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/enableDatabaseManagement"
|
5546
6772
|
method = "POST"
|
5547
|
-
operation_name = "
|
5548
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
6773
|
+
operation_name = "enable_external_non_container_database_management_feature"
|
6774
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableExternalNonContainerDatabaseManagementFeature"
|
5549
6775
|
|
5550
6776
|
# Don't accept unknown kwargs
|
5551
6777
|
expected_kwargs = [
|
@@ -5558,10 +6784,10 @@ class DbManagementClient(object):
|
|
5558
6784
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5559
6785
|
if extra_kwargs:
|
5560
6786
|
raise ValueError(
|
5561
|
-
f"
|
6787
|
+
f"enable_external_non_container_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5562
6788
|
|
5563
6789
|
path_params = {
|
5564
|
-
"
|
6790
|
+
"externalNonContainerDatabaseId": external_non_container_database_id
|
5565
6791
|
}
|
5566
6792
|
|
5567
6793
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5597,7 +6823,7 @@ class DbManagementClient(object):
|
|
5597
6823
|
method=method,
|
5598
6824
|
path_params=path_params,
|
5599
6825
|
header_params=header_params,
|
5600
|
-
body=
|
6826
|
+
body=enable_external_non_container_database_management_feature_details,
|
5601
6827
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5602
6828
|
operation_name=operation_name,
|
5603
6829
|
api_reference_link=api_reference_link,
|
@@ -5608,25 +6834,24 @@ class DbManagementClient(object):
|
|
5608
6834
|
method=method,
|
5609
6835
|
path_params=path_params,
|
5610
6836
|
header_params=header_params,
|
5611
|
-
body=
|
6837
|
+
body=enable_external_non_container_database_management_feature_details,
|
5612
6838
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5613
6839
|
operation_name=operation_name,
|
5614
6840
|
api_reference_link=api_reference_link,
|
5615
6841
|
required_arguments=required_arguments)
|
5616
6842
|
|
5617
|
-
def
|
6843
|
+
def enable_external_pluggable_database_management_feature(self, external_pluggable_database_id, enable_external_pluggable_database_management_feature_details, **kwargs):
|
5618
6844
|
"""
|
5619
|
-
Enables
|
5620
|
-
external DB system (except databases).
|
6845
|
+
Enables a Database Management feature for the specified external pluggable database.
|
5621
6846
|
|
5622
6847
|
|
5623
|
-
:param str
|
5624
|
-
The `OCID`__ of the external
|
6848
|
+
:param str external_pluggable_database_id: (required)
|
6849
|
+
The `OCID`__ of the external pluggable database.
|
5625
6850
|
|
5626
6851
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5627
6852
|
|
5628
|
-
:param oci.database_management.models.
|
5629
|
-
The details required to enable
|
6853
|
+
:param oci.database_management.models.EnableExternalPluggableDatabaseManagementFeatureDetails enable_external_pluggable_database_management_feature_details: (required)
|
6854
|
+
The details required to enable a Database Management feature for an external pluggable database.
|
5630
6855
|
|
5631
6856
|
:param str opc_request_id: (optional)
|
5632
6857
|
The client request ID for tracing.
|
@@ -5661,14 +6886,14 @@ class DbManagementClient(object):
|
|
5661
6886
|
:rtype: :class:`~oci.response.Response`
|
5662
6887
|
|
5663
6888
|
:example:
|
5664
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
6889
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_external_pluggable_database_management_feature.py.html>`__ to see an example of how to use enable_external_pluggable_database_management_feature API.
|
5665
6890
|
"""
|
5666
6891
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5667
|
-
required_arguments = ['
|
5668
|
-
resource_path = "/
|
6892
|
+
required_arguments = ['externalPluggableDatabaseId']
|
6893
|
+
resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/enableDatabaseManagement"
|
5669
6894
|
method = "POST"
|
5670
|
-
operation_name = "
|
5671
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
6895
|
+
operation_name = "enable_external_pluggable_database_management_feature"
|
6896
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableExternalPluggableDatabaseManagementFeature"
|
5672
6897
|
|
5673
6898
|
# Don't accept unknown kwargs
|
5674
6899
|
expected_kwargs = [
|
@@ -5681,10 +6906,10 @@ class DbManagementClient(object):
|
|
5681
6906
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5682
6907
|
if extra_kwargs:
|
5683
6908
|
raise ValueError(
|
5684
|
-
f"
|
6909
|
+
f"enable_external_pluggable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5685
6910
|
|
5686
6911
|
path_params = {
|
5687
|
-
"
|
6912
|
+
"externalPluggableDatabaseId": external_pluggable_database_id
|
5688
6913
|
}
|
5689
6914
|
|
5690
6915
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5720,7 +6945,7 @@ class DbManagementClient(object):
|
|
5720
6945
|
method=method,
|
5721
6946
|
path_params=path_params,
|
5722
6947
|
header_params=header_params,
|
5723
|
-
body=
|
6948
|
+
body=enable_external_pluggable_database_management_feature_details,
|
5724
6949
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5725
6950
|
operation_name=operation_name,
|
5726
6951
|
api_reference_link=api_reference_link,
|
@@ -5731,51 +6956,40 @@ class DbManagementClient(object):
|
|
5731
6956
|
method=method,
|
5732
6957
|
path_params=path_params,
|
5733
6958
|
header_params=header_params,
|
5734
|
-
body=
|
6959
|
+
body=enable_external_pluggable_database_management_feature_details,
|
5735
6960
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5736
6961
|
operation_name=operation_name,
|
5737
6962
|
api_reference_link=api_reference_link,
|
5738
6963
|
required_arguments=required_arguments)
|
5739
6964
|
|
5740
|
-
def
|
6965
|
+
def enable_high_frequency_automatic_spm_evolve_advisor_task(self, managed_database_id, enable_high_frequency_automatic_spm_evolve_advisor_task_details, **kwargs):
|
5741
6966
|
"""
|
5742
|
-
Enables
|
5743
|
-
|
6967
|
+
Enables the high-frequency Automatic SPM Evolve Advisor task. The high-frequency
|
6968
|
+
task runs every hour and runs for no longer than 30 minutes. These settings
|
6969
|
+
are not configurable.
|
5744
6970
|
|
5745
|
-
-
|
5746
|
-
|
5747
|
-
- Exadata storage server
|
6971
|
+
The high-frequency task complements the standard Automatic SPM Evolve Advisor task.
|
6972
|
+
They are independent and are scheduled through two different frameworks.
|
5748
6973
|
|
6974
|
+
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
6975
|
+
Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
5749
6976
|
|
5750
|
-
|
5751
|
-
|
6977
|
+
|
6978
|
+
:param str managed_database_id: (required)
|
6979
|
+
The `OCID`__ of the Managed Database.
|
5752
6980
|
|
5753
6981
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5754
6982
|
|
5755
|
-
:param oci.database_management.models.
|
5756
|
-
The details required to enable
|
6983
|
+
:param oci.database_management.models.EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails enable_high_frequency_automatic_spm_evolve_advisor_task_details: (required)
|
6984
|
+
The details required to enable high frequency Automatic SPM Evolve Advisor task.
|
5757
6985
|
|
5758
6986
|
:param str opc_request_id: (optional)
|
5759
6987
|
The client request ID for tracing.
|
5760
6988
|
|
5761
|
-
:param str opc_retry_token: (optional)
|
5762
|
-
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
5763
|
-
server error without risk of executing that same action again. Retry tokens expire after 24
|
5764
|
-
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
5765
|
-
has been deleted and purged from the system, then a retry of the original creation request
|
5766
|
-
might be rejected.
|
5767
|
-
|
5768
|
-
:param str if_match: (optional)
|
5769
|
-
For optimistic concurrency control. In the PUT or DELETE call
|
5770
|
-
for a resource, set the `if-match` parameter to the value of the
|
5771
|
-
etag from a previous GET or POST response for that resource.
|
5772
|
-
The resource will be updated or deleted only if the etag you
|
5773
|
-
provide matches the resource's current etag value.
|
5774
|
-
|
5775
6989
|
:param obj retry_strategy: (optional)
|
5776
6990
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5777
6991
|
|
5778
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
6992
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5779
6993
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5780
6994
|
|
5781
6995
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5788,30 +7002,28 @@ class DbManagementClient(object):
|
|
5788
7002
|
:rtype: :class:`~oci.response.Response`
|
5789
7003
|
|
5790
7004
|
:example:
|
5791
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7005
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_high_frequency_automatic_spm_evolve_advisor_task.py.html>`__ to see an example of how to use enable_high_frequency_automatic_spm_evolve_advisor_task API.
|
5792
7006
|
"""
|
5793
7007
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5794
|
-
required_arguments = ['
|
5795
|
-
resource_path = "/
|
7008
|
+
required_arguments = ['managedDatabaseId']
|
7009
|
+
resource_path = "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableHighFrequencyAutomaticSpmEvolveAdvisorTask"
|
5796
7010
|
method = "POST"
|
5797
|
-
operation_name = "
|
5798
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
7011
|
+
operation_name = "enable_high_frequency_automatic_spm_evolve_advisor_task"
|
7012
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableHighFrequencyAutomaticSpmEvolveAdvisorTask"
|
5799
7013
|
|
5800
7014
|
# Don't accept unknown kwargs
|
5801
7015
|
expected_kwargs = [
|
5802
7016
|
"allow_control_chars",
|
5803
7017
|
"retry_strategy",
|
5804
|
-
"opc_request_id"
|
5805
|
-
"opc_retry_token",
|
5806
|
-
"if_match"
|
7018
|
+
"opc_request_id"
|
5807
7019
|
]
|
5808
7020
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5809
7021
|
if extra_kwargs:
|
5810
7022
|
raise ValueError(
|
5811
|
-
f"
|
7023
|
+
f"enable_high_frequency_automatic_spm_evolve_advisor_task got unknown kwargs: {extra_kwargs!r}")
|
5812
7024
|
|
5813
7025
|
path_params = {
|
5814
|
-
"
|
7026
|
+
"managedDatabaseId": managed_database_id
|
5815
7027
|
}
|
5816
7028
|
|
5817
7029
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5823,9 +7035,7 @@ class DbManagementClient(object):
|
|
5823
7035
|
header_params = {
|
5824
7036
|
"accept": "application/json",
|
5825
7037
|
"content-type": "application/json",
|
5826
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5827
|
-
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
5828
|
-
"if-match": kwargs.get("if_match", missing)
|
7038
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5829
7039
|
}
|
5830
7040
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5831
7041
|
|
@@ -5833,12 +7043,9 @@ class DbManagementClient(object):
|
|
5833
7043
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5834
7044
|
client_retry_strategy=self.retry_strategy
|
5835
7045
|
)
|
5836
|
-
if retry_strategy is None:
|
5837
|
-
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5838
7046
|
|
5839
7047
|
if retry_strategy:
|
5840
7048
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5841
|
-
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5842
7049
|
self.base_client.add_opc_client_retries_header(header_params)
|
5843
7050
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5844
7051
|
return retry_strategy.make_retrying_call(
|
@@ -5847,7 +7054,7 @@ class DbManagementClient(object):
|
|
5847
7054
|
method=method,
|
5848
7055
|
path_params=path_params,
|
5849
7056
|
header_params=header_params,
|
5850
|
-
body=
|
7057
|
+
body=enable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
5851
7058
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5852
7059
|
operation_name=operation_name,
|
5853
7060
|
api_reference_link=api_reference_link,
|
@@ -5858,40 +7065,46 @@ class DbManagementClient(object):
|
|
5858
7065
|
method=method,
|
5859
7066
|
path_params=path_params,
|
5860
7067
|
header_params=header_params,
|
5861
|
-
body=
|
7068
|
+
body=enable_high_frequency_automatic_spm_evolve_advisor_task_details,
|
5862
7069
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5863
7070
|
operation_name=operation_name,
|
5864
7071
|
api_reference_link=api_reference_link,
|
5865
7072
|
required_arguments=required_arguments)
|
5866
7073
|
|
5867
|
-
def
|
7074
|
+
def enable_pluggable_database_management_feature(self, pluggable_database_id, enable_pluggable_database_management_feature_details, **kwargs):
|
5868
7075
|
"""
|
5869
|
-
Enables
|
5870
|
-
task runs every hour and runs for no longer than 30 minutes. These settings
|
5871
|
-
are not configurable.
|
5872
|
-
|
5873
|
-
The high-frequency task complements the standard Automatic SPM Evolve Advisor task.
|
5874
|
-
They are independent and are scheduled through two different frameworks.
|
5875
|
-
|
5876
|
-
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
5877
|
-
Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
7076
|
+
Enables a Database Management feature for the specified Oracle cloud pluggable database.
|
5878
7077
|
|
5879
7078
|
|
5880
|
-
:param str
|
5881
|
-
The `OCID`__ of the
|
7079
|
+
:param str pluggable_database_id: (required)
|
7080
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
5882
7081
|
|
5883
7082
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
5884
7083
|
|
5885
|
-
:param oci.database_management.models.
|
5886
|
-
The details required to enable
|
7084
|
+
:param oci.database_management.models.EnablePluggableDatabaseManagementFeatureDetails enable_pluggable_database_management_feature_details: (required)
|
7085
|
+
The details required to enable a Database Management feature for an Oracle cloud pluggable database.
|
5887
7086
|
|
5888
7087
|
:param str opc_request_id: (optional)
|
5889
7088
|
The client request ID for tracing.
|
5890
7089
|
|
7090
|
+
:param str opc_retry_token: (optional)
|
7091
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
7092
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
7093
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
7094
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
7095
|
+
might be rejected.
|
7096
|
+
|
7097
|
+
:param str if_match: (optional)
|
7098
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
7099
|
+
for a resource, set the `if-match` parameter to the value of the
|
7100
|
+
etag from a previous GET or POST response for that resource.
|
7101
|
+
The resource will be updated or deleted only if the etag you
|
7102
|
+
provide matches the resource's current etag value.
|
7103
|
+
|
5891
7104
|
:param obj retry_strategy: (optional)
|
5892
7105
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5893
7106
|
|
5894
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
7107
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
5895
7108
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5896
7109
|
|
5897
7110
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -5904,28 +7117,30 @@ class DbManagementClient(object):
|
|
5904
7117
|
:rtype: :class:`~oci.response.Response`
|
5905
7118
|
|
5906
7119
|
:example:
|
5907
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7120
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_pluggable_database_management_feature.py.html>`__ to see an example of how to use enable_pluggable_database_management_feature API.
|
5908
7121
|
"""
|
5909
7122
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5910
|
-
required_arguments = ['
|
5911
|
-
resource_path = "/
|
7123
|
+
required_arguments = ['pluggableDatabaseId']
|
7124
|
+
resource_path = "/pluggabledatabases/{pluggableDatabaseId}/actions/enableDatabaseManagement"
|
5912
7125
|
method = "POST"
|
5913
|
-
operation_name = "
|
5914
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/
|
7126
|
+
operation_name = "enable_pluggable_database_management_feature"
|
7127
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnablePluggableDatabaseManagementFeature"
|
5915
7128
|
|
5916
7129
|
# Don't accept unknown kwargs
|
5917
7130
|
expected_kwargs = [
|
5918
7131
|
"allow_control_chars",
|
5919
7132
|
"retry_strategy",
|
5920
|
-
"opc_request_id"
|
7133
|
+
"opc_request_id",
|
7134
|
+
"opc_retry_token",
|
7135
|
+
"if_match"
|
5921
7136
|
]
|
5922
7137
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5923
7138
|
if extra_kwargs:
|
5924
7139
|
raise ValueError(
|
5925
|
-
f"
|
7140
|
+
f"enable_pluggable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
5926
7141
|
|
5927
7142
|
path_params = {
|
5928
|
-
"
|
7143
|
+
"pluggableDatabaseId": pluggable_database_id
|
5929
7144
|
}
|
5930
7145
|
|
5931
7146
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5937,7 +7152,9 @@ class DbManagementClient(object):
|
|
5937
7152
|
header_params = {
|
5938
7153
|
"accept": "application/json",
|
5939
7154
|
"content-type": "application/json",
|
5940
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
7155
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
7156
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
7157
|
+
"if-match": kwargs.get("if_match", missing)
|
5941
7158
|
}
|
5942
7159
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5943
7160
|
|
@@ -5945,9 +7162,12 @@ class DbManagementClient(object):
|
|
5945
7162
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5946
7163
|
client_retry_strategy=self.retry_strategy
|
5947
7164
|
)
|
7165
|
+
if retry_strategy is None:
|
7166
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5948
7167
|
|
5949
7168
|
if retry_strategy:
|
5950
7169
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
7170
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
5951
7171
|
self.base_client.add_opc_client_retries_header(header_params)
|
5952
7172
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5953
7173
|
return retry_strategy.make_retrying_call(
|
@@ -5956,7 +7176,7 @@ class DbManagementClient(object):
|
|
5956
7176
|
method=method,
|
5957
7177
|
path_params=path_params,
|
5958
7178
|
header_params=header_params,
|
5959
|
-
body=
|
7179
|
+
body=enable_pluggable_database_management_feature_details,
|
5960
7180
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5961
7181
|
operation_name=operation_name,
|
5962
7182
|
api_reference_link=api_reference_link,
|
@@ -5967,7 +7187,7 @@ class DbManagementClient(object):
|
|
5967
7187
|
method=method,
|
5968
7188
|
path_params=path_params,
|
5969
7189
|
header_params=header_params,
|
5970
|
-
body=
|
7190
|
+
body=enable_pluggable_database_management_feature_details,
|
5971
7191
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5972
7192
|
operation_name=operation_name,
|
5973
7193
|
api_reference_link=api_reference_link,
|
@@ -6008,7 +7228,7 @@ class DbManagementClient(object):
|
|
6008
7228
|
:rtype: :class:`~oci.response.Response`
|
6009
7229
|
|
6010
7230
|
:example:
|
6011
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7231
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/enable_sql_plan_baselines_usage.py.html>`__ to see an example of how to use enable_sql_plan_baselines_usage API.
|
6012
7232
|
"""
|
6013
7233
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6014
7234
|
required_arguments = ['managedDatabaseId']
|
@@ -6116,7 +7336,7 @@ class DbManagementClient(object):
|
|
6116
7336
|
:rtype: :class:`~oci.response.Response`
|
6117
7337
|
|
6118
7338
|
:example:
|
6119
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7339
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/generate_awr_snapshot.py.html>`__ to see an example of how to use generate_awr_snapshot API.
|
6120
7340
|
"""
|
6121
7341
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6122
7342
|
required_arguments = ['managedDatabaseId']
|
@@ -6264,7 +7484,7 @@ class DbManagementClient(object):
|
|
6264
7484
|
:rtype: :class:`~oci.response.Response`
|
6265
7485
|
|
6266
7486
|
:example:
|
6267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7487
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_awr_db_report.py.html>`__ to see an example of how to use get_awr_db_report API.
|
6268
7488
|
"""
|
6269
7489
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6270
7490
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -6447,7 +7667,7 @@ class DbManagementClient(object):
|
|
6447
7667
|
:rtype: :class:`~oci.response.Response`
|
6448
7668
|
|
6449
7669
|
:example:
|
6450
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7670
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_awr_db_sql_report.py.html>`__ to see an example of how to use get_awr_db_sql_report API.
|
6451
7671
|
"""
|
6452
7672
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6453
7673
|
required_arguments = ['managedDatabaseId', 'awrDbId', 'sqlId']
|
@@ -6589,7 +7809,7 @@ class DbManagementClient(object):
|
|
6589
7809
|
:rtype: :class:`~oci.response.Response`
|
6590
7810
|
|
6591
7811
|
:example:
|
6592
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7812
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_cluster_cache_metric.py.html>`__ to see an example of how to use get_cluster_cache_metric API.
|
6593
7813
|
"""
|
6594
7814
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6595
7815
|
required_arguments = ['managedDatabaseId', 'startTime', 'endTime']
|
@@ -6771,7 +7991,7 @@ class DbManagementClient(object):
|
|
6771
7991
|
:rtype: :class:`~oci.response.Response`
|
6772
7992
|
|
6773
7993
|
:example:
|
6774
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
7994
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_database_fleet_health_metrics.py.html>`__ to see an example of how to use get_database_fleet_health_metrics API.
|
6775
7995
|
"""
|
6776
7996
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6777
7997
|
required_arguments = ['compareBaselineTime', 'compareTargetTime']
|
@@ -6926,7 +8146,7 @@ class DbManagementClient(object):
|
|
6926
8146
|
:rtype: :class:`~oci.response.Response`
|
6927
8147
|
|
6928
8148
|
:example:
|
6929
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_database_home_metrics.py.html>`__ to see an example of how to use get_database_home_metrics API.
|
6930
8150
|
"""
|
6931
8151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6932
8152
|
required_arguments = ['managedDatabaseId', 'startTime', 'endTime']
|
@@ -7021,7 +8241,7 @@ class DbManagementClient(object):
|
|
7021
8241
|
:rtype: :class:`~oci.response.Response`
|
7022
8242
|
|
7023
8243
|
:example:
|
7024
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8244
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_db_management_private_endpoint.py.html>`__ to see an example of how to use get_db_management_private_endpoint API.
|
7025
8245
|
"""
|
7026
8246
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7027
8247
|
required_arguments = ['dbManagementPrivateEndpointId']
|
@@ -7119,7 +8339,7 @@ class DbManagementClient(object):
|
|
7119
8339
|
:rtype: :class:`~oci.response.Response`
|
7120
8340
|
|
7121
8341
|
:example:
|
7122
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8342
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_asm.py.html>`__ to see an example of how to use get_external_asm API.
|
7123
8343
|
"""
|
7124
8344
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7125
8345
|
required_arguments = ['externalAsmId']
|
@@ -7222,7 +8442,7 @@ class DbManagementClient(object):
|
|
7222
8442
|
:rtype: :class:`~oci.response.Response`
|
7223
8443
|
|
7224
8444
|
:example:
|
7225
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8445
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_asm_configuration.py.html>`__ to see an example of how to use get_external_asm_configuration API.
|
7226
8446
|
"""
|
7227
8447
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7228
8448
|
required_arguments = ['externalAsmId']
|
@@ -7324,7 +8544,7 @@ class DbManagementClient(object):
|
|
7324
8544
|
:rtype: :class:`~oci.response.Response`
|
7325
8545
|
|
7326
8546
|
:example:
|
7327
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8547
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_asm_instance.py.html>`__ to see an example of how to use get_external_asm_instance API.
|
7328
8548
|
"""
|
7329
8549
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7330
8550
|
required_arguments = ['externalAsmInstanceId']
|
@@ -7424,7 +8644,7 @@ class DbManagementClient(object):
|
|
7424
8644
|
:rtype: :class:`~oci.response.Response`
|
7425
8645
|
|
7426
8646
|
:example:
|
7427
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_cluster.py.html>`__ to see an example of how to use get_external_cluster API.
|
7428
8648
|
"""
|
7429
8649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7430
8650
|
required_arguments = ['externalClusterId']
|
@@ -7524,7 +8744,7 @@ class DbManagementClient(object):
|
|
7524
8744
|
:rtype: :class:`~oci.response.Response`
|
7525
8745
|
|
7526
8746
|
:example:
|
7527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8747
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_cluster_instance.py.html>`__ to see an example of how to use get_external_cluster_instance API.
|
7528
8748
|
"""
|
7529
8749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7530
8750
|
required_arguments = ['externalClusterInstanceId']
|
@@ -7624,7 +8844,7 @@ class DbManagementClient(object):
|
|
7624
8844
|
:rtype: :class:`~oci.response.Response`
|
7625
8845
|
|
7626
8846
|
:example:
|
7627
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8847
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_db_home.py.html>`__ to see an example of how to use get_external_db_home API.
|
7628
8848
|
"""
|
7629
8849
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7630
8850
|
required_arguments = ['externalDbHomeId']
|
@@ -7724,7 +8944,7 @@ class DbManagementClient(object):
|
|
7724
8944
|
:rtype: :class:`~oci.response.Response`
|
7725
8945
|
|
7726
8946
|
:example:
|
7727
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
8947
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_db_node.py.html>`__ to see an example of how to use get_external_db_node API.
|
7728
8948
|
"""
|
7729
8949
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7730
8950
|
required_arguments = ['externalDbNodeId']
|
@@ -7824,7 +9044,7 @@ class DbManagementClient(object):
|
|
7824
9044
|
:rtype: :class:`~oci.response.Response`
|
7825
9045
|
|
7826
9046
|
:example:
|
7827
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9047
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_db_system.py.html>`__ to see an example of how to use get_external_db_system API.
|
7828
9048
|
"""
|
7829
9049
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7830
9050
|
required_arguments = ['externalDbSystemId']
|
@@ -7924,7 +9144,7 @@ class DbManagementClient(object):
|
|
7924
9144
|
:rtype: :class:`~oci.response.Response`
|
7925
9145
|
|
7926
9146
|
:example:
|
7927
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_db_system_connector.py.html>`__ to see an example of how to use get_external_db_system_connector API.
|
7928
9148
|
"""
|
7929
9149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7930
9150
|
required_arguments = ['externalDbSystemConnectorId']
|
@@ -8024,7 +9244,7 @@ class DbManagementClient(object):
|
|
8024
9244
|
:rtype: :class:`~oci.response.Response`
|
8025
9245
|
|
8026
9246
|
:example:
|
8027
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9247
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_db_system_discovery.py.html>`__ to see an example of how to use get_external_db_system_discovery API.
|
8028
9248
|
"""
|
8029
9249
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8030
9250
|
required_arguments = ['externalDbSystemDiscoveryId']
|
@@ -8125,7 +9345,7 @@ class DbManagementClient(object):
|
|
8125
9345
|
:rtype: :class:`~oci.response.Response`
|
8126
9346
|
|
8127
9347
|
:example:
|
8128
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9348
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_exadata_infrastructure.py.html>`__ to see an example of how to use get_external_exadata_infrastructure API.
|
8129
9349
|
"""
|
8130
9350
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8131
9351
|
required_arguments = ['externalExadataInfrastructureId']
|
@@ -8225,7 +9445,7 @@ class DbManagementClient(object):
|
|
8225
9445
|
:rtype: :class:`~oci.response.Response`
|
8226
9446
|
|
8227
9447
|
:example:
|
8228
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_exadata_storage_connector.py.html>`__ to see an example of how to use get_external_exadata_storage_connector API.
|
8229
9449
|
"""
|
8230
9450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8231
9451
|
required_arguments = ['externalExadataStorageConnectorId']
|
@@ -8325,7 +9545,7 @@ class DbManagementClient(object):
|
|
8325
9545
|
:rtype: :class:`~oci.response.Response`
|
8326
9546
|
|
8327
9547
|
:example:
|
8328
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9548
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_exadata_storage_grid.py.html>`__ to see an example of how to use get_external_exadata_storage_grid API.
|
8329
9549
|
"""
|
8330
9550
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8331
9551
|
required_arguments = ['externalExadataStorageGridId']
|
@@ -8425,7 +9645,7 @@ class DbManagementClient(object):
|
|
8425
9645
|
:rtype: :class:`~oci.response.Response`
|
8426
9646
|
|
8427
9647
|
:example:
|
8428
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9648
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_exadata_storage_server.py.html>`__ to see an example of how to use get_external_exadata_storage_server API.
|
8429
9649
|
"""
|
8430
9650
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8431
9651
|
required_arguments = ['externalExadataStorageServerId']
|
@@ -8525,7 +9745,7 @@ class DbManagementClient(object):
|
|
8525
9745
|
:rtype: :class:`~oci.response.Response`
|
8526
9746
|
|
8527
9747
|
:example:
|
8528
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9748
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_external_listener.py.html>`__ to see an example of how to use get_external_listener API.
|
8529
9749
|
"""
|
8530
9750
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8531
9751
|
required_arguments = ['externalListenerId']
|
@@ -8625,7 +9845,7 @@ class DbManagementClient(object):
|
|
8625
9845
|
:rtype: :class:`~oci.response.Response`
|
8626
9846
|
|
8627
9847
|
:example:
|
8628
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9848
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_iorm_plan.py.html>`__ to see an example of how to use get_iorm_plan API.
|
8629
9849
|
"""
|
8630
9850
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8631
9851
|
required_arguments = ['externalExadataStorageServerId']
|
@@ -8723,7 +9943,7 @@ class DbManagementClient(object):
|
|
8723
9943
|
:rtype: :class:`~oci.response.Response`
|
8724
9944
|
|
8725
9945
|
:example:
|
8726
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
9946
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_job.py.html>`__ to see an example of how to use get_job API.
|
8727
9947
|
"""
|
8728
9948
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8729
9949
|
required_arguments = ['jobId']
|
@@ -8819,7 +10039,7 @@ class DbManagementClient(object):
|
|
8819
10039
|
:rtype: :class:`~oci.response.Response`
|
8820
10040
|
|
8821
10041
|
:example:
|
8822
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10042
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_job_execution.py.html>`__ to see an example of how to use get_job_execution API.
|
8823
10043
|
"""
|
8824
10044
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8825
10045
|
required_arguments = ['jobExecutionId']
|
@@ -8915,7 +10135,7 @@ class DbManagementClient(object):
|
|
8915
10135
|
:rtype: :class:`~oci.response.Response`
|
8916
10136
|
|
8917
10137
|
:example:
|
8918
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10138
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_job_run.py.html>`__ to see an example of how to use get_job_run API.
|
8919
10139
|
"""
|
8920
10140
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8921
10141
|
required_arguments = ['jobRunId']
|
@@ -9013,7 +10233,7 @@ class DbManagementClient(object):
|
|
9013
10233
|
:rtype: :class:`~oci.response.Response`
|
9014
10234
|
|
9015
10235
|
:example:
|
9016
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10236
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_managed_database.py.html>`__ to see an example of how to use get_managed_database API.
|
9017
10237
|
"""
|
9018
10238
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9019
10239
|
required_arguments = ['managedDatabaseId']
|
@@ -9111,7 +10331,7 @@ class DbManagementClient(object):
|
|
9111
10331
|
:rtype: :class:`~oci.response.Response`
|
9112
10332
|
|
9113
10333
|
:example:
|
9114
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10334
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_managed_database_group.py.html>`__ to see an example of how to use get_managed_database_group API.
|
9115
10335
|
"""
|
9116
10336
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9117
10337
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -9209,7 +10429,7 @@ class DbManagementClient(object):
|
|
9209
10429
|
:rtype: :class:`~oci.response.Response`
|
9210
10430
|
|
9211
10431
|
:example:
|
9212
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10432
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_named_credential.py.html>`__ to see an example of how to use get_named_credential API.
|
9213
10433
|
"""
|
9214
10434
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9215
10435
|
required_arguments = ['namedCredentialId']
|
@@ -9307,7 +10527,7 @@ class DbManagementClient(object):
|
|
9307
10527
|
:rtype: :class:`~oci.response.Response`
|
9308
10528
|
|
9309
10529
|
:example:
|
9310
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10530
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_open_alert_history.py.html>`__ to see an example of how to use get_open_alert_history API.
|
9311
10531
|
"""
|
9312
10532
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9313
10533
|
required_arguments = ['externalExadataStorageServerId']
|
@@ -9417,7 +10637,7 @@ class DbManagementClient(object):
|
|
9417
10637
|
:rtype: :class:`~oci.response.Response`
|
9418
10638
|
|
9419
10639
|
:example:
|
9420
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_optimizer_statistics_advisor_execution.py.html>`__ to see an example of how to use get_optimizer_statistics_advisor_execution API.
|
9421
10641
|
"""
|
9422
10642
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9423
10643
|
required_arguments = ['managedDatabaseId', 'executionName', 'taskName']
|
@@ -9534,7 +10754,7 @@ class DbManagementClient(object):
|
|
9534
10754
|
:rtype: :class:`~oci.response.Response`
|
9535
10755
|
|
9536
10756
|
:example:
|
9537
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10757
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_optimizer_statistics_advisor_execution_script.py.html>`__ to see an example of how to use get_optimizer_statistics_advisor_execution_script API.
|
9538
10758
|
"""
|
9539
10759
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9540
10760
|
required_arguments = ['managedDatabaseId', 'executionName', 'taskName']
|
@@ -9648,7 +10868,7 @@ class DbManagementClient(object):
|
|
9648
10868
|
:rtype: :class:`~oci.response.Response`
|
9649
10869
|
|
9650
10870
|
:example:
|
9651
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10871
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_optimizer_statistics_collection_operation.py.html>`__ to see an example of how to use get_optimizer_statistics_collection_operation API.
|
9652
10872
|
"""
|
9653
10873
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9654
10874
|
required_arguments = ['managedDatabaseId', 'optimizerStatisticsCollectionOperationId']
|
@@ -9773,7 +10993,7 @@ class DbManagementClient(object):
|
|
9773
10993
|
:rtype: :class:`~oci.response.Response`
|
9774
10994
|
|
9775
10995
|
:example:
|
9776
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
10996
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_pdb_metrics.py.html>`__ to see an example of how to use get_pdb_metrics API.
|
9777
10997
|
"""
|
9778
10998
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9779
10999
|
required_arguments = ['managedDatabaseId', 'startTime', 'endTime']
|
@@ -9895,7 +11115,7 @@ class DbManagementClient(object):
|
|
9895
11115
|
:rtype: :class:`~oci.response.Response`
|
9896
11116
|
|
9897
11117
|
:example:
|
9898
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11118
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_preferred_credential.py.html>`__ to see an example of how to use get_preferred_credential API.
|
9899
11119
|
"""
|
9900
11120
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9901
11121
|
required_arguments = ['managedDatabaseId', 'credentialName']
|
@@ -10000,7 +11220,7 @@ class DbManagementClient(object):
|
|
10000
11220
|
:rtype: :class:`~oci.response.Response`
|
10001
11221
|
|
10002
11222
|
:example:
|
10003
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11223
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_sql_plan_baseline.py.html>`__ to see an example of how to use get_sql_plan_baseline API.
|
10004
11224
|
"""
|
10005
11225
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10006
11226
|
required_arguments = ['managedDatabaseId', 'planName']
|
@@ -10108,7 +11328,7 @@ class DbManagementClient(object):
|
|
10108
11328
|
:rtype: :class:`~oci.response.Response`
|
10109
11329
|
|
10110
11330
|
:example:
|
10111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11331
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_sql_plan_baseline_configuration.py.html>`__ to see an example of how to use get_sql_plan_baseline_configuration API.
|
10112
11332
|
"""
|
10113
11333
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10114
11334
|
required_arguments = ['managedDatabaseId']
|
@@ -10216,7 +11436,7 @@ class DbManagementClient(object):
|
|
10216
11436
|
:rtype: :class:`~oci.response.Response`
|
10217
11437
|
|
10218
11438
|
:example:
|
10219
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11439
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_tablespace.py.html>`__ to see an example of how to use get_tablespace API.
|
10220
11440
|
"""
|
10221
11441
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10222
11442
|
required_arguments = ['managedDatabaseId', 'tablespaceName']
|
@@ -10317,7 +11537,7 @@ class DbManagementClient(object):
|
|
10317
11537
|
:rtype: :class:`~oci.response.Response`
|
10318
11538
|
|
10319
11539
|
:example:
|
10320
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_top_sql_cpu_activity.py.html>`__ to see an example of how to use get_top_sql_cpu_activity API.
|
10321
11541
|
"""
|
10322
11542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10323
11543
|
required_arguments = ['externalExadataStorageServerId']
|
@@ -10423,7 +11643,7 @@ class DbManagementClient(object):
|
|
10423
11643
|
:rtype: :class:`~oci.response.Response`
|
10424
11644
|
|
10425
11645
|
:example:
|
10426
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_user.py.html>`__ to see an example of how to use get_user API.
|
10427
11647
|
"""
|
10428
11648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10429
11649
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -10524,7 +11744,7 @@ class DbManagementClient(object):
|
|
10524
11744
|
:rtype: :class:`~oci.response.Response`
|
10525
11745
|
|
10526
11746
|
:example:
|
10527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11747
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
10528
11748
|
"""
|
10529
11749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10530
11750
|
required_arguments = ['workRequestId']
|
@@ -10628,7 +11848,7 @@ class DbManagementClient(object):
|
|
10628
11848
|
:rtype: :class:`~oci.response.Response`
|
10629
11849
|
|
10630
11850
|
:example:
|
10631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11851
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/implement_optimizer_statistics_advisor_recommendations.py.html>`__ to see an example of how to use implement_optimizer_statistics_advisor_recommendations API.
|
10632
11852
|
"""
|
10633
11853
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10634
11854
|
required_arguments = ['managedDatabaseId', 'executionName']
|
@@ -10751,7 +11971,7 @@ class DbManagementClient(object):
|
|
10751
11971
|
:rtype: :class:`~oci.response.Response`
|
10752
11972
|
|
10753
11973
|
:example:
|
10754
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
11974
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_asm_properties.py.html>`__ to see an example of how to use list_asm_properties API.
|
10755
11975
|
"""
|
10756
11976
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10757
11977
|
required_arguments = ['managedDatabaseId']
|
@@ -10901,7 +12121,7 @@ class DbManagementClient(object):
|
|
10901
12121
|
:rtype: :class:`~oci.response.Response`
|
10902
12122
|
|
10903
12123
|
:example:
|
10904
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12124
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_associated_databases.py.html>`__ to see an example of how to use list_associated_databases API.
|
10905
12125
|
"""
|
10906
12126
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10907
12127
|
required_arguments = ['dbManagementPrivateEndpointId', 'compartmentId']
|
@@ -11080,7 +12300,7 @@ class DbManagementClient(object):
|
|
11080
12300
|
:rtype: :class:`~oci.response.Response`
|
11081
12301
|
|
11082
12302
|
:example:
|
11083
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12303
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_awr_db_snapshots.py.html>`__ to see an example of how to use list_awr_db_snapshots API.
|
11084
12304
|
"""
|
11085
12305
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11086
12306
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -11260,7 +12480,7 @@ class DbManagementClient(object):
|
|
11260
12480
|
:rtype: :class:`~oci.response.Response`
|
11261
12481
|
|
11262
12482
|
:example:
|
11263
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12483
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_awr_dbs.py.html>`__ to see an example of how to use list_awr_dbs API.
|
11264
12484
|
"""
|
11265
12485
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11266
12486
|
required_arguments = ['managedDatabaseId']
|
@@ -11424,7 +12644,7 @@ class DbManagementClient(object):
|
|
11424
12644
|
:rtype: :class:`~oci.response.Response`
|
11425
12645
|
|
11426
12646
|
:example:
|
11427
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_consumer_group_privileges.py.html>`__ to see an example of how to use list_consumer_group_privileges API.
|
11428
12648
|
"""
|
11429
12649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11430
12650
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -11580,7 +12800,7 @@ class DbManagementClient(object):
|
|
11580
12800
|
:rtype: :class:`~oci.response.Response`
|
11581
12801
|
|
11582
12802
|
:example:
|
11583
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12803
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_cursor_cache_statements.py.html>`__ to see an example of how to use list_cursor_cache_statements API.
|
11584
12804
|
"""
|
11585
12805
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11586
12806
|
required_arguments = ['managedDatabaseId']
|
@@ -11739,7 +12959,7 @@ class DbManagementClient(object):
|
|
11739
12959
|
:rtype: :class:`~oci.response.Response`
|
11740
12960
|
|
11741
12961
|
:example:
|
11742
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
12962
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_data_access_containers.py.html>`__ to see an example of how to use list_data_access_containers API.
|
11743
12963
|
"""
|
11744
12964
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11745
12965
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -11898,7 +13118,7 @@ class DbManagementClient(object):
|
|
11898
13118
|
:rtype: :class:`~oci.response.Response`
|
11899
13119
|
|
11900
13120
|
:example:
|
11901
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13121
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_database_parameters.py.html>`__ to see an example of how to use list_database_parameters API.
|
11902
13122
|
"""
|
11903
13123
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11904
13124
|
required_arguments = ['managedDatabaseId']
|
@@ -12070,7 +13290,7 @@ class DbManagementClient(object):
|
|
12070
13290
|
:rtype: :class:`~oci.response.Response`
|
12071
13291
|
|
12072
13292
|
:example:
|
12073
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13293
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_db_management_private_endpoints.py.html>`__ to see an example of how to use list_db_management_private_endpoints API.
|
12074
13294
|
"""
|
12075
13295
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12076
13296
|
required_arguments = ['compartmentId']
|
@@ -12221,7 +13441,7 @@ class DbManagementClient(object):
|
|
12221
13441
|
:rtype: :class:`~oci.response.Response`
|
12222
13442
|
|
12223
13443
|
:example:
|
12224
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13444
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_asm_disk_groups.py.html>`__ to see an example of how to use list_external_asm_disk_groups API.
|
12225
13445
|
"""
|
12226
13446
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12227
13447
|
required_arguments = ['externalAsmId']
|
@@ -12378,7 +13598,7 @@ class DbManagementClient(object):
|
|
12378
13598
|
:rtype: :class:`~oci.response.Response`
|
12379
13599
|
|
12380
13600
|
:example:
|
12381
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13601
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_asm_instances.py.html>`__ to see an example of how to use list_external_asm_instances API.
|
12382
13602
|
"""
|
12383
13603
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12384
13604
|
required_arguments = []
|
@@ -12521,7 +13741,7 @@ class DbManagementClient(object):
|
|
12521
13741
|
:rtype: :class:`~oci.response.Response`
|
12522
13742
|
|
12523
13743
|
:example:
|
12524
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_asm_users.py.html>`__ to see an example of how to use list_external_asm_users API.
|
12525
13745
|
"""
|
12526
13746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12527
13747
|
required_arguments = ['externalAsmId']
|
@@ -12678,7 +13898,7 @@ class DbManagementClient(object):
|
|
12678
13898
|
:rtype: :class:`~oci.response.Response`
|
12679
13899
|
|
12680
13900
|
:example:
|
12681
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
13901
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_asms.py.html>`__ to see an example of how to use list_external_asms API.
|
12682
13902
|
"""
|
12683
13903
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12684
13904
|
required_arguments = []
|
@@ -12827,7 +14047,7 @@ class DbManagementClient(object):
|
|
12827
14047
|
:rtype: :class:`~oci.response.Response`
|
12828
14048
|
|
12829
14049
|
:example:
|
12830
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14050
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_cluster_instances.py.html>`__ to see an example of how to use list_external_cluster_instances API.
|
12831
14051
|
"""
|
12832
14052
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12833
14053
|
required_arguments = []
|
@@ -12976,7 +14196,7 @@ class DbManagementClient(object):
|
|
12976
14196
|
:rtype: :class:`~oci.response.Response`
|
12977
14197
|
|
12978
14198
|
:example:
|
12979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14199
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_clusters.py.html>`__ to see an example of how to use list_external_clusters API.
|
12980
14200
|
"""
|
12981
14201
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12982
14202
|
required_arguments = []
|
@@ -13084,6 +14304,11 @@ class DbManagementClient(object):
|
|
13084
14304
|
|
13085
14305
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
13086
14306
|
|
14307
|
+
:param str external_database_id: (optional)
|
14308
|
+
The `OCID`__ of the external database.
|
14309
|
+
|
14310
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
14311
|
+
|
13087
14312
|
:param str display_name: (optional)
|
13088
14313
|
A filter to only return the resources that match the entire display name.
|
13089
14314
|
|
@@ -13125,7 +14350,7 @@ class DbManagementClient(object):
|
|
13125
14350
|
:rtype: :class:`~oci.response.Response`
|
13126
14351
|
|
13127
14352
|
:example:
|
13128
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14353
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_databases.py.html>`__ to see an example of how to use list_external_databases API.
|
13129
14354
|
"""
|
13130
14355
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13131
14356
|
required_arguments = []
|
@@ -13140,6 +14365,7 @@ class DbManagementClient(object):
|
|
13140
14365
|
"retry_strategy",
|
13141
14366
|
"compartment_id",
|
13142
14367
|
"external_db_system_id",
|
14368
|
+
"external_database_id",
|
13143
14369
|
"display_name",
|
13144
14370
|
"page",
|
13145
14371
|
"limit",
|
@@ -13169,6 +14395,7 @@ class DbManagementClient(object):
|
|
13169
14395
|
query_params = {
|
13170
14396
|
"compartmentId": kwargs.get("compartment_id", missing),
|
13171
14397
|
"externalDbSystemId": kwargs.get("external_db_system_id", missing),
|
14398
|
+
"externalDatabaseId": kwargs.get("external_database_id", missing),
|
13172
14399
|
"displayName": kwargs.get("display_name", missing),
|
13173
14400
|
"page": kwargs.get("page", missing),
|
13174
14401
|
"limit": kwargs.get("limit", missing),
|
@@ -13274,7 +14501,7 @@ class DbManagementClient(object):
|
|
13274
14501
|
:rtype: :class:`~oci.response.Response`
|
13275
14502
|
|
13276
14503
|
:example:
|
13277
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14504
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_db_homes.py.html>`__ to see an example of how to use list_external_db_homes API.
|
13278
14505
|
"""
|
13279
14506
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13280
14507
|
required_arguments = []
|
@@ -13423,7 +14650,7 @@ class DbManagementClient(object):
|
|
13423
14650
|
:rtype: :class:`~oci.response.Response`
|
13424
14651
|
|
13425
14652
|
:example:
|
13426
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14653
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_db_nodes.py.html>`__ to see an example of how to use list_external_db_nodes API.
|
13427
14654
|
"""
|
13428
14655
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13429
14656
|
required_arguments = []
|
@@ -13572,7 +14799,7 @@ class DbManagementClient(object):
|
|
13572
14799
|
:rtype: :class:`~oci.response.Response`
|
13573
14800
|
|
13574
14801
|
:example:
|
13575
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14802
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_db_system_connectors.py.html>`__ to see an example of how to use list_external_db_system_connectors API.
|
13576
14803
|
"""
|
13577
14804
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13578
14805
|
required_arguments = []
|
@@ -13716,7 +14943,7 @@ class DbManagementClient(object):
|
|
13716
14943
|
:rtype: :class:`~oci.response.Response`
|
13717
14944
|
|
13718
14945
|
:example:
|
13719
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
14946
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_db_system_discoveries.py.html>`__ to see an example of how to use list_external_db_system_discoveries API.
|
13720
14947
|
"""
|
13721
14948
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13722
14949
|
required_arguments = ['compartmentId']
|
@@ -13857,7 +15084,7 @@ class DbManagementClient(object):
|
|
13857
15084
|
:rtype: :class:`~oci.response.Response`
|
13858
15085
|
|
13859
15086
|
:example:
|
13860
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15087
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_db_systems.py.html>`__ to see an example of how to use list_external_db_systems API.
|
13861
15088
|
"""
|
13862
15089
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13863
15090
|
required_arguments = ['compartmentId']
|
@@ -13998,7 +15225,7 @@ class DbManagementClient(object):
|
|
13998
15225
|
:rtype: :class:`~oci.response.Response`
|
13999
15226
|
|
14000
15227
|
:example:
|
14001
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15228
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_exadata_infrastructures.py.html>`__ to see an example of how to use list_external_exadata_infrastructures API.
|
14002
15229
|
"""
|
14003
15230
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14004
15231
|
required_arguments = ['compartmentId']
|
@@ -14144,7 +15371,7 @@ class DbManagementClient(object):
|
|
14144
15371
|
:rtype: :class:`~oci.response.Response`
|
14145
15372
|
|
14146
15373
|
:example:
|
14147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15374
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_exadata_storage_connectors.py.html>`__ to see an example of how to use list_external_exadata_storage_connectors API.
|
14148
15375
|
"""
|
14149
15376
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14150
15377
|
required_arguments = ['compartmentId', 'externalExadataInfrastructureId']
|
@@ -14291,7 +15518,7 @@ class DbManagementClient(object):
|
|
14291
15518
|
:rtype: :class:`~oci.response.Response`
|
14292
15519
|
|
14293
15520
|
:example:
|
14294
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15521
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_exadata_storage_servers.py.html>`__ to see an example of how to use list_external_exadata_storage_servers API.
|
14295
15522
|
"""
|
14296
15523
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14297
15524
|
required_arguments = ['compartmentId', 'externalExadataInfrastructureId']
|
@@ -14438,7 +15665,7 @@ class DbManagementClient(object):
|
|
14438
15665
|
:rtype: :class:`~oci.response.Response`
|
14439
15666
|
|
14440
15667
|
:example:
|
14441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15668
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_listener_services.py.html>`__ to see an example of how to use list_external_listener_services API.
|
14442
15669
|
"""
|
14443
15670
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14444
15671
|
required_arguments = ['externalListenerId', 'managedDatabaseId']
|
@@ -14596,7 +15823,7 @@ class DbManagementClient(object):
|
|
14596
15823
|
:rtype: :class:`~oci.response.Response`
|
14597
15824
|
|
14598
15825
|
:example:
|
14599
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15826
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_external_listeners.py.html>`__ to see an example of how to use list_external_listeners API.
|
14600
15827
|
"""
|
14601
15828
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14602
15829
|
required_arguments = []
|
@@ -14765,7 +15992,7 @@ class DbManagementClient(object):
|
|
14765
15992
|
:rtype: :class:`~oci.response.Response`
|
14766
15993
|
|
14767
15994
|
:example:
|
14768
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
15995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_job_executions.py.html>`__ to see an example of how to use list_job_executions API.
|
14769
15996
|
"""
|
14770
15997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14771
15998
|
required_arguments = ['compartmentId']
|
@@ -14938,7 +16165,7 @@ class DbManagementClient(object):
|
|
14938
16165
|
:rtype: :class:`~oci.response.Response`
|
14939
16166
|
|
14940
16167
|
:example:
|
14941
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
16168
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_job_runs.py.html>`__ to see an example of how to use list_job_runs API.
|
14942
16169
|
"""
|
14943
16170
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14944
16171
|
required_arguments = ['compartmentId']
|
@@ -15108,7 +16335,7 @@ class DbManagementClient(object):
|
|
15108
16335
|
:rtype: :class:`~oci.response.Response`
|
15109
16336
|
|
15110
16337
|
:example:
|
15111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
16338
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
|
15112
16339
|
"""
|
15113
16340
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15114
16341
|
required_arguments = ['compartmentId']
|
@@ -15273,7 +16500,7 @@ class DbManagementClient(object):
|
|
15273
16500
|
:rtype: :class:`~oci.response.Response`
|
15274
16501
|
|
15275
16502
|
:example:
|
15276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
16503
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_managed_database_groups.py.html>`__ to see an example of how to use list_managed_database_groups API.
|
15277
16504
|
"""
|
15278
16505
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15279
16506
|
required_arguments = ['compartmentId']
|
@@ -15446,7 +16673,7 @@ class DbManagementClient(object):
|
|
15446
16673
|
:rtype: :class:`~oci.response.Response`
|
15447
16674
|
|
15448
16675
|
:example:
|
15449
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
16676
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_managed_databases.py.html>`__ to see an example of how to use list_managed_databases API.
|
15450
16677
|
"""
|
15451
16678
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15452
16679
|
required_arguments = ['compartmentId']
|
@@ -15620,7 +16847,7 @@ class DbManagementClient(object):
|
|
15620
16847
|
:rtype: :class:`~oci.response.Response`
|
15621
16848
|
|
15622
16849
|
:example:
|
15623
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
16850
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_named_credentials.py.html>`__ to see an example of how to use list_named_credentials API.
|
15624
16851
|
"""
|
15625
16852
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15626
16853
|
required_arguments = ['compartmentId']
|
@@ -15784,7 +17011,7 @@ class DbManagementClient(object):
|
|
15784
17011
|
:rtype: :class:`~oci.response.Response`
|
15785
17012
|
|
15786
17013
|
:example:
|
15787
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17014
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_object_privileges.py.html>`__ to see an example of how to use list_object_privileges API.
|
15788
17015
|
"""
|
15789
17016
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15790
17017
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -15928,7 +17155,7 @@ class DbManagementClient(object):
|
|
15928
17155
|
:rtype: :class:`~oci.response.Response`
|
15929
17156
|
|
15930
17157
|
:example:
|
15931
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_optimizer_statistics_advisor_executions.py.html>`__ to see an example of how to use list_optimizer_statistics_advisor_executions API.
|
15932
17159
|
"""
|
15933
17160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15934
17161
|
required_arguments = ['managedDatabaseId']
|
@@ -16071,7 +17298,7 @@ class DbManagementClient(object):
|
|
16071
17298
|
:rtype: :class:`~oci.response.Response`
|
16072
17299
|
|
16073
17300
|
:example:
|
16074
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17301
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_optimizer_statistics_collection_aggregations.py.html>`__ to see an example of how to use list_optimizer_statistics_collection_aggregations API.
|
16075
17302
|
"""
|
16076
17303
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16077
17304
|
required_arguments = ['managedDatabaseId', 'groupType']
|
@@ -16246,7 +17473,7 @@ class DbManagementClient(object):
|
|
16246
17473
|
:rtype: :class:`~oci.response.Response`
|
16247
17474
|
|
16248
17475
|
:example:
|
16249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17476
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_optimizer_statistics_collection_operations.py.html>`__ to see an example of how to use list_optimizer_statistics_collection_operations API.
|
16250
17477
|
"""
|
16251
17478
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16252
17479
|
required_arguments = ['managedDatabaseId']
|
@@ -16389,7 +17616,7 @@ class DbManagementClient(object):
|
|
16389
17616
|
:rtype: :class:`~oci.response.Response`
|
16390
17617
|
|
16391
17618
|
:example:
|
16392
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_preferred_credentials.py.html>`__ to see an example of how to use list_preferred_credentials API.
|
16393
17620
|
"""
|
16394
17621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16395
17622
|
required_arguments = ['managedDatabaseId']
|
@@ -16514,7 +17741,7 @@ class DbManagementClient(object):
|
|
16514
17741
|
:rtype: :class:`~oci.response.Response`
|
16515
17742
|
|
16516
17743
|
:example:
|
16517
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_proxied_for_users.py.html>`__ to see an example of how to use list_proxied_for_users API.
|
16518
17745
|
"""
|
16519
17746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16520
17747
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -16672,7 +17899,7 @@ class DbManagementClient(object):
|
|
16672
17899
|
:rtype: :class:`~oci.response.Response`
|
16673
17900
|
|
16674
17901
|
:example:
|
16675
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
17902
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_proxy_users.py.html>`__ to see an example of how to use list_proxy_users API.
|
16676
17903
|
"""
|
16677
17904
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16678
17905
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -16830,7 +18057,7 @@ class DbManagementClient(object):
|
|
16830
18057
|
:rtype: :class:`~oci.response.Response`
|
16831
18058
|
|
16832
18059
|
:example:
|
16833
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18060
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_roles.py.html>`__ to see an example of how to use list_roles API.
|
16834
18061
|
"""
|
16835
18062
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16836
18063
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -16986,7 +18213,7 @@ class DbManagementClient(object):
|
|
16986
18213
|
:rtype: :class:`~oci.response.Response`
|
16987
18214
|
|
16988
18215
|
:example:
|
16989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18216
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_sql_plan_baseline_jobs.py.html>`__ to see an example of how to use list_sql_plan_baseline_jobs API.
|
16990
18217
|
"""
|
16991
18218
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16992
18219
|
required_arguments = ['managedDatabaseId']
|
@@ -17190,7 +18417,7 @@ class DbManagementClient(object):
|
|
17190
18417
|
:rtype: :class:`~oci.response.Response`
|
17191
18418
|
|
17192
18419
|
:example:
|
17193
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18420
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_sql_plan_baselines.py.html>`__ to see an example of how to use list_sql_plan_baselines API.
|
17194
18421
|
"""
|
17195
18422
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17196
18423
|
required_arguments = ['managedDatabaseId']
|
@@ -17380,7 +18607,7 @@ class DbManagementClient(object):
|
|
17380
18607
|
:rtype: :class:`~oci.response.Response`
|
17381
18608
|
|
17382
18609
|
:example:
|
17383
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18610
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_system_privileges.py.html>`__ to see an example of how to use list_system_privileges API.
|
17384
18611
|
"""
|
17385
18612
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17386
18613
|
required_arguments = ['managedDatabaseId', 'userName']
|
@@ -17515,7 +18742,7 @@ class DbManagementClient(object):
|
|
17515
18742
|
:rtype: :class:`~oci.response.Response`
|
17516
18743
|
|
17517
18744
|
:example:
|
17518
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18745
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_table_statistics.py.html>`__ to see an example of how to use list_table_statistics API.
|
17519
18746
|
"""
|
17520
18747
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17521
18748
|
required_arguments = ['managedDatabaseId']
|
@@ -17640,7 +18867,7 @@ class DbManagementClient(object):
|
|
17640
18867
|
:rtype: :class:`~oci.response.Response`
|
17641
18868
|
|
17642
18869
|
:example:
|
17643
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
18870
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_tablespaces.py.html>`__ to see an example of how to use list_tablespaces API.
|
17644
18871
|
"""
|
17645
18872
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17646
18873
|
required_arguments = ['managedDatabaseId']
|
@@ -17795,7 +19022,7 @@ class DbManagementClient(object):
|
|
17795
19022
|
:rtype: :class:`~oci.response.Response`
|
17796
19023
|
|
17797
19024
|
:example:
|
17798
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19025
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_users.py.html>`__ to see an example of how to use list_users API.
|
17799
19026
|
"""
|
17800
19027
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17801
19028
|
required_arguments = ['managedDatabaseId']
|
@@ -17942,7 +19169,7 @@ class DbManagementClient(object):
|
|
17942
19169
|
:rtype: :class:`~oci.response.Response`
|
17943
19170
|
|
17944
19171
|
:example:
|
17945
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
17946
19173
|
"""
|
17947
19174
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17948
19175
|
required_arguments = ['workRequestId']
|
@@ -18085,7 +19312,7 @@ class DbManagementClient(object):
|
|
18085
19312
|
:rtype: :class:`~oci.response.Response`
|
18086
19313
|
|
18087
19314
|
:example:
|
18088
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19315
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
18089
19316
|
"""
|
18090
19317
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18091
19318
|
required_arguments = ['workRequestId']
|
@@ -18243,7 +19470,7 @@ class DbManagementClient(object):
|
|
18243
19470
|
:rtype: :class:`~oci.response.Response`
|
18244
19471
|
|
18245
19472
|
:example:
|
18246
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19473
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
18247
19474
|
"""
|
18248
19475
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18249
19476
|
required_arguments = ['compartmentId']
|
@@ -18378,7 +19605,7 @@ class DbManagementClient(object):
|
|
18378
19605
|
:rtype: :class:`~oci.response.Response`
|
18379
19606
|
|
18380
19607
|
:example:
|
18381
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19608
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/load_sql_plan_baselines_from_awr.py.html>`__ to see an example of how to use load_sql_plan_baselines_from_awr API.
|
18382
19609
|
"""
|
18383
19610
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18384
19611
|
required_arguments = ['managedDatabaseId']
|
@@ -18483,7 +19710,7 @@ class DbManagementClient(object):
|
|
18483
19710
|
:rtype: :class:`~oci.response.Response`
|
18484
19711
|
|
18485
19712
|
:example:
|
18486
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
19713
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/load_sql_plan_baselines_from_cursor_cache.py.html>`__ to see an example of how to use load_sql_plan_baselines_from_cursor_cache API.
|
18487
19714
|
"""
|
18488
19715
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18489
19716
|
required_arguments = ['managedDatabaseId']
|
@@ -18554,6 +19781,250 @@ class DbManagementClient(object):
|
|
18554
19781
|
api_reference_link=api_reference_link,
|
18555
19782
|
required_arguments=required_arguments)
|
18556
19783
|
|
19784
|
+
def modify_database_management_feature(self, database_id, modify_database_management_feature_details, **kwargs):
|
19785
|
+
"""
|
19786
|
+
Modifies a Database Management feature for the specified Oracle cloud database.
|
19787
|
+
|
19788
|
+
|
19789
|
+
:param str database_id: (required)
|
19790
|
+
The `OCID`__ of the Database.
|
19791
|
+
|
19792
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
19793
|
+
|
19794
|
+
:param oci.database_management.models.ModifyDatabaseManagementFeatureDetails modify_database_management_feature_details: (required)
|
19795
|
+
The details required to modify a Database Management feature for an Oracle cloud database.
|
19796
|
+
|
19797
|
+
:param str opc_request_id: (optional)
|
19798
|
+
The client request ID for tracing.
|
19799
|
+
|
19800
|
+
:param str opc_retry_token: (optional)
|
19801
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
19802
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
19803
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
19804
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
19805
|
+
might be rejected.
|
19806
|
+
|
19807
|
+
:param str if_match: (optional)
|
19808
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
19809
|
+
for a resource, set the `if-match` parameter to the value of the
|
19810
|
+
etag from a previous GET or POST response for that resource.
|
19811
|
+
The resource will be updated or deleted only if the etag you
|
19812
|
+
provide matches the resource's current etag value.
|
19813
|
+
|
19814
|
+
:param obj retry_strategy: (optional)
|
19815
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
19816
|
+
|
19817
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
19818
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
19819
|
+
|
19820
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
19821
|
+
|
19822
|
+
:param bool allow_control_chars: (optional)
|
19823
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
19824
|
+
By default, the response will not allow control characters in strings
|
19825
|
+
|
19826
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
19827
|
+
:rtype: :class:`~oci.response.Response`
|
19828
|
+
|
19829
|
+
:example:
|
19830
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/modify_database_management_feature.py.html>`__ to see an example of how to use modify_database_management_feature API.
|
19831
|
+
"""
|
19832
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19833
|
+
required_arguments = ['databaseId']
|
19834
|
+
resource_path = "/databases/{databaseId}/actions/modifyDatabaseManagement"
|
19835
|
+
method = "POST"
|
19836
|
+
operation_name = "modify_database_management_feature"
|
19837
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ModifyDatabaseManagementFeature"
|
19838
|
+
|
19839
|
+
# Don't accept unknown kwargs
|
19840
|
+
expected_kwargs = [
|
19841
|
+
"allow_control_chars",
|
19842
|
+
"retry_strategy",
|
19843
|
+
"opc_request_id",
|
19844
|
+
"opc_retry_token",
|
19845
|
+
"if_match"
|
19846
|
+
]
|
19847
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
19848
|
+
if extra_kwargs:
|
19849
|
+
raise ValueError(
|
19850
|
+
f"modify_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
19851
|
+
|
19852
|
+
path_params = {
|
19853
|
+
"databaseId": database_id
|
19854
|
+
}
|
19855
|
+
|
19856
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
19857
|
+
|
19858
|
+
for (k, v) in six.iteritems(path_params):
|
19859
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
19860
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
19861
|
+
|
19862
|
+
header_params = {
|
19863
|
+
"accept": "application/json",
|
19864
|
+
"content-type": "application/json",
|
19865
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
19866
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
19867
|
+
"if-match": kwargs.get("if_match", missing)
|
19868
|
+
}
|
19869
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
19870
|
+
|
19871
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
19872
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
19873
|
+
client_retry_strategy=self.retry_strategy
|
19874
|
+
)
|
19875
|
+
if retry_strategy is None:
|
19876
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
19877
|
+
|
19878
|
+
if retry_strategy:
|
19879
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
19880
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
19881
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
19882
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
19883
|
+
return retry_strategy.make_retrying_call(
|
19884
|
+
self.base_client.call_api,
|
19885
|
+
resource_path=resource_path,
|
19886
|
+
method=method,
|
19887
|
+
path_params=path_params,
|
19888
|
+
header_params=header_params,
|
19889
|
+
body=modify_database_management_feature_details,
|
19890
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
19891
|
+
operation_name=operation_name,
|
19892
|
+
api_reference_link=api_reference_link,
|
19893
|
+
required_arguments=required_arguments)
|
19894
|
+
else:
|
19895
|
+
return self.base_client.call_api(
|
19896
|
+
resource_path=resource_path,
|
19897
|
+
method=method,
|
19898
|
+
path_params=path_params,
|
19899
|
+
header_params=header_params,
|
19900
|
+
body=modify_database_management_feature_details,
|
19901
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
19902
|
+
operation_name=operation_name,
|
19903
|
+
api_reference_link=api_reference_link,
|
19904
|
+
required_arguments=required_arguments)
|
19905
|
+
|
19906
|
+
def modify_pluggable_database_management_feature(self, pluggable_database_id, modify_pluggable_database_management_feature_details, **kwargs):
|
19907
|
+
"""
|
19908
|
+
Modifies the Database Management feature for the specified Oracle cloud pluggable database.
|
19909
|
+
|
19910
|
+
|
19911
|
+
:param str pluggable_database_id: (required)
|
19912
|
+
The `OCID`__ of the Oracle cloud pluggable database.
|
19913
|
+
|
19914
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
19915
|
+
|
19916
|
+
:param oci.database_management.models.ModifyPluggableDatabaseManagementFeatureDetails modify_pluggable_database_management_feature_details: (required)
|
19917
|
+
The details required to modify a Database Management feature for an Oracle cloud pluggable database.
|
19918
|
+
|
19919
|
+
:param str opc_request_id: (optional)
|
19920
|
+
The client request ID for tracing.
|
19921
|
+
|
19922
|
+
:param str opc_retry_token: (optional)
|
19923
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
19924
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
19925
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
19926
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
19927
|
+
might be rejected.
|
19928
|
+
|
19929
|
+
:param str if_match: (optional)
|
19930
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
19931
|
+
for a resource, set the `if-match` parameter to the value of the
|
19932
|
+
etag from a previous GET or POST response for that resource.
|
19933
|
+
The resource will be updated or deleted only if the etag you
|
19934
|
+
provide matches the resource's current etag value.
|
19935
|
+
|
19936
|
+
:param obj retry_strategy: (optional)
|
19937
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
19938
|
+
|
19939
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
19940
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
19941
|
+
|
19942
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
19943
|
+
|
19944
|
+
:param bool allow_control_chars: (optional)
|
19945
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
19946
|
+
By default, the response will not allow control characters in strings
|
19947
|
+
|
19948
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
19949
|
+
:rtype: :class:`~oci.response.Response`
|
19950
|
+
|
19951
|
+
:example:
|
19952
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/modify_pluggable_database_management_feature.py.html>`__ to see an example of how to use modify_pluggable_database_management_feature API.
|
19953
|
+
"""
|
19954
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19955
|
+
required_arguments = ['pluggableDatabaseId']
|
19956
|
+
resource_path = "/pluggabledatabases/{pluggableDatabaseId}/actions/modifyDatabaseManagement"
|
19957
|
+
method = "POST"
|
19958
|
+
operation_name = "modify_pluggable_database_management_feature"
|
19959
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ModifyPluggableDatabaseManagementFeature"
|
19960
|
+
|
19961
|
+
# Don't accept unknown kwargs
|
19962
|
+
expected_kwargs = [
|
19963
|
+
"allow_control_chars",
|
19964
|
+
"retry_strategy",
|
19965
|
+
"opc_request_id",
|
19966
|
+
"opc_retry_token",
|
19967
|
+
"if_match"
|
19968
|
+
]
|
19969
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
19970
|
+
if extra_kwargs:
|
19971
|
+
raise ValueError(
|
19972
|
+
f"modify_pluggable_database_management_feature got unknown kwargs: {extra_kwargs!r}")
|
19973
|
+
|
19974
|
+
path_params = {
|
19975
|
+
"pluggableDatabaseId": pluggable_database_id
|
19976
|
+
}
|
19977
|
+
|
19978
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
19979
|
+
|
19980
|
+
for (k, v) in six.iteritems(path_params):
|
19981
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
19982
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
19983
|
+
|
19984
|
+
header_params = {
|
19985
|
+
"accept": "application/json",
|
19986
|
+
"content-type": "application/json",
|
19987
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
19988
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
19989
|
+
"if-match": kwargs.get("if_match", missing)
|
19990
|
+
}
|
19991
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
19992
|
+
|
19993
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
19994
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
19995
|
+
client_retry_strategy=self.retry_strategy
|
19996
|
+
)
|
19997
|
+
if retry_strategy is None:
|
19998
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
19999
|
+
|
20000
|
+
if retry_strategy:
|
20001
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
20002
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
20003
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
20004
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
20005
|
+
return retry_strategy.make_retrying_call(
|
20006
|
+
self.base_client.call_api,
|
20007
|
+
resource_path=resource_path,
|
20008
|
+
method=method,
|
20009
|
+
path_params=path_params,
|
20010
|
+
header_params=header_params,
|
20011
|
+
body=modify_pluggable_database_management_feature_details,
|
20012
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
20013
|
+
operation_name=operation_name,
|
20014
|
+
api_reference_link=api_reference_link,
|
20015
|
+
required_arguments=required_arguments)
|
20016
|
+
else:
|
20017
|
+
return self.base_client.call_api(
|
20018
|
+
resource_path=resource_path,
|
20019
|
+
method=method,
|
20020
|
+
path_params=path_params,
|
20021
|
+
header_params=header_params,
|
20022
|
+
body=modify_pluggable_database_management_feature_details,
|
20023
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
20024
|
+
operation_name=operation_name,
|
20025
|
+
api_reference_link=api_reference_link,
|
20026
|
+
required_arguments=required_arguments)
|
20027
|
+
|
18557
20028
|
def patch_external_db_system_discovery(self, external_db_system_discovery_id, patch_external_db_system_discovery_details, **kwargs):
|
18558
20029
|
"""
|
18559
20030
|
Patches the external DB system discovery specified by `externalDbSystemDiscoveryId`.
|
@@ -18593,7 +20064,7 @@ class DbManagementClient(object):
|
|
18593
20064
|
:rtype: :class:`~oci.response.Response`
|
18594
20065
|
|
18595
20066
|
:example:
|
18596
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20067
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/patch_external_db_system_discovery.py.html>`__ to see an example of how to use patch_external_db_system_discovery API.
|
18597
20068
|
"""
|
18598
20069
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18599
20070
|
required_arguments = ['externalDbSystemDiscoveryId']
|
@@ -18708,7 +20179,7 @@ class DbManagementClient(object):
|
|
18708
20179
|
:rtype: :class:`~oci.response.Response`
|
18709
20180
|
|
18710
20181
|
:example:
|
18711
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20182
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/remove_data_file.py.html>`__ to see an example of how to use remove_data_file API.
|
18712
20183
|
"""
|
18713
20184
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18714
20185
|
required_arguments = ['managedDatabaseId', 'tablespaceName']
|
@@ -18825,7 +20296,7 @@ class DbManagementClient(object):
|
|
18825
20296
|
:rtype: :class:`~oci.response.Response`
|
18826
20297
|
|
18827
20298
|
:example:
|
18828
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20299
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/remove_managed_database_from_managed_database_group.py.html>`__ to see an example of how to use remove_managed_database_from_managed_database_group API.
|
18829
20300
|
"""
|
18830
20301
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18831
20302
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -18936,7 +20407,7 @@ class DbManagementClient(object):
|
|
18936
20407
|
:rtype: :class:`~oci.response.Response`
|
18937
20408
|
|
18938
20409
|
:example:
|
18939
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20410
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/reset_database_parameters.py.html>`__ to see an example of how to use reset_database_parameters API.
|
18940
20411
|
"""
|
18941
20412
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18942
20413
|
required_arguments = ['managedDatabaseId']
|
@@ -19052,7 +20523,7 @@ class DbManagementClient(object):
|
|
19052
20523
|
:rtype: :class:`~oci.response.Response`
|
19053
20524
|
|
19054
20525
|
:example:
|
19055
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20526
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/resize_data_file.py.html>`__ to see an example of how to use resize_data_file API.
|
19056
20527
|
"""
|
19057
20528
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19058
20529
|
required_arguments = ['managedDatabaseId', 'tablespaceName']
|
@@ -19170,7 +20641,7 @@ class DbManagementClient(object):
|
|
19170
20641
|
:rtype: :class:`~oci.response.Response`
|
19171
20642
|
|
19172
20643
|
:example:
|
19173
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20644
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/run_historic_addm.py.html>`__ to see an example of how to use run_historic_addm API.
|
19174
20645
|
"""
|
19175
20646
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19176
20647
|
required_arguments = ['managedDatabaseId']
|
@@ -19332,7 +20803,7 @@ class DbManagementClient(object):
|
|
19332
20803
|
:rtype: :class:`~oci.response.Response`
|
19333
20804
|
|
19334
20805
|
:example:
|
19335
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
20806
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_cpu_usages.py.html>`__ to see an example of how to use summarize_awr_db_cpu_usages API.
|
19336
20807
|
"""
|
19337
20808
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19338
20809
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -19540,7 +21011,7 @@ class DbManagementClient(object):
|
|
19540
21011
|
:rtype: :class:`~oci.response.Response`
|
19541
21012
|
|
19542
21013
|
:example:
|
19543
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
21014
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_metrics.py.html>`__ to see an example of how to use summarize_awr_db_metrics API.
|
19544
21015
|
"""
|
19545
21016
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19546
21017
|
required_arguments = ['managedDatabaseId', 'awrDbId', 'name']
|
@@ -19744,7 +21215,7 @@ class DbManagementClient(object):
|
|
19744
21215
|
:rtype: :class:`~oci.response.Response`
|
19745
21216
|
|
19746
21217
|
:example:
|
19747
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
21218
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_parameter_changes.py.html>`__ to see an example of how to use summarize_awr_db_parameter_changes API.
|
19748
21219
|
"""
|
19749
21220
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19750
21221
|
required_arguments = ['managedDatabaseId', 'awrDbId', 'name']
|
@@ -19972,7 +21443,7 @@ class DbManagementClient(object):
|
|
19972
21443
|
:rtype: :class:`~oci.response.Response`
|
19973
21444
|
|
19974
21445
|
:example:
|
19975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
21446
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_parameters.py.html>`__ to see an example of how to use summarize_awr_db_parameters API.
|
19976
21447
|
"""
|
19977
21448
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19978
21449
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -20183,7 +21654,7 @@ class DbManagementClient(object):
|
|
20183
21654
|
:rtype: :class:`~oci.response.Response`
|
20184
21655
|
|
20185
21656
|
:example:
|
20186
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
21657
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_snapshot_ranges.py.html>`__ to see an example of how to use summarize_awr_db_snapshot_ranges API.
|
20187
21658
|
"""
|
20188
21659
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20189
21660
|
required_arguments = ['managedDatabaseId']
|
@@ -20375,7 +21846,7 @@ class DbManagementClient(object):
|
|
20375
21846
|
:rtype: :class:`~oci.response.Response`
|
20376
21847
|
|
20377
21848
|
:example:
|
20378
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
21849
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_sysstats.py.html>`__ to see an example of how to use summarize_awr_db_sysstats API.
|
20379
21850
|
"""
|
20380
21851
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20381
21852
|
required_arguments = ['managedDatabaseId', 'awrDbId', 'name']
|
@@ -20573,7 +22044,7 @@ class DbManagementClient(object):
|
|
20573
22044
|
:rtype: :class:`~oci.response.Response`
|
20574
22045
|
|
20575
22046
|
:example:
|
20576
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22047
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_top_wait_events.py.html>`__ to see an example of how to use summarize_awr_db_top_wait_events API.
|
20577
22048
|
"""
|
20578
22049
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20579
22050
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -20788,7 +22259,7 @@ class DbManagementClient(object):
|
|
20788
22259
|
:rtype: :class:`~oci.response.Response`
|
20789
22260
|
|
20790
22261
|
:example:
|
20791
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22262
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_wait_event_buckets.py.html>`__ to see an example of how to use summarize_awr_db_wait_event_buckets API.
|
20792
22263
|
"""
|
20793
22264
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20794
22265
|
required_arguments = ['managedDatabaseId', 'awrDbId', 'name']
|
@@ -20999,7 +22470,7 @@ class DbManagementClient(object):
|
|
20999
22470
|
:rtype: :class:`~oci.response.Response`
|
21000
22471
|
|
21001
22472
|
:example:
|
21002
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22473
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_awr_db_wait_events.py.html>`__ to see an example of how to use summarize_awr_db_wait_events API.
|
21003
22474
|
"""
|
21004
22475
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21005
22476
|
required_arguments = ['managedDatabaseId', 'awrDbId']
|
@@ -21172,7 +22643,7 @@ class DbManagementClient(object):
|
|
21172
22643
|
:rtype: :class:`~oci.response.Response`
|
21173
22644
|
|
21174
22645
|
:example:
|
21175
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_external_asm_metrics.py.html>`__ to see an example of how to use summarize_external_asm_metrics API.
|
21176
22647
|
"""
|
21177
22648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21178
22649
|
required_arguments = ['externalAsmId', 'startTime', 'endTime']
|
@@ -21304,7 +22775,7 @@ class DbManagementClient(object):
|
|
21304
22775
|
:rtype: :class:`~oci.response.Response`
|
21305
22776
|
|
21306
22777
|
:example:
|
21307
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22778
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_external_cluster_metrics.py.html>`__ to see an example of how to use summarize_external_cluster_metrics API.
|
21308
22779
|
"""
|
21309
22780
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21310
22781
|
required_arguments = ['externalClusterId', 'startTime', 'endTime']
|
@@ -21436,7 +22907,7 @@ class DbManagementClient(object):
|
|
21436
22907
|
:rtype: :class:`~oci.response.Response`
|
21437
22908
|
|
21438
22909
|
:example:
|
21439
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
22910
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_external_db_node_metrics.py.html>`__ to see an example of how to use summarize_external_db_node_metrics API.
|
21440
22911
|
"""
|
21441
22912
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21442
22913
|
required_arguments = ['externalDbNodeId', 'startTime', 'endTime']
|
@@ -21568,7 +23039,7 @@ class DbManagementClient(object):
|
|
21568
23039
|
:rtype: :class:`~oci.response.Response`
|
21569
23040
|
|
21570
23041
|
:example:
|
21571
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23042
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_external_db_system_availability_metrics.py.html>`__ to see an example of how to use summarize_external_db_system_availability_metrics API.
|
21572
23043
|
"""
|
21573
23044
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21574
23045
|
required_arguments = ['externalDbSystemId', 'startTime', 'endTime']
|
@@ -21700,7 +23171,7 @@ class DbManagementClient(object):
|
|
21700
23171
|
:rtype: :class:`~oci.response.Response`
|
21701
23172
|
|
21702
23173
|
:example:
|
21703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23174
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_external_listener_metrics.py.html>`__ to see an example of how to use summarize_external_listener_metrics API.
|
21704
23175
|
"""
|
21705
23176
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21706
23177
|
required_arguments = ['externalListenerId', 'startTime', 'endTime']
|
@@ -21850,7 +23321,7 @@ class DbManagementClient(object):
|
|
21850
23321
|
:rtype: :class:`~oci.response.Response`
|
21851
23322
|
|
21852
23323
|
:example:
|
21853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23324
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_job_executions_statuses.py.html>`__ to see an example of how to use summarize_job_executions_statuses API.
|
21854
23325
|
"""
|
21855
23326
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21856
23327
|
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
@@ -21987,7 +23458,7 @@ class DbManagementClient(object):
|
|
21987
23458
|
:rtype: :class:`~oci.response.Response`
|
21988
23459
|
|
21989
23460
|
:example:
|
21990
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_managed_database_availability_metrics.py.html>`__ to see an example of how to use summarize_managed_database_availability_metrics API.
|
21991
23462
|
"""
|
21992
23463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21993
23464
|
required_arguments = ['managedDatabaseId', 'startTime', 'endTime']
|
@@ -22106,7 +23577,7 @@ class DbManagementClient(object):
|
|
22106
23577
|
:rtype: :class:`~oci.response.Response`
|
22107
23578
|
|
22108
23579
|
:example:
|
22109
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23580
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_sql_plan_baselines.py.html>`__ to see an example of how to use summarize_sql_plan_baselines API.
|
22110
23581
|
"""
|
22111
23582
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22112
23583
|
required_arguments = ['managedDatabaseId']
|
@@ -22223,7 +23694,7 @@ class DbManagementClient(object):
|
|
22223
23694
|
:rtype: :class:`~oci.response.Response`
|
22224
23695
|
|
22225
23696
|
:example:
|
22226
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23697
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/summarize_sql_plan_baselines_by_last_execution.py.html>`__ to see an example of how to use summarize_sql_plan_baselines_by_last_execution API.
|
22227
23698
|
"""
|
22228
23699
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22229
23700
|
required_arguments = ['managedDatabaseId']
|
@@ -22338,7 +23809,7 @@ class DbManagementClient(object):
|
|
22338
23809
|
:rtype: :class:`~oci.response.Response`
|
22339
23810
|
|
22340
23811
|
:example:
|
22341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23812
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/test_named_credential.py.html>`__ to see an example of how to use test_named_credential API.
|
22342
23813
|
"""
|
22343
23814
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22344
23815
|
required_arguments = ['namedCredentialId']
|
@@ -22444,7 +23915,7 @@ class DbManagementClient(object):
|
|
22444
23915
|
:rtype: :class:`~oci.response.Response`
|
22445
23916
|
|
22446
23917
|
:example:
|
22447
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
23918
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/test_preferred_credential.py.html>`__ to see an example of how to use test_preferred_credential API.
|
22448
23919
|
"""
|
22449
23920
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22450
23921
|
required_arguments = ['managedDatabaseId', 'credentialName']
|
@@ -22556,7 +24027,7 @@ class DbManagementClient(object):
|
|
22556
24027
|
:rtype: :class:`~oci.response.Response`
|
22557
24028
|
|
22558
24029
|
:example:
|
22559
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24030
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_db_management_private_endpoint.py.html>`__ to see an example of how to use update_db_management_private_endpoint API.
|
22560
24031
|
"""
|
22561
24032
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22562
24033
|
required_arguments = ['dbManagementPrivateEndpointId']
|
@@ -22668,7 +24139,7 @@ class DbManagementClient(object):
|
|
22668
24139
|
:rtype: :class:`~oci.response.Response`
|
22669
24140
|
|
22670
24141
|
:example:
|
22671
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24142
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_asm.py.html>`__ to see an example of how to use update_external_asm API.
|
22672
24143
|
"""
|
22673
24144
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22674
24145
|
required_arguments = ['externalAsmId']
|
@@ -22778,7 +24249,7 @@ class DbManagementClient(object):
|
|
22778
24249
|
:rtype: :class:`~oci.response.Response`
|
22779
24250
|
|
22780
24251
|
:example:
|
22781
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24252
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_asm_instance.py.html>`__ to see an example of how to use update_external_asm_instance API.
|
22782
24253
|
"""
|
22783
24254
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22784
24255
|
required_arguments = ['externalAsmInstanceId']
|
@@ -22890,7 +24361,7 @@ class DbManagementClient(object):
|
|
22890
24361
|
:rtype: :class:`~oci.response.Response`
|
22891
24362
|
|
22892
24363
|
:example:
|
22893
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24364
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_cluster.py.html>`__ to see an example of how to use update_external_cluster API.
|
22894
24365
|
"""
|
22895
24366
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22896
24367
|
required_arguments = ['externalClusterId']
|
@@ -23000,7 +24471,7 @@ class DbManagementClient(object):
|
|
23000
24471
|
:rtype: :class:`~oci.response.Response`
|
23001
24472
|
|
23002
24473
|
:example:
|
23003
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24474
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_cluster_instance.py.html>`__ to see an example of how to use update_external_cluster_instance API.
|
23004
24475
|
"""
|
23005
24476
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23006
24477
|
required_arguments = ['externalClusterInstanceId']
|
@@ -23110,7 +24581,7 @@ class DbManagementClient(object):
|
|
23110
24581
|
:rtype: :class:`~oci.response.Response`
|
23111
24582
|
|
23112
24583
|
:example:
|
23113
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24584
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_db_home.py.html>`__ to see an example of how to use update_external_db_home API.
|
23114
24585
|
"""
|
23115
24586
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23116
24587
|
required_arguments = ['externalDbHomeId']
|
@@ -23222,7 +24693,7 @@ class DbManagementClient(object):
|
|
23222
24693
|
:rtype: :class:`~oci.response.Response`
|
23223
24694
|
|
23224
24695
|
:example:
|
23225
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24696
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_db_node.py.html>`__ to see an example of how to use update_external_db_node API.
|
23226
24697
|
"""
|
23227
24698
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23228
24699
|
required_arguments = ['externalDbNodeId']
|
@@ -23332,7 +24803,7 @@ class DbManagementClient(object):
|
|
23332
24803
|
:rtype: :class:`~oci.response.Response`
|
23333
24804
|
|
23334
24805
|
:example:
|
23335
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24806
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_db_system.py.html>`__ to see an example of how to use update_external_db_system API.
|
23336
24807
|
"""
|
23337
24808
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23338
24809
|
required_arguments = ['externalDbSystemId']
|
@@ -23444,7 +24915,7 @@ class DbManagementClient(object):
|
|
23444
24915
|
:rtype: :class:`~oci.response.Response`
|
23445
24916
|
|
23446
24917
|
:example:
|
23447
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
24918
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_db_system_connector.py.html>`__ to see an example of how to use update_external_db_system_connector API.
|
23448
24919
|
"""
|
23449
24920
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23450
24921
|
required_arguments = ['externalDbSystemConnectorId']
|
@@ -23554,7 +25025,7 @@ class DbManagementClient(object):
|
|
23554
25025
|
:rtype: :class:`~oci.response.Response`
|
23555
25026
|
|
23556
25027
|
:example:
|
23557
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25028
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_db_system_discovery.py.html>`__ to see an example of how to use update_external_db_system_discovery API.
|
23558
25029
|
"""
|
23559
25030
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23560
25031
|
required_arguments = ['externalDbSystemDiscoveryId']
|
@@ -23673,7 +25144,7 @@ class DbManagementClient(object):
|
|
23673
25144
|
:rtype: :class:`~oci.response.Response`
|
23674
25145
|
|
23675
25146
|
:example:
|
23676
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_exadata_infrastructure.py.html>`__ to see an example of how to use update_external_exadata_infrastructure API.
|
23677
25148
|
"""
|
23678
25149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23679
25150
|
required_arguments = ['externalExadataInfrastructureId']
|
@@ -23790,7 +25261,7 @@ class DbManagementClient(object):
|
|
23790
25261
|
:rtype: :class:`~oci.response.Response`
|
23791
25262
|
|
23792
25263
|
:example:
|
23793
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25264
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_exadata_storage_connector.py.html>`__ to see an example of how to use update_external_exadata_storage_connector API.
|
23794
25265
|
"""
|
23795
25266
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23796
25267
|
required_arguments = ['externalExadataStorageConnectorId']
|
@@ -23902,7 +25373,7 @@ class DbManagementClient(object):
|
|
23902
25373
|
:rtype: :class:`~oci.response.Response`
|
23903
25374
|
|
23904
25375
|
:example:
|
23905
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25376
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_exadata_storage_grid.py.html>`__ to see an example of how to use update_external_exadata_storage_grid API.
|
23906
25377
|
"""
|
23907
25378
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23908
25379
|
required_arguments = ['externalExadataStorageGridId']
|
@@ -24014,7 +25485,7 @@ class DbManagementClient(object):
|
|
24014
25485
|
:rtype: :class:`~oci.response.Response`
|
24015
25486
|
|
24016
25487
|
:example:
|
24017
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25488
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_exadata_storage_server.py.html>`__ to see an example of how to use update_external_exadata_storage_server API.
|
24018
25489
|
"""
|
24019
25490
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24020
25491
|
required_arguments = ['externalExadataStorageServerId']
|
@@ -24126,7 +25597,7 @@ class DbManagementClient(object):
|
|
24126
25597
|
:rtype: :class:`~oci.response.Response`
|
24127
25598
|
|
24128
25599
|
:example:
|
24129
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25600
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_external_listener.py.html>`__ to see an example of how to use update_external_listener API.
|
24130
25601
|
"""
|
24131
25602
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24132
25603
|
required_arguments = ['externalListenerId']
|
@@ -24234,7 +25705,7 @@ class DbManagementClient(object):
|
|
24234
25705
|
:rtype: :class:`~oci.response.Response`
|
24235
25706
|
|
24236
25707
|
:example:
|
24237
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25708
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_job.py.html>`__ to see an example of how to use update_job API.
|
24238
25709
|
"""
|
24239
25710
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24240
25711
|
required_arguments = ['jobId']
|
@@ -24346,7 +25817,7 @@ class DbManagementClient(object):
|
|
24346
25817
|
:rtype: :class:`~oci.response.Response`
|
24347
25818
|
|
24348
25819
|
:example:
|
24349
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25820
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_managed_database.py.html>`__ to see an example of how to use update_managed_database API.
|
24350
25821
|
"""
|
24351
25822
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24352
25823
|
required_arguments = ['managedDatabaseId']
|
@@ -24458,7 +25929,7 @@ class DbManagementClient(object):
|
|
24458
25929
|
:rtype: :class:`~oci.response.Response`
|
24459
25930
|
|
24460
25931
|
:example:
|
24461
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
25932
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_managed_database_group.py.html>`__ to see an example of how to use update_managed_database_group API.
|
24462
25933
|
"""
|
24463
25934
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24464
25935
|
required_arguments = ['managedDatabaseGroupId']
|
@@ -24570,7 +26041,7 @@ class DbManagementClient(object):
|
|
24570
26041
|
:rtype: :class:`~oci.response.Response`
|
24571
26042
|
|
24572
26043
|
:example:
|
24573
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
26044
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_named_credential.py.html>`__ to see an example of how to use update_named_credential API.
|
24574
26045
|
"""
|
24575
26046
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24576
26047
|
required_arguments = ['namedCredentialId']
|
@@ -24685,7 +26156,7 @@ class DbManagementClient(object):
|
|
24685
26156
|
:rtype: :class:`~oci.response.Response`
|
24686
26157
|
|
24687
26158
|
:example:
|
24688
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
26159
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_preferred_credential.py.html>`__ to see an example of how to use update_preferred_credential API.
|
24689
26160
|
"""
|
24690
26161
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24691
26162
|
required_arguments = ['managedDatabaseId', 'credentialName']
|
@@ -24794,7 +26265,7 @@ class DbManagementClient(object):
|
|
24794
26265
|
:rtype: :class:`~oci.response.Response`
|
24795
26266
|
|
24796
26267
|
:example:
|
24797
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.
|
26268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.1/databasemanagement/update_tablespace.py.html>`__ to see an example of how to use update_tablespace API.
|
24798
26269
|
"""
|
24799
26270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24800
26271
|
required_arguments = ['managedDatabaseId', 'tablespaceName']
|