Class: OCI::Database::DatabaseClient
- Inherits:
-
Object
- Object
- OCI::Database::DatabaseClient
- Defined in:
- lib/oci/database/database_client.rb
Overview
The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see Overview of the Database Service.
Instance Attribute Summary collapse
-
#api_client ⇒ OCI::ApiClient
readonly
Client used to make HTTP requests.
-
#endpoint ⇒ String
readonly
Fully qualified endpoint URL.
-
#region ⇒ String
The region, which will usually correspond to a value in Regions::REGION_ENUM.
-
#retry_config ⇒ OCI::Retry::RetryConfig
readonly
The default retry configuration to apply to all operations in this service client.
Instance Method Summary collapse
-
#activate_exadata_infrastructure(exadata_infrastructure_id, activate_exadata_infrastructure_details, opts = {}) ⇒ Response
Activates the specified Exadata infrastructure resource.
-
#add_dbnode_snapshots_for_exadb_vm_cluster(add_dbnode_snapshots_for_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Add a database node snapshots to the Exadb VM cluster..
-
#add_standby_autonomous_container_database(add_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) ⇒ Response
Add a standby Autonomous Container Database.
-
#add_storage_capacity_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Makes the storage capacity from additional storage servers available for Cloud VM Cluster consumption.
-
#add_storage_capacity_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Makes the storage capacity from additional storage servers available for VM Cluster consumption.
-
#add_virtual_machine_to_cloud_vm_cluster(add_virtual_machine_to_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Add Virtual Machines to the Cloud VM cluster.
-
#add_virtual_machine_to_vm_cluster(add_virtual_machine_to_vm_cluster_details, vm_cluster_id, opts = {}) ⇒ Response
Add Virtual Machines to the VM cluster.
-
#autonomous_database_manual_refresh(autonomous_database_id, autonomous_database_manual_refresh_details, opts = {}) ⇒ Response
Initiates a data refresh for an Autonomous AI Database refreshable clone.
-
#cancel_backup(backup_id, opts = {}) ⇒ Response
Cancel automatic/standalone full/incremental create backup workrequests specified by the backup Id.
-
#cancel_execution_window(execution_window_id, cancel_execution_window_details, opts = {}) ⇒ Response
Cancels the in progress maintenance activity under this execution window.
-
#cascading_delete_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Delete the scheduling plan resource along with all the scheduled actions associated with this resource.
-
#change_autonomous_container_database_compartment(change_compartment_details, autonomous_container_database_id, opts = {}) ⇒ Response
Move the Autonomous Container Database and its dependent resources to the specified compartment.
-
#change_autonomous_database_compartment(change_compartment_details, autonomous_database_id, opts = {}) ⇒ Response
Move the Autonomous AI Database and its dependent resources to the specified compartment.
-
#change_autonomous_database_software_image_compartment(change_autonomous_database_software_image_compartment_details, autonomous_database_software_image_id, opts = {}) ⇒ Response
Move the Autonomous AI Database Software Image and its dependent resources to the specified compartment.
-
#change_autonomous_database_subscription(change_autonomous_database_subscription_details, autonomous_database_id, opts = {}) ⇒ Response
Associate an Autonomous AI Database with a different subscription.
-
#change_autonomous_exadata_infrastructure_compartment(change_compartment_details, autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Deprecated. Use the change_cloud_exadata_infrastructure_compartment operation to move an Exadata infrastructure resource to a different compartment and change_cloud_autonomous_vm_cluster_compartment operation to move an Autonomous Exadata VM cluster to a different compartment.
-
#change_autonomous_vm_cluster_compartment(change_autonomous_vm_cluster_compartment_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Moves an Autonomous VM cluster and its dependent resources to another compartment.
-
#change_backup_destination_compartment(change_compartment_details, backup_destination_id, opts = {}) ⇒ Response
Move the backup destination and its dependent resources to the specified compartment.
-
#change_cloud_autonomous_vm_cluster_compartment(change_cloud_autonomous_vm_cluster_compartment_details, cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to another compartment.
-
#change_cloud_autonomous_vm_cluster_subscription(change_cloud_autonomous_vm_cluster_subscription_details, cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Associate a Cloud Autonomous VM cluster with a different subscription.
-
#change_cloud_db_system_subscription(change_cloud_db_system_subscription_details, db_system_id, opts = {}) ⇒ Response
Associate a cloud DB system with a different subscription.
-
#change_cloud_exadata_infrastructure_compartment(change_cloud_exadata_infrastructure_compartment_details, cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment.
-
#change_cloud_exadata_infrastructure_subscription(change_cloud_exadata_infrastructure_subscription_details, cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Associate a cloud Exadata infrastructure with a different subscription.
-
#change_cloud_vm_cluster_compartment(change_cloud_vm_cluster_compartment_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Moves a cloud VM cluster and its dependent resources to another compartment.
-
#change_cloud_vm_cluster_subscription(change_cloud_vm_cluster_subscription_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Associate a cloud VM cluster with a different subscription.
-
#change_database_software_image_compartment(change_compartment_details, database_software_image_id, opts = {}) ⇒ Response
Move the Database Software Image and its dependent resources to the specified compartment.
-
#change_dataguard_role(change_dataguard_role_details, autonomous_container_database_id, opts = {}) ⇒ Response
Deprecated. Use the convert_standby_autonomous_container_database operation to switch the Autonomous Container Database (ACD) role between Standby and Snapshot Standby.
-
#change_db_system_compartment(change_compartment_details, db_system_id, opts = {}) ⇒ Response
Moves the DB system and its dependent resources to the specified compartment.
-
#change_disaster_recovery_configuration(autonomous_database_id, change_disaster_recovery_configuration_details, opts = {}) ⇒ Response
This operation updates the cross-region disaster recovery (DR) details of the standby Autonomous AI Database Serverless database, and must be run on the standby side.
-
#change_encryption_key_location(database_id, encryption_key_location_details, opts = {}) ⇒ Response
Update the encryption key management location for the database.
-
#change_exadata_infrastructure_compartment(change_exadata_infrastructure_compartment_details, exadata_infrastructure_id, opts = {}) ⇒ Response
Moves an Exadata infrastructure resource and its dependent resources to another compartment.
-
#change_exadb_vm_cluster_compartment(change_exadb_vm_cluster_compartment_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Moves a Exadata VM cluster on Exascale Infrastructure and its dependent resources to another compartment.
-
#change_exadb_vm_cluster_subscription(change_exadb_vm_cluster_subscription_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Associate a Exadata VM cluster on Exascale Infrastructure with a different subscription.
-
#change_exascale_db_storage_vault_compartment(change_exascale_db_storage_vault_compartment_details, exascale_db_storage_vault_id, opts = {}) ⇒ Response
Moves a Exadata Database Storage Vault to another compartment.
-
#change_exascale_db_storage_vault_subscription(change_exascale_db_storage_vault_subscription_details, exascale_db_storage_vault_id, opts = {}) ⇒ Response
Associate a Exadata Database Storage Vault with a different subscription.
-
#change_external_container_database_compartment(change_compartment_details, external_container_database_id, opts = {}) ⇒ Response
Move the create_external_container_database_details and its dependent resources to the specified compartment.
-
#change_external_non_container_database_compartment(change_compartment_details, external_non_container_database_id, opts = {}) ⇒ Response
Move the external non-container database and its dependent resources to the specified compartment.
-
#change_external_pluggable_database_compartment(change_compartment_details, external_pluggable_database_id, opts = {}) ⇒ Response
Move the create_external_pluggable_database_details and its dependent resources to the specified compartment.
-
#change_key_store_compartment(change_key_store_compartment_details, key_store_id, opts = {}) ⇒ Response
Move the key store resource to the specified compartment.
-
#change_key_store_type(database_id, change_key_store_type_details, opts = {}) ⇒ Response
Changes encryption key management type.
-
#change_oneoff_patch_compartment(change_compartment_details, oneoff_patch_id, opts = {}) ⇒ Response
Move the one-off patch to the specified compartment.
-
#change_scheduling_plan_compartment(change_scheduling_plan_compartment_details, scheduling_plan_id, opts = {}) ⇒ Response
Moves an scheduling plan resource to another compartment.
-
#change_scheduling_policy_compartment(change_scheduling_policy_compartment_details, scheduling_policy_id, opts = {}) ⇒ Response
Moves an scheduling policy resource to another compartment.
-
#change_vm_cluster_compartment(change_vm_cluster_compartment_details, vm_cluster_id, opts = {}) ⇒ Response
Moves a VM cluster and its dependent resources to another compartment.
-
#check_external_database_connector_connection_status(external_database_connector_id, opts = {}) ⇒ Response
Check the status of the external database connection specified in this connector.
-
#complete_external_backup_job(backup_id, complete_external_backup_job_details, opts = {}) ⇒ Response
Changes the status of the standalone backup resource to
ACTIVEafter the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage. -
#configure_autonomous_database_vault_key(autonomous_database_id, configure_autonomous_database_vault_key_details, opts = {}) ⇒ Response
Configures the Autonomous AI Database Vault service key.
-
#configure_exascale_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, configure_exascale_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Configures Exascale on Cloud exadata infrastructure resource.
-
#configure_exascale_exadata_infrastructure(exadata_infrastructure_id, configure_exascale_exadata_infrastructure_details, opts = {}) ⇒ Response
Configures Exascale on Exadata infrastructure resource.
-
#configure_saas_admin_user(autonomous_database_id, configure_saas_admin_user_details, opts = {}) ⇒ Response
This operation updates SaaS administrative user configuration of the Autonomous AI Database.
-
#confirm_key_store_details_are_correct(key_store_id, opts = {}) ⇒ Response
This is for user to confirm to DBaaS that the Oracle Key Valut (OKV) connection IPs, username and password are all correct.
-
#convert_standby_autonomous_container_database(convert_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) ⇒ Response
Convert the standby Autonomous Container Database (ACD) between physical standby and snapshot standby ACD.
-
#convert_standby_database_type(database_id, convert_standby_database_type_details, opts = {}) ⇒ Response
Performs transition from standby database into a snapshot standby and vice versa.
-
#convert_to_pdb(database_id, convert_to_pdb_details, opts = {}) ⇒ Response
Converts a non-container database to a pluggable database.
-
#convert_to_regular_pluggable_database(convert_to_regular_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Converts a Refreshable clone to Regular pluggable database (PDB).
-
#convert_to_standalone(database_id, convert_to_standalone_details, opts = {}) ⇒ Response
Disassociate the standby database identified by the
databaseIdparameter from existing Data Guard group. -
#create_advanced_cluster_file_system(create_advanced_cluster_file_system_details, opts = {}) ⇒ Response
Creates an advanced cluster file system resource.
-
#create_application_vip(create_application_vip_details, opts = {}) ⇒ Response
Creates a new application virtual IP (VIP) address in the specified cloud VM cluster based on the request parameters you provide.
-
#create_autonomous_container_database(create_autonomous_container_database_details, opts = {}) ⇒ Response
Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
-
#create_autonomous_container_database_dataguard_association(autonomous_container_database_id, create_autonomous_container_database_dataguard_association_details, opts = {}) ⇒ Response
Deprecated. Use the add_standby_autonomous_container_database operation to create a new Autonomous Data Guard association.
-
#create_autonomous_database(create_autonomous_database_details, opts = {}) ⇒ Response
Creates a new Autonomous AI Database.
-
#create_autonomous_database_backup(create_autonomous_database_backup_details, opts = {}) ⇒ Response
Creates a new Autonomous AI Database backup for the specified database based on the provided request parameters.
-
#create_autonomous_database_software_image(create_autonomous_database_software_image_details, opts = {}) ⇒ Response
create Autonomous AI Database Software Image in the specified compartment.
-
#create_autonomous_vm_cluster(create_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Creates an Autonomous VM cluster for Exadata Cloud@Customer.
-
#create_backup(create_backup_details, opts = {}) ⇒ Response
Creates a new backup in the specified database based on the request parameters you provide.
-
#create_backup_destination(create_backup_destination_details, opts = {}) ⇒ Response
Creates a backup destination in an Exadata Cloud@Customer system.
-
#create_cloud_autonomous_vm_cluster(create_cloud_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Creates an Autonomous Exadata VM cluster in the Oracle cloud.
-
#create_cloud_exadata_infrastructure(create_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Creates a cloud Exadata infrastructure resource.
-
#create_cloud_vm_cluster(create_cloud_vm_cluster_details, opts = {}) ⇒ Response
Creates a cloud VM cluster.
-
#create_console_connection(create_console_connection_details, db_node_id, opts = {}) ⇒ Response
Creates a new console connection to the specified database node.
-
#create_console_history(create_console_history_details, db_node_id, opts = {}) ⇒ Response
Captures the most recent serial console data (up to a megabyte) for the specified database node.
-
#create_data_guard_association(database_id, create_data_guard_association_details, opts = {}) ⇒ Response
Creates a new Data Guard association.
-
#create_database(create_new_database_details, opts = {}) ⇒ Response
Creates a new database in the specified Database Home.
-
#create_database_software_image(create_database_software_image_details, opts = {}) ⇒ Response
create database software image in the specified compartment.
-
#create_db_home(create_db_home_with_db_system_id_details, opts = {}) ⇒ Response
Creates a new Database Home in the specified database system based on the request parameters you provide.
-
#create_exadata_infrastructure(create_exadata_infrastructure_details, opts = {}) ⇒ Response
Creates an Exadata infrastructure resource.
-
#create_exadb_vm_cluster(create_exadb_vm_cluster_details, opts = {}) ⇒ Response
Creates an Exadata VM cluster on Exascale Infrastructure.
-
#create_exascale_db_storage_vault(create_exascale_db_storage_vault_details, opts = {}) ⇒ Response
Creates an Exadata Database Storage Vault.
-
#create_execution_action(create_execution_action_details, opts = {}) ⇒ Response
Creates an execution action resource.
-
#create_execution_window(create_execution_window_details, opts = {}) ⇒ Response
Creates an execution window resource.
-
#create_external_backup_job(create_external_backup_job_details, opts = {}) ⇒ Response
Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure.
-
#create_external_container_database(create_external_container_database_details, opts = {}) ⇒ Response
Creates a new external container database resource.
-
#create_external_database_connector(create_external_database_connector_details, opts = {}) ⇒ Response
Creates a new external database connector.
-
#create_external_non_container_database(create_external_non_container_database_details, opts = {}) ⇒ Response
Creates a new ExternalNonContainerDatabase resource.
-
#create_external_pluggable_database(create_external_pluggable_database_details, opts = {}) ⇒ Response
Registers a new create_external_pluggable_database_details resource.
-
#create_key_store(create_key_store_details, opts = {}) ⇒ Response
Creates a Key Store.
-
#create_maintenance_run(create_maintenance_run_details, opts = {}) ⇒ Response
Creates a maintenance run with one of the following: 1.
-
#create_oneoff_patch(create_oneoff_patch_details, opts = {}) ⇒ Response
Creates one-off patch for specified database version to download.
-
#create_pluggable_database(create_pluggable_database_details, opts = {}) ⇒ Response
Creates and starts a pluggable database in the specified container database.
-
#create_pluggable_database_snapshot(create_pluggable_database_snapshot_details, opts = {}) ⇒ Response
Creates a Pluggable Database Snapshot.
-
#create_scheduled_action(create_scheduled_action_details, opts = {}) ⇒ Response
Creates a Scheduled Action resource.
-
#create_scheduling_plan(create_scheduling_plan_details, opts = {}) ⇒ Response
Creates a Scheduling Plan resource.
-
#create_scheduling_policy(create_scheduling_policy_details, opts = {}) ⇒ Response
Creates a Scheduling Policy resource.
-
#create_scheduling_window(scheduling_policy_id, create_scheduling_window_details, opts = {}) ⇒ Response
Creates a Scheduling Window resource.
-
#create_vm_cluster(create_vm_cluster_details, opts = {}) ⇒ Response
Creates an Exadata Cloud@Customer VM cluster.
-
#create_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_details, opts = {}) ⇒ Response
Creates the VM cluster network.
-
#db_node_action(db_node_id, action, opts = {}) ⇒ Response
Performs one of the following power actions on the specified DB node: - start - power on - stop - power off gracefully - forcestop - power off forcefully - forcereset - ACPI shutdown and power on forcefully - softreset - ACPI shutdown and power on - reset - power off and power on.
-
#delete_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Deletes the advanced cluster file system.
-
#delete_application_vip(application_vip_id, opts = {}) ⇒ Response
Deletes and deregisters the specified application virtual IP (VIP) address.
-
#delete_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Deletes the specified Autonomous AI Database.
-
#delete_autonomous_database_backup(autonomous_database_backup_id, opts = {}) ⇒ Response
Deletes a long-term backup.
-
#delete_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) ⇒ Response
Delete an Autonomous AI Database Software Image.
-
#delete_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Deletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system.
-
#delete_backup(backup_id, opts = {}) ⇒ Response
Deletes a full backup.
-
#delete_backup_destination(backup_destination_id, opts = {}) ⇒ Response
Deletes a backup destination in an Exadata Cloud@Customer system.
-
#delete_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud.
-
#delete_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Deletes the cloud Exadata infrastructure resource.
-
#delete_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) ⇒ Response
Deletes the specified cloud VM cluster.
-
#delete_console_connection(db_node_id, console_connection_id, opts = {}) ⇒ Response
Deletes the specified database node console connection.
-
#delete_console_history(db_node_id, console_history_id, opts = {}) ⇒ Response
Deletes the specified database node console history.
-
#delete_database(database_id, opts = {}) ⇒ Response
Deletes the specified database.
-
#delete_database_software_image(database_software_image_id, opts = {}) ⇒ Response
Delete a database software image.
-
#delete_db_home(db_home_id, opts = {}) ⇒ Response
Deletes a Database Home.
-
#delete_dbnode_snapshot(dbnode_snapshot_id, opts = {}) ⇒ Response
Deletes the specified Exadata Database Node Snapshot.
-
#delete_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Deletes the Exadata Cloud@Customer infrastructure.
-
#delete_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) ⇒ Response
Deletes the specified Exadata VM cluster on Exascale Infrastructure.
-
#delete_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) ⇒ Response
Deletes the specified Exadata Database Storage Vault.
-
#delete_execution_action(execution_action_id, opts = {}) ⇒ Response
Deletes the execution action.
-
#delete_execution_window(execution_window_id, opts = {}) ⇒ Response
Deletes the execution window.
-
#delete_external_container_database(external_container_database_id, opts = {}) ⇒ Response
Deletes the create_external_container_database_details resource.
-
#delete_external_database_connector(external_database_connector_id, opts = {}) ⇒ Response
Deletes an external database connector.
-
#delete_external_non_container_database(external_non_container_database_id, opts = {}) ⇒ Response
Deletes the Oracle Cloud Infrastructure resource representing an external non-container database.
-
#delete_external_pluggable_database(external_pluggable_database_id, opts = {}) ⇒ Response
Deletes the create_external_pluggable_database_details.
-
#delete_key_store(key_store_id, opts = {}) ⇒ Response
Deletes a key store.
-
#delete_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Deletes a one-off patch.
-
#delete_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Deletes the specified pluggable database.
-
#delete_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) ⇒ Response
Deletes the specified Exadata Pluggable Database Snapshot.
-
#delete_scheduled_action(scheduled_action_id, opts = {}) ⇒ Response
Deletes the scheduled action.
-
#delete_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Deletes the scheduling plan.
-
#delete_scheduling_policy(scheduling_policy_id, opts = {}) ⇒ Response
Deletes the scheduling policy.
-
#delete_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) ⇒ Response
Deletes the scheduling window.
-
#delete_vm_cluster(vm_cluster_id, opts = {}) ⇒ Response
Deletes the specified VM cluster.
-
#delete_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Deletes the specified VM cluster network.
-
#deregister_autonomous_database_data_safe(autonomous_database_id, opts = {}) ⇒ Response
Asynchronously deregisters this Autonomous AI Database with Data Safe.
-
#disable_autonomous_database_management(autonomous_database_id, opts = {}) ⇒ Response
Disables Database Management for the Autonomous AI Database resource.
-
#disable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) ⇒ Response
Disables Operations Insights for the Autonomous AI Database resource.
-
#disable_database_management(database_id, opts = {}) ⇒ Response
Disables the Database Management service for the database.
-
#disable_external_container_database_database_management(external_container_database_id, opts = {}) ⇒ Response
Disable Database Management service for the external container database.
-
#disable_external_container_database_stack_monitoring(external_container_database_id, opts = {}) ⇒ Response
Disable Stack Monitoring for the external container database.
-
#disable_external_non_container_database_database_management(external_non_container_database_id, opts = {}) ⇒ Response
Disable Database Management Service for the external non-container database.
-
#disable_external_non_container_database_operations_insights(external_non_container_database_id, opts = {}) ⇒ Response
Disable Operations Insights for the external non-container database.
-
#disable_external_non_container_database_stack_monitoring(external_non_container_database_id, opts = {}) ⇒ Response
Disable Stack Monitoring for the external non-container database.
-
#disable_external_pluggable_database_database_management(external_pluggable_database_id, opts = {}) ⇒ Response
Disable Database Management Service for the external pluggable database.
-
#disable_external_pluggable_database_operations_insights(external_pluggable_database_id, opts = {}) ⇒ Response
Disable Operations Insights for the external pluggable database.
-
#disable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, opts = {}) ⇒ Response
Disable Stack Monitoring for the external pluggable database.
-
#disable_pluggable_database_management(pluggable_database_id, opts = {}) ⇒ Response
Disables the Database Management service for the pluggable database.
-
#download_db_connection_bundle(db_connection_bundle_id, download_db_connection_bundle_details, opts = {}, &block) ⇒ Response
Downloads the specified database connection bundle content.
-
#download_exadata_infrastructure_config_file(exadata_infrastructure_id, opts = {}, &block) ⇒ Response
Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
-
#download_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Download one-off patch.
-
#download_validation_report(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) ⇒ Response
Downloads the network validation report file for the specified VM cluster network.
-
#download_vm_cluster_network_config_file(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) ⇒ Response
Downloads the configuration file for the specified VM cluster network.
-
#edit_autonomous_container_database_dataguard(edit_autonomous_container_database_dataguard_details, autonomous_container_database_id, opts = {}) ⇒ Response
Modify Autonomous Container Database Data Guard settings such as protection mode, automatic failover, and fast start failover lag limit.
-
#enable_autonomous_database_management(autonomous_database_id, opts = {}) ⇒ Response
Enables Database Management for Autonomous AI Database.
-
#enable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) ⇒ Response
Enables the specified Autonomous AI Database with Operations Insights.
-
#enable_database_management(database_id, enable_database_management_details, opts = {}) ⇒ Response
Enables the Database Management service for an Oracle Database located in Oracle Cloud Infrastructure.
-
#enable_external_container_database_database_management(external_container_database_id, enable_external_container_database_database_management_details, opts = {}) ⇒ Response
Enables Database Management Service for the external container database.
-
#enable_external_container_database_stack_monitoring(external_container_database_id, enable_external_container_database_stack_monitoring_details, opts = {}) ⇒ Response
Enable Stack Monitoring for the external container database.
-
#enable_external_non_container_database_database_management(external_non_container_database_id, enable_external_non_container_database_database_management_details, opts = {}) ⇒ Response
Enable Database Management Service for the external non-container database.
-
#enable_external_non_container_database_operations_insights(external_non_container_database_id, enable_external_non_container_database_operations_insights_details, opts = {}) ⇒ Response
Enable Operations Insights for the external non-container database.
-
#enable_external_non_container_database_stack_monitoring(external_non_container_database_id, enable_external_non_container_database_stack_monitoring_details, opts = {}) ⇒ Response
Enable Stack Monitoring for the external non-container database.
-
#enable_external_pluggable_database_database_management(external_pluggable_database_id, enable_external_pluggable_database_database_management_details, opts = {}) ⇒ Response
Enable Database Management Service for the external pluggable database.
-
#enable_external_pluggable_database_operations_insights(external_pluggable_database_id, enable_external_pluggable_database_operations_insights_details, opts = {}) ⇒ Response
Enable Operations Insights for the external pluggable database.
-
#enable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, enable_external_pluggable_database_stack_monitoring_details, opts = {}) ⇒ Response
Enable Stack Monitoring for the external pluggable database.
-
#enable_pluggable_database_management(pluggable_database_id, enable_pluggable_database_management_details, opts = {}) ⇒ Response
Enables the Database Management service for an Oracle Pluggable Database located in Oracle Cloud Infrastructure.
-
#execute_db_system_os_patch(execute_db_system_os_patch_details, db_system_id, opts = {}) ⇒ Response
Execute an operating system (OS) patch action on a DB system.
-
#fail_over_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Initiates a failover of the specified Autonomous AI Database to the associated peer database.
-
#failover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Performs failover to a standby Autonomous Container Database (ACD) identified by the autonomousContainerDatabaseId parameter.
-
#failover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Deprecated. Use the failover_autonomous_container_database_dataguard operation to fail over the standby Autonomous Container Database (ACD) to the primary ACD after the existing primary ACD fails or becomes unreachable.
-
#failover_data_guard(database_id, failover_data_guard_details, opts = {}) ⇒ Response
Performs a failover to transition the standby database identified by the
databaseIdpath parameter into the primary role after the existing primary database fails or becomes unreachable. -
#failover_data_guard_association(database_id, data_guard_association_id, failover_data_guard_association_details, opts = {}) ⇒ Response
Performs a failover to transition the standby database identified by the
databaseIdparameter into the specified Data Guard association's primary role after the existing primary database fails or becomes unreachable. -
#generate_autonomous_database_wallet(autonomous_database_id, generate_autonomous_database_wallet_details, opts = {}, &block) ⇒ Response
Creates and downloads a wallet for the specified Autonomous AI Database.
-
#generate_recommended_vm_cluster_network(exadata_infrastructure_id, generate_recommended_network_details, opts = {}) ⇒ Response
Generates a recommended Cloud@Customer VM cluster network configuration.
-
#get_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Gets information about the specified advanced cluster file systems.
-
#get_application_vip(application_vip_id, opts = {}) ⇒ Response
Gets information about a specified application virtual IP (VIP) address.
-
#get_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Gets information about the specified Autonomous Container Database.
-
#get_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Deprecated. Use the get_autonomous_container_database operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
-
#get_autonomous_container_database_resource_usage(autonomous_container_database_id, opts = {}) ⇒ Response
Get resource usage details for the specified Autonomous Container Database.
-
#get_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Gets the details of the specified Autonomous AI Database.
-
#get_autonomous_database_backup(autonomous_database_backup_id, opts = {}) ⇒ Response
Gets information about the specified Autonomous AI Database backup.
-
#get_autonomous_database_dataguard_association(autonomous_database_id, autonomous_database_dataguard_association_id, opts = {}) ⇒ Response
Deprecated. Use the get_autonomous_container_database operation to gets an Autonomous Data Guard-enabled database associated with the specified Autonomous AI Database.
-
#get_autonomous_database_regional_wallet(opts = {}) ⇒ Response
Gets the Autonomous AI Database regional wallet details.
-
#get_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) ⇒ Response
Gets information about the specified Autonomous AI Database Software Image.
-
#get_autonomous_database_wallet(autonomous_database_id, opts = {}) ⇒ Response
Gets the wallet details for the specified Autonomous AI Database.
-
#get_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Deprecated. Use the get_cloud_exadata_infrastructure operation to get details of an Exadata Infrastructure resource and the get_cloud_autonomous_vm_cluster operation to get details of an Autonomous Exadata VM cluster.
-
#get_autonomous_patch(autonomous_patch_id, opts = {}) ⇒ Response
Gets information about a specific autonomous patch.
-
#get_autonomous_virtual_machine(autonomous_virtual_machine_id, opts = {}) ⇒ Response
Gets the details of specific Autonomous Virtual Machine.
-
#get_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Gets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system.
-
#get_autonomous_vm_cluster_resource_usage(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Get the resource usage details for the specified Autonomous Exadata VM cluster.
-
#get_backup(backup_id, opts = {}) ⇒ Response
Gets information about the specified backup.
-
#get_backup_destination(backup_destination_id, opts = {}) ⇒ Response
Gets information about the specified backup destination in an Exadata Cloud@Customer system.
-
#get_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud.
-
#get_cloud_autonomous_vm_cluster_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
-
#get_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Gets information about the specified cloud Exadata infrastructure resource.
-
#get_cloud_exadata_infrastructure_unallocated_resources(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Gets unallocated resources information for the specified Cloud Exadata infrastructure.
-
#get_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) ⇒ Response
Gets information about the specified cloud VM cluster.
-
#get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, opts = {}) ⇒ Response
Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
-
#get_cloud_vm_cluster_update(cloud_vm_cluster_id, update_id, opts = {}) ⇒ Response
Gets information about a specified maintenance update package for a cloud VM cluster.
-
#get_cloud_vm_cluster_update_history_entry(cloud_vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Gets the maintenance update history details for the specified update history entry.
-
#get_console_connection(db_node_id, console_connection_id, opts = {}) ⇒ Response
Gets the specified database node console connection's information.
-
#get_console_history(db_node_id, console_history_id, opts = {}) ⇒ Response
Gets information about the specified database node console history.
-
#get_console_history_content(db_node_id, console_history_id, opts = {}, &block) ⇒ Response
Retrieves the specified database node console history contents upto a megabyte.
-
#get_data_guard_association(database_id, data_guard_association_id, opts = {}) ⇒ Response
Gets the specified Data Guard association's configuration information.
-
#get_database(database_id, opts = {}) ⇒ Response
Gets information about the specified database.
-
#get_database_software_image(database_software_image_id, opts = {}) ⇒ Response
Gets information about the specified database software image.
-
#get_database_upgrade_history_entry(database_id, upgrade_history_entry_id, opts = {}) ⇒ Response
gets the upgrade history for a specified database.
-
#get_db_connection_bundle(db_connection_bundle_id, opts = {}) ⇒ Response
Gets information about the specified database connection bundle.
-
#get_db_home(db_home_id, opts = {}) ⇒ Response
Gets information about the specified Database Home.
-
#get_db_home_patch(db_home_id, patch_id, opts = {}) ⇒ Response
Gets information about a specified patch package.
-
#get_db_home_patch_history_entry(db_home_id, patch_history_entry_id, opts = {}) ⇒ Response
Gets the patch history details for the specified patchHistoryEntryId.
-
#get_db_node(db_node_id, opts = {}) ⇒ Response
Gets information about the specified database node.
-
#get_db_server(exadata_infrastructure_id, db_server_id, opts = {}) ⇒ Response
Gets information about the Exadata Db server.
-
#get_db_system(db_system_id, opts = {}) ⇒ Response
Gets information about the specified DB system.
-
#get_db_system_os_patch_history_entry(db_system_id, os_patch_history_entry_id, opts = {}) ⇒ Response
Gets the details of the specified OS patch action for the specified DB system.
-
#get_db_system_patch(db_system_id, patch_id, opts = {}) ⇒ Response
Gets information the specified patch.
-
#get_db_system_patch_history_entry(db_system_id, patch_history_entry_id, opts = {}) ⇒ Response
Gets the details of the specified patch operation on the specified DB system.
-
#get_db_system_upgrade_history_entry(db_system_id, upgrade_history_entry_id, opts = {}) ⇒ Response
Gets the details of the specified operating system upgrade operation for the specified DB system.
-
#get_dbnode_snapshot(dbnode_snapshot_id, opts = {}) ⇒ Response
Gets information about the specified Exadata Database Node Snapshot in the specified compartment.
-
#get_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Gets information about the specified Exadata infrastructure.
-
#get_exadata_infrastructure_ocpus(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Gets details of the available and consumed OCPUs for the specified Autonomous Exadata Infrastructure resource.
-
#get_exadata_infrastructure_un_allocated_resources(exadata_infrastructure_id, opts = {}) ⇒ Response
Gets un allocated resources information for the specified Exadata infrastructure.
-
#get_exadata_iorm_config(db_system_id, opts = {}) ⇒ Response
Gets the IORM configuration settings for the specified cloud Exadata DB system.
-
#get_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) ⇒ Response
Gets information about the specified Exadata VM cluster on Exascale Infrastructure.
-
#get_exadb_vm_cluster_update(exadb_vm_cluster_id, update_id, opts = {}) ⇒ Response
Gets information about a specified maintenance update package for a Exadata VM cluster on Exascale Infrastructure.
-
#get_exadb_vm_cluster_update_history_entry(exadb_vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Gets the maintenance update history details for the specified update history entry.
-
#get_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) ⇒ Response
Gets information about the specified Exadata Database Storage Vaults in the specified compartment.
-
#get_execution_action(execution_action_id, opts = {}) ⇒ Response
Gets information about the specified execution action.
-
#get_execution_window(execution_window_id, opts = {}) ⇒ Response
Gets information about the specified execution window.
-
#get_external_backup_job(backup_id, opts = {}) ⇒ Response
Gets information about the specified external backup job.
-
#get_external_container_database(external_container_database_id, opts = {}) ⇒ Response
Gets information about the specified external container database.
-
#get_external_database_connector(external_database_connector_id, opts = {}) ⇒ Response
Gets information about the specified external database connector.
-
#get_external_non_container_database(external_non_container_database_id, opts = {}) ⇒ Response
Gets information about a specific external non-container database.
-
#get_external_pluggable_database(external_pluggable_database_id, opts = {}) ⇒ Response
Gets information about a specific create_external_pluggable_database_details resource.
-
#get_infrastructure_target_versions(compartment_id, opts = {}) ⇒ Response
Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates.
-
#get_key_store(key_store_id, opts = {}) ⇒ Response
Gets information about the specified key store.
-
#get_maintenance_run(maintenance_run_id, opts = {}) ⇒ Response
Gets information about the specified maintenance run.
-
#get_maintenance_run_history(maintenance_run_history_id, opts = {}) ⇒ Response
Gets information about the specified maintenance run history.
-
#get_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Gets information about the specified one-off patch.
-
#get_pdb_conversion_history_entry(database_id, pdb_conversion_history_entry_id, opts = {}) ⇒ Response
Gets the details of operations performed to convert the specified database from non-container (non-CDB) to pluggable (PDB).
-
#get_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Gets information about the specified pluggable database.
-
#get_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) ⇒ Response
Gets information about the specified Exadata Pluggable Database Snapshot in the specified compartment.
-
#get_scheduled_action(scheduled_action_id, opts = {}) ⇒ Response
Gets information about the specified Scheduled Action.
-
#get_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Gets information about the specified Scheduling Plan.
-
#get_scheduling_policy(scheduling_policy_id, opts = {}) ⇒ Response
Gets information about the specified Scheduling Policy.
-
#get_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) ⇒ Response
Gets information about the specified Scheduling Window.
-
#get_vm_cluster(vm_cluster_id, opts = {}) ⇒ Response
Gets information about the VM cluster.
-
#get_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Gets information about the specified VM cluster network.
-
#get_vm_cluster_patch(vm_cluster_id, patch_id, opts = {}) ⇒ Response
Gets information about a specified patch package.
-
#get_vm_cluster_patch_history_entry(vm_cluster_id, patch_history_entry_id, opts = {}) ⇒ Response
Gets the patch history details for the specified patch history entry.
-
#get_vm_cluster_update(vm_cluster_id, update_id, opts = {}) ⇒ Response
Gets information about a specified maintenance update package for a VM cluster.
-
#get_vm_cluster_update_history_entry(vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Gets the maintenance update history details for the specified update history entry.
-
#import_transportable_tablespace(autonomous_database_id, import_transportable_tablespace_details, opts = {}) ⇒ Response
Imports transportable tablespace for the specified Autonomous AI Database.
-
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ DatabaseClient
constructor
Creates a new DatabaseClient.
-
#launch_autonomous_exadata_infrastructure(launch_autonomous_exadata_infrastructure_details, opts = {}) ⇒ Response
Deprecated To create a new Autonomous AI Database system on dedicated Exadata Infrastructure, use the create_cloud_exadata_infrastructure and create_cloud_autonomous_vm_cluster operations instead.
-
#launch_db_system(launch_db_system_details, opts = {}) ⇒ Response
Creates a new DB system in the specified compartment and availability domain.
-
#list_advanced_cluster_file_systems(compartment_id, opts = {}) ⇒ Response
Lists the advanced cluster file system resources in the specified compartment.
-
#list_application_vips(compartment_id, cloud_vm_cluster_id, opts = {}) ⇒ Response
Gets a list of application virtual IP (VIP) addresses on a cloud VM cluster.
-
#list_autonomous_container_database_backups(opts = {}) ⇒ Response
Gets a list of Autonomous Container Database backups by using either the 'autonomousDatabaseId' or 'compartmentId' as your query parameter.
-
#list_autonomous_container_database_dataguard_associations(autonomous_container_database_id, opts = {}) ⇒ Response
Deprecated. Use the list_autonomous_container_databases operation to get a list of the Autonomous Container Databases (ACDs)with Autonomous Data Guard-enabled associated with the specified ACD.
-
#list_autonomous_container_database_versions(compartment_id, service_component, opts = {}) ⇒ Response
Gets a list of supported Autonomous Container Database versions.
-
#list_autonomous_container_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of the Autonomous Container Databases in the specified compartment.
-
#list_autonomous_database_backups(opts = {}) ⇒ Response
Gets a list of Autonomous AI Database backups based on either the
autonomousDatabaseIdorcompartmentIdspecified as a query parameter. -
#list_autonomous_database_character_sets(opts = {}) ⇒ Response
Gets a list of supported character sets.
-
#list_autonomous_database_clones(compartment_id, autonomous_database_id, opts = {}) ⇒ Response
Lists the Autonomous AI Database clones for the specified Autonomous AI Database.
-
#list_autonomous_database_dataguard_associations(autonomous_database_id, opts = {}) ⇒ Response
Deprecated. Use the get_autonomous_container_database operation to get a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous AI Database.
-
#list_autonomous_database_peers(autonomous_database_id, opts = {}) ⇒ Response
Lists the Autonomous AI Database peers for the specified Autonomous AI Database.
-
#list_autonomous_database_refreshable_clones(autonomous_database_id, opts = {}) ⇒ Response
Lists the OCIDs of the Autonomous AI Database local and connected remote refreshable clones with the region where they exist for the specified source database.
-
#list_autonomous_database_software_images(compartment_id, image_shape_family, opts = {}) ⇒ Response
Gets a list of the Autonomous AI Database Software Images in the specified compartment.
-
#list_autonomous_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of Autonomous AI Databases based on the query parameters specified.
-
#list_autonomous_db_preview_versions(compartment_id, opts = {}) ⇒ Response
Gets a list of supported Autonomous AI Database versions.
-
#list_autonomous_db_versions(compartment_id, opts = {}) ⇒ Response
Gets a list of supported Autonomous AI Database versions.
-
#list_autonomous_exadata_infrastructure_shapes(availability_domain, compartment_id, opts = {}) ⇒ Response
Deprecated..
-
#list_autonomous_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Deprecated. Use the list_cloud_exadata_infrastructures operation to list Exadata Infrastructures in the Oracle cloud and the list_cloud_autonomous_vm_clusters operation to list Autonomous Exadata VM clusters.
-
#list_autonomous_virtual_machines(compartment_id, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Lists the Autonomous Virtual Machines in the specified Autonomous VM Cluster and Compartment.
-
#list_autonomous_vm_cluster_acd_resource_usage(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Gets the list of resource usage details for all the Autonomous Container Database in the specified Autonomous Exadata VM cluster.
-
#list_autonomous_vm_clusters(compartment_id, opts = {}) ⇒ Response
Gets a list of Exadata Cloud@Customer Autonomous VM clusters in the specified compartment.
-
#list_backup_destination(compartment_id, opts = {}) ⇒ Response
Gets a list of backup destinations in the specified compartment.
-
#list_backups(opts = {}) ⇒ Response
Gets a list of backups based on the
databaseIdorcompartmentIdspecified. -
#list_cloud_autonomous_vm_cluster_acd_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Gets the list of resource usage details for all the Cloud Autonomous Container Database in the specified Cloud Autonomous Exadata VM cluster.
-
#list_cloud_autonomous_vm_clusters(compartment_id, opts = {}) ⇒ Response
Lists Autonomous Exadata VM clusters in the Oracle cloud.
-
#list_cloud_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Gets a list of the cloud Exadata infrastructure resources in the specified compartment.
-
#list_cloud_vm_cluster_update_history_entries(cloud_vm_cluster_id, opts = {}) ⇒ Response
Gets the history of the maintenance update actions performed on the specified cloud VM cluster.
-
#list_cloud_vm_cluster_updates(cloud_vm_cluster_id, opts = {}) ⇒ Response
Lists the maintenance updates that can be applied to the specified cloud VM cluster.
-
#list_cloud_vm_clusters(compartment_id, opts = {}) ⇒ Response
Gets a list of the cloud VM clusters in the specified compartment.
-
#list_console_connections(db_node_id, opts = {}) ⇒ Response
Lists the console connections for the specified database node.
-
#list_console_histories(db_node_id, opts = {}) ⇒ Response
Lists the console histories for the specified database node.
-
#list_container_database_patches(autonomous_container_database_id, compartment_id, opts = {}) ⇒ Response
Lists the patches applicable to the requested container database.
-
#list_data_guard_associations(database_id, opts = {}) ⇒ Response
Lists all Data Guard associations for the specified database.
-
#list_database_software_images(compartment_id, opts = {}) ⇒ Response
Gets a list of the database software images in the specified compartment.
-
#list_database_upgrade_history_entries(database_id, opts = {}) ⇒ Response
Gets the upgrade history for a specified database in a bare metal or virtual machine DB system.
-
#list_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of the databases in the specified Database Home.
-
#list_db_connection_bundles(compartment_id, opts = {}) ⇒ Response
Lists all database connection bundles that match the query parameters.
-
#list_db_home_patch_history_entries(db_home_id, opts = {}) ⇒ Response
Lists the history of patch operations on the specified Database Home.
-
#list_db_home_patches(db_home_id, opts = {}) ⇒ Response
Lists patches applicable to the requested Database Home.
-
#list_db_homes(compartment_id, opts = {}) ⇒ Response
Lists the Database Homes in the specified DB system and compartment.
-
#list_db_nodes(compartment_id, opts = {}) ⇒ Response
Lists the database nodes in the specified DB system and compartment.
-
#list_db_servers(compartment_id, exadata_infrastructure_id, opts = {}) ⇒ Response
Lists the Exadata DB servers in the ExadataInfrastructureId and specified compartment.
-
#list_db_system_compute_performances(opts = {}) ⇒ Response
Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration.
-
#list_db_system_os_patch_history_entries(db_system_id, opts = {}) ⇒ Response
Gets the history of the OS patch actions performed on the specified DB system.
-
#list_db_system_patch_history_entries(db_system_id, opts = {}) ⇒ Response
Gets the history of the patch actions performed on the specified DB system.
-
#list_db_system_patches(db_system_id, opts = {}) ⇒ Response
Lists the patches applicable to the specified DB system.
-
#list_db_system_shapes(compartment_id, opts = {}) ⇒ Response
Gets a list of the shapes that can be used to launch a new DB system.
-
#list_db_system_storage_performances(storage_management, opts = {}) ⇒ Response
Gets a list of possible expected storage performance parameters of a VMDB System based on Configuration.
-
#list_db_system_upgrade_history_entries(db_system_id, opts = {}) ⇒ Response
Gets the history of the upgrade actions performed on the specified DB system.
-
#list_db_system_upgrades(db_system_id, opts = {}) ⇒ Response
Lists the applicable upgrade components for a DB systems.
-
#list_db_systems(compartment_id, opts = {}) ⇒ Response
Lists the DB systems in the specified compartment.
-
#list_db_versions(compartment_id, opts = {}) ⇒ Response
Gets a list of supported Oracle Database versions.
-
#list_dbnode_snapshots(compartment_id, opts = {}) ⇒ Response
Gets a list of the Exadata Database Node Snapshots in the specified compartment.
-
#list_estimate_cost_savings(is_cpu_autoscale, autonomous_database_id, opts = {}) ⇒ Response
Gets the estimate cost savings of the Autonomous AI Database.
-
#list_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Lists the Exadata infrastructure resources in the specified compartment.
-
#list_exadb_vm_cluster_update_history_entries(exadb_vm_cluster_id, opts = {}) ⇒ Response
Gets the history of the maintenance update actions performed on the specified Exadata VM cluster on Exascale Infrastructure.
-
#list_exadb_vm_cluster_updates(exadb_vm_cluster_id, opts = {}) ⇒ Response
Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure.
-
#list_exadb_vm_clusters(compartment_id, opts = {}) ⇒ Response
Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment.
-
#list_exascale_db_storage_vaults(compartment_id, opts = {}) ⇒ Response
Gets a list of the Exadata Database Storage Vaults in the specified compartment.
-
#list_execution_actions(compartment_id, opts = {}) ⇒ Response
Lists the execution action resources in the specified compartment.
-
#list_execution_windows(compartment_id, opts = {}) ⇒ Response
Lists the execution window resources in the specified compartment.
-
#list_external_container_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of the external container databases in the specified compartment.
-
#list_external_database_connectors(compartment_id, external_database_id, opts = {}) ⇒ Response
Gets a list of the external database connectors in the specified compartment.
-
#list_external_non_container_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of the ExternalNonContainerDatabases in the specified compartment.
-
#list_external_pluggable_databases(compartment_id, opts = {}) ⇒ Response
Gets a list of the create_external_pluggable_database_details resources in the specified compartment.
-
#list_flex_components(compartment_id, opts = {}) ⇒ Response
Gets a list of the flex components that can be used to launch a new DB system.
-
#list_gi_version_minor_versions(version, opts = {}) ⇒ Response
Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
-
#list_gi_versions(compartment_id, opts = {}) ⇒ Response
Gets a list of supported GI versions.
-
#list_key_stores(compartment_id, opts = {}) ⇒ Response
Gets a list of key stores in the specified compartment.
-
#list_maintenance_run_history(compartment_id, opts = {}) ⇒ Response
Gets a list of the maintenance run histories in the specified compartment.
-
#list_maintenance_runs(compartment_id, opts = {}) ⇒ Response
Gets a list of the maintenance runs in the specified compartment.
-
#list_oneoff_patches(compartment_id, opts = {}) ⇒ Response
Lists one-off patches in the specified compartment.
-
#list_params_for_action_type(type, opts = {}) ⇒ Response
List all the action params and their possible values for a given action type.
-
#list_pdb_conversion_history_entries(database_id, opts = {}) ⇒ Response
Gets the pluggable database conversion history for a specified database in a bare metal or virtual machine DB system.
-
#list_pluggable_database_snapshots(opts = {}) ⇒ Response
Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment.
-
#list_pluggable_databases(opts = {}) ⇒ Response
Gets a list of the pluggable databases in a database or compartment.
-
#list_recommended_scheduled_actions(scheduling_policy_id, scheduling_policy_target_resource_id, plan_intent, opts = {}) ⇒ Response
Returns a recommended Scheduled Actions configuration for a given resource, plan intent and scheduling policy.
-
#list_resource_pool_members(autonomous_database_id, opts = {}) ⇒ Response
Lists the OCIDs of the Autonomous AI Database resource pool members for the specified Autonomous AI Database leader.
-
#list_scheduled_actions(compartment_id, opts = {}) ⇒ Response
Lists the Scheduled Action resources in the specified compartment.
-
#list_scheduling_plans(compartment_id, opts = {}) ⇒ Response
Lists the Scheduling Plan resources in the specified compartment.
-
#list_scheduling_policies(compartment_id, opts = {}) ⇒ Response
Lists the Scheduling Policy resources in the specified compartment.
-
#list_scheduling_windows(scheduling_policy_id, opts = {}) ⇒ Response
Lists the Scheduling Window resources in the specified compartment.
-
#list_system_version_minor_versions(major_version, compartment_id, gi_version, opts = {}) ⇒ Response
Retrieves a list of supported minor versions for the specified Exadata System Software major version.
-
#list_system_versions(compartment_id, gi_version, opts = {}) ⇒ Response
Gets a list of supported Exadata system versions for a given shape and GI version.
-
#list_vm_cluster_networks(exadata_infrastructure_id, compartment_id, opts = {}) ⇒ Response
Gets a list of the VM cluster networks in the specified compartment.
-
#list_vm_cluster_patch_history_entries(vm_cluster_id, opts = {}) ⇒ Response
Gets the history of the patch actions performed on the specified VM cluster in an Exadata Cloud@Customer system.
-
#list_vm_cluster_patches(vm_cluster_id, opts = {}) ⇒ Response
Lists the patches applicable to the specified VM cluster in an Exadata Cloud@Customer system.
-
#list_vm_cluster_update_history_entries(vm_cluster_id, opts = {}) ⇒ Response
Gets the history of the maintenance update actions performed on the specified VM cluster.
-
#list_vm_cluster_updates(vm_cluster_id, opts = {}) ⇒ Response
Lists the maintenance updates that can be applied to the specified VM cluster.
-
#list_vm_clusters(compartment_id, opts = {}) ⇒ Response
Lists the VM clusters in the specified compartment.
-
#local_clone_pluggable_database(local_clone_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Deprecated. Use create_pluggable_database for Pluggable Database LocalClone Operation.
-
#logger ⇒ Logger
The logger for this client.
-
#migrate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Migrate Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter.
-
#migrate_data_guard_association_to_multi_data_guards(database_id, data_guard_association_id, opts = {}) ⇒ Response
Migrates the existing Data Guard association to new Data Guard model to support multiple standby databases functionality.
-
#migrate_exadata_db_system_resource_model(db_system_id, opts = {}) ⇒ Response
Migrates the Exadata DB system to the new Exadata resource model.
-
#migrate_vault_key(database_id, migrate_vault_key_details, opts = {}) ⇒ Response
Changes encryption key management from customer-managed, using the Vault service, to Oracle-managed.
-
#modify_database_management(database_id, modify_database_management_details, opts = {}) ⇒ Response
Updates one or more attributes of the Database Management service for the database.
-
#modify_pluggable_database_management(pluggable_database_id, modify_pluggable_database_management_details, opts = {}) ⇒ Response
Updates one or more attributes of the Database Management service for the pluggable database.
-
#mount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Mounts the advanced cluster file system to all the virtual machines within a vmcluster.
-
#mount_dbnode_snapshot(mount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) ⇒ Response
Mounts the snapshot for the provided dbNode.
-
#move_execution_action_member(execution_action_id, move_execution_action_member_details, opts = {}) ⇒ Response
Moves an execution action member to this execution action resource from another.
-
#refresh_data_guard_health_status(database_id, opts = {}) ⇒ Response
Refreshes the Data Guard health status for the specified database.
-
#refresh_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Refreshes a pluggable database (PDB) Refreshable clone.
-
#register_autonomous_database_data_safe(autonomous_database_id, opts = {}) ⇒ Response
Asynchronously registers this Autonomous AI Database with Data Safe.
-
#register_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, register_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Install the PKCS11 driver for given keystore type.
-
#register_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, register_cloud_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Install the PKCS11 driver for given keystore type.
-
#reinstate_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD.
-
#reinstate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Deprecated. Use the reinstate_autonomous_container_database_dataguard operation to reinstate a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD.
-
#reinstate_data_guard(database_id, reinstate_data_guard_details, opts = {}) ⇒ Response
Reinstates the database identified by the
databaseIdparameter into the standby role in a Data Guard association. -
#reinstate_data_guard_association(database_id, data_guard_association_id, reinstate_data_guard_association_details, opts = {}) ⇒ Response
Reinstates the database identified by the
databaseIdparameter into the standby role in a Data Guard association. -
#remote_clone_pluggable_database(remote_clone_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Deprecated. Use create_pluggable_database for Pluggable Database RemoteClone Operation.
-
#remove_virtual_machine_from_cloud_vm_cluster(remove_virtual_machine_from_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Remove Virtual Machines from the Cloud VM cluster.
-
#remove_virtual_machine_from_exadb_vm_cluster(remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure.
-
#remove_virtual_machine_from_vm_cluster(remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, opts = {}) ⇒ Response
Remove Virtual Machines from the VM cluster.
-
#reorder_execution_actions(execution_window_id, reorder_execution_action_details, opts = {}) ⇒ Response
Reorders the execution actions under this execution window resource.
-
#reorder_scheduled_actions(reorder_scheduled_actions_details, scheduling_plan_id, opts = {}) ⇒ Response
Re-order the scheduled actions under this scheduling plan resource.
-
#reschedule_managed_db_software_update(database_id, opts = {}) ⇒ Response
Reschedule the Managed Database Software Update.
-
#resize_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, resize_vm_cluster_network_details, opts = {}) ⇒ Response
Adds or removes Db server network nodes to extend or shrink the existing VM cluster network.
-
#resource_pool_shapes(opts = {}) ⇒ Response
Lists available resource pools shapes.
-
#restart_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Rolling restarts the specified Autonomous Container Database.
-
#restart_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Restarts the specified Autonomous AI Database.
-
#restart_autonomous_vm_cluster_ords(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Restarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.
-
#restart_cloud_autonomous_vm_cluster_ords(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Restarts Oracle REST Data Services (ORDS) for a cloud Autonomous Exadata VM cluster.
-
#restore_autonomous_database(autonomous_database_id, restore_autonomous_database_details, opts = {}) ⇒ Response
Restores an Autonomous AI Database based on the provided request parameters.
-
#restore_database(database_id, restore_database_details, opts = {}) ⇒ Response
Restore a Database based on the request parameters you provide.
-
#rotate_autonomous_container_database_encryption_key(autonomous_container_database_id, opts = {}) ⇒ Response
Creates a new version of an existing Vault service key.
-
#rotate_autonomous_database_encryption_key(autonomous_database_id, opts = {}) ⇒ Response
Rotate existing AutonomousDatabase Vault service key.
-
#rotate_autonomous_vm_cluster_ords_certs(rotate_autonomous_vm_cluster_ords_certs_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Rotates the Oracle REST Data Services (ORDS) certificates for Autonomous Exadata VM cluster.
-
#rotate_autonomous_vm_cluster_ssl_certs(rotate_autonomous_vm_cluster_ssl_certs_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Rotates the SSL certificates for Autonomous Exadata VM cluster.
-
#rotate_cloud_autonomous_vm_cluster_ords_certs(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Rotates the Oracle REST Data Services (ORDS) certificates for a cloud Autonomous Exadata VM cluster.
-
#rotate_cloud_autonomous_vm_cluster_ssl_certs(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Rotates the SSL certficates for a cloud Autonomous Exadata VM cluster.
-
#rotate_ords_certs(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Deprecated. Use the rotate_cloud_autonomous_vm_cluster_ords_certs to rotate Oracle REST Data Services (ORDS) certs for an Autonomous Exadata VM cluster instead.
-
#rotate_pluggable_database_encryption_key(pluggable_database_id, opts = {}) ⇒ Response
Create a new version of the existing encryption key.
-
#rotate_ssl_certs(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Deprecated. Use the rotate_cloud_autonomous_vm_cluster_ssl_certs to rotate SSL certs for an Autonomous Exadata VM cluster instead.
-
#rotate_vault_key(database_id, opts = {}) ⇒ Response
Creates a new version of an existing Vault service key.
-
#run_data_patch(database_id, opts = {}) ⇒ Response
Run datapatch on the specified Oracle Database and optionally on the specified Pluggable databases.
-
#saas_admin_user_status(autonomous_database_id, opts = {}) ⇒ Response
This operation gets SaaS administrative user status of the Autonomous AI Database.
-
#scan_external_container_database_pluggable_databases(external_container_database_id, external_database_connector_id, opts = {}) ⇒ Response
Scans for pluggable databases in the specified external container database.
-
#set_db_key_version(database_id, set_key_version_details, opts = {}) ⇒ Response
Sets a new version of an existing Vault service key.
-
#set_pdb_key_version(pluggable_database_id, set_key_version_details, opts = {}) ⇒ Response
Sets a new version of an existing Vault service key.
-
#shrink_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
This operation shrinks the current allocated storage down to the current actual used data storage (actualUsedDataStorageSizeInTBs).
-
#start_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Starts the specified Autonomous AI Database.
-
#start_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Starts a stopped pluggable database.
-
#stop_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Stops the specified Autonomous AI Database.
-
#stop_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Stops a pluggable database.
-
#switch_over_data_guard(database_id, switch_over_data_guard_details, opts = {}) ⇒ Response
Performs a switchover to transition primary database of this Data Guard association into a standby role.
-
#switchover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Switchover an Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD.
-
#switchover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Deprecated. Use the switchover_autonomous_container_database_dataguard operation to switches over the primary Autonomous Container Database (ACD) of an Autonomous Data Guard peer association to standby role.
-
#switchover_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Initiates a switchover of the specified Autonomous AI Database to the associated peer database.
-
#switchover_data_guard_association(database_id, data_guard_association_id, switchover_data_guard_association_details, opts = {}) ⇒ Response
Performs a switchover to transition the primary database of a Data Guard association into a standby role.
-
#terminate_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Terminates an Autonomous Container Database, which permanently deletes the container database and any databases within the container database.
-
#terminate_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Deprecated. To terminate an Exadata Infrastructure resource in the Oracle cloud, use the delete_cloud_exadata_infrastructure operation.
-
#terminate_db_system(db_system_id, opts = {}) ⇒ Response
Terminates a DB system and permanently deletes it and any databases running on it, and any storage volumes attached to it.
-
#unmount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
-
#unmount_dbnode_snapshot(unmount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) ⇒ Response
Unmounts the snapshot for the provided dbNode.
-
#unregister_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, unregister_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Uninstall the PKCS11 driver for given keystore type.
-
#unregister_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, unregister_cloud_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Uninstall the PKCS11 driver for given keystore type.
-
#update_advanced_cluster_file_system(advanced_cluster_file_system_id, update_advanced_cluster_file_system_details, opts = {}) ⇒ Response
Updates the advanced cluster file system resource.
-
#update_autonomous_container_database(autonomous_container_database_id, update_autonomous_container_database_details, opts = {}) ⇒ Response
Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.
-
#update_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, update_autonomous_container_database_data_guard_association_details, opts = {}) ⇒ Response
Deprecated. Use the edit_autonomous_container_database_dataguard operation to update an Autonomous Data Guard association.
-
#update_autonomous_database(autonomous_database_id, update_autonomous_database_details, opts = {}) ⇒ Response
Updates one or more attributes of the specified Autonomous AI Database.
-
#update_autonomous_database_backup(autonomous_database_backup_id, update_autonomous_database_backup_details, opts = {}) ⇒ Response
Updates the Autonomous AI Database backup of the specified database based on the request parameters.
-
#update_autonomous_database_regional_wallet(update_autonomous_database_wallet_details, opts = {}) ⇒ Response
Updates the Autonomous AI Database regional wallet.
-
#update_autonomous_database_software_image(autonomous_database_software_image_id, update_autonomous_database_software_image_details, opts = {}) ⇒ Response
Updates the properties of an Autonomous AI Database Software Image, like add tags.
-
#update_autonomous_database_wallet(autonomous_database_id, update_autonomous_database_wallet_details, opts = {}) ⇒ Response
Updates the wallet for the specified Autonomous AI Database.
-
#update_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, update_autonomous_exadata_infrastructures_details, opts = {}) ⇒ Response
Deprecated. Use the update_cloud_exadata_infrastructure operation to update an Exadata Infrastructure resource and update_cloud_autonomous_vm_cluster operation to update an Autonomous Exadata VM cluster.
-
#update_autonomous_vm_cluster(autonomous_vm_cluster_id, update_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Updates the specified Autonomous VM cluster for the Exadata Cloud@Customer system.To update an Autonomous VM Cluster in the Oracle cloud, see update_cloud_autonomous_vm_cluster.
-
#update_backup(backup_id, update_backup_details, opts = {}) ⇒ Response
Updates database backup details.
-
#update_backup_destination(backup_destination_id, update_backup_destination_details, opts = {}) ⇒ Response
If no database is associated with the backup destination: - For a RECOVERY_APPLIANCE backup destination, updates the connection string and/or the list of VPC users.
-
#update_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, update_cloud_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Updates the specified Autonomous Exadata VM cluster in the Oracle cloud.
-
#update_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, update_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Updates the Cloud Exadata infrastructure resource.
-
#update_cloud_vm_cluster(cloud_vm_cluster_id, update_cloud_vm_cluster_details, opts = {}) ⇒ Response
Updates the specified cloud VM cluster.
-
#update_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, cloud_vm_cluster_iorm_config_update_details, opts = {}) ⇒ Response
Updates the IORM settings for the specified cloud VM cluster in an Exadata Cloud Service instance.
-
#update_console_connection(db_node_id, console_connection_id, update_console_connection_details, opts = {}) ⇒ Response
Updates the specified database node console connection.
-
#update_console_history(db_node_id, console_history_id, update_console_history_details, opts = {}) ⇒ Response
Updates the specified database node console history.
-
#update_data_guard(database_id, update_data_guard_details, opts = {}) ⇒ Response
Update an existing Data Guard member.
-
#update_data_guard_association(database_id, data_guard_association_id, update_data_guard_association_details, opts = {}) ⇒ Response
Updates the Data Guard association the specified database.
-
#update_database(database_id, update_database_details, opts = {}) ⇒ Response
Update the specified database based on the request parameters provided.
-
#update_database_software_image(database_software_image_id, update_database_software_image_details, opts = {}) ⇒ Response
Updates the properties of a Database Software Image, like Display Nmae.
-
#update_db_home(db_home_id, update_db_home_details, opts = {}) ⇒ Response
Patches the specified Database Home.
-
#update_db_node(db_node_id, update_db_node_details, opts = {}) ⇒ Response
Updates the specified database node.
-
#update_db_system(db_system_id, update_db_system_details, opts = {}) ⇒ Response
Updates the properties of the specified DB system.
-
#update_exadata_infrastructure(exadata_infrastructure_id, update_exadata_infrastructure_details, opts = {}) ⇒ Response
Updates the Exadata infrastructure resource.
-
#update_exadata_iorm_config(db_system_id, exadata_iorm_config_update_details, opts = {}) ⇒ Response
Updates IORM settings for the specified Exadata DB system.
-
#update_exadb_vm_cluster(exadb_vm_cluster_id, update_exadb_vm_cluster_details, opts = {}) ⇒ Response
Updates the specified Exadata VM cluster on Exascale Infrastructure.
-
#update_exascale_db_storage_vault(exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, opts = {}) ⇒ Response
Updates the specified Exadata Database Storage Vault.
-
#update_execution_action(execution_action_id, update_execution_action_details, opts = {}) ⇒ Response
Updates the execution action resource.
-
#update_execution_window(execution_window_id, update_execution_window_details, opts = {}) ⇒ Response
Updates the execution window resource.
-
#update_external_container_database(external_container_database_id, update_external_container_database_details, opts = {}) ⇒ Response
Updates the properties of an create_external_container_database_details resource, such as the display name.
-
#update_external_database_connector(external_database_connector_id, update_external_database_connector_details, opts = {}) ⇒ Response
Updates the properties of an external database connector, such as the display name.
-
#update_external_non_container_database(external_non_container_database_id, update_external_non_container_database_details, opts = {}) ⇒ Response
Updates the properties of an external non-container database, such as the display name.
-
#update_external_pluggable_database(external_pluggable_database_id, update_external_pluggable_database_details, opts = {}) ⇒ Response
Updates the properties of an create_external_pluggable_database_details resource, such as the display name.
-
#update_key_store(key_store_id, update_key_store_details, opts = {}) ⇒ Response
Edit the key store.
-
#update_maintenance_run(maintenance_run_id, update_maintenance_run_details, opts = {}) ⇒ Response
Updates the properties of a maintenance run, such as the state of a maintenance run.
-
#update_oneoff_patch(oneoff_patch_id, update_oneoff_patch_details, opts = {}) ⇒ Response
Updates the properties of the specified one-off patch.
-
#update_pluggable_database(pluggable_database_id, update_pluggable_database_details, opts = {}) ⇒ Response
Updates the specified pluggable database.
-
#update_scheduled_action(scheduled_action_id, update_scheduled_action_details, opts = {}) ⇒ Response
Updates the Scheduled Action resource.
-
#update_scheduling_policy(scheduling_policy_id, update_scheduling_policy_details, opts = {}) ⇒ Response
Updates the Scheduling Policy resource.
-
#update_scheduling_window(scheduling_policy_id, scheduling_window_id, update_scheduling_window_details, opts = {}) ⇒ Response
Updates the Scheduling Window resource.
-
#update_vm_cluster(vm_cluster_id, update_vm_cluster_details, opts = {}) ⇒ Response
Updates the specified VM cluster.
-
#update_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, update_vm_cluster_network_details, opts = {}) ⇒ Response
Updates the specified VM cluster network.
-
#upgrade_database(database_id, upgrade_database_details, opts = {}) ⇒ Response
Upgrades the specified Oracle Database instance.
-
#upgrade_db_system(db_system_id, upgrade_db_system_details, opts = {}) ⇒ Response
Upgrades the operating system and grid infrastructure of the DB system.
-
#validate_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Validates the specified VM cluster network.
Constructor Details
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ DatabaseClient
Creates a new DatabaseClient. Notes: If a config is not specified, then the global OCI.config will be used.
This client is not thread-safe
Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the region. A region may be specified in the config or via or the region parameter. If specified in both, then the region parameter will be used.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/oci/database/database_client.rb', line 55 def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers) # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then # pass it to this constructor. # # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid # so try and load the config from the default file. config = OCI::Config.validate_and_build_config_with_signer(config, signer) signer = OCI::Signer.config_file_auth_builder(config) if signer.nil? @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings) @retry_config = retry_config if endpoint @endpoint = endpoint + '/20160918' else region ||= config.region region ||= signer.region if signer.respond_to?(:region) self.region = region end logger.info "DatabaseClient endpoint set to '#{@endpoint}'." if logger end |
Instance Attribute Details
#api_client ⇒ OCI::ApiClient (readonly)
Client used to make HTTP requests.
15 16 17 |
# File 'lib/oci/database/database_client.rb', line 15 def api_client @api_client end |
#endpoint ⇒ String (readonly)
Fully qualified endpoint URL
19 20 21 |
# File 'lib/oci/database/database_client.rb', line 19 def endpoint @endpoint end |
#region ⇒ String
The region, which will usually correspond to a value in Regions::REGION_ENUM.
29 30 31 |
# File 'lib/oci/database/database_client.rb', line 29 def region @region end |
#retry_config ⇒ OCI::Retry::RetryConfig (readonly)
The default retry configuration to apply to all operations in this service client. This can be overridden on a per-operation basis. The default retry configuration value is nil, which means that an operation will not perform any retries
25 26 27 |
# File 'lib/oci/database/database_client.rb', line 25 def retry_config @retry_config end |
Instance Method Details
#activate_exadata_infrastructure(exadata_infrastructure_id, activate_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use activate_exadata_infrastructure API.
Activates the specified Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/oci/database/database_client.rb', line 120 def activate_exadata_infrastructure(exadata_infrastructure_id, activate_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#activate_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling activate_exadata_infrastructure." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'activate_exadata_infrastructure_details' when calling activate_exadata_infrastructure." if activate_exadata_infrastructure_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/activate'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(activate_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#activate_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#add_dbnode_snapshots_for_exadb_vm_cluster(add_dbnode_snapshots_for_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_dbnode_snapshots_for_exadb_vm_cluster API.
Add a database node snapshots to the Exadb VM cluster..
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 |
# File 'lib/oci/database/database_client.rb', line 191 def add_dbnode_snapshots_for_exadb_vm_cluster(add_dbnode_snapshots_for_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_dbnode_snapshots_for_exadb_vm_cluster.' if logger raise "Missing the required parameter 'add_dbnode_snapshots_for_exadb_vm_cluster_details' when calling add_dbnode_snapshots_for_exadb_vm_cluster." if add_dbnode_snapshots_for_exadb_vm_cluster_details.nil? raise "Missing the required parameter 'exadb_vm_cluster_id' when calling add_dbnode_snapshots_for_exadb_vm_cluster." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/actions/addDbNodeSnapshots'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_dbnode_snapshots_for_exadb_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_dbnode_snapshots_for_exadb_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbnodeSnapshots' ) end # rubocop:enable Metrics/BlockLength end |
#add_standby_autonomous_container_database(add_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_standby_autonomous_container_database API.
Add a standby Autonomous Container Database. For more information about Autonomous Data Guard,see Protect Critical Databases from Failures and Disasters Using Autonomous Data Guard.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 |
# File 'lib/oci/database/database_client.rb', line 263 def add_standby_autonomous_container_database(add_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_standby_autonomous_container_database.' if logger raise "Missing the required parameter 'add_standby_autonomous_container_database_details' when calling add_standby_autonomous_container_database." if add_standby_autonomous_container_database_details.nil? raise "Missing the required parameter 'autonomous_container_database_id' when calling add_standby_autonomous_container_database." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/addStandby'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_standby_autonomous_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_standby_autonomous_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#add_storage_capacity_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_storage_capacity_cloud_exadata_infrastructure API.
Makes the storage capacity from additional storage servers available for Cloud VM Cluster consumption. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 |
# File 'lib/oci/database/database_client.rb', line 333 def add_storage_capacity_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_storage_capacity_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling add_storage_capacity_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/addStorageCapacity'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_storage_capacity_cloud_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#add_storage_capacity_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_storage_capacity_exadata_infrastructure API.
Makes the storage capacity from additional storage servers available for VM Cluster consumption. Applies to Exadata Cloud@Customer instances only.
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/oci/database/database_client.rb', line 402 def add_storage_capacity_exadata_infrastructure(exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_storage_capacity_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling add_storage_capacity_exadata_infrastructure." if exadata_infrastructure_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/addStorageCapacity'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_storage_capacity_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#add_virtual_machine_to_cloud_vm_cluster(add_virtual_machine_to_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_virtual_machine_to_cloud_vm_cluster API.
Add Virtual Machines to the Cloud VM cluster. Applies to Exadata Cloud instances only.
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/oci/database/database_client.rb', line 472 def add_virtual_machine_to_cloud_vm_cluster(add_virtual_machine_to_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_virtual_machine_to_cloud_vm_cluster.' if logger raise "Missing the required parameter 'add_virtual_machine_to_cloud_vm_cluster_details' when calling add_virtual_machine_to_cloud_vm_cluster." if add_virtual_machine_to_cloud_vm_cluster_details.nil? raise "Missing the required parameter 'cloud_vm_cluster_id' when calling add_virtual_machine_to_cloud_vm_cluster." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/addVirtualMachine'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_virtual_machine_to_cloud_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_virtual_machine_to_cloud_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#add_virtual_machine_to_vm_cluster(add_virtual_machine_to_vm_cluster_details, vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use add_virtual_machine_to_vm_cluster API.
Add Virtual Machines to the VM cluster. Applies to Exadata Cloud@Customer instances only.
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/oci/database/database_client.rb', line 543 def add_virtual_machine_to_vm_cluster(add_virtual_machine_to_vm_cluster_details, vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#add_virtual_machine_to_vm_cluster.' if logger raise "Missing the required parameter 'add_virtual_machine_to_vm_cluster_details' when calling add_virtual_machine_to_vm_cluster." if add_virtual_machine_to_vm_cluster_details.nil? raise "Missing the required parameter 'vm_cluster_id' when calling add_virtual_machine_to_vm_cluster." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/actions/addVirtualMachine'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_virtual_machine_to_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#add_virtual_machine_to_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#autonomous_database_manual_refresh(autonomous_database_id, autonomous_database_manual_refresh_details, opts = {}) ⇒ Response
Click here to see an example of how to use autonomous_database_manual_refresh API.
Initiates a data refresh for an Autonomous AI Database refreshable clone. Data is refreshed from the source database to the point of a specified timestamp.
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 |
# File 'lib/oci/database/database_client.rb', line 617 def autonomous_database_manual_refresh(autonomous_database_id, autonomous_database_manual_refresh_details, opts = {}) logger.debug 'Calling operation DatabaseClient#autonomous_database_manual_refresh.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling autonomous_database_manual_refresh." if autonomous_database_id.nil? raise "Missing the required parameter 'autonomous_database_manual_refresh_details' when calling autonomous_database_manual_refresh." if autonomous_database_manual_refresh_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/refresh'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(autonomous_database_manual_refresh_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#autonomous_database_manual_refresh') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#cancel_backup(backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use cancel_backup API.
Cancel automatic/standalone full/incremental create backup workrequests specified by the backup Id.
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 |
# File 'lib/oci/database/database_client.rb', line 687 def cancel_backup(backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#cancel_backup.' if logger raise "Missing the required parameter 'backup_id' when calling cancel_backup." if backup_id.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/backups/{backupId}/actions/cancel'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#cancel_backup') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#cancel_execution_window(execution_window_id, cancel_execution_window_details, opts = {}) ⇒ Response
Click here to see an example of how to use cancel_execution_window API.
Cancels the in progress maintenance activity under this execution window.
756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 |
# File 'lib/oci/database/database_client.rb', line 756 def cancel_execution_window(execution_window_id, cancel_execution_window_details, opts = {}) logger.debug 'Calling operation DatabaseClient#cancel_execution_window.' if logger raise "Missing the required parameter 'execution_window_id' when calling cancel_execution_window." if execution_window_id.nil? raise "Missing the required parameter 'cancel_execution_window_details' when calling cancel_execution_window." if cancel_execution_window_details.nil? raise "Parameter value for 'execution_window_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_window_id) path = '/executionWindows/{executionWindowId}/actions/cancel'.sub('{executionWindowId}', execution_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(cancel_execution_window_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#cancel_execution_window') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionWindow' ) end # rubocop:enable Metrics/BlockLength end |
#cascading_delete_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Click here to see an example of how to use cascading_delete_scheduling_plan API.
Delete the scheduling plan resource along with all the scheduled actions associated with this resource.
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 |
# File 'lib/oci/database/database_client.rb', line 826 def cascading_delete_scheduling_plan(scheduling_plan_id, opts = {}) logger.debug 'Calling operation DatabaseClient#cascading_delete_scheduling_plan.' if logger raise "Missing the required parameter 'scheduling_plan_id' when calling cascading_delete_scheduling_plan." if scheduling_plan_id.nil? raise "Parameter value for 'scheduling_plan_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_plan_id) path = '/schedulingPlans/{schedulingPlanId}/actions/cascadingDeleteSchedulingPlan'.sub('{schedulingPlanId}', scheduling_plan_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#cascading_delete_scheduling_plan') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_container_database_compartment(change_compartment_details, autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_container_database_compartment API.
Move the Autonomous Container Database and its dependent resources to the specified compartment. For more information about moving Autonomous Container Databases, see Moving Database Resources to a Different Compartment.
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 |
# File 'lib/oci/database/database_client.rb', line 897 def change_autonomous_container_database_compartment(change_compartment_details, autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_container_database_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_container_database_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'autonomous_container_database_id' when calling change_autonomous_container_database_compartment." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/changeCompartment'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_container_database_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_database_compartment(change_compartment_details, autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_database_compartment API.
Move the Autonomous AI Database and its dependent resources to the specified compartment. For more information about moving Autonomous AI Databases, see Moving Database Resources to a Different Compartment.
972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'lib/oci/database/database_client.rb', line 972 def change_autonomous_database_compartment(change_compartment_details, autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_database_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_database_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'autonomous_database_id' when calling change_autonomous_database_compartment." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/changeCompartment'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_database_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_database_software_image_compartment(change_autonomous_database_software_image_compartment_details, autonomous_database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_database_software_image_compartment API.
Move the Autonomous AI Database Software Image and its dependent resources to the specified compartment.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/oci/database/database_client.rb', line 1043 def change_autonomous_database_software_image_compartment(change_autonomous_database_software_image_compartment_details, autonomous_database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_database_software_image_compartment.' if logger raise "Missing the required parameter 'change_autonomous_database_software_image_compartment_details' when calling change_autonomous_database_software_image_compartment." if change_autonomous_database_software_image_compartment_details.nil? raise "Missing the required parameter 'autonomous_database_software_image_id' when calling change_autonomous_database_software_image_compartment." if autonomous_database_software_image_id.nil? raise "Parameter value for 'autonomous_database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_software_image_id) path = '/autonomousDatabaseSoftwareImages/{autonomousDatabaseSoftwareImageId}/actions/changeCompartment'.sub('{autonomousDatabaseSoftwareImageId}', autonomous_database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_autonomous_database_software_image_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_database_software_image_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_database_subscription(change_autonomous_database_subscription_details, autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_database_subscription API.
Associate an Autonomous AI Database with a different subscription.
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/oci/database/database_client.rb', line 1116 def change_autonomous_database_subscription(change_autonomous_database_subscription_details, autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_database_subscription.' if logger raise "Missing the required parameter 'change_autonomous_database_subscription_details' when calling change_autonomous_database_subscription." if change_autonomous_database_subscription_details.nil? raise "Missing the required parameter 'autonomous_database_id' when calling change_autonomous_database_subscription." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/changeSubscription'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_autonomous_database_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_database_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_exadata_infrastructure_compartment(change_compartment_details, autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_exadata_infrastructure_compartment API.
Deprecated. Use the #change_cloud_exadata_infrastructure_compartment change_cloud_exadata_infrastructure_compartment} operation to move an Exadata infrastructure resource to a different compartment and change_cloud_autonomous_vm_cluster_compartment operation to move an Autonomous Exadata VM cluster to a different compartment. For more information, see {Moving Database Resources to a Different Compartment.
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/oci/database/database_client.rb', line 1189 def change_autonomous_exadata_infrastructure_compartment(change_compartment_details, autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_exadata_infrastructure_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_exadata_infrastructure_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling change_autonomous_exadata_infrastructure_compartment." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/changeCompartment'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_exadata_infrastructure_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_autonomous_vm_cluster_compartment(change_autonomous_vm_cluster_compartment_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_autonomous_vm_cluster_compartment API.
Moves an Autonomous VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer only. For systems in the Oracle cloud, see change_autonomous_vm_cluster_compartment.
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 |
# File 'lib/oci/database/database_client.rb', line 1259 def change_autonomous_vm_cluster_compartment(change_autonomous_vm_cluster_compartment_details, autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_autonomous_vm_cluster_compartment.' if logger raise "Missing the required parameter 'change_autonomous_vm_cluster_compartment_details' when calling change_autonomous_vm_cluster_compartment." if change_autonomous_vm_cluster_compartment_details.nil? raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling change_autonomous_vm_cluster_compartment." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/actions/changeCompartment'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_autonomous_vm_cluster_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_vm_cluster_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_backup_destination_compartment(change_compartment_details, backup_destination_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_backup_destination_compartment API.
Move the backup destination and its dependent resources to the specified compartment. For more information, see Moving Database Resources to a Different Compartment.
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 |
# File 'lib/oci/database/database_client.rb', line 1332 def change_backup_destination_compartment(change_compartment_details, backup_destination_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_backup_destination_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_backup_destination_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'backup_destination_id' when calling change_backup_destination_compartment." if backup_destination_id.nil? raise "Parameter value for 'backup_destination_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_destination_id) path = '/backupDestinations/{backupDestinationId}/actions/changeCompartment'.sub('{backupDestinationId}', backup_destination_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_backup_destination_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_autonomous_vm_cluster_compartment(change_cloud_autonomous_vm_cluster_compartment_details, cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_autonomous_vm_cluster_compartment API.
Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to another compartment. For Exadata Cloud@Customer systems, see change_autonomous_vm_cluster_compartment.
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 |
# File 'lib/oci/database/database_client.rb', line 1402 def change_cloud_autonomous_vm_cluster_compartment(change_cloud_autonomous_vm_cluster_compartment_details, cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_autonomous_vm_cluster_compartment.' if logger raise "Missing the required parameter 'change_cloud_autonomous_vm_cluster_compartment_details' when calling change_cloud_autonomous_vm_cluster_compartment." if change_cloud_autonomous_vm_cluster_compartment_details.nil? raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling change_cloud_autonomous_vm_cluster_compartment." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/changeCompartment'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_autonomous_vm_cluster_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_autonomous_vm_cluster_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_autonomous_vm_cluster_subscription(change_cloud_autonomous_vm_cluster_subscription_details, cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_autonomous_vm_cluster_subscription API.
Associate a Cloud Autonomous VM cluster with a different subscription.
1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 |
# File 'lib/oci/database/database_client.rb', line 1472 def change_cloud_autonomous_vm_cluster_subscription(change_cloud_autonomous_vm_cluster_subscription_details, cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_autonomous_vm_cluster_subscription.' if logger raise "Missing the required parameter 'change_cloud_autonomous_vm_cluster_subscription_details' when calling change_cloud_autonomous_vm_cluster_subscription." if change_cloud_autonomous_vm_cluster_subscription_details.nil? raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling change_cloud_autonomous_vm_cluster_subscription." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/changeSubscription'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_autonomous_vm_cluster_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_autonomous_vm_cluster_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_db_system_subscription(change_cloud_db_system_subscription_details, db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_db_system_subscription API.
Associate a cloud DB system with a different subscription.
1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 |
# File 'lib/oci/database/database_client.rb', line 1542 def change_cloud_db_system_subscription(change_cloud_db_system_subscription_details, db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_db_system_subscription.' if logger raise "Missing the required parameter 'change_cloud_db_system_subscription_details' when calling change_cloud_db_system_subscription." if change_cloud_db_system_subscription_details.nil? raise "Missing the required parameter 'db_system_id' when calling change_cloud_db_system_subscription." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/actions/changeSubscription'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_db_system_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_db_system_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_exadata_infrastructure_compartment(change_cloud_exadata_infrastructure_compartment_details, cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_exadata_infrastructure_compartment API.
Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.For more information about moving resources to a different compartment, see Moving Database Resources to a Different Compartment.
1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 |
# File 'lib/oci/database/database_client.rb', line 1612 def change_cloud_exadata_infrastructure_compartment(change_cloud_exadata_infrastructure_compartment_details, cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_exadata_infrastructure_compartment.' if logger raise "Missing the required parameter 'change_cloud_exadata_infrastructure_compartment_details' when calling change_cloud_exadata_infrastructure_compartment." if change_cloud_exadata_infrastructure_compartment_details.nil? raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling change_cloud_exadata_infrastructure_compartment." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/changeCompartment'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_exadata_infrastructure_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_exadata_infrastructure_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_exadata_infrastructure_subscription(change_cloud_exadata_infrastructure_subscription_details, cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_exadata_infrastructure_subscription API.
Associate a cloud Exadata infrastructure with a different subscription.
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 |
# File 'lib/oci/database/database_client.rb', line 1682 def change_cloud_exadata_infrastructure_subscription(change_cloud_exadata_infrastructure_subscription_details, cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_exadata_infrastructure_subscription.' if logger raise "Missing the required parameter 'change_cloud_exadata_infrastructure_subscription_details' when calling change_cloud_exadata_infrastructure_subscription." if change_cloud_exadata_infrastructure_subscription_details.nil? raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling change_cloud_exadata_infrastructure_subscription." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/changeSubscription'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_exadata_infrastructure_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_exadata_infrastructure_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_vm_cluster_compartment(change_cloud_vm_cluster_compartment_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_vm_cluster_compartment API.
Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 |
# File 'lib/oci/database/database_client.rb', line 1752 def change_cloud_vm_cluster_compartment(change_cloud_vm_cluster_compartment_details, cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_vm_cluster_compartment.' if logger raise "Missing the required parameter 'change_cloud_vm_cluster_compartment_details' when calling change_cloud_vm_cluster_compartment." if change_cloud_vm_cluster_compartment_details.nil? raise "Missing the required parameter 'cloud_vm_cluster_id' when calling change_cloud_vm_cluster_compartment." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/changeCompartment'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_vm_cluster_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_vm_cluster_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_cloud_vm_cluster_subscription(change_cloud_vm_cluster_subscription_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_cloud_vm_cluster_subscription API.
Associate a cloud VM cluster with a different subscription.
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 |
# File 'lib/oci/database/database_client.rb', line 1822 def change_cloud_vm_cluster_subscription(change_cloud_vm_cluster_subscription_details, cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_cloud_vm_cluster_subscription.' if logger raise "Missing the required parameter 'change_cloud_vm_cluster_subscription_details' when calling change_cloud_vm_cluster_subscription." if change_cloud_vm_cluster_subscription_details.nil? raise "Missing the required parameter 'cloud_vm_cluster_id' when calling change_cloud_vm_cluster_subscription." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/changeSubscription'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_cloud_vm_cluster_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_cloud_vm_cluster_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_database_software_image_compartment(change_compartment_details, database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_database_software_image_compartment API.
Move the Database Software Image and its dependent resources to the specified compartment. For more information about moving Databse Software Images, see Moving Database Resources to a Different Compartment.
1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/oci/database/database_client.rb', line 1894 def change_database_software_image_compartment(change_compartment_details, database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_database_software_image_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_database_software_image_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'database_software_image_id' when calling change_database_software_image_compartment." if database_software_image_id.nil? raise "Parameter value for 'database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(database_software_image_id) path = '/databaseSoftwareImages/{databaseSoftwareImageId}/actions/changeCompartment'.sub('{databaseSoftwareImageId}', database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_database_software_image_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_dataguard_role(change_dataguard_role_details, autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_dataguard_role API.
Deprecated. Use the #convert_standby_autonomous_container_database convert_standby_autonomous_container_database} operation to switch the Autonomous Container Database (ACD) role between Standby and Snapshot Standby. For more information about changing ACD Role, see {Convert Physical Standby to Snapshot Standby and Convert Snapshot Standby to Physical Standby.
1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 |
# File 'lib/oci/database/database_client.rb', line 1966 def change_dataguard_role(change_dataguard_role_details, autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_dataguard_role.' if logger raise "Missing the required parameter 'change_dataguard_role_details' when calling change_dataguard_role." if change_dataguard_role_details.nil? raise "Missing the required parameter 'autonomous_container_database_id' when calling change_dataguard_role." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/changeDataguardRole'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_dataguard_role_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_dataguard_role') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#change_db_system_compartment(change_compartment_details, db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_db_system_compartment API.
Moves the DB system and its dependent resources to the specified compartment. For more information about moving DB systems, see Moving Database Resources to a Different Compartment.
2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'lib/oci/database/database_client.rb', line 2044 def change_db_system_compartment(change_compartment_details, db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_db_system_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_db_system_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'db_system_id' when calling change_db_system_compartment." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/actions/changeCompartment'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_db_system_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_disaster_recovery_configuration(autonomous_database_id, change_disaster_recovery_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_disaster_recovery_configuration API.
This operation updates the cross-region disaster recovery (DR) details of the standby Autonomous AI Database Serverless database, and must be run on the standby side.
2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 |
# File 'lib/oci/database/database_client.rb', line 2110 def change_disaster_recovery_configuration(autonomous_database_id, change_disaster_recovery_configuration_details, opts = {}) logger.debug 'Calling operation DatabaseClient#change_disaster_recovery_configuration.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling change_disaster_recovery_configuration." if autonomous_database_id.nil? raise "Missing the required parameter 'change_disaster_recovery_configuration_details' when calling change_disaster_recovery_configuration." if change_disaster_recovery_configuration_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/changeDisasterRecoveryConfiguration'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(change_disaster_recovery_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_disaster_recovery_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#change_encryption_key_location(database_id, encryption_key_location_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_encryption_key_location API.
Update the encryption key management location for the database
2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 |
# File 'lib/oci/database/database_client.rb', line 2179 def change_encryption_key_location(database_id, encryption_key_location_details, opts = {}) logger.debug 'Calling operation DatabaseClient#change_encryption_key_location.' if logger raise "Missing the required parameter 'database_id' when calling change_encryption_key_location." if database_id.nil? raise "Missing the required parameter 'encryption_key_location_details' when calling change_encryption_key_location." if encryption_key_location_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/changeEncryptionKeyLocation'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(encryption_key_location_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_encryption_key_location') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_exadata_infrastructure_compartment(change_exadata_infrastructure_compartment_details, exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_exadata_infrastructure_compartment API.
Moves an Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. To move an Exadata Cloud Service infrastructure resource to another compartment, use the change_cloud_exadata_infrastructure_compartment operation.
2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 |
# File 'lib/oci/database/database_client.rb', line 2250 def change_exadata_infrastructure_compartment(change_exadata_infrastructure_compartment_details, exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_exadata_infrastructure_compartment.' if logger raise "Missing the required parameter 'change_exadata_infrastructure_compartment_details' when calling change_exadata_infrastructure_compartment." if change_exadata_infrastructure_compartment_details.nil? raise "Missing the required parameter 'exadata_infrastructure_id' when calling change_exadata_infrastructure_compartment." if exadata_infrastructure_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/changeCompartment'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_exadata_infrastructure_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_exadata_infrastructure_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_exadb_vm_cluster_compartment(change_exadb_vm_cluster_compartment_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_exadb_vm_cluster_compartment API.
Moves a Exadata VM cluster on Exascale Infrastructure and its dependent resources to another compartment. Applies to Exadata Database Service on Exascale Infrastructure only.
2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 |
# File 'lib/oci/database/database_client.rb', line 2320 def change_exadb_vm_cluster_compartment(change_exadb_vm_cluster_compartment_details, exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_exadb_vm_cluster_compartment.' if logger raise "Missing the required parameter 'change_exadb_vm_cluster_compartment_details' when calling change_exadb_vm_cluster_compartment." if change_exadb_vm_cluster_compartment_details.nil? raise "Missing the required parameter 'exadb_vm_cluster_id' when calling change_exadb_vm_cluster_compartment." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/actions/changeCompartment'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_exadb_vm_cluster_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_exadb_vm_cluster_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_exadb_vm_cluster_subscription(change_exadb_vm_cluster_subscription_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_exadb_vm_cluster_subscription API.
Associate a Exadata VM cluster on Exascale Infrastructure with a different subscription.
2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 |
# File 'lib/oci/database/database_client.rb', line 2390 def change_exadb_vm_cluster_subscription(change_exadb_vm_cluster_subscription_details, exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_exadb_vm_cluster_subscription.' if logger raise "Missing the required parameter 'change_exadb_vm_cluster_subscription_details' when calling change_exadb_vm_cluster_subscription." if change_exadb_vm_cluster_subscription_details.nil? raise "Missing the required parameter 'exadb_vm_cluster_id' when calling change_exadb_vm_cluster_subscription." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/actions/changeSubscription'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_exadb_vm_cluster_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_exadb_vm_cluster_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_exascale_db_storage_vault_compartment(change_exascale_db_storage_vault_compartment_details, exascale_db_storage_vault_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_exascale_db_storage_vault_compartment API.
Moves a Exadata Database Storage Vault to another compartment.
2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 |
# File 'lib/oci/database/database_client.rb', line 2460 def change_exascale_db_storage_vault_compartment(change_exascale_db_storage_vault_compartment_details, exascale_db_storage_vault_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_exascale_db_storage_vault_compartment.' if logger raise "Missing the required parameter 'change_exascale_db_storage_vault_compartment_details' when calling change_exascale_db_storage_vault_compartment." if change_exascale_db_storage_vault_compartment_details.nil? raise "Missing the required parameter 'exascale_db_storage_vault_id' when calling change_exascale_db_storage_vault_compartment." if exascale_db_storage_vault_id.nil? raise "Parameter value for 'exascale_db_storage_vault_id' must not be blank" if OCI::Internal::Util.blank_string?(exascale_db_storage_vault_id) path = '/exascaleDbStorageVaults/{exascaleDbStorageVaultId}/actions/changeCompartment'.sub('{exascaleDbStorageVaultId}', exascale_db_storage_vault_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_exascale_db_storage_vault_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_exascale_db_storage_vault_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_exascale_db_storage_vault_subscription(change_exascale_db_storage_vault_subscription_details, exascale_db_storage_vault_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_exascale_db_storage_vault_subscription API.
Associate a Exadata Database Storage Vault with a different subscription.
2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 |
# File 'lib/oci/database/database_client.rb', line 2530 def change_exascale_db_storage_vault_subscription(change_exascale_db_storage_vault_subscription_details, exascale_db_storage_vault_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_exascale_db_storage_vault_subscription.' if logger raise "Missing the required parameter 'change_exascale_db_storage_vault_subscription_details' when calling change_exascale_db_storage_vault_subscription." if change_exascale_db_storage_vault_subscription_details.nil? raise "Missing the required parameter 'exascale_db_storage_vault_id' when calling change_exascale_db_storage_vault_subscription." if exascale_db_storage_vault_id.nil? raise "Parameter value for 'exascale_db_storage_vault_id' must not be blank" if OCI::Internal::Util.blank_string?(exascale_db_storage_vault_id) path = '/exascaleDbStorageVaults/{exascaleDbStorageVaultId}/actions/changeSubscription'.sub('{exascaleDbStorageVaultId}', exascale_db_storage_vault_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_exascale_db_storage_vault_subscription_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_exascale_db_storage_vault_subscription') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_external_container_database_compartment(change_compartment_details, external_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_external_container_database_compartment API.
2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 |
# File 'lib/oci/database/database_client.rb', line 2603 def change_external_container_database_compartment(change_compartment_details, external_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_external_container_database_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_external_container_database_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'external_container_database_id' when calling change_external_container_database_compartment." if external_container_database_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/changeCompartment'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_external_container_database_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_external_non_container_database_compartment(change_compartment_details, external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_external_non_container_database_compartment API.
Move the external non-container database and its dependent resources to the specified compartment. For more information about moving external non-container databases, see Moving Database Resources to a Different Compartment.
2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 |
# File 'lib/oci/database/database_client.rb', line 2675 def change_external_non_container_database_compartment(change_compartment_details, external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_external_non_container_database_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_external_non_container_database_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'external_non_container_database_id' when calling change_external_non_container_database_compartment." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/changeCompartment'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_external_non_container_database_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_external_pluggable_database_compartment(change_compartment_details, external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_external_pluggable_database_compartment API.
2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'lib/oci/database/database_client.rb', line 2751 def change_external_pluggable_database_compartment(change_compartment_details, external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_external_pluggable_database_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_external_pluggable_database_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'external_pluggable_database_id' when calling change_external_pluggable_database_compartment." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/changeCompartment'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_external_pluggable_database_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_key_store_compartment(change_key_store_compartment_details, key_store_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_key_store_compartment API.
Move the key store resource to the specified compartment. For more information about moving key stores, see Moving Database Resources to a Different Compartment.
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 |
# File 'lib/oci/database/database_client.rb', line 2824 def change_key_store_compartment(change_key_store_compartment_details, key_store_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_key_store_compartment.' if logger raise "Missing the required parameter 'change_key_store_compartment_details' when calling change_key_store_compartment." if change_key_store_compartment_details.nil? raise "Missing the required parameter 'key_store_id' when calling change_key_store_compartment." if key_store_id.nil? raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id) path = '/keyStores/{keyStoreId}/actions/changeCompartment'.sub('{keyStoreId}', key_store_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_key_store_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_key_store_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_key_store_type(database_id, change_key_store_type_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_key_store_type API.
Changes encryption key management type
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 |
# File 'lib/oci/database/database_client.rb', line 2893 def change_key_store_type(database_id, change_key_store_type_details, opts = {}) logger.debug 'Calling operation DatabaseClient#change_key_store_type.' if logger raise "Missing the required parameter 'database_id' when calling change_key_store_type." if database_id.nil? raise "Missing the required parameter 'change_key_store_type_details' when calling change_key_store_type." if change_key_store_type_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/changeKeyStoreType'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_key_store_type_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_key_store_type') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_oneoff_patch_compartment(change_compartment_details, oneoff_patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_oneoff_patch_compartment API.
Move the one-off patch to the specified compartment.
2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'lib/oci/database/database_client.rb', line 2963 def change_oneoff_patch_compartment(change_compartment_details, oneoff_patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_oneoff_patch_compartment.' if logger raise "Missing the required parameter 'change_compartment_details' when calling change_oneoff_patch_compartment." if change_compartment_details.nil? raise "Missing the required parameter 'oneoff_patch_id' when calling change_oneoff_patch_compartment." if oneoff_patch_id.nil? raise "Parameter value for 'oneoff_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(oneoff_patch_id) path = '/oneoffPatches/{oneoffPatchId}/actions/changeCompartment'.sub('{oneoffPatchId}', oneoff_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_oneoff_patch_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_scheduling_plan_compartment(change_scheduling_plan_compartment_details, scheduling_plan_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_scheduling_plan_compartment API.
Moves an scheduling plan resource to another compartment.
3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/oci/database/database_client.rb', line 3033 def change_scheduling_plan_compartment(change_scheduling_plan_compartment_details, scheduling_plan_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_scheduling_plan_compartment.' if logger raise "Missing the required parameter 'change_scheduling_plan_compartment_details' when calling change_scheduling_plan_compartment." if change_scheduling_plan_compartment_details.nil? raise "Missing the required parameter 'scheduling_plan_id' when calling change_scheduling_plan_compartment." if scheduling_plan_id.nil? raise "Parameter value for 'scheduling_plan_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_plan_id) path = '/schedulingPlans/{schedulingPlanId}/actions/changeCompartment'.sub('{schedulingPlanId}', scheduling_plan_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_scheduling_plan_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_scheduling_plan_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_scheduling_policy_compartment(change_scheduling_policy_compartment_details, scheduling_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_scheduling_policy_compartment API.
Moves an scheduling policy resource to another compartment.
3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 |
# File 'lib/oci/database/database_client.rb', line 3103 def change_scheduling_policy_compartment(change_scheduling_policy_compartment_details, scheduling_policy_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_scheduling_policy_compartment.' if logger raise "Missing the required parameter 'change_scheduling_policy_compartment_details' when calling change_scheduling_policy_compartment." if change_scheduling_policy_compartment_details.nil? raise "Missing the required parameter 'scheduling_policy_id' when calling change_scheduling_policy_compartment." if scheduling_policy_id.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}/actions/changeCompartment'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_scheduling_policy_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_scheduling_policy_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_vm_cluster_compartment(change_vm_cluster_compartment_details, vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use change_vm_cluster_compartment API.
Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the change_cloud_vm_cluster_compartment operation.
3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 |
# File 'lib/oci/database/database_client.rb', line 3174 def change_vm_cluster_compartment(change_vm_cluster_compartment_details, vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#change_vm_cluster_compartment.' if logger raise "Missing the required parameter 'change_vm_cluster_compartment_details' when calling change_vm_cluster_compartment." if change_vm_cluster_compartment_details.nil? raise "Missing the required parameter 'vm_cluster_id' when calling change_vm_cluster_compartment." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/actions/changeCompartment'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_vm_cluster_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#change_vm_cluster_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#check_external_database_connector_connection_status(external_database_connector_id, opts = {}) ⇒ Response
Click here to see an example of how to use check_external_database_connector_connection_status API.
Check the status of the external database connection specified in this connector. This operation will refresh the connectionStatus and timeConnectionStatusLastUpdated fields.
3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 |
# File 'lib/oci/database/database_client.rb', line 3246 def check_external_database_connector_connection_status(external_database_connector_id, opts = {}) logger.debug 'Calling operation DatabaseClient#check_external_database_connector_connection_status.' if logger raise "Missing the required parameter 'external_database_connector_id' when calling check_external_database_connector_connection_status." if external_database_connector_id.nil? raise "Parameter value for 'external_database_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(external_database_connector_id) path = '/externaldatabaseconnectors/{externalDatabaseConnectorId}/actions/checkConnectionStatus'.sub('{externalDatabaseConnectorId}', external_database_connector_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#check_external_database_connector_connection_status') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#complete_external_backup_job(backup_id, complete_external_backup_job_details, opts = {}) ⇒ Response
Click here to see an example of how to use complete_external_backup_job API.
Changes the status of the standalone backup resource to ACTIVE after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
Note: This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 |
# File 'lib/oci/database/database_client.rb', line 3315 def complete_external_backup_job(backup_id, complete_external_backup_job_details, opts = {}) logger.debug 'Calling operation DatabaseClient#complete_external_backup_job.' if logger raise "Missing the required parameter 'backup_id' when calling complete_external_backup_job." if backup_id.nil? raise "Missing the required parameter 'complete_external_backup_job_details' when calling complete_external_backup_job." if complete_external_backup_job_details.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/externalBackupJobs/{backupId}/actions/complete'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(complete_external_backup_job_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#complete_external_backup_job') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalBackupJob' ) end # rubocop:enable Metrics/BlockLength end |
#configure_autonomous_database_vault_key(autonomous_database_id, configure_autonomous_database_vault_key_details, opts = {}) ⇒ Response
3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 |
# File 'lib/oci/database/database_client.rb', line 3388 def configure_autonomous_database_vault_key(autonomous_database_id, configure_autonomous_database_vault_key_details, opts = {}) logger.debug 'Calling operation DatabaseClient#configure_autonomous_database_vault_key.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling configure_autonomous_database_vault_key." if autonomous_database_id.nil? raise "Missing the required parameter 'configure_autonomous_database_vault_key_details' when calling configure_autonomous_database_vault_key." if configure_autonomous_database_vault_key_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/configureAutonomousDatabaseVaultKey'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(configure_autonomous_database_vault_key_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#configure_autonomous_database_vault_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#configure_exascale_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, configure_exascale_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use configure_exascale_cloud_exadata_infrastructure API.
Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 |
# File 'lib/oci/database/database_client.rb', line 3459 def configure_exascale_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, configure_exascale_cloud_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#configure_exascale_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling configure_exascale_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil? raise "Missing the required parameter 'configure_exascale_cloud_exadata_infrastructure_details' when calling configure_exascale_cloud_exadata_infrastructure." if configure_exascale_cloud_exadata_infrastructure_details.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/configureExascale'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(configure_exascale_cloud_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#configure_exascale_cloud_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#configure_exascale_exadata_infrastructure(exadata_infrastructure_id, configure_exascale_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use configure_exascale_exadata_infrastructure API.
Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 |
# File 'lib/oci/database/database_client.rb', line 3530 def configure_exascale_exadata_infrastructure(exadata_infrastructure_id, configure_exascale_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#configure_exascale_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling configure_exascale_exadata_infrastructure." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'configure_exascale_exadata_infrastructure_details' when calling configure_exascale_exadata_infrastructure." if configure_exascale_exadata_infrastructure_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/configureExascale'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(configure_exascale_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#configure_exascale_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#configure_saas_admin_user(autonomous_database_id, configure_saas_admin_user_details, opts = {}) ⇒ Response
Click here to see an example of how to use configure_saas_admin_user API.
This operation updates SaaS administrative user configuration of the Autonomous AI Database.
3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 |
# File 'lib/oci/database/database_client.rb', line 3597 def configure_saas_admin_user(autonomous_database_id, configure_saas_admin_user_details, opts = {}) logger.debug 'Calling operation DatabaseClient#configure_saas_admin_user.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling configure_saas_admin_user." if autonomous_database_id.nil? raise "Missing the required parameter 'configure_saas_admin_user_details' when calling configure_saas_admin_user." if configure_saas_admin_user_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/configureSaasAdminUser'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(configure_saas_admin_user_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#configure_saas_admin_user') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#confirm_key_store_details_are_correct(key_store_id, opts = {}) ⇒ Response
Click here to see an example of how to use confirm_key_store_details_are_correct API.
This is for user to confirm to DBaaS that the Oracle Key Valut (OKV) connection IPs, username and password are all correct. This operation will put the Key Store back into Active state. If details are incorrect, your OKV account may get locked after some unsuccessful attempts to connect.
3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 |
# File 'lib/oci/database/database_client.rb', line 3667 def confirm_key_store_details_are_correct(key_store_id, opts = {}) logger.debug 'Calling operation DatabaseClient#confirm_key_store_details_are_correct.' if logger raise "Missing the required parameter 'key_store_id' when calling confirm_key_store_details_are_correct." if key_store_id.nil? raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id) path = '/keyStores/{keyStoreId}/actions/confirmDetailsAreCorrect'.sub('{keyStoreId}', key_store_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#confirm_key_store_details_are_correct') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#convert_standby_autonomous_container_database(convert_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use convert_standby_autonomous_container_database API.
Convert the standby Autonomous Container Database (ACD) between physical standby and snapshot standby ACD. For more information about converting standby ACDs, see Convert Physical Standby to Snapshot Standby and Convert Snapshot Standby to Physical Standby.
3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'lib/oci/database/database_client.rb', line 3737 def convert_standby_autonomous_container_database(convert_standby_autonomous_container_database_details, autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#convert_standby_autonomous_container_database.' if logger raise "Missing the required parameter 'convert_standby_autonomous_container_database_details' when calling convert_standby_autonomous_container_database." if convert_standby_autonomous_container_database_details.nil? raise "Missing the required parameter 'autonomous_container_database_id' when calling convert_standby_autonomous_container_database." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/snapshotStandby'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(convert_standby_autonomous_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#convert_standby_autonomous_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#convert_standby_database_type(database_id, convert_standby_database_type_details, opts = {}) ⇒ Response
Click here to see an example of how to use convert_standby_database_type API.
Performs transition from standby database into a snapshot standby and vice versa. The transition performed based on the current role of the database, if the current role is standby then this operation will convert it to snapshot standby and if the current role is snapshot standby then this operation will convert it to standby.
This operation should be performed on respective standby/snapshot standby database.
3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 |
# File 'lib/oci/database/database_client.rb', line 3811 def convert_standby_database_type(database_id, convert_standby_database_type_details, opts = {}) logger.debug 'Calling operation DatabaseClient#convert_standby_database_type.' if logger raise "Missing the required parameter 'database_id' when calling convert_standby_database_type." if database_id.nil? raise "Missing the required parameter 'convert_standby_database_type_details' when calling convert_standby_database_type." if convert_standby_database_type_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/convertStandbyDatabaseType'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(convert_standby_database_type_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#convert_standby_database_type') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#convert_to_pdb(database_id, convert_to_pdb_details, opts = {}) ⇒ Response
Click here to see an example of how to use convert_to_pdb API.
Converts a non-container database to a pluggable database.
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 |
# File 'lib/oci/database/database_client.rb', line 3877 def convert_to_pdb(database_id, convert_to_pdb_details, opts = {}) logger.debug 'Calling operation DatabaseClient#convert_to_pdb.' if logger raise "Missing the required parameter 'database_id' when calling convert_to_pdb." if database_id.nil? raise "Missing the required parameter 'convert_to_pdb_details' when calling convert_to_pdb." if convert_to_pdb_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/convertToPdb'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(convert_to_pdb_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#convert_to_pdb') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#convert_to_regular_pluggable_database(convert_to_regular_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use convert_to_regular_pluggable_database API.
Converts a Refreshable clone to Regular pluggable database (PDB). Pluggable Database will be in READ_WRITE openmode after conversion.
3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 |
# File 'lib/oci/database/database_client.rb', line 3947 def convert_to_regular_pluggable_database(convert_to_regular_pluggable_database_details, pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#convert_to_regular_pluggable_database.' if logger raise "Missing the required parameter 'convert_to_regular_pluggable_database_details' when calling convert_to_regular_pluggable_database." if convert_to_regular_pluggable_database_details.nil? raise "Missing the required parameter 'pluggable_database_id' when calling convert_to_regular_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/convertToRegular'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(convert_to_regular_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#convert_to_regular_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#convert_to_standalone(database_id, convert_to_standalone_details, opts = {}) ⇒ Response
Click here to see an example of how to use convert_to_standalone API.
Disassociate the standby database identified by the databaseId parameter from existing Data Guard group.
Convert the standby to a standalone database.
This operation should be performed on respective standby database.
4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 |
# File 'lib/oci/database/database_client.rb', line 4022 def convert_to_standalone(database_id, convert_to_standalone_details, opts = {}) logger.debug 'Calling operation DatabaseClient#convert_to_standalone.' if logger raise "Missing the required parameter 'database_id' when calling convert_to_standalone." if database_id.nil? raise "Missing the required parameter 'convert_to_standalone_details' when calling convert_to_standalone." if convert_to_standalone_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/convertToStandalone'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(convert_to_standalone_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#convert_to_standalone') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#create_advanced_cluster_file_system(create_advanced_cluster_file_system_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_advanced_cluster_file_system API.
Creates an advanced cluster file system resource.
4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 |
# File 'lib/oci/database/database_client.rb', line 4088 def create_advanced_cluster_file_system(create_advanced_cluster_file_system_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'create_advanced_cluster_file_system_details' when calling create_advanced_cluster_file_system." if create_advanced_cluster_file_system_details.nil? path = '/advancedClusterFileSystems' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_advanced_cluster_file_system_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_advanced_cluster_file_system') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystem' ) end # rubocop:enable Metrics/BlockLength end |
#create_application_vip(create_application_vip_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_application_vip API.
Creates a new application virtual IP (VIP) address in the specified cloud VM cluster based on the request parameters you provide.
4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 |
# File 'lib/oci/database/database_client.rb', line 4151 def create_application_vip(create_application_vip_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_application_vip.' if logger raise "Missing the required parameter 'create_application_vip_details' when calling create_application_vip." if create_application_vip_details.nil? path = '/applicationVip' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_application_vip_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_application_vip') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ApplicationVip' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_container_database(create_autonomous_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_container_database API.
Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 |
# File 'lib/oci/database/database_client.rb', line 4212 def create_autonomous_container_database(create_autonomous_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_container_database.' if logger raise "Missing the required parameter 'create_autonomous_container_database_details' when calling create_autonomous_container_database." if create_autonomous_container_database_details.nil? path = '/autonomousContainerDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_container_database_dataguard_association(autonomous_container_database_id, create_autonomous_container_database_dataguard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_container_database_dataguard_association API.
4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 |
# File 'lib/oci/database/database_client.rb', line 4274 def create_autonomous_container_database_dataguard_association(autonomous_container_database_id, create_autonomous_container_database_dataguard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling create_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'create_autonomous_container_database_dataguard_association_details' when calling create_autonomous_container_database_dataguard_association." if create_autonomous_container_database_dataguard_association_details.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_container_database_dataguard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_container_database_dataguard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_database(create_autonomous_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_database API.
Creates a new Autonomous AI Database.
4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 |
# File 'lib/oci/database/database_client.rb', line 4341 def create_autonomous_database(create_autonomous_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_database.' if logger raise "Missing the required parameter 'create_autonomous_database_details' when calling create_autonomous_database." if create_autonomous_database_details.nil? path = '/autonomousDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_database_backup(create_autonomous_database_backup_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_database_backup API.
Creates a new Autonomous AI Database backup for the specified database based on the provided request parameters.
4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 |
# File 'lib/oci/database/database_client.rb', line 4408 def create_autonomous_database_backup(create_autonomous_database_backup_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_database_backup.' if logger raise "Missing the required parameter 'create_autonomous_database_backup_details' when calling create_autonomous_database_backup." if create_autonomous_database_backup_details.nil? path = '/autonomousDatabaseBackups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_database_backup_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_database_backup') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseBackup' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_database_software_image(create_autonomous_database_software_image_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_database_software_image API.
create Autonomous AI Database Software Image in the specified compartment.
4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 |
# File 'lib/oci/database/database_client.rb', line 4472 def create_autonomous_database_software_image(create_autonomous_database_software_image_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_database_software_image.' if logger raise "Missing the required parameter 'create_autonomous_database_software_image_details' when calling create_autonomous_database_software_image." if create_autonomous_database_software_image_details.nil? path = '/autonomousDatabaseSoftwareImages' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_database_software_image_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_database_software_image') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#create_autonomous_vm_cluster(create_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_autonomous_vm_cluster API.
Creates an Autonomous VM cluster for Exadata Cloud@Customer. To create an Autonomous VM Cluster in the Oracle cloud, see create_cloud_autonomous_vm_cluster.
4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 |
# File 'lib/oci/database/database_client.rb', line 4535 def create_autonomous_vm_cluster(create_autonomous_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'create_autonomous_vm_cluster_details' when calling create_autonomous_vm_cluster." if create_autonomous_vm_cluster_details.nil? path = '/autonomousVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_autonomous_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#create_backup(create_backup_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_backup API.
Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 |
# File 'lib/oci/database/database_client.rb', line 4596 def create_backup(create_backup_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_backup.' if logger raise "Missing the required parameter 'create_backup_details' when calling create_backup." if create_backup_details.nil? path = '/backups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_backup_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_backup') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Backup' ) end # rubocop:enable Metrics/BlockLength end |
#create_backup_destination(create_backup_destination_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_backup_destination API.
Creates a backup destination in an Exadata Cloud@Customer system.
4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 |
# File 'lib/oci/database/database_client.rb', line 4659 def create_backup_destination(create_backup_destination_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_backup_destination.' if logger raise "Missing the required parameter 'create_backup_destination_details' when calling create_backup_destination." if create_backup_destination_details.nil? path = '/backupDestinations' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_backup_destination_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_backup_destination') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::BackupDestination' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_autonomous_vm_cluster(create_cloud_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_autonomous_vm_cluster API.
Creates an Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see create_autonomous_vm_cluster.
4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 |
# File 'lib/oci/database/database_client.rb', line 4725 def create_cloud_autonomous_vm_cluster(create_cloud_autonomous_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_cloud_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'create_cloud_autonomous_vm_cluster_details' when calling create_cloud_autonomous_vm_cluster." if create_cloud_autonomous_vm_cluster_details.nil? path = '/cloudAutonomousVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_cloud_autonomous_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_cloud_autonomous_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudAutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_exadata_infrastructure(create_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_exadata_infrastructure API.
Creates a cloud Exadata infrastructure resource. This resource is used to create either an Exadata Cloud Service instance or an Autonomous AI Database on dedicated Exadata infrastructure.
4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 |
# File 'lib/oci/database/database_client.rb', line 4793 def create_cloud_exadata_infrastructure(create_cloud_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'create_cloud_exadata_infrastructure_details' when calling create_cloud_exadata_infrastructure." if create_cloud_exadata_infrastructure_details.nil? path = '/cloudExadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_cloud_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_cloud_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#create_cloud_vm_cluster(create_cloud_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_cloud_vm_cluster API.
Creates a cloud VM cluster.
4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 |
# File 'lib/oci/database/database_client.rb', line 4861 def create_cloud_vm_cluster(create_cloud_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_cloud_vm_cluster.' if logger raise "Missing the required parameter 'create_cloud_vm_cluster_details' when calling create_cloud_vm_cluster." if create_cloud_vm_cluster_details.nil? path = '/cloudVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_cloud_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_cloud_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#create_console_connection(create_console_connection_details, db_node_id, opts = {}) ⇒ Response
Click here to see an example of how to use create_console_connection API.
Creates a new console connection to the specified database node. After the console connection has been created and is available, you connect to the console using SSH.
4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 |
# File 'lib/oci/database/database_client.rb', line 4926 def create_console_connection(create_console_connection_details, db_node_id, opts = {}) logger.debug 'Calling operation DatabaseClient#create_console_connection.' if logger raise "Missing the required parameter 'create_console_connection_details' when calling create_console_connection." if create_console_connection_details.nil? raise "Missing the required parameter 'db_node_id' when calling create_console_connection." if db_node_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}/consoleConnections'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_console_connection_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_console_connection') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleConnection' ) end # rubocop:enable Metrics/BlockLength end |
#create_console_history(create_console_history_details, db_node_id, opts = {}) ⇒ Response
Click here to see an example of how to use create_console_history API.
Captures the most recent serial console data (up to a megabyte) for the specified database node.
4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 |
# File 'lib/oci/database/database_client.rb', line 4992 def create_console_history(create_console_history_details, db_node_id, opts = {}) logger.debug 'Calling operation DatabaseClient#create_console_history.' if logger raise "Missing the required parameter 'create_console_history_details' when calling create_console_history." if create_console_history_details.nil? raise "Missing the required parameter 'db_node_id' when calling create_console_history." if db_node_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}/consoleHistories'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_console_history_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_console_history') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleHistory' ) end # rubocop:enable Metrics/BlockLength end |
#create_data_guard_association(database_id, create_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_data_guard_association API.
Creates a new Data Guard association. A Data Guard association represents the replication relationship between the specified database and a peer database. For more information, see Using Oracle Data Guard.
All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see Resource Identifiers.
5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 |
# File 'lib/oci/database/database_client.rb', line 5063 def create_data_guard_association(database_id, create_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling create_data_guard_association." if database_id.nil? raise "Missing the required parameter 'create_data_guard_association_details' when calling create_data_guard_association." if create_data_guard_association_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuardAssociations'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_data_guard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#create_database(create_new_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_database API.
Creates a new database in the specified Database Home. If the database version is provided, it must match the version of the Database Home. Applies to Exadata and Exadata Cloud@Customer systems.
5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 |
# File 'lib/oci/database/database_client.rb', line 5130 def create_database(create_new_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_database.' if logger raise "Missing the required parameter 'create_new_database_details' when calling create_database." if create_new_database_details.nil? path = '/databases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_new_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#create_database_software_image(create_database_software_image_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_database_software_image API.
create database software image in the specified compartment.
5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 |
# File 'lib/oci/database/database_client.rb', line 5192 def create_database_software_image(create_database_software_image_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_database_software_image.' if logger raise "Missing the required parameter 'create_database_software_image_details' when calling create_database_software_image." if create_database_software_image_details.nil? path = '/databaseSoftwareImages' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_database_software_image_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_database_software_image') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#create_db_home(create_db_home_with_db_system_id_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_db_home API.
Creates a new Database Home in the specified database system based on the request parameters you provide. Applies to bare metal DB systems, Exadata systems, and Exadata Cloud@Customer systems.
5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 |
# File 'lib/oci/database/database_client.rb', line 5252 def create_db_home(create_db_home_with_db_system_id_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_db_home.' if logger raise "Missing the required parameter 'create_db_home_with_db_system_id_details' when calling create_db_home." if create_db_home_with_db_system_id_details.nil? path = '/dbHomes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_db_home_with_db_system_id_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_db_home') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbHome' ) end # rubocop:enable Metrics/BlockLength end |
#create_exadata_infrastructure(create_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_exadata_infrastructure API.
Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. To create an Exadata Cloud Service infrastructure resource, use the create_cloud_exadata_infrastructure operation.
5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 |
# File 'lib/oci/database/database_client.rb', line 5315 def create_exadata_infrastructure(create_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_exadata_infrastructure.' if logger raise "Missing the required parameter 'create_exadata_infrastructure_details' when calling create_exadata_infrastructure." if create_exadata_infrastructure_details.nil? path = '/exadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#create_exadb_vm_cluster(create_exadb_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_exadb_vm_cluster API.
Creates an Exadata VM cluster on Exascale Infrastructure
5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 |
# File 'lib/oci/database/database_client.rb', line 5379 def create_exadb_vm_cluster(create_exadb_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_exadb_vm_cluster.' if logger raise "Missing the required parameter 'create_exadb_vm_cluster_details' when calling create_exadb_vm_cluster." if create_exadb_vm_cluster_details.nil? path = '/exadbVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_exadb_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_exadb_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#create_exascale_db_storage_vault(create_exascale_db_storage_vault_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_exascale_db_storage_vault API.
Creates an Exadata Database Storage Vault
5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 |
# File 'lib/oci/database/database_client.rb', line 5443 def create_exascale_db_storage_vault(create_exascale_db_storage_vault_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_exascale_db_storage_vault.' if logger raise "Missing the required parameter 'create_exascale_db_storage_vault_details' when calling create_exascale_db_storage_vault." if create_exascale_db_storage_vault_details.nil? path = '/exascaleDbStorageVaults' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_exascale_db_storage_vault_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_exascale_db_storage_vault') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExascaleDbStorageVault' ) end # rubocop:enable Metrics/BlockLength end |
#create_execution_action(create_execution_action_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_execution_action API.
Creates an execution action resource.
5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 |
# File 'lib/oci/database/database_client.rb', line 5506 def create_execution_action(create_execution_action_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_execution_action.' if logger raise "Missing the required parameter 'create_execution_action_details' when calling create_execution_action." if create_execution_action_details.nil? path = '/executionActions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_execution_action_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_execution_action') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionAction' ) end # rubocop:enable Metrics/BlockLength end |
#create_execution_window(create_execution_window_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_execution_window API.
Creates an execution window resource.
5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 |
# File 'lib/oci/database/database_client.rb', line 5569 def create_execution_window(create_execution_window_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_execution_window.' if logger raise "Missing the required parameter 'create_execution_window_details' when calling create_execution_window." if create_execution_window_details.nil? path = '/executionWindows' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_execution_window_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_execution_window') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionWindow' ) end # rubocop:enable Metrics/BlockLength end |
#create_external_backup_job(create_external_backup_job_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_external_backup_job API.
Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure.
Note: This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 |
# File 'lib/oci/database/database_client.rb', line 5632 def create_external_backup_job(create_external_backup_job_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_external_backup_job.' if logger raise "Missing the required parameter 'create_external_backup_job_details' when calling create_external_backup_job." if create_external_backup_job_details.nil? path = '/externalBackupJobs' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_external_backup_job_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_external_backup_job') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalBackupJob' ) end # rubocop:enable Metrics/BlockLength end |
#create_external_container_database(create_external_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_external_container_database API.
Creates a new external container database resource.
5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 |
# File 'lib/oci/database/database_client.rb', line 5693 def create_external_container_database(create_external_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_external_container_database.' if logger raise "Missing the required parameter 'create_external_container_database_details' when calling create_external_container_database." if create_external_container_database_details.nil? path = '/externalcontainerdatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_external_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_external_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_external_database_connector(create_external_database_connector_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_external_database_connector API.
Creates a new external database connector.
5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 |
# File 'lib/oci/database/database_client.rb', line 5755 def create_external_database_connector(create_external_database_connector_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_external_database_connector.' if logger raise "Missing the required parameter 'create_external_database_connector_details' when calling create_external_database_connector." if create_external_database_connector_details.nil? path = '/externaldatabaseconnectors' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_external_database_connector_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_external_database_connector') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalDatabaseConnector' ) end # rubocop:enable Metrics/BlockLength end |
#create_external_non_container_database(create_external_non_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_external_non_container_database API.
Creates a new ExternalNonContainerDatabase resource
5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 |
# File 'lib/oci/database/database_client.rb', line 5818 def create_external_non_container_database(create_external_non_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_external_non_container_database.' if logger raise "Missing the required parameter 'create_external_non_container_database_details' when calling create_external_non_container_database." if create_external_non_container_database_details.nil? path = '/externalnoncontainerdatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_external_non_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_external_non_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalNonContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_external_pluggable_database(create_external_pluggable_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_external_pluggable_database API.
Registers a new create_external_pluggable_database_details resource.
5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 |
# File 'lib/oci/database/database_client.rb', line 5882 def create_external_pluggable_database(create_external_pluggable_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_external_pluggable_database.' if logger raise "Missing the required parameter 'create_external_pluggable_database_details' when calling create_external_pluggable_database." if create_external_pluggable_database_details.nil? path = '/externalpluggabledatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_external_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_external_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalPluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_key_store(create_key_store_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_key_store API.
Creates a Key Store.
5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 |
# File 'lib/oci/database/database_client.rb', line 5946 def create_key_store(create_key_store_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_key_store.' if logger raise "Missing the required parameter 'create_key_store_details' when calling create_key_store." if create_key_store_details.nil? path = '/keyStores' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_key_store_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_key_store') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::KeyStore' ) end # rubocop:enable Metrics/BlockLength end |
#create_maintenance_run(create_maintenance_run_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_maintenance_run API.
Creates a maintenance run with one of the following: 1. The latest available release update patch (RUP) for the Autonomous Container Database. 2. The latest available RUP and DST time-zone (TZ) file updates for the Autonomous Container Database. 3. The DST TZ file updates for the Autonomous Container Database.
6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 |
# File 'lib/oci/database/database_client.rb', line 6012 def create_maintenance_run(create_maintenance_run_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_maintenance_run.' if logger raise "Missing the required parameter 'create_maintenance_run_details' when calling create_maintenance_run." if create_maintenance_run_details.nil? path = '/maintenanceRuns' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_maintenance_run_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_maintenance_run') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::MaintenanceRun' ) end # rubocop:enable Metrics/BlockLength end |
#create_oneoff_patch(create_oneoff_patch_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_oneoff_patch API.
Creates one-off patch for specified database version to download.
6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 |
# File 'lib/oci/database/database_client.rb', line 6076 def create_oneoff_patch(create_oneoff_patch_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_oneoff_patch.' if logger raise "Missing the required parameter 'create_oneoff_patch_details' when calling create_oneoff_patch." if create_oneoff_patch_details.nil? path = '/oneoffPatches' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_oneoff_patch_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_oneoff_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::OneoffPatch' ) end # rubocop:enable Metrics/BlockLength end |
#create_pluggable_database(create_pluggable_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_pluggable_database API.
Creates and starts a pluggable database in the specified container database. Pluggable Database can be created using different operations (e.g. LocalClone, RemoteClone, Relocate ) with this API. Use the start_pluggable_database and stop_pluggable_database APIs to start and stop the pluggable database.
6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 |
# File 'lib/oci/database/database_client.rb', line 6141 def create_pluggable_database(create_pluggable_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_pluggable_database.' if logger raise "Missing the required parameter 'create_pluggable_database_details' when calling create_pluggable_database." if create_pluggable_database_details.nil? path = '/pluggableDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#create_pluggable_database_snapshot(create_pluggable_database_snapshot_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_pluggable_database_snapshot API.
Creates a Pluggable Database Snapshot
6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 |
# File 'lib/oci/database/database_client.rb', line 6205 def create_pluggable_database_snapshot(create_pluggable_database_snapshot_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_pluggable_database_snapshot.' if logger raise "Missing the required parameter 'create_pluggable_database_snapshot_details' when calling create_pluggable_database_snapshot." if create_pluggable_database_snapshot_details.nil? path = '/pluggableDatabaseSnapshots' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_pluggable_database_snapshot_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_pluggable_database_snapshot') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabaseSnapshot' ) end # rubocop:enable Metrics/BlockLength end |
#create_scheduled_action(create_scheduled_action_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_scheduled_action API.
Creates a Scheduled Action resource.
6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 |
# File 'lib/oci/database/database_client.rb', line 6268 def create_scheduled_action(create_scheduled_action_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_scheduled_action.' if logger raise "Missing the required parameter 'create_scheduled_action_details' when calling create_scheduled_action." if create_scheduled_action_details.nil? path = '/scheduledActions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_scheduled_action_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_scheduled_action') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ScheduledAction' ) end # rubocop:enable Metrics/BlockLength end |
#create_scheduling_plan(create_scheduling_plan_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_scheduling_plan API.
Creates a Scheduling Plan resource.
6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'lib/oci/database/database_client.rb', line 6331 def create_scheduling_plan(create_scheduling_plan_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_scheduling_plan.' if logger raise "Missing the required parameter 'create_scheduling_plan_details' when calling create_scheduling_plan." if create_scheduling_plan_details.nil? path = '/schedulingPlans' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_scheduling_plan_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_scheduling_plan') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPlan' ) end # rubocop:enable Metrics/BlockLength end |
#create_scheduling_policy(create_scheduling_policy_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_scheduling_policy API.
Creates a Scheduling Policy resource.
6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 |
# File 'lib/oci/database/database_client.rb', line 6394 def create_scheduling_policy(create_scheduling_policy_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_scheduling_policy.' if logger raise "Missing the required parameter 'create_scheduling_policy_details' when calling create_scheduling_policy." if create_scheduling_policy_details.nil? path = '/schedulingPolicies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_scheduling_policy_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_scheduling_policy') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#create_scheduling_window(scheduling_policy_id, create_scheduling_window_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_scheduling_window API.
Creates a Scheduling Window resource.
6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 |
# File 'lib/oci/database/database_client.rb', line 6458 def create_scheduling_window(scheduling_policy_id, create_scheduling_window_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_scheduling_window.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling create_scheduling_window." if scheduling_policy_id.nil? raise "Missing the required parameter 'create_scheduling_window_details' when calling create_scheduling_window." if create_scheduling_window_details.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}/schedulingWindows'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_scheduling_window_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_scheduling_window') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingWindow' ) end # rubocop:enable Metrics/BlockLength end |
#create_vm_cluster(create_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_vm_cluster API.
Creates an Exadata Cloud@Customer VM cluster.
6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 |
# File 'lib/oci/database/database_client.rb', line 6525 def create_vm_cluster(create_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_vm_cluster.' if logger raise "Missing the required parameter 'create_vm_cluster_details' when calling create_vm_cluster." if create_vm_cluster_details.nil? path = '/vmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#create_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_vm_cluster_network API.
Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only. To create a cloud VM cluster in an Exadata Cloud Service instance, use the create_cloud_vm_cluster operation.
6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 |
# File 'lib/oci/database/database_client.rb', line 6590 def create_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_details, opts = {}) logger.debug 'Calling operation DatabaseClient#create_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling create_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_details' when calling create_vm_cluster_network." if vm_cluster_network_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(vm_cluster_network_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#create_vm_cluster_network') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetwork' ) end # rubocop:enable Metrics/BlockLength end |
#db_node_action(db_node_id, action, opts = {}) ⇒ Response
Click here to see an example of how to use db_node_action API.
Performs one of the following power actions on the specified DB node: - start - power on - stop - power off gracefully - forcestop - power off forcefully - forcereset - ACPI shutdown and power on forcefully - softreset - ACPI shutdown and power on - reset - power off and power on
Note: Stopping a node affects billing differently, depending on the type of DB system: Bare metal and Exadata systems - The stop state has no effect on the resources you consume. Billing continues for DB nodes that you stop, and related resources continue to apply against any relevant quotas. You must terminate the DB system (terminate_db_system) to remove its resources from billing and quotas. Virtual machine DB systems - Stopping a node stops billing for all OCPUs associated with that node, and billing resumes when you restart the node.
6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 |
# File 'lib/oci/database/database_client.rb', line 6673 def db_node_action(db_node_id, action, opts = {}) logger.debug 'Calling operation DatabaseClient#db_node_action.' if logger raise "Missing the required parameter 'db_node_id' when calling db_node_action." if db_node_id.nil? raise "Missing the required parameter 'action' when calling db_node_action." if action.nil? unless %w[STOP FORCESTOP FORCERESET START SOFTRESET RESET].include?(action) raise "Invalid value for 'action', must be one of STOP, FORCESTOP, FORCERESET, START, SOFTRESET, RESET." end raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:action] = action # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#db_node_action') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbNode' ) end # rubocop:enable Metrics/BlockLength end |
#delete_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_advanced_cluster_file_system API.
Deletes the advanced cluster file system.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 |
# File 'lib/oci/database/database_client.rb', line 6740 def delete_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'advanced_cluster_file_system_id' when calling delete_advanced_cluster_file_system." if advanced_cluster_file_system_id.nil? raise "Parameter value for 'advanced_cluster_file_system_id' must not be blank" if OCI::Internal::Util.blank_string?(advanced_cluster_file_system_id) path = '/advancedClusterFileSystems/{advancedClusterFileSystemId}'.sub('{advancedClusterFileSystemId}', advanced_cluster_file_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_advanced_cluster_file_system') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_application_vip(application_vip_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_application_vip API.
Deletes and deregisters the specified application virtual IP (VIP) address.
6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 |
# File 'lib/oci/database/database_client.rb', line 6800 def delete_application_vip(application_vip_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_application_vip.' if logger raise "Missing the required parameter 'application_vip_id' when calling delete_application_vip." if application_vip_id.nil? raise "Parameter value for 'application_vip_id' must not be blank" if OCI::Internal::Util.blank_string?(application_vip_id) path = '/applicationVip/{applicationVipId}'.sub('{applicationVipId}', application_vip_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_application_vip') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_autonomous_database API.
Deletes the specified Autonomous AI Database.
6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 |
# File 'lib/oci/database/database_client.rb', line 6864 def delete_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling delete_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:mustDeleteAssociatedLongTermBackups] = opts[:must_delete_associated_long_term_backups] if !opts[:must_delete_associated_long_term_backups].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_autonomous_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_autonomous_database_backup(autonomous_database_backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_autonomous_database_backup API.
Deletes a long-term backup. You cannot delete other backups using this API.
6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 |
# File 'lib/oci/database/database_client.rb', line 6928 def delete_autonomous_database_backup(autonomous_database_backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_autonomous_database_backup.' if logger raise "Missing the required parameter 'autonomous_database_backup_id' when calling delete_autonomous_database_backup." if autonomous_database_backup_id.nil? raise "Parameter value for 'autonomous_database_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_backup_id) path = '/autonomousDatabaseBackups/{autonomousDatabaseBackupId}'.sub('{autonomousDatabaseBackupId}', autonomous_database_backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_autonomous_database_backup') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_autonomous_database_software_image API.
Delete an Autonomous AI Database Software Image
6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 |
# File 'lib/oci/database/database_client.rb', line 6988 def delete_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_autonomous_database_software_image.' if logger raise "Missing the required parameter 'autonomous_database_software_image_id' when calling delete_autonomous_database_software_image." if autonomous_database_software_image_id.nil? raise "Parameter value for 'autonomous_database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_software_image_id) path = '/autonomousDatabaseSoftwareImages/{autonomousDatabaseSoftwareImageId}'.sub('{autonomousDatabaseSoftwareImageId}', autonomous_database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_autonomous_database_software_image') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_autonomous_vm_cluster API.
Deletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system. To delete an Autonomous VM Cluster in the Oracle cloud, see delete_cloud_autonomous_vm_cluster.
7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 |
# File 'lib/oci/database/database_client.rb', line 7048 def delete_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling delete_autonomous_vm_cluster." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_autonomous_vm_cluster') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_backup(backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_backup API.
Deletes a full backup. You cannot delete automatic backups using this API.
7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'lib/oci/database/database_client.rb', line 7105 def delete_backup(backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_backup.' if logger raise "Missing the required parameter 'backup_id' when calling delete_backup." if backup_id.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/backups/{backupId}'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_backup') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_backup_destination(backup_destination_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_backup_destination API.
Deletes a backup destination in an Exadata Cloud@Customer system.
7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 |
# File 'lib/oci/database/database_client.rb', line 7164 def delete_backup_destination(backup_destination_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_backup_destination.' if logger raise "Missing the required parameter 'backup_destination_id' when calling delete_backup_destination." if backup_destination_id.nil? raise "Parameter value for 'backup_destination_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_destination_id) path = '/backupDestinations/{backupDestinationId}'.sub('{backupDestinationId}', backup_destination_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_backup_destination') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_autonomous_vm_cluster API.
Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see delete_autonomous_vm_cluster.
7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 |
# File 'lib/oci/database/database_client.rb', line 7224 def delete_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_cloud_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling delete_cloud_autonomous_vm_cluster." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_cloud_autonomous_vm_cluster') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_exadata_infrastructure API.
Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 |
# File 'lib/oci/database/database_client.rb', line 7286 def delete_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling delete_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:isDeleteVmClusters] = opts[:is_delete_vm_clusters] if !opts[:is_delete_vm_clusters].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_cloud_exadata_infrastructure') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_cloud_vm_cluster API.
Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 |
# File 'lib/oci/database/database_client.rb', line 7347 def delete_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_cloud_vm_cluster.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling delete_cloud_vm_cluster." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_cloud_vm_cluster') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_console_connection(db_node_id, console_connection_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_console_connection API.
Deletes the specified database node console connection.
7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 |
# File 'lib/oci/database/database_client.rb', line 7405 def delete_console_connection(db_node_id, console_connection_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_console_connection.' if logger raise "Missing the required parameter 'db_node_id' when calling delete_console_connection." if db_node_id.nil? raise "Missing the required parameter 'console_connection_id' when calling delete_console_connection." if console_connection_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_connection_id' must not be blank" if OCI::Internal::Util.blank_string?(console_connection_id) path = '/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleConnectionId}', console_connection_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_console_connection') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_console_history(db_node_id, console_history_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_console_history API.
Deletes the specified database node console history.
7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 |
# File 'lib/oci/database/database_client.rb', line 7467 def delete_console_history(db_node_id, console_history_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_console_history.' if logger raise "Missing the required parameter 'db_node_id' when calling delete_console_history." if db_node_id.nil? raise "Missing the required parameter 'console_history_id' when calling delete_console_history." if console_history_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_history_id' must not be blank" if OCI::Internal::Util.blank_string?(console_history_id) path = '/dbNodes/{dbNodeId}/consoleHistories/{consoleHistoryId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleHistoryId}', console_history_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_console_history') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_database(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_database API.
Deletes the specified database. Applies only to Exadata systems.
The data in this database is local to the Exadata system and will be lost when the database is deleted. Oracle recommends that you back up any data in the Exadata system prior to deleting it. You can use the performFinalBackup parameter to have the Exadata system database backed up before it is deleted.
7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 |
# File 'lib/oci/database/database_client.rb', line 7537 def delete_database(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_database.' if logger raise "Missing the required parameter 'database_id' when calling delete_database." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:performFinalBackup] = opts[:perform_final_backup] if !opts[:perform_final_backup].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_database_software_image(database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_database_software_image API.
Delete a database software image
7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 |
# File 'lib/oci/database/database_client.rb', line 7595 def delete_database_software_image(database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_database_software_image.' if logger raise "Missing the required parameter 'database_software_image_id' when calling delete_database_software_image." if database_software_image_id.nil? raise "Parameter value for 'database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(database_software_image_id) path = '/databaseSoftwareImages/{databaseSoftwareImageId}'.sub('{databaseSoftwareImageId}', database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_database_software_image') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_db_home(db_home_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_db_home API.
Deletes a Database Home. Applies to bare metal DB systems, Exadata Cloud Service, and Exadata Cloud@Customer systems.
Oracle recommends that you use the performFinalBackup parameter to back up any data on a bare metal DB system before you delete a Database Home. On an Exadata Cloud@Customer system or an Exadata Cloud Service system, you can delete a Database Home only when there are no databases in it and therefore you cannot use the performFinalBackup parameter to back up data.
7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 |
# File 'lib/oci/database/database_client.rb', line 7660 def delete_db_home(db_home_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_db_home.' if logger raise "Missing the required parameter 'db_home_id' when calling delete_db_home." if db_home_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:performFinalBackup] = opts[:perform_final_backup] if !opts[:perform_final_backup].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_db_home') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_dbnode_snapshot(dbnode_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_dbnode_snapshot API.
Deletes the specified Exadata Database Node Snapshot.
7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 |
# File 'lib/oci/database/database_client.rb', line 7720 def delete_dbnode_snapshot(dbnode_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_dbnode_snapshot.' if logger raise "Missing the required parameter 'dbnode_snapshot_id' when calling delete_dbnode_snapshot." if dbnode_snapshot_id.nil? raise "Parameter value for 'dbnode_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(dbnode_snapshot_id) path = '/dbnodeSnapshots/{dbnodeSnapshotId}'.sub('{dbnodeSnapshotId}', dbnode_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_dbnode_snapshot') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_exadata_infrastructure API.
Deletes the Exadata Cloud@Customer infrastructure.
7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 |
# File 'lib/oci/database/database_client.rb', line 7780 def delete_exadata_infrastructure(exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling delete_exadata_infrastructure." if exadata_infrastructure_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_exadata_infrastructure') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_exadb_vm_cluster API.
Deletes the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.
7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 |
# File 'lib/oci/database/database_client.rb', line 7840 def delete_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_exadb_vm_cluster.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling delete_exadb_vm_cluster." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_exadb_vm_cluster') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_exascale_db_storage_vault API.
Deletes the specified Exadata Database Storage Vault.
7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 |
# File 'lib/oci/database/database_client.rb', line 7900 def delete_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_exascale_db_storage_vault.' if logger raise "Missing the required parameter 'exascale_db_storage_vault_id' when calling delete_exascale_db_storage_vault." if exascale_db_storage_vault_id.nil? raise "Parameter value for 'exascale_db_storage_vault_id' must not be blank" if OCI::Internal::Util.blank_string?(exascale_db_storage_vault_id) path = '/exascaleDbStorageVaults/{exascaleDbStorageVaultId}'.sub('{exascaleDbStorageVaultId}', exascale_db_storage_vault_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_exascale_db_storage_vault') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_execution_action(execution_action_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_execution_action API.
Deletes the execution action.
7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 |
# File 'lib/oci/database/database_client.rb', line 7960 def delete_execution_action(execution_action_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_execution_action.' if logger raise "Missing the required parameter 'execution_action_id' when calling delete_execution_action." if execution_action_id.nil? raise "Parameter value for 'execution_action_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_action_id) path = '/executionActions/{executionActionId}'.sub('{executionActionId}', execution_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_execution_action') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_execution_window(execution_window_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_execution_window API.
Deletes the execution window.
8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 |
# File 'lib/oci/database/database_client.rb', line 8020 def delete_execution_window(execution_window_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_execution_window.' if logger raise "Missing the required parameter 'execution_window_id' when calling delete_execution_window." if execution_window_id.nil? raise "Parameter value for 'execution_window_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_window_id) path = '/executionWindows/{executionWindowId}'.sub('{executionWindowId}', execution_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_execution_window') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_external_container_database(external_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_external_container_database API.
Deletes the create_external_container_database_details resource. Any external pluggable databases registered under this container database must be deleted in your Oracle Cloud Infrastructure tenancy prior to this operation.
8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 |
# File 'lib/oci/database/database_client.rb', line 8082 def delete_external_container_database(external_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_external_container_database.' if logger raise "Missing the required parameter 'external_container_database_id' when calling delete_external_container_database." if external_container_database_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_external_container_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_external_database_connector(external_database_connector_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_external_database_connector API.
Deletes an external database connector. Any services enabled using the external database connector must be deleted prior to this operation.
8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 |
# File 'lib/oci/database/database_client.rb', line 8146 def delete_external_database_connector(external_database_connector_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_external_database_connector.' if logger raise "Missing the required parameter 'external_database_connector_id' when calling delete_external_database_connector." if external_database_connector_id.nil? raise "Parameter value for 'external_database_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(external_database_connector_id) path = '/externaldatabaseconnectors/{externalDatabaseConnectorId}'.sub('{externalDatabaseConnectorId}', external_database_connector_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_external_database_connector') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_external_non_container_database(external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_external_non_container_database API.
Deletes the Oracle Cloud Infrastructure resource representing an external non-container database.
8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 |
# File 'lib/oci/database/database_client.rb', line 8206 def delete_external_non_container_database(external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_external_non_container_database.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling delete_external_non_container_database." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_external_non_container_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_external_pluggable_database(external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_external_pluggable_database API.
Deletes the create_external_pluggable_database_details. resource.
8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 |
# File 'lib/oci/database/database_client.rb', line 8267 def delete_external_pluggable_database(external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_external_pluggable_database.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling delete_external_pluggable_database." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_external_pluggable_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_key_store(key_store_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_key_store API.
Deletes a key store.
8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 |
# File 'lib/oci/database/database_client.rb', line 8327 def delete_key_store(key_store_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_key_store.' if logger raise "Missing the required parameter 'key_store_id' when calling delete_key_store." if key_store_id.nil? raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id) path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_key_store') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_oneoff_patch API.
Deletes a one-off patch.
8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 |
# File 'lib/oci/database/database_client.rb', line 8387 def delete_oneoff_patch(oneoff_patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_oneoff_patch.' if logger raise "Missing the required parameter 'oneoff_patch_id' when calling delete_oneoff_patch." if oneoff_patch_id.nil? raise "Parameter value for 'oneoff_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(oneoff_patch_id) path = '/oneoffPatches/{oneoffPatchId}'.sub('{oneoffPatchId}', oneoff_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_oneoff_patch') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_pluggable_database API.
Deletes the specified pluggable database.
8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 |
# File 'lib/oci/database/database_client.rb', line 8446 def delete_pluggable_database(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling delete_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_pluggable_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_pluggable_database_snapshot API.
Deletes the specified Exadata Pluggable Database Snapshot.
8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 |
# File 'lib/oci/database/database_client.rb', line 8506 def delete_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_pluggable_database_snapshot.' if logger raise "Missing the required parameter 'pluggable_database_snapshot_id' when calling delete_pluggable_database_snapshot." if pluggable_database_snapshot_id.nil? raise "Parameter value for 'pluggable_database_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_snapshot_id) path = '/pluggableDatabaseSnapshots/{pluggableDatabaseSnapshotId}'.sub('{pluggableDatabaseSnapshotId}', pluggable_database_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_pluggable_database_snapshot') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_scheduled_action(scheduled_action_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_scheduled_action API.
Deletes the scheduled action.
8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 |
# File 'lib/oci/database/database_client.rb', line 8566 def delete_scheduled_action(scheduled_action_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_scheduled_action.' if logger raise "Missing the required parameter 'scheduled_action_id' when calling delete_scheduled_action." if scheduled_action_id.nil? raise "Parameter value for 'scheduled_action_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_action_id) path = '/scheduledActions/{scheduledActionId}'.sub('{scheduledActionId}', scheduled_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_scheduled_action') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_scheduling_plan API.
Deletes the scheduling plan.
8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 |
# File 'lib/oci/database/database_client.rb', line 8626 def delete_scheduling_plan(scheduling_plan_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_scheduling_plan.' if logger raise "Missing the required parameter 'scheduling_plan_id' when calling delete_scheduling_plan." if scheduling_plan_id.nil? raise "Parameter value for 'scheduling_plan_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_plan_id) path = '/schedulingPlans/{schedulingPlanId}'.sub('{schedulingPlanId}', scheduling_plan_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_scheduling_plan') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_scheduling_policy(scheduling_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_scheduling_policy API.
Deletes the scheduling policy.
8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 |
# File 'lib/oci/database/database_client.rb', line 8686 def delete_scheduling_policy(scheduling_policy_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_scheduling_policy.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling delete_scheduling_policy." if scheduling_policy_id.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_scheduling_policy') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_scheduling_window API.
Deletes the scheduling window.
8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 |
# File 'lib/oci/database/database_client.rb', line 8747 def delete_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_scheduling_window.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling delete_scheduling_window." if scheduling_policy_id.nil? raise "Missing the required parameter 'scheduling_window_id' when calling delete_scheduling_window." if scheduling_window_id.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) raise "Parameter value for 'scheduling_window_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_window_id) path = '/schedulingPolicies/{schedulingPolicyId}/schedulingWindows/{schedulingWindowId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s).sub('{schedulingWindowId}', scheduling_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_scheduling_window') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_vm_cluster(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_vm_cluster API.
Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 |
# File 'lib/oci/database/database_client.rb', line 8809 def delete_vm_cluster(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_vm_cluster.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling delete_vm_cluster." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_vm_cluster') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_vm_cluster_network API.
Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. To delete a cloud VM cluster in an Exadata Cloud Service instance, use the delete_cloud_vm_cluster operation.
8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 |
# File 'lib/oci/database/database_client.rb', line 8871 def delete_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) logger.debug 'Calling operation DatabaseClient#delete_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling delete_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling delete_vm_cluster_network." if vm_cluster_network_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_vm_cluster_network') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#deregister_autonomous_database_data_safe(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use deregister_autonomous_database_data_safe API.
Asynchronously deregisters this Autonomous AI Database with Data Safe.
8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 |
# File 'lib/oci/database/database_client.rb', line 8933 def deregister_autonomous_database_data_safe(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#deregister_autonomous_database_data_safe.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling deregister_autonomous_database_data_safe." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/deregisterDataSafe'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(opts[:deregister_autonomous_database_data_safe_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#deregister_autonomous_database_data_safe') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_autonomous_database_management(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_autonomous_database_management API.
Disables Database Management for the Autonomous AI Database resource.
8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 |
# File 'lib/oci/database/database_client.rb', line 8992 def disable_autonomous_database_management(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_autonomous_database_management.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling disable_autonomous_database_management." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/disableDatabaseManagement'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_autonomous_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_autonomous_database_operations_insights API.
Disables Operations Insights for the Autonomous AI Database resource.
9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 |
# File 'lib/oci/database/database_client.rb', line 9051 def disable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_autonomous_database_operations_insights.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling disable_autonomous_database_operations_insights." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/disableOperationsInsights'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_autonomous_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_database_management(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_database_management API.
Disables the Database Management service for the database.
9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 |
# File 'lib/oci/database/database_client.rb', line 9117 def disable_database_management(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_database_management.' if logger raise "Missing the required parameter 'database_id' when calling disable_database_management." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/disableDatabaseManagement'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_container_database_database_management(external_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_container_database_database_management API.
Disable Database Management service for the external container database.
9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 |
# File 'lib/oci/database/database_client.rb', line 9186 def disable_external_container_database_database_management(external_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_container_database_database_management.' if logger raise "Missing the required parameter 'external_container_database_id' when calling disable_external_container_database_database_management." if external_container_database_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/disableDatabaseManagement'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_container_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_container_database_stack_monitoring(external_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_container_database_stack_monitoring API.
Disable Stack Monitoring for the external container database.
9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 |
# File 'lib/oci/database/database_client.rb', line 9254 def disable_external_container_database_stack_monitoring(external_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_container_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_container_database_id' when calling disable_external_container_database_stack_monitoring." if external_container_database_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/disableStackMonitoring'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_container_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_non_container_database_database_management(external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_non_container_database_database_management API.
Disable Database Management Service for the external non-container database. For more information about the Database Management Service, see Database Management Service.
9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 |
# File 'lib/oci/database/database_client.rb', line 9324 def disable_external_non_container_database_database_management(external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_non_container_database_database_management.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling disable_external_non_container_database_database_management." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/disableDatabaseManagement'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_non_container_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_non_container_database_operations_insights(external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_non_container_database_operations_insights API.
Disable Operations Insights for the external non-container database.
9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 |
# File 'lib/oci/database/database_client.rb', line 9392 def disable_external_non_container_database_operations_insights(external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_non_container_database_operations_insights.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling disable_external_non_container_database_operations_insights." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/disableOperationsInsights'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_non_container_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_non_container_database_stack_monitoring(external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_non_container_database_stack_monitoring API.
Disable Stack Monitoring for the external non-container database.
9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 |
# File 'lib/oci/database/database_client.rb', line 9460 def disable_external_non_container_database_stack_monitoring(external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_non_container_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling disable_external_non_container_database_stack_monitoring." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/disableStackMonitoring'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_non_container_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_pluggable_database_database_management(external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_pluggable_database_database_management API.
Disable Database Management Service for the external pluggable database. For more information about the Database Management Service, see Database Management Service.
9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 |
# File 'lib/oci/database/database_client.rb', line 9530 def disable_external_pluggable_database_database_management(external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_pluggable_database_database_management.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling disable_external_pluggable_database_database_management." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/disableDatabaseManagement'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_pluggable_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_pluggable_database_operations_insights(external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_pluggable_database_operations_insights API.
Disable Operations Insights for the external pluggable database.
9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 |
# File 'lib/oci/database/database_client.rb', line 9598 def disable_external_pluggable_database_operations_insights(external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_pluggable_database_operations_insights.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling disable_external_pluggable_database_operations_insights." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/disableOperationsInsights'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_pluggable_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_external_pluggable_database_stack_monitoring API.
Disable Stack Monitoring for the external pluggable database.
9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 |
# File 'lib/oci/database/database_client.rb', line 9666 def disable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_external_pluggable_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling disable_external_pluggable_database_stack_monitoring." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/disableStackMonitoring'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_external_pluggable_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_pluggable_database_management(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use disable_pluggable_database_management API.
Disables the Database Management service for the pluggable database.
9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 |
# File 'lib/oci/database/database_client.rb', line 9734 def disable_pluggable_database_management(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#disable_pluggable_database_management.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling disable_pluggable_database_management." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/disablePluggableDatabaseManagement'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_pluggable_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#download_db_connection_bundle(db_connection_bundle_id, download_db_connection_bundle_details, opts = {}, &block) ⇒ Response
Click here to see an example of how to use download_db_connection_bundle API.
Downloads the specified database connection bundle content. The bundle is returned as a binary file containing the connection details.
9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 |
# File 'lib/oci/database/database_client.rb', line 9807 def download_db_connection_bundle(db_connection_bundle_id, download_db_connection_bundle_details, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#download_db_connection_bundle.' if logger raise "Missing the required parameter 'db_connection_bundle_id' when calling download_db_connection_bundle." if db_connection_bundle_id.nil? raise "Missing the required parameter 'download_db_connection_bundle_details' when calling download_db_connection_bundle." if download_db_connection_bundle_details.nil? raise "Parameter value for 'db_connection_bundle_id' must not be blank" if OCI::Internal::Util.blank_string?(db_connection_bundle_id) path = '/dbConnectionBundles/{dbConnectionBundleId}/actions/download'.sub('{dbConnectionBundleId}', db_connection_bundle_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(download_db_connection_bundle_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#download_db_connection_bundle') do if !block.nil? @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#download_exadata_infrastructure_config_file(exadata_infrastructure_id, opts = {}, &block) ⇒ Response
Click here to see an example of how to use download_exadata_infrastructure_config_file API.
Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 |
# File 'lib/oci/database/database_client.rb', line 9919 def download_exadata_infrastructure_config_file(exadata_infrastructure_id, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#download_exadata_infrastructure_config_file.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling download_exadata_infrastructure_config_file." if exadata_infrastructure_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/downloadConfigFile'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#download_exadata_infrastructure_config_file') do if !block.nil? @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#download_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use download_oneoff_patch API.
Download one-off patch.
10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 |
# File 'lib/oci/database/database_client.rb', line 10031 def download_oneoff_patch(oneoff_patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#download_oneoff_patch.' if logger raise "Missing the required parameter 'oneoff_patch_id' when calling download_oneoff_patch." if oneoff_patch_id.nil? raise "Parameter value for 'oneoff_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(oneoff_patch_id) path = '/oneoffPatches/{oneoffPatchId}/actions/downloadOneoffPatch'.sub('{oneoffPatchId}', oneoff_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#download_oneoff_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DownloadOneoffPatch' ) end # rubocop:enable Metrics/BlockLength end |
#download_validation_report(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) ⇒ Response
Click here to see an example of how to use download_validation_report API.
Downloads the network validation report file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 |
# File 'lib/oci/database/database_client.rb', line 10099 def download_validation_report(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#download_validation_report.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling download_validation_report." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling download_validation_report." if vm_cluster_network_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadValidationReport'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#download_validation_report') do if !block.nil? @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#download_vm_cluster_network_config_file(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) ⇒ Response
Click here to see an example of how to use download_vm_cluster_network_config_file API.
Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 |
# File 'lib/oci/database/database_client.rb', line 10212 def download_vm_cluster_network_config_file(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#download_vm_cluster_network_config_file.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling download_vm_cluster_network_config_file." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling download_vm_cluster_network_config_file." if vm_cluster_network_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadConfigFile'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#download_vm_cluster_network_config_file') do if !block.nil? @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#edit_autonomous_container_database_dataguard(edit_autonomous_container_database_dataguard_details, autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use edit_autonomous_container_database_dataguard API.
Modify Autonomous Container Database Data Guard settings such as protection mode, automatic failover, and fast start failover lag limit. For more information, see Update Autonomous Container Database Dataguard.
10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 |
# File 'lib/oci/database/database_client.rb', line 10328 def edit_autonomous_container_database_dataguard(edit_autonomous_container_database_dataguard_details, autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#edit_autonomous_container_database_dataguard.' if logger raise "Missing the required parameter 'edit_autonomous_container_database_dataguard_details' when calling edit_autonomous_container_database_dataguard." if edit_autonomous_container_database_dataguard_details.nil? raise "Missing the required parameter 'autonomous_container_database_id' when calling edit_autonomous_container_database_dataguard." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/editDataguard'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(edit_autonomous_container_database_dataguard_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#edit_autonomous_container_database_dataguard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#enable_autonomous_database_management(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use enable_autonomous_database_management API.
Enables Database Management for Autonomous AI Database.
10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 |
# File 'lib/oci/database/database_client.rb', line 10391 def enable_autonomous_database_management(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_autonomous_database_management.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling enable_autonomous_database_management." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/enableDatabaseManagement'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_autonomous_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use enable_autonomous_database_operations_insights API.
Enables the specified Autonomous AI Database with Operations Insights.
10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 |
# File 'lib/oci/database/database_client.rb', line 10450 def enable_autonomous_database_operations_insights(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_autonomous_database_operations_insights.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling enable_autonomous_database_operations_insights." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_autonomous_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_database_management(database_id, enable_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_database_management API.
Enables the Database Management service for an Oracle Database located in Oracle Cloud Infrastructure. This service allows the database to access tools including Metrics and Performance hub. Database Management is enabled at the container database (CDB) level.
10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 |
# File 'lib/oci/database/database_client.rb', line 10516 def enable_database_management(database_id, enable_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_database_management.' if logger raise "Missing the required parameter 'database_id' when calling enable_database_management." if database_id.nil? raise "Missing the required parameter 'enable_database_management_details' when calling enable_database_management." if enable_database_management_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/enableDatabaseManagement'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_container_database_database_management(external_container_database_id, enable_external_container_database_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_container_database_database_management API.
Enables Database Management Service for the external container database. For more information about the Database Management Service, see Database Management Service.
10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 |
# File 'lib/oci/database/database_client.rb', line 10589 def enable_external_container_database_database_management(external_container_database_id, enable_external_container_database_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_container_database_database_management.' if logger raise "Missing the required parameter 'external_container_database_id' when calling enable_external_container_database_database_management." if external_container_database_id.nil? raise "Missing the required parameter 'enable_external_container_database_database_management_details' when calling enable_external_container_database_database_management." if enable_external_container_database_database_management_details.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/enableDatabaseManagement'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_container_database_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_container_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_container_database_stack_monitoring(external_container_database_id, enable_external_container_database_stack_monitoring_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_container_database_stack_monitoring API.
Enable Stack Monitoring for the external container database.
10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 |
# File 'lib/oci/database/database_client.rb', line 10660 def enable_external_container_database_stack_monitoring(external_container_database_id, enable_external_container_database_stack_monitoring_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_container_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_container_database_id' when calling enable_external_container_database_stack_monitoring." if external_container_database_id.nil? raise "Missing the required parameter 'enable_external_container_database_stack_monitoring_details' when calling enable_external_container_database_stack_monitoring." if enable_external_container_database_stack_monitoring_details.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/enableStackMonitoring'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_container_database_stack_monitoring_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_container_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_non_container_database_database_management(external_non_container_database_id, enable_external_non_container_database_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_non_container_database_database_management API.
Enable Database Management Service for the external non-container database. For more information about the Database Management Service, see Database Management Service.
10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 |
# File 'lib/oci/database/database_client.rb', line 10732 def enable_external_non_container_database_database_management(external_non_container_database_id, enable_external_non_container_database_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_non_container_database_database_management.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling enable_external_non_container_database_database_management." if external_non_container_database_id.nil? raise "Missing the required parameter 'enable_external_non_container_database_database_management_details' when calling enable_external_non_container_database_database_management." if enable_external_non_container_database_database_management_details.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/enableDatabaseManagement'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_non_container_database_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_non_container_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_non_container_database_operations_insights(external_non_container_database_id, enable_external_non_container_database_operations_insights_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_non_container_database_operations_insights API.
Enable Operations Insights for the external non-container database.
10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 |
# File 'lib/oci/database/database_client.rb', line 10803 def enable_external_non_container_database_operations_insights(external_non_container_database_id, enable_external_non_container_database_operations_insights_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_non_container_database_operations_insights.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling enable_external_non_container_database_operations_insights." if external_non_container_database_id.nil? raise "Missing the required parameter 'enable_external_non_container_database_operations_insights_details' when calling enable_external_non_container_database_operations_insights." if enable_external_non_container_database_operations_insights_details.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/enableOperationsInsights'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_non_container_database_operations_insights_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_non_container_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_non_container_database_stack_monitoring(external_non_container_database_id, enable_external_non_container_database_stack_monitoring_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_non_container_database_stack_monitoring API.
Enable Stack Monitoring for the external non-container database.
10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 |
# File 'lib/oci/database/database_client.rb', line 10874 def enable_external_non_container_database_stack_monitoring(external_non_container_database_id, enable_external_non_container_database_stack_monitoring_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_non_container_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling enable_external_non_container_database_stack_monitoring." if external_non_container_database_id.nil? raise "Missing the required parameter 'enable_external_non_container_database_stack_monitoring_details' when calling enable_external_non_container_database_stack_monitoring." if enable_external_non_container_database_stack_monitoring_details.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/enableStackMonitoring'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_non_container_database_stack_monitoring_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_non_container_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_pluggable_database_database_management(external_pluggable_database_id, enable_external_pluggable_database_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_pluggable_database_database_management API.
Enable Database Management Service for the external pluggable database. For more information about the Database Management Service, see Database Management Service.
10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 |
# File 'lib/oci/database/database_client.rb', line 10946 def enable_external_pluggable_database_database_management(external_pluggable_database_id, enable_external_pluggable_database_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_pluggable_database_database_management.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling enable_external_pluggable_database_database_management." if external_pluggable_database_id.nil? raise "Missing the required parameter 'enable_external_pluggable_database_database_management_details' when calling enable_external_pluggable_database_database_management." if enable_external_pluggable_database_database_management_details.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/enableDatabaseManagement'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_pluggable_database_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_pluggable_database_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_pluggable_database_operations_insights(external_pluggable_database_id, enable_external_pluggable_database_operations_insights_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_pluggable_database_operations_insights API.
Enable Operations Insights for the external pluggable database.
11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 |
# File 'lib/oci/database/database_client.rb', line 11017 def enable_external_pluggable_database_operations_insights(external_pluggable_database_id, enable_external_pluggable_database_operations_insights_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_pluggable_database_operations_insights.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling enable_external_pluggable_database_operations_insights." if external_pluggable_database_id.nil? raise "Missing the required parameter 'enable_external_pluggable_database_operations_insights_details' when calling enable_external_pluggable_database_operations_insights." if enable_external_pluggable_database_operations_insights_details.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/enableOperationsInsights'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_pluggable_database_operations_insights_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_pluggable_database_operations_insights') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, enable_external_pluggable_database_stack_monitoring_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_external_pluggable_database_stack_monitoring API.
Enable Stack Monitoring for the external pluggable database.
11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 |
# File 'lib/oci/database/database_client.rb', line 11088 def enable_external_pluggable_database_stack_monitoring(external_pluggable_database_id, enable_external_pluggable_database_stack_monitoring_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_external_pluggable_database_stack_monitoring.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling enable_external_pluggable_database_stack_monitoring." if external_pluggable_database_id.nil? raise "Missing the required parameter 'enable_external_pluggable_database_stack_monitoring_details' when calling enable_external_pluggable_database_stack_monitoring." if enable_external_pluggable_database_stack_monitoring_details.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/enableStackMonitoring'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_external_pluggable_database_stack_monitoring_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_external_pluggable_database_stack_monitoring') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_pluggable_database_management(pluggable_database_id, enable_pluggable_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_pluggable_database_management API.
Enables the Database Management service for an Oracle Pluggable Database located in Oracle Cloud Infrastructure. This service allows the pluggable database to access tools including Metrics and Performance hub. Database Management is enabled at the pluggable database (PDB) level.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 |
# File 'lib/oci/database/database_client.rb', line 11157 def enable_pluggable_database_management(pluggable_database_id, enable_pluggable_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#enable_pluggable_database_management.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling enable_pluggable_database_management." if pluggable_database_id.nil? raise "Missing the required parameter 'enable_pluggable_database_management_details' when calling enable_pluggable_database_management." if enable_pluggable_database_management_details.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/enablePluggableDatabaseManagement'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_pluggable_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_pluggable_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#execute_db_system_os_patch(execute_db_system_os_patch_details, db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use execute_db_system_os_patch API.
Execute an operating system (OS) patch action on a DB system. Returns 202 and a work request. Some updates may require a reboot.
11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 |
# File 'lib/oci/database/database_client.rb', line 11228 def execute_db_system_os_patch(execute_db_system_os_patch_details, db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#execute_db_system_os_patch.' if logger raise "Missing the required parameter 'execute_db_system_os_patch_details' when calling execute_db_system_os_patch." if execute_db_system_os_patch_details.nil? raise "Missing the required parameter 'db_system_id' when calling execute_db_system_os_patch." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/actions/osPatch'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(execute_db_system_os_patch_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#execute_db_system_os_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#fail_over_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use fail_over_autonomous_database API.
Initiates a failover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled. This API should be called in the remote region where the peer database resides. Below parameter is optional: - peerDbId Use this parameter to specify the database OCID of the Disaster Recovery peer, which is located in a different (remote) region from the current peer database. If this parameter is not provided, the failover will happen in the same region.
11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 |
# File 'lib/oci/database/database_client.rb', line 11306 def fail_over_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#fail_over_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling fail_over_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/failover'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:peerDbId] = opts[:peer_db_id] if opts[:peer_db_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#fail_over_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#failover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use failover_autonomous_container_database_dataguard API.
Performs failover to a standby Autonomous Container Database (ACD) identified by the autonomousContainerDatabaseId parameter. This standby ACD will become the new primary ACD when the failover completes successfully. For more information, see Fail Over to the Standby in an Autonomous Data Guard Configuration.
11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 |
# File 'lib/oci/database/database_client.rb', line 11372 def failover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#failover_autonomous_container_database_dataguard.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling failover_autonomous_container_database_dataguard." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/failover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#failover_autonomous_container_database_dataguard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#failover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use failover_autonomous_container_database_dataguard_association API.
Deprecated. Use the failover_autonomous_container_database_dataguard operation to fail over the standby Autonomous Container Database (ACD) to the primary ACD after the existing primary ACD fails or becomes unreachable.
A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 |
# File 'lib/oci/database/database_client.rb', line 11434 def failover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#failover_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling failover_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling failover_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/failover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#failover_autonomous_container_database_dataguard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#failover_data_guard(database_id, failover_data_guard_details, opts = {}) ⇒ Response
Click here to see an example of how to use failover_data_guard API.
Performs a failover to transition the standby database identified by the databaseId path parameter into the primary role after the existing primary database fails or becomes unreachable.
A failover might result in data loss depending on the protection mode in effect at the time of the primary database failure.
This operation should be performed on respective standby database.
11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 |
# File 'lib/oci/database/database_client.rb', line 11509 def failover_data_guard(database_id, failover_data_guard_details, opts = {}) logger.debug 'Calling operation DatabaseClient#failover_data_guard.' if logger raise "Missing the required parameter 'database_id' when calling failover_data_guard." if database_id.nil? raise "Missing the required parameter 'failover_data_guard_details' when calling failover_data_guard." if failover_data_guard_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/failover'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(failover_data_guard_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#failover_data_guard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#failover_data_guard_association(database_id, data_guard_association_id, failover_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use failover_data_guard_association API.
Performs a failover to transition the standby database identified by the databaseId parameter into the specified Data Guard association's primary role after the existing primary database fails or becomes unreachable.
A failover might result in data loss depending on the protection mode in effect at the time of the primary database failure.
11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 |
# File 'lib/oci/database/database_client.rb', line 11577 def failover_data_guard_association(database_id, data_guard_association_id, failover_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#failover_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling failover_data_guard_association." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling failover_data_guard_association." if data_guard_association_id.nil? raise "Missing the required parameter 'failover_data_guard_association_details' when calling failover_data_guard_association." if failover_data_guard_association_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/failover'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(failover_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#failover_data_guard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#generate_autonomous_database_wallet(autonomous_database_id, generate_autonomous_database_wallet_details, opts = {}, &block) ⇒ Response
Click here to see an example of how to use generate_autonomous_database_wallet API.
Creates and downloads a wallet for the specified Autonomous AI Database.
11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 |
# File 'lib/oci/database/database_client.rb', line 11648 def generate_autonomous_database_wallet(autonomous_database_id, generate_autonomous_database_wallet_details, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#generate_autonomous_database_wallet.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling generate_autonomous_database_wallet." if autonomous_database_id.nil? raise "Missing the required parameter 'generate_autonomous_database_wallet_details' when calling generate_autonomous_database_wallet." if generate_autonomous_database_wallet_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/generateWallet'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(generate_autonomous_database_wallet_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#generate_autonomous_database_wallet') do if !block.nil? @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#generate_recommended_vm_cluster_network(exadata_infrastructure_id, generate_recommended_network_details, opts = {}) ⇒ Response
Click here to see an example of how to use generate_recommended_vm_cluster_network API.
Generates a recommended Cloud@Customer VM cluster network configuration.
11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 |
# File 'lib/oci/database/database_client.rb', line 11759 def generate_recommended_vm_cluster_network(exadata_infrastructure_id, generate_recommended_network_details, opts = {}) logger.debug 'Calling operation DatabaseClient#generate_recommended_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling generate_recommended_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'generate_recommended_network_details' when calling generate_recommended_vm_cluster_network." if generate_recommended_network_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/actions/generateRecommendedNetwork'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(generate_recommended_network_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#generate_recommended_vm_cluster_network') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetworkDetails' ) end # rubocop:enable Metrics/BlockLength end |
#get_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_advanced_cluster_file_system API.
Gets information about the specified advanced cluster file systems.
11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 |
# File 'lib/oci/database/database_client.rb', line 11818 def get_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'advanced_cluster_file_system_id' when calling get_advanced_cluster_file_system." if advanced_cluster_file_system_id.nil? raise "Parameter value for 'advanced_cluster_file_system_id' must not be blank" if OCI::Internal::Util.blank_string?(advanced_cluster_file_system_id) path = '/advancedClusterFileSystems/{advancedClusterFileSystemId}'.sub('{advancedClusterFileSystemId}', advanced_cluster_file_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_advanced_cluster_file_system') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystem' ) end # rubocop:enable Metrics/BlockLength end |
#get_application_vip(application_vip_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_application_vip API.
Gets information about a specified application virtual IP (VIP) address.
11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 |
# File 'lib/oci/database/database_client.rb', line 11873 def get_application_vip(application_vip_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_application_vip.' if logger raise "Missing the required parameter 'application_vip_id' when calling get_application_vip." if application_vip_id.nil? raise "Parameter value for 'application_vip_id' must not be blank" if OCI::Internal::Util.blank_string?(application_vip_id) path = '/applicationVip/{applicationVipId}'.sub('{applicationVipId}', application_vip_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_application_vip') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ApplicationVip' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_container_database API.
Gets information about the specified Autonomous Container Database.
11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 |
# File 'lib/oci/database/database_client.rb', line 11927 def get_autonomous_container_database(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling get_autonomous_container_database." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_container_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_container_database_dataguard_association API.
Deprecated. Use the get_autonomous_container_database operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 |
# File 'lib/oci/database/database_client.rb', line 11983 def get_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling get_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling get_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_container_database_dataguard_association') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_container_database_resource_usage(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_container_database_resource_usage API.
Get resource usage details for the specified Autonomous Container Database.
12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 |
# File 'lib/oci/database/database_client.rb', line 12041 def get_autonomous_container_database_resource_usage(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database_resource_usage.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling get_autonomous_container_database_resource_usage." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/resourceUsage'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_container_database_resource_usage') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseResourceUsage' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database API.
Gets the details of the specified Autonomous AI Database.
12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 |
# File 'lib/oci/database/database_client.rb', line 12097 def get_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling get_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database_backup(autonomous_database_backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database_backup API.
Gets information about the specified Autonomous AI Database backup.
12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 |
# File 'lib/oci/database/database_client.rb', line 12152 def get_autonomous_database_backup(autonomous_database_backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database_backup.' if logger raise "Missing the required parameter 'autonomous_database_backup_id' when calling get_autonomous_database_backup." if autonomous_database_backup_id.nil? raise "Parameter value for 'autonomous_database_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_backup_id) path = '/autonomousDatabaseBackups/{autonomousDatabaseBackupId}'.sub('{autonomousDatabaseBackupId}', autonomous_database_backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_backup') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseBackup' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database_dataguard_association(autonomous_database_id, autonomous_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database_dataguard_association API.
Deprecated. Use the get_autonomous_container_database operation to gets an Autonomous Data Guard-enabled database associated with the specified Autonomous AI Database.
12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 |
# File 'lib/oci/database/database_client.rb', line 12209 def get_autonomous_database_dataguard_association(autonomous_database_id, autonomous_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling get_autonomous_database_dataguard_association." if autonomous_database_id.nil? raise "Missing the required parameter 'autonomous_database_dataguard_association_id' when calling get_autonomous_database_dataguard_association." if autonomous_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) raise "Parameter value for 'autonomous_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_dataguard_association_id) path = '/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s).sub('{autonomousDatabaseDataguardAssociationId}', autonomous_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_dataguard_association') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database_regional_wallet(opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database_regional_wallet API.
Gets the Autonomous AI Database regional wallet details.
12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 |
# File 'lib/oci/database/database_client.rb', line 12266 def get_autonomous_database_regional_wallet(opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database_regional_wallet.' if logger path = '/autonomousDatabases/wallet' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_regional_wallet') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseWallet' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database_software_image API.
Gets information about the specified Autonomous AI Database Software Image.
12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 |
# File 'lib/oci/database/database_client.rb', line 12319 def get_autonomous_database_software_image(autonomous_database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database_software_image.' if logger raise "Missing the required parameter 'autonomous_database_software_image_id' when calling get_autonomous_database_software_image." if autonomous_database_software_image_id.nil? raise "Parameter value for 'autonomous_database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_software_image_id) path = '/autonomousDatabaseSoftwareImages/{autonomousDatabaseSoftwareImageId}'.sub('{autonomousDatabaseSoftwareImageId}', autonomous_database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_software_image') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_database_wallet(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_database_wallet API.
Gets the wallet details for the specified Autonomous AI Database.
12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 |
# File 'lib/oci/database/database_client.rb', line 12375 def get_autonomous_database_wallet(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_database_wallet.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling get_autonomous_database_wallet." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/wallet'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_wallet') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseWallet' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_exadata_infrastructure API.
Deprecated. Use the get_cloud_exadata_infrastructure operation to get details of an Exadata Infrastructure resource and the get_cloud_autonomous_vm_cluster operation to get details of an Autonomous Exadata VM cluster.
12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 |
# File 'lib/oci/database/database_client.rb', line 12430 def get_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_exadata_infrastructure.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling get_autonomous_exadata_infrastructure." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_exadata_infrastructure') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_patch(autonomous_patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_patch API.
Gets information about a specific autonomous patch.
12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 |
# File 'lib/oci/database/database_client.rb', line 12484 def get_autonomous_patch(autonomous_patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_patch.' if logger raise "Missing the required parameter 'autonomous_patch_id' when calling get_autonomous_patch." if autonomous_patch_id.nil? raise "Parameter value for 'autonomous_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_patch_id) path = '/autonomousPatches/{autonomousPatchId}'.sub('{autonomousPatchId}', autonomous_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_patch') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousPatch' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_virtual_machine(autonomous_virtual_machine_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_virtual_machine API.
Gets the details of specific Autonomous Virtual Machine.
12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 |
# File 'lib/oci/database/database_client.rb', line 12540 def get_autonomous_virtual_machine(autonomous_virtual_machine_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_virtual_machine.' if logger raise "Missing the required parameter 'autonomous_virtual_machine_id' when calling get_autonomous_virtual_machine." if autonomous_virtual_machine_id.nil? raise "Parameter value for 'autonomous_virtual_machine_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_virtual_machine_id) path = '/autonomousVirtualMachines/{autonomousVirtualMachineId}'.sub('{autonomousVirtualMachineId}', autonomous_virtual_machine_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_virtual_machine') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousVirtualMachine' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_vm_cluster API.
Gets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system. To get information about an Autonomous VM Cluster in the Oracle cloud, see get_cloud_autonomous_vm_cluster.
12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 |
# File 'lib/oci/database/database_client.rb', line 12596 def get_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling get_autonomous_vm_cluster." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_vm_cluster') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#get_autonomous_vm_cluster_resource_usage(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_autonomous_vm_cluster_resource_usage API.
Get the resource usage details for the specified Autonomous Exadata VM cluster.
12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 |
# File 'lib/oci/database/database_client.rb', line 12652 def get_autonomous_vm_cluster_resource_usage(autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_autonomous_vm_cluster_resource_usage.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling get_autonomous_vm_cluster_resource_usage." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/resourceUsage'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_vm_cluster_resource_usage') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousVmClusterResourceUsage' ) end # rubocop:enable Metrics/BlockLength end |
#get_backup(backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_backup API.
Gets information about the specified backup.
12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 |
# File 'lib/oci/database/database_client.rb', line 12706 def get_backup(backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_backup.' if logger raise "Missing the required parameter 'backup_id' when calling get_backup." if backup_id.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/backups/{backupId}'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_backup') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Backup' ) end # rubocop:enable Metrics/BlockLength end |
#get_backup_destination(backup_destination_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_backup_destination API.
Gets information about the specified backup destination in an Exadata Cloud@Customer system.
12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 |
# File 'lib/oci/database/database_client.rb', line 12762 def get_backup_destination(backup_destination_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_backup_destination.' if logger raise "Missing the required parameter 'backup_destination_id' when calling get_backup_destination." if backup_destination_id.nil? raise "Parameter value for 'backup_destination_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_destination_id) path = '/backupDestinations/{backupDestinationId}'.sub('{backupDestinationId}', backup_destination_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_backup_destination') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::BackupDestination' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_autonomous_vm_cluster API.
Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see get_autonomous_vm_cluster.
12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 |
# File 'lib/oci/database/database_client.rb', line 12818 def get_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling get_cloud_autonomous_vm_cluster." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_autonomous_vm_cluster') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudAutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_autonomous_vm_cluster_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_autonomous_vm_cluster_resource_usage API.
Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 |
# File 'lib/oci/database/database_client.rb', line 12874 def get_cloud_autonomous_vm_cluster_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_autonomous_vm_cluster_resource_usage.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling get_cloud_autonomous_vm_cluster_resource_usage." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_autonomous_vm_cluster_resource_usage') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudAutonomousVmClusterResourceUsage' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_exadata_infrastructure API.
Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 |
# File 'lib/oci/database/database_client.rb', line 12930 def get_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling get_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_exadata_infrastructure') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_exadata_infrastructure_unallocated_resources(cloud_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_exadata_infrastructure_unallocated_resources API.
Gets unallocated resources information for the specified Cloud Exadata infrastructure.
12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 |
# File 'lib/oci/database/database_client.rb', line 12987 def get_cloud_exadata_infrastructure_unallocated_resources(cloud_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure_unallocated_resources.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling get_cloud_exadata_infrastructure_unallocated_resources." if cloud_exadata_infrastructure_id.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:dbServers] = OCI::ApiClient.build_collection_params(opts[:db_servers], :multi) if opts[:db_servers] && !opts[:db_servers].empty? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_exadata_infrastructure_unallocated_resources') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructureUnallocatedResources' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_vm_cluster API.
Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 |
# File 'lib/oci/database/database_client.rb', line 13044 def get_cloud_vm_cluster(cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_vm_cluster') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_vm_cluster_iorm_config API.
Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance. If you have not specified an IORM configuration, the default configuration is returned.
13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 |
# File 'lib/oci/database/database_client.rb', line 13101 def get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_iorm_config.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster_iorm_config." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_vm_cluster_iorm_config') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataIormConfig' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_vm_cluster_update(cloud_vm_cluster_id, update_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_vm_cluster_update API.
Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only.
13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 |
# File 'lib/oci/database/database_client.rb', line 13158 def get_cloud_vm_cluster_update(cloud_vm_cluster_id, update_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_update.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster_update." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'update_id' when calling get_cloud_vm_cluster_update." if update_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) raise "Parameter value for 'update_id' must not be blank" if OCI::Internal::Util.blank_string?(update_id) path = '/cloudVmClusters/{cloudVmClusterId}/updates/{updateId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s).sub('{updateId}', update_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_vm_cluster_update') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Update' ) end # rubocop:enable Metrics/BlockLength end |
#get_cloud_vm_cluster_update_history_entry(cloud_vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_cloud_vm_cluster_update_history_entry API.
Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only.
13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 |
# File 'lib/oci/database/database_client.rb', line 13217 def get_cloud_vm_cluster_update_history_entry(cloud_vm_cluster_id, update_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_update_history_entry.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster_update_history_entry." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'update_history_entry_id' when calling get_cloud_vm_cluster_update_history_entry." if update_history_entry_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) raise "Parameter value for 'update_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(update_history_entry_id) path = '/cloudVmClusters/{cloudVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s).sub('{updateHistoryEntryId}', update_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_vm_cluster_update_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::UpdateHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_console_connection(db_node_id, console_connection_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_console_connection API.
Gets the specified database node console connection's information.
13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 |
# File 'lib/oci/database/database_client.rb', line 13274 def get_console_connection(db_node_id, console_connection_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_console_connection.' if logger raise "Missing the required parameter 'db_node_id' when calling get_console_connection." if db_node_id.nil? raise "Missing the required parameter 'console_connection_id' when calling get_console_connection." if console_connection_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_connection_id' must not be blank" if OCI::Internal::Util.blank_string?(console_connection_id) path = '/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleConnectionId}', console_connection_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_console_connection') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleConnection' ) end # rubocop:enable Metrics/BlockLength end |
#get_console_history(db_node_id, console_history_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_console_history API.
Gets information about the specified database node console history.
13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 |
# File 'lib/oci/database/database_client.rb', line 13333 def get_console_history(db_node_id, console_history_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_console_history.' if logger raise "Missing the required parameter 'db_node_id' when calling get_console_history." if db_node_id.nil? raise "Missing the required parameter 'console_history_id' when calling get_console_history." if console_history_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_history_id' must not be blank" if OCI::Internal::Util.blank_string?(console_history_id) path = '/dbNodes/{dbNodeId}/consoleHistories/{consoleHistoryId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleHistoryId}', console_history_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_console_history') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleHistory' ) end # rubocop:enable Metrics/BlockLength end |
#get_console_history_content(db_node_id, console_history_id, opts = {}, &block) ⇒ Response
Click here to see an example of how to use get_console_history_content API.
Retrieves the specified database node console history contents upto a megabyte.
13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 |
# File 'lib/oci/database/database_client.rb', line 13394 def get_console_history_content(db_node_id, console_history_id, opts = {}, &block) logger.debug 'Calling operation DatabaseClient#get_console_history_content.' if logger raise "Missing the required parameter 'db_node_id' when calling get_console_history_content." if db_node_id.nil? raise "Missing the required parameter 'console_history_id' when calling get_console_history_content." if console_history_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_history_id' must not be blank" if OCI::Internal::Util.blank_string?(console_history_id) path = '/dbNodes/{dbNodeId}/consoleHistories/{consoleHistoryId}/content'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleHistoryId}', console_history_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'application/octet-stream' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_console_history_content') do if !block.nil? @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#get_data_guard_association(database_id, data_guard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_data_guard_association API.
Gets the specified Data Guard association's configuration information.
13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 |
# File 'lib/oci/database/database_client.rb', line 13496 def get_data_guard_association(database_id, data_guard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling get_data_guard_association." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling get_data_guard_association." if data_guard_association_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_data_guard_association') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#get_database(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_database API.
Gets information about the specified database.
13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 |
# File 'lib/oci/database/database_client.rb', line 13552 def get_database(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_database.' if logger raise "Missing the required parameter 'database_id' when calling get_database." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#get_database_software_image(database_software_image_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_database_software_image API.
Gets information about the specified database software image.
13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 |
# File 'lib/oci/database/database_client.rb', line 13606 def get_database_software_image(database_software_image_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_database_software_image.' if logger raise "Missing the required parameter 'database_software_image_id' when calling get_database_software_image." if database_software_image_id.nil? raise "Parameter value for 'database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(database_software_image_id) path = '/databaseSoftwareImages/{databaseSoftwareImageId}'.sub('{databaseSoftwareImageId}', database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_database_software_image') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#get_database_upgrade_history_entry(database_id, upgrade_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_database_upgrade_history_entry API.
gets the upgrade history for a specified database.
13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 |
# File 'lib/oci/database/database_client.rb', line 13663 def get_database_upgrade_history_entry(database_id, upgrade_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_database_upgrade_history_entry.' if logger raise "Missing the required parameter 'database_id' when calling get_database_upgrade_history_entry." if database_id.nil? raise "Missing the required parameter 'upgrade_history_entry_id' when calling get_database_upgrade_history_entry." if upgrade_history_entry_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'upgrade_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(upgrade_history_entry_id) path = '/databases/{databaseId}/upgradeHistoryEntries/{upgradeHistoryEntryId}'.sub('{databaseId}', database_id.to_s).sub('{upgradeHistoryEntryId}', upgrade_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_database_upgrade_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DatabaseUpgradeHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_connection_bundle(db_connection_bundle_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_connection_bundle API.
Gets information about the specified database connection bundle.
13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 |
# File 'lib/oci/database/database_client.rb', line 13720 def get_db_connection_bundle(db_connection_bundle_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_connection_bundle.' if logger raise "Missing the required parameter 'db_connection_bundle_id' when calling get_db_connection_bundle." if db_connection_bundle_id.nil? raise "Parameter value for 'db_connection_bundle_id' must not be blank" if OCI::Internal::Util.blank_string?(db_connection_bundle_id) path = '/dbConnectionBundles/{dbConnectionBundleId}'.sub('{dbConnectionBundleId}', db_connection_bundle_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_connection_bundle') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbConnectionBundle' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_home(db_home_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_home API.
Gets information about the specified Database Home.
13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 |
# File 'lib/oci/database/database_client.rb', line 13774 def get_db_home(db_home_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_home.' if logger raise "Missing the required parameter 'db_home_id' when calling get_db_home." if db_home_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_home') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbHome' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_home_patch(db_home_id, patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_home_patch API.
Gets information about a specified patch package.
13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 |
# File 'lib/oci/database/database_client.rb', line 13830 def get_db_home_patch(db_home_id, patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_home_patch.' if logger raise "Missing the required parameter 'db_home_id' when calling get_db_home_patch." if db_home_id.nil? raise "Missing the required parameter 'patch_id' when calling get_db_home_patch." if patch_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) raise "Parameter value for 'patch_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_id) path = '/dbHomes/{dbHomeId}/patches/{patchId}'.sub('{dbHomeId}', db_home_id.to_s).sub('{patchId}', patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_home_patch') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Patch' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_home_patch_history_entry(db_home_id, patch_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_home_patch_history_entry API.
Gets the patch history details for the specified patchHistoryEntryId
13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 |
# File 'lib/oci/database/database_client.rb', line 13888 def get_db_home_patch_history_entry(db_home_id, patch_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_home_patch_history_entry.' if logger raise "Missing the required parameter 'db_home_id' when calling get_db_home_patch_history_entry." if db_home_id.nil? raise "Missing the required parameter 'patch_history_entry_id' when calling get_db_home_patch_history_entry." if patch_history_entry_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) raise "Parameter value for 'patch_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_history_entry_id) path = '/dbHomes/{dbHomeId}/patchHistoryEntries/{patchHistoryEntryId}'.sub('{dbHomeId}', db_home_id.to_s).sub('{patchHistoryEntryId}', patch_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_home_patch_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PatchHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_node(db_node_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_node API.
Gets information about the specified database node.
13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 |
# File 'lib/oci/database/database_client.rb', line 13944 def get_db_node(db_node_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_node.' if logger raise "Missing the required parameter 'db_node_id' when calling get_db_node." if db_node_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_node') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbNode' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_server(exadata_infrastructure_id, db_server_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_server API.
Gets information about the Exadata Db server.
14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 |
# File 'lib/oci/database/database_client.rb', line 14001 def get_db_server(exadata_infrastructure_id, db_server_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_server.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling get_db_server." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'db_server_id' when calling get_db_server." if db_server_id.nil? raise "Parameter value for 'db_server_id' must not be blank" if OCI::Internal::Util.blank_string?(db_server_id) path = '/dbServers/{dbServerId}'.sub('{dbServerId}', db_server_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:exadataInfrastructureId] = exadata_infrastructure_id # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_server') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbServer' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_system(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_system API.
Gets information about the specified DB system.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 |
# File 'lib/oci/database/database_client.rb', line 14062 def get_db_system(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_system.' if logger raise "Missing the required parameter 'db_system_id' when calling get_db_system." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_system') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystem' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_system_os_patch_history_entry(db_system_id, os_patch_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_system_os_patch_history_entry API.
Gets the details of the specified OS patch action for the specified DB system.
14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 |
# File 'lib/oci/database/database_client.rb', line 14119 def get_db_system_os_patch_history_entry(db_system_id, os_patch_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_system_os_patch_history_entry.' if logger raise "Missing the required parameter 'db_system_id' when calling get_db_system_os_patch_history_entry." if db_system_id.nil? raise "Missing the required parameter 'os_patch_history_entry_id' when calling get_db_system_os_patch_history_entry." if os_patch_history_entry_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) raise "Parameter value for 'os_patch_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(os_patch_history_entry_id) path = '/dbSystems/{dbSystemId}/osPatchHistoryEntries/{osPatchHistoryEntryId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{osPatchHistoryEntryId}', os_patch_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_system_os_patch_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystemOsPatchHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_system_patch(db_system_id, patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_system_patch API.
Gets information the specified patch.
14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 |
# File 'lib/oci/database/database_client.rb', line 14177 def get_db_system_patch(db_system_id, patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_system_patch.' if logger raise "Missing the required parameter 'db_system_id' when calling get_db_system_patch." if db_system_id.nil? raise "Missing the required parameter 'patch_id' when calling get_db_system_patch." if patch_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) raise "Parameter value for 'patch_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_id) path = '/dbSystems/{dbSystemId}/patches/{patchId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{patchId}', patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_system_patch') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Patch' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_system_patch_history_entry(db_system_id, patch_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_system_patch_history_entry API.
Gets the details of the specified patch operation on the specified DB system.
14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 |
# File 'lib/oci/database/database_client.rb', line 14235 def get_db_system_patch_history_entry(db_system_id, patch_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_system_patch_history_entry.' if logger raise "Missing the required parameter 'db_system_id' when calling get_db_system_patch_history_entry." if db_system_id.nil? raise "Missing the required parameter 'patch_history_entry_id' when calling get_db_system_patch_history_entry." if patch_history_entry_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) raise "Parameter value for 'patch_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_history_entry_id) path = '/dbSystems/{dbSystemId}/patchHistoryEntries/{patchHistoryEntryId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{patchHistoryEntryId}', patch_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_system_patch_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PatchHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_db_system_upgrade_history_entry(db_system_id, upgrade_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_db_system_upgrade_history_entry API.
Gets the details of the specified operating system upgrade operation for the specified DB system.
14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 |
# File 'lib/oci/database/database_client.rb', line 14294 def get_db_system_upgrade_history_entry(db_system_id, upgrade_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_db_system_upgrade_history_entry.' if logger raise "Missing the required parameter 'db_system_id' when calling get_db_system_upgrade_history_entry." if db_system_id.nil? raise "Missing the required parameter 'upgrade_history_entry_id' when calling get_db_system_upgrade_history_entry." if upgrade_history_entry_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) raise "Parameter value for 'upgrade_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(upgrade_history_entry_id) path = '/dbSystems/{dbSystemId}/upgradeHistoryEntries/{upgradeHistoryEntryId}'.sub('{dbSystemId}', db_system_id.to_s).sub('{upgradeHistoryEntryId}', upgrade_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_db_system_upgrade_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystemUpgradeHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_dbnode_snapshot(dbnode_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_dbnode_snapshot API.
Gets information about the specified Exadata Database Node Snapshot in the specified compartment.
14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 |
# File 'lib/oci/database/database_client.rb', line 14352 def get_dbnode_snapshot(dbnode_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_dbnode_snapshot.' if logger raise "Missing the required parameter 'dbnode_snapshot_id' when calling get_dbnode_snapshot." if dbnode_snapshot_id.nil? raise "Parameter value for 'dbnode_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(dbnode_snapshot_id) path = '/dbnodeSnapshots/{dbnodeSnapshotId}'.sub('{dbnodeSnapshotId}', dbnode_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_dbnode_snapshot') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbnodeSnapshot' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadata_infrastructure(exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadata_infrastructure API.
Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only. To get information on an Exadata Cloud Service infrastructure resource, use the get_cloud_exadata_infrastructure operation.
14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 |
# File 'lib/oci/database/database_client.rb', line 14411 def get_exadata_infrastructure(exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling get_exadata_infrastructure." if exadata_infrastructure_id.nil? excluded_fields_allowable_values = %w[multiRackConfigurationFile] if opts[:excluded_fields] && !opts[:excluded_fields].empty? opts[:excluded_fields].each do |val_to_check| unless excluded_fields_allowable_values.include?(val_to_check) raise 'Invalid value for "excluded_fields", must be one of multiRackConfigurationFile.' end end end raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:excludedFields] = OCI::ApiClient.build_collection_params(opts[:excluded_fields], :multi) if opts[:excluded_fields] && !opts[:excluded_fields].empty? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadata_infrastructure') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadata_infrastructure_ocpus(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadata_infrastructure_ocpus API.
Gets details of the available and consumed OCPUs for the specified Autonomous Exadata Infrastructure resource.
14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 |
# File 'lib/oci/database/database_client.rb', line 14478 def get_exadata_infrastructure_ocpus(autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadata_infrastructure_ocpus.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling get_exadata_infrastructure_ocpus." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/ocpus'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadata_infrastructure_ocpus') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::OCPUs' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadata_infrastructure_un_allocated_resources(exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadata_infrastructure_un_allocated_resources API.
Gets un allocated resources information for the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 |
# File 'lib/oci/database/database_client.rb', line 14535 def get_exadata_infrastructure_un_allocated_resources(exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadata_infrastructure_un_allocated_resources.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling get_exadata_infrastructure_un_allocated_resources." if exadata_infrastructure_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/unAllocatedResources'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:dbServers] = OCI::ApiClient.build_collection_params(opts[:db_servers], :multi) if opts[:db_servers] && !opts[:db_servers].empty? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadata_infrastructure_un_allocated_resources') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructureUnAllocatedResources' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadata_iorm_config(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadata_iorm_config API.
Gets the IORM configuration settings for the specified cloud Exadata DB system. All Exadata service instances have default IORM settings.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
The get_cloud_vm_cluster_iorm_config API is used for this operation with Exadata systems using the new resource model.
14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 |
# File 'lib/oci/database/database_client.rb', line 14600 def get_exadata_iorm_config(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadata_iorm_config.' if logger raise "Missing the required parameter 'db_system_id' when calling get_exadata_iorm_config." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/ExadataIormConfig'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadata_iorm_config') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataIormConfig' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadb_vm_cluster API.
Gets information about the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.
14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 |
# File 'lib/oci/database/database_client.rb', line 14656 def get_exadb_vm_cluster(exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadb_vm_cluster.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling get_exadb_vm_cluster." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadb_vm_cluster') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadb_vm_cluster_update(exadb_vm_cluster_id, update_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadb_vm_cluster_update API.
Gets information about a specified maintenance update package for a Exadata VM cluster on Exascale Infrastructure.
14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 |
# File 'lib/oci/database/database_client.rb', line 14713 def get_exadb_vm_cluster_update(exadb_vm_cluster_id, update_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadb_vm_cluster_update.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling get_exadb_vm_cluster_update." if exadb_vm_cluster_id.nil? raise "Missing the required parameter 'update_id' when calling get_exadb_vm_cluster_update." if update_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) raise "Parameter value for 'update_id' must not be blank" if OCI::Internal::Util.blank_string?(update_id) path = '/exadbVmClusters/{exadbVmClusterId}/updates/{updateId}'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s).sub('{updateId}', update_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadb_vm_cluster_update') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmClusterUpdate' ) end # rubocop:enable Metrics/BlockLength end |
#get_exadb_vm_cluster_update_history_entry(exadb_vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exadb_vm_cluster_update_history_entry API.
Gets the maintenance update history details for the specified update history entry.
14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 |
# File 'lib/oci/database/database_client.rb', line 14772 def get_exadb_vm_cluster_update_history_entry(exadb_vm_cluster_id, update_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exadb_vm_cluster_update_history_entry.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling get_exadb_vm_cluster_update_history_entry." if exadb_vm_cluster_id.nil? raise "Missing the required parameter 'update_history_entry_id' when calling get_exadb_vm_cluster_update_history_entry." if update_history_entry_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) raise "Parameter value for 'update_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(update_history_entry_id) path = '/exadbVmClusters/{exadbVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s).sub('{updateHistoryEntryId}', update_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exadb_vm_cluster_update_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmClusterUpdateHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_exascale_db_storage_vault API.
Gets information about the specified Exadata Database Storage Vaults in the specified compartment.
14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 |
# File 'lib/oci/database/database_client.rb', line 14830 def get_exascale_db_storage_vault(exascale_db_storage_vault_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_exascale_db_storage_vault.' if logger raise "Missing the required parameter 'exascale_db_storage_vault_id' when calling get_exascale_db_storage_vault." if exascale_db_storage_vault_id.nil? raise "Parameter value for 'exascale_db_storage_vault_id' must not be blank" if OCI::Internal::Util.blank_string?(exascale_db_storage_vault_id) path = '/exascaleDbStorageVaults/{exascaleDbStorageVaultId}'.sub('{exascaleDbStorageVaultId}', exascale_db_storage_vault_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_exascale_db_storage_vault') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExascaleDbStorageVault' ) end # rubocop:enable Metrics/BlockLength end |
#get_execution_action(execution_action_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_execution_action API.
Gets information about the specified execution action.
14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 |
# File 'lib/oci/database/database_client.rb', line 14886 def get_execution_action(execution_action_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_execution_action.' if logger raise "Missing the required parameter 'execution_action_id' when calling get_execution_action." if execution_action_id.nil? raise "Parameter value for 'execution_action_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_action_id) path = '/executionActions/{executionActionId}'.sub('{executionActionId}', execution_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_execution_action') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionAction' ) end # rubocop:enable Metrics/BlockLength end |
#get_execution_window(execution_window_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_execution_window API.
Gets information about the specified execution window.
14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 |
# File 'lib/oci/database/database_client.rb', line 14942 def get_execution_window(execution_window_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_execution_window.' if logger raise "Missing the required parameter 'execution_window_id' when calling get_execution_window." if execution_window_id.nil? raise "Parameter value for 'execution_window_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_window_id) path = '/executionWindows/{executionWindowId}'.sub('{executionWindowId}', execution_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_execution_window') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionWindow' ) end # rubocop:enable Metrics/BlockLength end |
#get_external_backup_job(backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_external_backup_job API.
Gets information about the specified external backup job.
Note: This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 |
# File 'lib/oci/database/database_client.rb', line 14999 def get_external_backup_job(backup_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_external_backup_job.' if logger raise "Missing the required parameter 'backup_id' when calling get_external_backup_job." if backup_id.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/externalBackupJobs/{backupId}'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_external_backup_job') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalBackupJob' ) end # rubocop:enable Metrics/BlockLength end |
#get_external_container_database(external_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_external_container_database API.
Gets information about the specified external container database.
15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 |
# File 'lib/oci/database/database_client.rb', line 15054 def get_external_container_database(external_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_external_container_database.' if logger raise "Missing the required parameter 'external_container_database_id' when calling get_external_container_database." if external_container_database_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_external_container_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_external_database_connector(external_database_connector_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_external_database_connector API.
Gets information about the specified external database connector.
15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 |
# File 'lib/oci/database/database_client.rb', line 15111 def get_external_database_connector(external_database_connector_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_external_database_connector.' if logger raise "Missing the required parameter 'external_database_connector_id' when calling get_external_database_connector." if external_database_connector_id.nil? raise "Parameter value for 'external_database_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(external_database_connector_id) path = '/externaldatabaseconnectors/{externalDatabaseConnectorId}'.sub('{externalDatabaseConnectorId}', external_database_connector_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_external_database_connector') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalDatabaseConnector' ) end # rubocop:enable Metrics/BlockLength end |
#get_external_non_container_database(external_non_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_external_non_container_database API.
Gets information about a specific external non-container database.
15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 |
# File 'lib/oci/database/database_client.rb', line 15166 def get_external_non_container_database(external_non_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_external_non_container_database.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling get_external_non_container_database." if external_non_container_database_id.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_external_non_container_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalNonContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_external_pluggable_database(external_pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_external_pluggable_database API.
Gets information about a specific create_external_pluggable_database_details resource.
15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 |
# File 'lib/oci/database/database_client.rb', line 15223 def get_external_pluggable_database(external_pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_external_pluggable_database.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling get_external_pluggable_database." if external_pluggable_database_id.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_external_pluggable_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalPluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_infrastructure_target_versions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_infrastructure_target_versions API.
Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates. Applies to Exadata Cloud@Customer and Exadata Cloud instances only.
15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 |
# File 'lib/oci/database/database_client.rb', line 15282 def get_infrastructure_target_versions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_infrastructure_target_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling get_infrastructure_target_versions." if compartment_id.nil? if opts[:target_resource_type] && !OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.include?(opts[:target_resource_type]) raise 'Invalid value for "target_resource_type", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.' end path = '/infrastructureTargetVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:targetResourceId] = opts[:target_resource_id] if opts[:target_resource_id] query_params[:targetResourceType] = opts[:target_resource_type] if opts[:target_resource_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_infrastructure_target_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::InfrastructureTargetVersion' ) end # rubocop:enable Metrics/BlockLength end |
#get_key_store(key_store_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_key_store API.
Gets information about the specified key store.
15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 |
# File 'lib/oci/database/database_client.rb', line 15344 def get_key_store(key_store_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_key_store.' if logger raise "Missing the required parameter 'key_store_id' when calling get_key_store." if key_store_id.nil? raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id) path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_key_store') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::KeyStore' ) end # rubocop:enable Metrics/BlockLength end |
#get_maintenance_run(maintenance_run_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_maintenance_run API.
Gets information about the specified maintenance run.
15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 |
# File 'lib/oci/database/database_client.rb', line 15398 def get_maintenance_run(maintenance_run_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_maintenance_run.' if logger raise "Missing the required parameter 'maintenance_run_id' when calling get_maintenance_run." if maintenance_run_id.nil? raise "Parameter value for 'maintenance_run_id' must not be blank" if OCI::Internal::Util.blank_string?(maintenance_run_id) path = '/maintenanceRuns/{maintenanceRunId}'.sub('{maintenanceRunId}', maintenance_run_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_maintenance_run') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::MaintenanceRun' ) end # rubocop:enable Metrics/BlockLength end |
#get_maintenance_run_history(maintenance_run_history_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_maintenance_run_history API.
Gets information about the specified maintenance run history.
15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 |
# File 'lib/oci/database/database_client.rb', line 15452 def get_maintenance_run_history(maintenance_run_history_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_maintenance_run_history.' if logger raise "Missing the required parameter 'maintenance_run_history_id' when calling get_maintenance_run_history." if maintenance_run_history_id.nil? raise "Parameter value for 'maintenance_run_history_id' must not be blank" if OCI::Internal::Util.blank_string?(maintenance_run_history_id) path = '/maintenanceRunHistory/{maintenanceRunHistoryId}'.sub('{maintenanceRunHistoryId}', maintenance_run_history_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_maintenance_run_history') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::MaintenanceRunHistory' ) end # rubocop:enable Metrics/BlockLength end |
#get_oneoff_patch(oneoff_patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_oneoff_patch API.
Gets information about the specified one-off patch.
15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 |
# File 'lib/oci/database/database_client.rb', line 15508 def get_oneoff_patch(oneoff_patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_oneoff_patch.' if logger raise "Missing the required parameter 'oneoff_patch_id' when calling get_oneoff_patch." if oneoff_patch_id.nil? raise "Parameter value for 'oneoff_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(oneoff_patch_id) path = '/oneoffPatches/{oneoffPatchId}'.sub('{oneoffPatchId}', oneoff_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_oneoff_patch') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::OneoffPatch' ) end # rubocop:enable Metrics/BlockLength end |
#get_pdb_conversion_history_entry(database_id, pdb_conversion_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_pdb_conversion_history_entry API.
Gets the details of operations performed to convert the specified database from non-container (non-CDB) to pluggable (PDB).
15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 |
# File 'lib/oci/database/database_client.rb', line 15565 def get_pdb_conversion_history_entry(database_id, pdb_conversion_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_pdb_conversion_history_entry.' if logger raise "Missing the required parameter 'database_id' when calling get_pdb_conversion_history_entry." if database_id.nil? raise "Missing the required parameter 'pdb_conversion_history_entry_id' when calling get_pdb_conversion_history_entry." if pdb_conversion_history_entry_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'pdb_conversion_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(pdb_conversion_history_entry_id) path = '/databases/{databaseId}/pdbConversionHistoryEntries/{pdbConversionHistoryEntryId}'.sub('{databaseId}', database_id.to_s).sub('{pdbConversionHistoryEntryId}', pdb_conversion_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_pdb_conversion_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PdbConversionHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_pluggable_database API.
Gets information about the specified pluggable database.
15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 |
# File 'lib/oci/database/database_client.rb', line 15621 def get_pluggable_database(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling get_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_pluggable_database') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#get_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_pluggable_database_snapshot API.
Gets information about the specified Exadata Pluggable Database Snapshot in the specified compartment.
15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 |
# File 'lib/oci/database/database_client.rb', line 15677 def get_pluggable_database_snapshot(pluggable_database_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_pluggable_database_snapshot.' if logger raise "Missing the required parameter 'pluggable_database_snapshot_id' when calling get_pluggable_database_snapshot." if pluggable_database_snapshot_id.nil? raise "Parameter value for 'pluggable_database_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_snapshot_id) path = '/pluggableDatabaseSnapshots/{pluggableDatabaseSnapshotId}'.sub('{pluggableDatabaseSnapshotId}', pluggable_database_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_pluggable_database_snapshot') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabaseSnapshot' ) end # rubocop:enable Metrics/BlockLength end |
#get_scheduled_action(scheduled_action_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_scheduled_action API.
Gets information about the specified Scheduled Action.
15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 |
# File 'lib/oci/database/database_client.rb', line 15733 def get_scheduled_action(scheduled_action_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_scheduled_action.' if logger raise "Missing the required parameter 'scheduled_action_id' when calling get_scheduled_action." if scheduled_action_id.nil? raise "Parameter value for 'scheduled_action_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_action_id) path = '/scheduledActions/{scheduledActionId}'.sub('{scheduledActionId}', scheduled_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_scheduled_action') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ScheduledAction' ) end # rubocop:enable Metrics/BlockLength end |
#get_scheduling_plan(scheduling_plan_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_scheduling_plan API.
Gets information about the specified Scheduling Plan.
15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 |
# File 'lib/oci/database/database_client.rb', line 15789 def get_scheduling_plan(scheduling_plan_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_scheduling_plan.' if logger raise "Missing the required parameter 'scheduling_plan_id' when calling get_scheduling_plan." if scheduling_plan_id.nil? raise "Parameter value for 'scheduling_plan_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_plan_id) path = '/schedulingPlans/{schedulingPlanId}'.sub('{schedulingPlanId}', scheduling_plan_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_scheduling_plan') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPlan' ) end # rubocop:enable Metrics/BlockLength end |
#get_scheduling_policy(scheduling_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_scheduling_policy API.
Gets information about the specified Scheduling Policy.
15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 |
# File 'lib/oci/database/database_client.rb', line 15845 def get_scheduling_policy(scheduling_policy_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_scheduling_policy.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling get_scheduling_policy." if scheduling_policy_id.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_scheduling_policy') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#get_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_scheduling_window API.
Gets information about the specified Scheduling Window.
15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 |
# File 'lib/oci/database/database_client.rb', line 15902 def get_scheduling_window(scheduling_policy_id, scheduling_window_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_scheduling_window.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling get_scheduling_window." if scheduling_policy_id.nil? raise "Missing the required parameter 'scheduling_window_id' when calling get_scheduling_window." if scheduling_window_id.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) raise "Parameter value for 'scheduling_window_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_window_id) path = '/schedulingPolicies/{schedulingPolicyId}/schedulingWindows/{schedulingWindowId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s).sub('{schedulingWindowId}', scheduling_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_scheduling_window') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingWindow' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster API.
Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only.
15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 |
# File 'lib/oci/database/database_client.rb', line 15960 def get_vm_cluster(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster_network API.
Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the get_cloud_vm_cluster operation.
16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 |
# File 'lib/oci/database/database_client.rb', line 16018 def get_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling get_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling get_vm_cluster_network." if vm_cluster_network_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_network') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetwork' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster_patch(vm_cluster_id, patch_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster_patch API.
Gets information about a specified patch package.
16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 |
# File 'lib/oci/database/database_client.rb', line 16076 def get_vm_cluster_patch(vm_cluster_id, patch_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster_patch.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_patch." if vm_cluster_id.nil? raise "Missing the required parameter 'patch_id' when calling get_vm_cluster_patch." if patch_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) raise "Parameter value for 'patch_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_id) path = '/vmClusters/{vmClusterId}/patches/{patchId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{patchId}', patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_patch') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Patch' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster_patch_history_entry(vm_cluster_id, patch_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster_patch_history_entry API.
Gets the patch history details for the specified patch history entry.
16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 |
# File 'lib/oci/database/database_client.rb', line 16134 def get_vm_cluster_patch_history_entry(vm_cluster_id, patch_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster_patch_history_entry.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_patch_history_entry." if vm_cluster_id.nil? raise "Missing the required parameter 'patch_history_entry_id' when calling get_vm_cluster_patch_history_entry." if patch_history_entry_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) raise "Parameter value for 'patch_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(patch_history_entry_id) path = '/vmClusters/{vmClusterId}/patchHistoryEntries/{patchHistoryEntryId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{patchHistoryEntryId}', patch_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_patch_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PatchHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster_update(vm_cluster_id, update_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster_update API.
Gets information about a specified maintenance update package for a VM cluster. Applies to Exadata Cloud@Customer instances only.
16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 |
# File 'lib/oci/database/database_client.rb', line 16193 def get_vm_cluster_update(vm_cluster_id, update_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster_update.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_update." if vm_cluster_id.nil? raise "Missing the required parameter 'update_id' when calling get_vm_cluster_update." if update_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) raise "Parameter value for 'update_id' must not be blank" if OCI::Internal::Util.blank_string?(update_id) path = '/vmClusters/{vmClusterId}/updates/{updateId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{updateId}', update_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_update') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterUpdate' ) end # rubocop:enable Metrics/BlockLength end |
#get_vm_cluster_update_history_entry(vm_cluster_id, update_history_entry_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_vm_cluster_update_history_entry API.
Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud@Customer instances only.
16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 |
# File 'lib/oci/database/database_client.rb', line 16252 def get_vm_cluster_update_history_entry(vm_cluster_id, update_history_entry_id, opts = {}) logger.debug 'Calling operation DatabaseClient#get_vm_cluster_update_history_entry.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_update_history_entry." if vm_cluster_id.nil? raise "Missing the required parameter 'update_history_entry_id' when calling get_vm_cluster_update_history_entry." if update_history_entry_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) raise "Parameter value for 'update_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(update_history_entry_id) path = '/vmClusters/{vmClusterId}/updateHistoryEntries/{updateHistoryEntryId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{updateHistoryEntryId}', update_history_entry_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_update_history_entry') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterUpdateHistoryEntry' ) end # rubocop:enable Metrics/BlockLength end |
#import_transportable_tablespace(autonomous_database_id, import_transportable_tablespace_details, opts = {}) ⇒ Response
Click here to see an example of how to use import_transportable_tablespace API.
Imports transportable tablespace for the specified Autonomous AI Database.
16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 |
# File 'lib/oci/database/database_client.rb', line 16324 def import_transportable_tablespace(autonomous_database_id, import_transportable_tablespace_details, opts = {}) logger.debug 'Calling operation DatabaseClient#import_transportable_tablespace.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling import_transportable_tablespace." if autonomous_database_id.nil? raise "Missing the required parameter 'import_transportable_tablespace_details' when calling import_transportable_tablespace." if import_transportable_tablespace_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/importTransportableTablespace'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(import_transportable_tablespace_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#import_transportable_tablespace') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#launch_autonomous_exadata_infrastructure(launch_autonomous_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use launch_autonomous_exadata_infrastructure API.
Deprecated To create a new Autonomous AI Database system on dedicated Exadata Infrastructure, use the create_cloud_exadata_infrastructure and create_cloud_autonomous_vm_cluster operations instead. Note that to create an Autonomous VM cluster, you must have an existing Exadata Infrastructure resource to contain the VM cluster.
16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 |
# File 'lib/oci/database/database_client.rb', line 16390 def launch_autonomous_exadata_infrastructure(launch_autonomous_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#launch_autonomous_exadata_infrastructure.' if logger raise "Missing the required parameter 'launch_autonomous_exadata_infrastructure_details' when calling launch_autonomous_exadata_infrastructure." if launch_autonomous_exadata_infrastructure_details.nil? path = '/autonomousExadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(launch_autonomous_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#launch_autonomous_exadata_infrastructure') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#launch_db_system(launch_db_system_details, opts = {}) ⇒ Response
Click here to see an example of how to use launch_db_system API.
Creates a new DB system in the specified compartment and availability domain. The Oracle Database edition that you specify applies to all the databases on that DB system. The selected edition cannot be changed.
An initial database is created on the DB system based on the request parameters you provide and some default options. For detailed information about default options, see Bare metal and virtual machine DB system default options.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
Use the create_cloud_exadata_infrastructure and create_cloud_vm_cluster APIs to provision a new Exadata Cloud Service instance.
16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 |
# File 'lib/oci/database/database_client.rb', line 16468 def launch_db_system(launch_db_system_details, opts = {}) logger.debug 'Calling operation DatabaseClient#launch_db_system.' if logger raise "Missing the required parameter 'launch_db_system_details' when calling launch_db_system." if launch_db_system_details.nil? path = '/dbSystems' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(launch_db_system_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#launch_db_system') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystem' ) end # rubocop:enable Metrics/BlockLength end |
#list_advanced_cluster_file_systems(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_advanced_cluster_file_systems API.
Lists the advanced cluster file system resources in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 |
# File 'lib/oci/database/database_client.rb', line 16536 def list_advanced_cluster_file_systems(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_advanced_cluster_file_systems.' if logger raise "Missing the required parameter 'compartment_id' when calling list_advanced_cluster_file_systems." if compartment_id.nil? if opts[:lifecycle_state] && !OCI::Database::Models::AdvancedClusterFileSystem::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AdvancedClusterFileSystem::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/advancedClusterFileSystems' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:vmClusterId] = opts[:vm_cluster_id] if opts[:vm_cluster_id] query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:name] = opts[:name] if opts[:name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_advanced_cluster_file_systems') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystemCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_application_vips(compartment_id, cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_application_vips API.
Gets a list of application virtual IP (VIP) addresses on a cloud VM cluster.
16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 |
# File 'lib/oci/database/database_client.rb', line 16624 def list_application_vips(compartment_id, cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_application_vips.' if logger raise "Missing the required parameter 'compartment_id' when calling list_application_vips." if compartment_id.nil? raise "Missing the required parameter 'cloud_vm_cluster_id' when calling list_application_vips." if cloud_vm_cluster_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[DISPLAYNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, TIMECREATED.' end if opts[:lifecycle_state] && !OCI::Database::Models::ApplicationVipSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ApplicationVipSummary::LIFECYCLE_STATE_ENUM.' end path = '/applicationVip' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:cloudVmClusterId] = cloud_vm_cluster_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_application_vips') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ApplicationVipSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_container_database_backups(opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_container_database_backups API.
Gets a list of Autonomous Container Database backups by using either the 'autonomousDatabaseId' or 'compartmentId' as your query parameter.
16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 |
# File 'lib/oci/database/database_client.rb', line 16713 def list_autonomous_container_database_backups(opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_container_database_backups.' if logger if opts[:infrastructure_type] && !OCI::Database::Models::AutonomousContainerDatabaseBackupSummary::INFRASTRUCTURE_TYPE_ENUM.include?(opts[:infrastructure_type]) raise 'Invalid value for "infrastructure_type", must be one of the values in OCI::Database::Models::AutonomousContainerDatabaseBackupSummary::INFRASTRUCTURE_TYPE_ENUM.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousContainerDatabaseBackupSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousContainerDatabaseBackupSummary::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/autonomousContainerDatabaseBackups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:autonomousContainerDatabaseId] = opts[:autonomous_container_database_id] if opts[:autonomous_container_database_id] query_params[:isRemote] = opts[:is_remote] if !opts[:is_remote].nil? query_params[:infrastructureType] = opts[:infrastructure_type] if opts[:infrastructure_type] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_container_database_backups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseBackupCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_container_database_dataguard_associations(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_container_database_dataguard_associations API.
Deprecated. Use the list_autonomous_container_databases operation to get a list of the Autonomous Container Databases (ACDs)with Autonomous Data Guard-enabled associated with the specified ACD.
16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 |
# File 'lib/oci/database/database_client.rb', line 16793 def list_autonomous_container_database_dataguard_associations(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_container_database_dataguard_associations.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling list_autonomous_container_database_dataguard_associations." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_container_database_dataguard_associations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_container_database_versions(compartment_id, service_component, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_container_database_versions API.
Gets a list of supported Autonomous Container Database versions.
16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 |
# File 'lib/oci/database/database_client.rb', line 16855 def list_autonomous_container_database_versions(compartment_id, service_component, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_container_database_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_container_database_versions." if compartment_id.nil? raise "Missing the required parameter 'service_component' when calling list_autonomous_container_database_versions." if service_component.nil? unless %w[ADBD EXACC].include?(service_component) raise "Invalid value for 'service_component', must be one of ADBD, EXACC." end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/autonomousContainerDatabaseVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:serviceComponent] = service_component query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_container_database_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_container_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_container_databases API.
Gets a list of the Autonomous Container Databases in the specified compartment.
16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 |
# File 'lib/oci/database/database_client.rb', line 16938 def list_autonomous_container_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_container_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_container_databases." if compartment_id.nil? if opts[:infrastructure_type] && !OCI::Database::Models::AutonomousContainerDatabaseSummary::INFRASTRUCTURE_TYPE_ENUM.include?(opts[:infrastructure_type]) raise 'Invalid value for "infrastructure_type", must be one of the values in OCI::Database::Models::AutonomousContainerDatabaseSummary::INFRASTRUCTURE_TYPE_ENUM.' end if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousContainerDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousContainerDatabaseSummary::LIFECYCLE_STATE_ENUM.' end path = '/autonomousContainerDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:autonomousExadataInfrastructureId] = opts[:autonomous_exadata_infrastructure_id] if opts[:autonomous_exadata_infrastructure_id] query_params[:autonomousVmClusterId] = opts[:autonomous_vm_cluster_id] if opts[:autonomous_vm_cluster_id] query_params[:infrastructureType] = opts[:infrastructure_type] if opts[:infrastructure_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:serviceLevelAgreementType] = opts[:service_level_agreement_type] if opts[:service_level_agreement_type] query_params[:cloudAutonomousVmClusterId] = opts[:cloud_autonomous_vm_cluster_id] if opts[:cloud_autonomous_vm_cluster_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_container_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_backups(opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_backups API.
Gets a list of Autonomous AI Database backups based on either the autonomousDatabaseId or compartmentId specified as a query parameter.
17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 |
# File 'lib/oci/database/database_client.rb', line 17037 def list_autonomous_database_backups(opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_backups.' if logger if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDatabaseBackupSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDatabaseBackupSummary::LIFECYCLE_STATE_ENUM.' end if opts[:infrastructure_type] && !OCI::Database::Models::AutonomousDatabaseBackupSummary::INFRASTRUCTURE_TYPE_ENUM.include?(opts[:infrastructure_type]) raise 'Invalid value for "infrastructure_type", must be one of the values in OCI::Database::Models::AutonomousDatabaseBackupSummary::INFRASTRUCTURE_TYPE_ENUM.' end path = '/autonomousDatabaseBackups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:autonomousDatabaseId] = opts[:autonomous_database_id] if opts[:autonomous_database_id] query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:type] = opts[:type] if opts[:type] query_params[:backupDestinationId] = opts[:backup_destination_id] if opts[:backup_destination_id] query_params[:keyStoreId] = opts[:key_store_id] if opts[:key_store_id] query_params[:infrastructureType] = opts[:infrastructure_type] if opts[:infrastructure_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_backups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDatabaseBackupSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_character_sets(opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_character_sets API.
Gets a list of supported character sets. Allowed values are: DATABASE, NATIONAL
17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 |
# File 'lib/oci/database/database_client.rb', line 17124 def list_autonomous_database_character_sets(opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_character_sets.' if logger if opts[:character_set_type] && !%w[DATABASE NATIONAL].include?(opts[:character_set_type]) raise 'Invalid value for "character_set_type", must be one of DATABASE, NATIONAL.' end path = '/autonomousDatabaseCharacterSets' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:isShared] = opts[:is_shared] if !opts[:is_shared].nil? query_params[:isDedicated] = opts[:is_dedicated] if !opts[:is_dedicated].nil? query_params[:characterSetType] = opts[:character_set_type] if opts[:character_set_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_character_sets') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDatabaseCharacterSets>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_clones(compartment_id, autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_clones API.
Lists the Autonomous AI Database clones for the specified Autonomous AI Database.
17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 |
# File 'lib/oci/database/database_client.rb', line 17199 def list_autonomous_database_clones(compartment_id, autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_clones.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_database_clones." if compartment_id.nil? raise "Missing the required parameter 'autonomous_database_id' when calling list_autonomous_database_clones." if autonomous_database_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[NONE TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of NONE, TIMECREATED, DISPLAYNAME.' end if opts[:clone_type] && !%w[REFRESHABLE_CLONE].include?(opts[:clone_type]) raise 'Invalid value for "clone_type", must be one of REFRESHABLE_CLONE.' end raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/clones'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:cloneType] = opts[:clone_type] if opts[:clone_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_clones') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_dataguard_associations(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_dataguard_associations API.
Deprecated. Use the get_autonomous_container_database operation to get a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous AI Database.
17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 |
# File 'lib/oci/database/database_client.rb', line 17280 def list_autonomous_database_dataguard_associations(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_dataguard_associations.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling list_autonomous_database_dataguard_associations." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_dataguard_associations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDatabaseDataguardAssociation>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_peers(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_peers API.
Lists the Autonomous AI Database peers for the specified Autonomous AI Database.
17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 |
# File 'lib/oci/database/database_client.rb', line 17339 def list_autonomous_database_peers(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_peers.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling list_autonomous_database_peers." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/peers'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_peers') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabasePeerCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_refreshable_clones(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_refreshable_clones API.
Lists the OCIDs of the Autonomous AI Database local and connected remote refreshable clones with the region where they exist for the specified source database.
17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 |
# File 'lib/oci/database/database_client.rb', line 17399 def list_autonomous_database_refreshable_clones(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_refreshable_clones.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling list_autonomous_database_refreshable_clones." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/refreshableClones'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_refreshable_clones') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::RefreshableCloneCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_database_software_images(compartment_id, image_shape_family, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_database_software_images API.
Gets a list of the Autonomous AI Database Software Images in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 |
# File 'lib/oci/database/database_client.rb', line 17467 def list_autonomous_database_software_images(compartment_id, image_shape_family, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_database_software_images.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_database_software_images." if compartment_id.nil? raise "Missing the required parameter 'image_shape_family' when calling list_autonomous_database_software_images." if image_shape_family.nil? unless OCI::Database::Models::AutonomousDatabaseSoftwareImage::IMAGE_SHAPE_FAMILY_ENUM.include?(image_shape_family) raise 'Invalid value for "image_shape_family", must be one of the values in OCI::Database::Models::AutonomousDatabaseSoftwareImage::IMAGE_SHAPE_FAMILY_ENUM.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDatabaseSoftwareImage::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDatabaseSoftwareImage::LIFECYCLE_STATE_ENUM.' end path = '/autonomousDatabaseSoftwareImages' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:imageShapeFamily] = image_shape_family query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_software_images') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseSoftwareImageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_databases API.
Gets a list of Autonomous AI Databases based on the query parameters specified.
17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 |
# File 'lib/oci/database/database_client.rb', line 17573 def list_autonomous_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_databases." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:infrastructure_type] && !OCI::Database::Models::AutonomousDatabaseSummary::INFRASTRUCTURE_TYPE_ENUM.include?(opts[:infrastructure_type]) raise 'Invalid value for "infrastructure_type", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::INFRASTRUCTURE_TYPE_ENUM.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.' end if opts[:lifecycle_state_not_equal_to] && !OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state_not_equal_to]) raise 'Invalid value for "lifecycle_state_not_equal_to", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::LIFECYCLE_STATE_ENUM.' end if opts[:db_workload] && !OCI::Database::Models::AutonomousDatabaseSummary::DB_WORKLOAD_ENUM.include?(opts[:db_workload]) raise 'Invalid value for "db_workload", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::DB_WORKLOAD_ENUM.' end path = '/autonomousDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:autonomousContainerDatabaseId] = opts[:autonomous_container_database_id] if opts[:autonomous_container_database_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:infrastructureType] = opts[:infrastructure_type] if opts[:infrastructure_type] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:lifecycleStateNotEqualTo] = opts[:lifecycle_state_not_equal_to] if opts[:lifecycle_state_not_equal_to] query_params[:dbWorkload] = opts[:db_workload] if opts[:db_workload] query_params[:dbVersion] = opts[:db_version] if opts[:db_version] query_params[:isFreeTier] = opts[:is_free_tier] if !opts[:is_free_tier].nil? query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:isRefreshableClone] = opts[:is_refreshable_clone] if !opts[:is_refreshable_clone].nil? query_params[:isDataGuardEnabled] = opts[:is_data_guard_enabled] if !opts[:is_data_guard_enabled].nil? query_params[:isResourcePoolLeader] = opts[:is_resource_pool_leader] if !opts[:is_resource_pool_leader].nil? query_params[:resourcePoolLeaderId] = opts[:resource_pool_leader_id] if opts[:resource_pool_leader_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_db_preview_versions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_db_preview_versions API.
Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for Autonomous AI Database Serverless (docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.
17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 |
# File 'lib/oci/database/database_client.rb', line 17679 def list_autonomous_db_preview_versions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_db_preview_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_db_preview_versions." if compartment_id.nil? if opts[:sort_by] && !%w[DBWORKLOAD].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DBWORKLOAD.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/autonomousDbPreviewVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_db_preview_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDbPreviewVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_db_versions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_db_versions API.
Gets a list of supported Autonomous AI Database versions.
17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 |
# File 'lib/oci/database/database_client.rb', line 17751 def list_autonomous_db_versions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_db_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_db_versions." if compartment_id.nil? if opts[:db_workload] && !OCI::Database::Models::AutonomousDatabaseSummary::DB_WORKLOAD_ENUM.include?(opts[:db_workload]) raise 'Invalid value for "db_workload", must be one of the values in OCI::Database::Models::AutonomousDatabaseSummary::DB_WORKLOAD_ENUM.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/autonomousDbVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:dbWorkload] = opts[:db_workload] if opts[:db_workload] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_db_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousDbVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_exadata_infrastructure_shapes(availability_domain, compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_exadata_infrastructure_shapes API.
Deprecated.
17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 |
# File 'lib/oci/database/database_client.rb', line 17822 def list_autonomous_exadata_infrastructure_shapes(availability_domain, compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_exadata_infrastructure_shapes.' if logger raise "Missing the required parameter 'availability_domain' when calling list_autonomous_exadata_infrastructure_shapes." if availability_domain.nil? raise "Missing the required parameter 'compartment_id' when calling list_autonomous_exadata_infrastructure_shapes." if compartment_id.nil? path = '/autonomousExadataInfrastructureShapes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:availabilityDomain] = availability_domain query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_exadata_infrastructure_shapes') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousExadataInfrastructureShapeSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_exadata_infrastructures API.
Deprecated. Use the list_cloud_exadata_infrastructures operation to list Exadata Infrastructures in the Oracle cloud and the list_cloud_autonomous_vm_clusters operation to list Autonomous Exadata VM clusters.
Allowed values are: TIMECREATED, DISPLAYNAME
17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 |
# File 'lib/oci/database/database_client.rb', line 17892 def list_autonomous_exadata_infrastructures(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_exadata_infrastructures.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_exadata_infrastructures." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.' end path = '/autonomousExadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_exadata_infrastructures') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousExadataInfrastructureSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_virtual_machines(compartment_id, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_virtual_machines API.
Lists the Autonomous Virtual Machines in the specified Autonomous VM Cluster and Compartment.
17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 |
# File 'lib/oci/database/database_client.rb', line 17970 def list_autonomous_virtual_machines(compartment_id, autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_virtual_machines.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_virtual_machines." if compartment_id.nil? raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling list_autonomous_virtual_machines." if autonomous_vm_cluster_id.nil? if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousVirtualMachineSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousVirtualMachineSummary::LIFECYCLE_STATE_ENUM.' end path = '/autonomousVirtualMachines' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:autonomousVmClusterId] = autonomous_vm_cluster_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_virtual_machines') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousVirtualMachineSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_vm_cluster_acd_resource_usage(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_vm_cluster_acd_resource_usage API.
Gets the list of resource usage details for all the Autonomous Container Database in the specified Autonomous Exadata VM cluster.
18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 |
# File 'lib/oci/database/database_client.rb', line 18038 def list_autonomous_vm_cluster_acd_resource_usage(autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_vm_cluster_acd_resource_usage.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling list_autonomous_vm_cluster_acd_resource_usage." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/acdResourceUsage'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_vm_cluster_acd_resource_usage') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseResourceUsage>' ) end # rubocop:enable Metrics/BlockLength end |
#list_autonomous_vm_clusters(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_autonomous_vm_clusters API.
Gets a list of Exadata Cloud@Customer Autonomous VM clusters in the specified compartment. To list Autonomous VM Clusters in the Oracle Cloud, see list_cloud_autonomous_vm_clusters.
18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 |
# File 'lib/oci/database/database_client.rb', line 18107 def list_autonomous_vm_clusters(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_autonomous_vm_clusters.' if logger raise "Missing the required parameter 'compartment_id' when calling list_autonomous_vm_clusters." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousVmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousVmClusterSummary::LIFECYCLE_STATE_ENUM.' end path = '/autonomousVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:exadataInfrastructureId] = opts[:exadata_infrastructure_id] if opts[:exadata_infrastructure_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_vm_clusters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousVmClusterSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_backup_destination(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_backup_destination API.
Gets a list of backup destinations in the specified compartment.
18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 |
# File 'lib/oci/database/database_client.rb', line 18185 def list_backup_destination(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_backup_destination.' if logger raise "Missing the required parameter 'compartment_id' when calling list_backup_destination." if compartment_id.nil? path = '/backupDestinations' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:type] = opts[:type] if opts[:type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_backup_destination') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::BackupDestinationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_backups(opts = {}) ⇒ Response
Click here to see an example of how to use list_backups API.
Gets a list of backups based on the databaseId or compartmentId specified. Either one of these query parameters must be provided.
18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 |
# File 'lib/oci/database/database_client.rb', line 18253 def list_backups(opts = {}) logger.debug 'Calling operation DatabaseClient#list_backups.' if logger if opts[:shape_family] && !%w[SINGLENODE YODA VIRTUALMACHINE EXADATA EXACC EXADB_XS].include?(opts[:shape_family]) raise 'Invalid value for "shape_family", must be one of SINGLENODE, YODA, VIRTUALMACHINE, EXADATA, EXACC, EXADB_XS.' end if opts[:lifecycle_state] && !OCI::Database::Models::BackupSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::BackupSummary::LIFECYCLE_STATE_ENUM.' end path = '/backups' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:databaseId] = opts[:database_id] if opts[:database_id] query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:shapeFamily] = opts[:shape_family] if opts[:shape_family] query_params[:version] = opts[:version] if opts[:version] query_params[:type] = opts[:type] if opts[:type] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:timeExpiryScheduledGreaterThanOrEqualTo] = opts[:time_expiry_scheduled_greater_than_or_equal_to] if opts[:time_expiry_scheduled_greater_than_or_equal_to] query_params[:timeExpiryScheduledLessThan] = opts[:time_expiry_scheduled_less_than] if opts[:time_expiry_scheduled_less_than] query_params[:backupDestinationType] = opts[:backup_destination_type] if opts[:backup_destination_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_backups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::BackupSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_autonomous_vm_cluster_acd_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_autonomous_vm_cluster_acd_resource_usage API.
Gets the list of resource usage details for all the Cloud Autonomous Container Database in the specified Cloud Autonomous Exadata VM cluster.
18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 |
# File 'lib/oci/database/database_client.rb', line 18329 def list_cloud_autonomous_vm_cluster_acd_resource_usage(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_autonomous_vm_cluster_acd_resource_usage.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling list_cloud_autonomous_vm_cluster_acd_resource_usage." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/acdResourceUsage'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_autonomous_vm_cluster_acd_resource_usage') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseResourceUsage>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_autonomous_vm_clusters(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_autonomous_vm_clusters API.
Lists Autonomous Exadata VM clusters in the Oracle cloud. For Exadata Cloud@Customer systems, see list_autonomous_vm_clusters.
Allowed values are: TIMECREATED, DISPLAYNAME
18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 |
# File 'lib/oci/database/database_client.rb', line 18399 def list_cloud_autonomous_vm_clusters(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_autonomous_vm_clusters.' if logger raise "Missing the required parameter 'compartment_id' when calling list_cloud_autonomous_vm_clusters." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::CloudAutonomousVmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::CloudAutonomousVmClusterSummary::LIFECYCLE_STATE_ENUM.' end path = '/cloudAutonomousVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:cloudExadataInfrastructureId] = opts[:cloud_exadata_infrastructure_id] if opts[:cloud_exadata_infrastructure_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_autonomous_vm_clusters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::CloudAutonomousVmClusterSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_exadata_infrastructures API.
Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 |
# File 'lib/oci/database/database_client.rb', line 18485 def list_cloud_exadata_infrastructures(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_exadata_infrastructures.' if logger raise "Missing the required parameter 'compartment_id' when calling list_cloud_exadata_infrastructures." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::CloudExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::CloudExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.' end path = '/cloudExadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:clusterPlacementGroupId] = opts[:cluster_placement_group_id] if opts[:cluster_placement_group_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_exadata_infrastructures') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::CloudExadataInfrastructureSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_vm_cluster_update_history_entries(cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_vm_cluster_update_history_entries API.
Gets the history of the maintenance update actions performed on the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 |
# File 'lib/oci/database/database_client.rb', line 18564 def list_cloud_vm_cluster_update_history_entries(cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_vm_cluster_update_history_entries.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling list_cloud_vm_cluster_update_history_entries." if cloud_vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/updateHistoryEntries'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_vm_cluster_update_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::UpdateHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_vm_cluster_updates(cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_vm_cluster_updates API.
Lists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 |
# File 'lib/oci/database/database_client.rb', line 18631 def list_cloud_vm_cluster_updates(cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_vm_cluster_updates.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling list_cloud_vm_cluster_updates." if cloud_vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/updates'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_vm_cluster_updates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::UpdateSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_cloud_vm_clusters(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_cloud_vm_clusters API.
Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 |
# File 'lib/oci/database/database_client.rb', line 18705 def list_cloud_vm_clusters(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_cloud_vm_clusters.' if logger raise "Missing the required parameter 'compartment_id' when calling list_cloud_vm_clusters." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::CloudVmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::CloudVmClusterSummary::LIFECYCLE_STATE_ENUM.' end if opts[:vm_cluster_type] && !OCI::Database::Models::CloudVmClusterSummary::VM_CLUSTER_TYPE_ENUM.include?(opts[:vm_cluster_type]) raise 'Invalid value for "vm_cluster_type", must be one of the values in OCI::Database::Models::CloudVmClusterSummary::VM_CLUSTER_TYPE_ENUM.' end path = '/cloudVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:cloudExadataInfrastructureId] = opts[:cloud_exadata_infrastructure_id] if opts[:cloud_exadata_infrastructure_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:vmClusterType] = opts[:vm_cluster_type] if opts[:vm_cluster_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_cloud_vm_clusters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::CloudVmClusterSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_console_connections(db_node_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_console_connections API.
Lists the console connections for the specified database node.
18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 |
# File 'lib/oci/database/database_client.rb', line 18784 def list_console_connections(db_node_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_console_connections.' if logger raise "Missing the required parameter 'db_node_id' when calling list_console_connections." if db_node_id.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}/consoleConnections'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_console_connections') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ConsoleConnectionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_console_histories(db_node_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_console_histories API.
Lists the console histories for the specified database node.
18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 |
# File 'lib/oci/database/database_client.rb', line 18849 def list_console_histories(db_node_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_console_histories.' if logger raise "Missing the required parameter 'db_node_id' when calling list_console_histories." if db_node_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ConsoleHistorySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ConsoleHistorySummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}/consoleHistories'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_console_histories') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleHistoryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_container_database_patches(autonomous_container_database_id, compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_container_database_patches API.
Lists the patches applicable to the requested container database.
Allowed values are: QUARTERLY, TIMEZONE
18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 |
# File 'lib/oci/database/database_client.rb', line 18927 def list_container_database_patches(autonomous_container_database_id, compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_container_database_patches.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling list_container_database_patches." if autonomous_container_database_id.nil? raise "Missing the required parameter 'compartment_id' when calling list_container_database_patches." if compartment_id.nil? if opts[:autonomous_patch_type] && !%w[QUARTERLY TIMEZONE].include?(opts[:autonomous_patch_type]) raise 'Invalid value for "autonomous_patch_type", must be one of QUARTERLY, TIMEZONE.' end raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/patches'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:autonomousPatchType] = opts[:autonomous_patch_type] if opts[:autonomous_patch_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_container_database_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::AutonomousPatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_data_guard_associations(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_data_guard_associations API.
Lists all Data Guard associations for the specified database.
18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 |
# File 'lib/oci/database/database_client.rb', line 18991 def list_data_guard_associations(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_data_guard_associations.' if logger raise "Missing the required parameter 'database_id' when calling list_data_guard_associations." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuardAssociations'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_data_guard_associations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DataGuardAssociationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_database_software_images(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_database_software_images API.
Gets a list of the database software images in the specified compartment.
19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 |
# File 'lib/oci/database/database_client.rb', line 19061 def list_database_software_images(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_database_software_images.' if logger raise "Missing the required parameter 'compartment_id' when calling list_database_software_images." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME PATCHSET].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME, PATCHSET.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DatabaseSoftwareImageSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DatabaseSoftwareImageSummary::LIFECYCLE_STATE_ENUM.' end if opts[:image_type] && !OCI::Database::Models::DatabaseSoftwareImageSummary::IMAGE_TYPE_ENUM.include?(opts[:image_type]) raise 'Invalid value for "image_type", must be one of the values in OCI::Database::Models::DatabaseSoftwareImageSummary::IMAGE_TYPE_ENUM.' end if opts[:image_shape_family] && !OCI::Database::Models::DatabaseSoftwareImageSummary::IMAGE_SHAPE_FAMILY_ENUM.include?(opts[:image_shape_family]) raise 'Invalid value for "image_shape_family", must be one of the values in OCI::Database::Models::DatabaseSoftwareImageSummary::IMAGE_SHAPE_FAMILY_ENUM.' end path = '/databaseSoftwareImages' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:imageType] = opts[:image_type] if opts[:image_type] query_params[:imageShapeFamily] = opts[:image_shape_family] if opts[:image_shape_family] query_params[:patchSetGreaterThanOrEqualTo] = opts[:patch_set_greater_than_or_equal_to] if opts[:patch_set_greater_than_or_equal_to] query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id] query_params[:isUpgradeSupported] = opts[:is_upgrade_supported] if !opts[:is_upgrade_supported].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_database_software_images') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DatabaseSoftwareImageSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_database_upgrade_history_entries(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_database_upgrade_history_entries API.
Gets the upgrade history for a specified database in a bare metal or virtual machine DB system.
Allowed values are: TIMESTARTED
19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 |
# File 'lib/oci/database/database_client.rb', line 19156 def list_database_upgrade_history_entries(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_database_upgrade_history_entries.' if logger raise "Missing the required parameter 'database_id' when calling list_database_upgrade_history_entries." if database_id.nil? if opts[:upgrade_action] && !OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::ACTION_ENUM.include?(opts[:upgrade_action]) raise 'Invalid value for "upgrade_action", must be one of the values in OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::ACTION_ENUM.' end if opts[:lifecycle_state] && !OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[TIMESTARTED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMESTARTED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/upgradeHistoryEntries'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:upgradeAction] = opts[:upgrade_action] if opts[:upgrade_action] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_database_upgrade_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_databases API.
Gets a list of the databases in the specified Database Home.
19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 |
# File 'lib/oci/database/database_client.rb', line 19242 def list_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_databases." if compartment_id.nil? if opts[:sort_by] && !%w[DBNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DBNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DatabaseSummary::LIFECYCLE_STATE_ENUM.' end path = '/databases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:dbHomeId] = opts[:db_home_id] if opts[:db_home_id] query_params[:systemId] = opts[:system_id] if opts[:system_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:dbName] = opts[:db_name] if opts[:db_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_connection_bundles(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_connection_bundles API.
Lists all database connection bundles that match the query parameters.
19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 |
# File 'lib/oci/database/database_client.rb', line 19332 def list_db_connection_bundles(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_connection_bundles.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_connection_bundles." if compartment_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMECREATED TIMEREFRESHED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, TIMEREFRESHED.' end if opts[:lifecycle_state] && !%w[CREATING ACTIVE INACTIVE UPDATING DELETING DELETED FAILED].include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of CREATING, ACTIVE, INACTIVE, UPDATING, DELETING, DELETED, FAILED.' end if opts[:db_connection_bundle_type] && !%w[TLS MTLS].include?(opts[:db_connection_bundle_type]) raise 'Invalid value for "db_connection_bundle_type", must be one of TLS, MTLS.' end path = '/dbConnectionBundles' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:dbConnectionBundleType] = opts[:db_connection_bundle_type] if opts[:db_connection_bundle_type] query_params[:associatedResourceId] = opts[:associated_resource_id] if opts[:associated_resource_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_connection_bundles') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbConnectionBundleSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_home_patch_history_entries(db_home_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_home_patch_history_entries API.
Lists the history of patch operations on the specified Database Home.
19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 |
# File 'lib/oci/database/database_client.rb', line 19412 def list_db_home_patch_history_entries(db_home_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_home_patch_history_entries.' if logger raise "Missing the required parameter 'db_home_id' when calling list_db_home_patch_history_entries." if db_home_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) path = '/dbHomes/{dbHomeId}/patchHistoryEntries'.sub('{dbHomeId}', db_home_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_home_patch_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_home_patches(db_home_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_home_patches API.
Lists patches applicable to the requested Database Home.
19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 |
# File 'lib/oci/database/database_client.rb', line 19469 def list_db_home_patches(db_home_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_home_patches.' if logger raise "Missing the required parameter 'db_home_id' when calling list_db_home_patches." if db_home_id.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) path = '/dbHomes/{dbHomeId}/patches'.sub('{dbHomeId}', db_home_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_home_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_homes(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_homes API.
Lists the Database Homes in the specified DB system and compartment. A Database Home is a directory where Oracle Database software is installed.
19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 |
# File 'lib/oci/database/database_client.rb', line 19536 def list_db_homes(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_homes.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_homes." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbHomeSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbHomeSummary::LIFECYCLE_STATE_ENUM.' end path = '/dbHomes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id] query_params[:vmClusterId] = opts[:vm_cluster_id] if opts[:vm_cluster_id] query_params[:backupId] = opts[:backup_id] if opts[:backup_id] query_params[:dbVersion] = opts[:db_version] if opts[:db_version] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_homes') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbHomeSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_nodes(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_nodes API.
Lists the database nodes in the specified DB system and compartment. In addition to the other required parameters, either '–db-system-id' or '–vm-cluster-id' also must be provided, depending on the service being accessed.
19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 |
# File 'lib/oci/database/database_client.rb', line 19621 def list_db_nodes(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_nodes.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_nodes." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbNodeSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbNodeSummary::LIFECYCLE_STATE_ENUM.' end path = '/dbNodes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id] query_params[:vmClusterId] = opts[:vm_cluster_id] if opts[:vm_cluster_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:dbServerId] = opts[:db_server_id] if opts[:db_server_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_nodes') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbNodeSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_servers(compartment_id, exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_servers API.
Lists the Exadata DB servers in the ExadataInfrastructureId and specified compartment.
19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 |
# File 'lib/oci/database/database_client.rb', line 19705 def list_db_servers(compartment_id, exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_servers.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_servers." if compartment_id.nil? raise "Missing the required parameter 'exadata_infrastructure_id' when calling list_db_servers." if exadata_infrastructure_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbServerSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbServerSummary::LIFECYCLE_STATE_ENUM.' end path = '/dbServers' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:exadataInfrastructureId] = exadata_infrastructure_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_servers') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbServerSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_compute_performances(opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_compute_performances API.
Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration. Adding compartmentId does not affect results.
19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 |
# File 'lib/oci/database/database_client.rb', line 19782 def list_db_system_compute_performances(opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_compute_performances.' if logger path = '/dbSystemComputePerformance' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:dbSystemShape] = opts[:db_system_shape] if opts[:db_system_shape] query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_compute_performances') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemComputePerformanceSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_os_patch_history_entries(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_os_patch_history_entries API.
Gets the history of the OS patch actions performed on the specified DB system.
Allowed values are: TIMESTARTED, ACTION
19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 |
# File 'lib/oci/database/database_client.rb', line 19847 def list_db_system_os_patch_history_entries(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_os_patch_history_entries.' if logger raise "Missing the required parameter 'db_system_id' when calling list_db_system_os_patch_history_entries." if db_system_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMESTARTED ACTION].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMESTARTED, ACTION.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbSystemOsPatchHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbSystemOsPatchHistoryEntrySummary::LIFECYCLE_STATE_ENUM.' end if opts[:action] && !OCI::Database::Models::DbSystemOsPatchHistoryEntrySummary::ACTION_ENUM.include?(opts[:action]) raise 'Invalid value for "action", must be one of the values in OCI::Database::Models::DbSystemOsPatchHistoryEntrySummary::ACTION_ENUM.' end raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/osPatchHistoryEntries'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:action] = opts[:action] if opts[:action] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_os_patch_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystemOsPatchHistoryEntryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_patch_history_entries(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_patch_history_entries API.
Gets the history of the patch actions performed on the specified DB system.
19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 |
# File 'lib/oci/database/database_client.rb', line 19925 def list_db_system_patch_history_entries(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_patch_history_entries.' if logger raise "Missing the required parameter 'db_system_id' when calling list_db_system_patch_history_entries." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/patchHistoryEntries'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_patch_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_patches(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_patches API.
Lists the patches applicable to the specified DB system.
19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 |
# File 'lib/oci/database/database_client.rb', line 19982 def list_db_system_patches(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_patches.' if logger raise "Missing the required parameter 'db_system_id' when calling list_db_system_patches." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/patches'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_shapes(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_shapes API.
Gets a list of the shapes that can be used to launch a new DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 |
# File 'lib/oci/database/database_client.rb', line 20040 def list_db_system_shapes(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_shapes.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_system_shapes." if compartment_id.nil? path = '/dbSystemShapes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:shapeAttribute] = opts[:shape_attribute] if opts[:shape_attribute] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_shapes') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemShapeSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_storage_performances(storage_management, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_storage_performances API.
Gets a list of possible expected storage performance parameters of a VMDB System based on Configuration.
20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 |
# File 'lib/oci/database/database_client.rb', line 20106 def list_db_system_storage_performances(storage_management, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_storage_performances.' if logger raise "Missing the required parameter 'storage_management' when calling list_db_system_storage_performances." if storage_management.nil? unless OCI::Database::Models::DbSystemOptions::STORAGE_MANAGEMENT_ENUM.include?(storage_management) raise 'Invalid value for "storage_management", must be one of the values in OCI::Database::Models::DbSystemOptions::STORAGE_MANAGEMENT_ENUM.' end if opts[:database_edition] && !%w[STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE ENTERPRISE_EDITION_EXTREME_PERFORMANCE ENTERPRISE_EDITION_DEVELOPER].include?(opts[:database_edition]) raise 'Invalid value for "database_edition", must be one of STANDARD_EDITION, ENTERPRISE_EDITION, ENTERPRISE_EDITION_HIGH_PERFORMANCE, ENTERPRISE_EDITION_EXTREME_PERFORMANCE, ENTERPRISE_EDITION_DEVELOPER.' end path = '/dbSystemStoragePerformance' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:storageManagement] = storage_management query_params[:shapeType] = opts[:shape_type] if opts[:shape_type] query_params[:databaseEdition] = opts[:database_edition] if opts[:database_edition] query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_storage_performances') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemStoragePerformanceSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_upgrade_history_entries(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_upgrade_history_entries API.
Gets the history of the upgrade actions performed on the specified DB system.
Allowed values are: TIMESTARTED
20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 |
# File 'lib/oci/database/database_client.rb', line 20182 def list_db_system_upgrade_history_entries(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_upgrade_history_entries.' if logger raise "Missing the required parameter 'db_system_id' when calling list_db_system_upgrade_history_entries." if db_system_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMESTARTED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMESTARTED.' end if opts[:upgrade_action] && !OCI::Database::Models::DbSystemUpgradeHistoryEntrySummary::ACTION_ENUM.include?(opts[:upgrade_action]) raise 'Invalid value for "upgrade_action", must be one of the values in OCI::Database::Models::DbSystemUpgradeHistoryEntrySummary::ACTION_ENUM.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbSystemUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbSystemUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/upgradeHistoryEntries'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:upgradeAction] = opts[:upgrade_action] if opts[:upgrade_action] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_upgrade_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemUpgradeHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_system_upgrades(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_system_upgrades API.
Lists the applicable upgrade components for a DB systems.
20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 |
# File 'lib/oci/database/database_client.rb', line 20260 def list_db_system_upgrades(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_system_upgrades.' if logger raise "Missing the required parameter 'db_system_id' when calling list_db_system_upgrades." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/dbSystemUpgrades'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_system_upgrades') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemUpgradeSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_systems(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_systems API.
Lists the DB systems in the specified compartment. You can specify a backupId to list only the DB systems that support creating a database using this backup in this compartment.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 |
# File 'lib/oci/database/database_client.rb', line 20332 def list_db_systems(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_systems.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_systems." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbSystemSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbSystemSummary::LIFECYCLE_STATE_ENUM.' end path = '/dbSystems' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:backupId] = opts[:backup_id] if opts[:backup_id] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_systems') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbSystemSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_db_versions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_db_versions API.
Gets a list of supported Oracle Database versions.
20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 |
# File 'lib/oci/database/database_client.rb', line 20415 def list_db_versions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_db_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_db_versions." if compartment_id.nil? if opts[:storage_management] && !OCI::Database::Models::DbSystemOptions::STORAGE_MANAGEMENT_ENUM.include?(opts[:storage_management]) raise 'Invalid value for "storage_management", must be one of the values in OCI::Database::Models::DbSystemOptions::STORAGE_MANAGEMENT_ENUM.' end path = '/dbVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:dbSystemShape] = opts[:db_system_shape] if opts[:db_system_shape] query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id] query_params[:storageManagement] = opts[:storage_management] if opts[:storage_management] query_params[:shapeAttribute] = opts[:shape_attribute] if opts[:shape_attribute] query_params[:isUpgradeSupported] = opts[:is_upgrade_supported] if !opts[:is_upgrade_supported].nil? query_params[:isDatabaseSoftwareImageSupported] = opts[:is_database_software_image_supported] if !opts[:is_database_software_image_supported].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_db_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_dbnode_snapshots(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_dbnode_snapshots API.
Gets a list of the Exadata Database Node Snapshots in the specified compartment.
Allowed values are: TIMECREATED, NAME
20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 |
# File 'lib/oci/database/database_client.rb', line 20493 def list_dbnode_snapshots(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_dbnode_snapshots.' if logger raise "Missing the required parameter 'compartment_id' when calling list_dbnode_snapshots." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::DbnodeSnapshot::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DbnodeSnapshot::LIFECYCLE_STATE_ENUM.' end path = '/dbnodeSnapshots' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:name] = opts[:name] if opts[:name] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:clusterId] = opts[:cluster_id] if opts[:cluster_id] query_params[:sourceDbnodeId] = opts[:source_dbnode_id] if opts[:source_dbnode_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_dbnode_snapshots') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::DbnodeSnapshotSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_estimate_cost_savings(is_cpu_autoscale, autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_estimate_cost_savings API.
Gets the estimate cost savings of the Autonomous AI Database.
20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 |
# File 'lib/oci/database/database_client.rb', line 20571 def list_estimate_cost_savings(is_cpu_autoscale, autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_estimate_cost_savings.' if logger raise "Missing the required parameter 'is_cpu_autoscale' when calling list_estimate_cost_savings." if is_cpu_autoscale.nil? raise "Missing the required parameter 'autonomous_database_id' when calling list_estimate_cost_savings." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/estimateCostSavings'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:isCpuAutoscale] = is_cpu_autoscale query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_estimate_cost_savings') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::EstimateCostSavingsSummaryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_exadata_infrastructures(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_exadata_infrastructures API.
Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. To list the Exadata Cloud Service infrastructure resources in a compartment, use the list_cloud_exadata_infrastructures operation.
20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 |
# File 'lib/oci/database/database_client.rb', line 20643 def list_exadata_infrastructures(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_exadata_infrastructures.' if logger raise "Missing the required parameter 'compartment_id' when calling list_exadata_infrastructures." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExadataInfrastructureSummary::LIFECYCLE_STATE_ENUM.' end excluded_fields_allowable_values = %w[multiRackConfigurationFile] if opts[:excluded_fields] && !opts[:excluded_fields].empty? opts[:excluded_fields].each do |val_to_check| unless excluded_fields_allowable_values.include?(val_to_check) raise 'Invalid value for "excluded_fields", must be one of multiRackConfigurationFile.' end end end path = '/exadataInfrastructures' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:excludedFields] = OCI::ApiClient.build_collection_params(opts[:excluded_fields], :multi) if opts[:excluded_fields] && !opts[:excluded_fields].empty? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_exadata_infrastructures') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExadataInfrastructureSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_exadb_vm_cluster_update_history_entries(exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_exadb_vm_cluster_update_history_entries API.
Gets the history of the maintenance update actions performed on the specified Exadata VM cluster on Exascale Infrastructure.
20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 |
# File 'lib/oci/database/database_client.rb', line 20732 def list_exadb_vm_cluster_update_history_entries(exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_exadb_vm_cluster_update_history_entries.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling list_exadb_vm_cluster_update_history_entries." if exadb_vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/updateHistoryEntries'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_exadb_vm_cluster_update_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExadbVmClusterUpdateHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_exadb_vm_cluster_updates(exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_exadb_vm_cluster_updates API.
Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure.
20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 |
# File 'lib/oci/database/database_client.rb', line 20800 def list_exadb_vm_cluster_updates(exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_exadb_vm_cluster_updates.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling list_exadb_vm_cluster_updates." if exadb_vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/updates'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:version] = opts[:version] if opts[:version] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_exadb_vm_cluster_updates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExadbVmClusterUpdateSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_exadb_vm_clusters(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_exadb_vm_clusters API.
Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only.
Allowed values are: TIMECREATED, DISPLAYNAME
20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 |
# File 'lib/oci/database/database_client.rb', line 20877 def list_exadb_vm_clusters(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_exadb_vm_clusters.' if logger raise "Missing the required parameter 'compartment_id' when calling list_exadb_vm_clusters." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExadbVmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExadbVmClusterSummary::LIFECYCLE_STATE_ENUM.' end path = '/exadbVmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:exascaleDbStorageVaultId] = opts[:exascale_db_storage_vault_id] if opts[:exascale_db_storage_vault_id] query_params[:clusterPlacementGroupId] = opts[:cluster_placement_group_id] if opts[:cluster_placement_group_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_exadb_vm_clusters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExadbVmClusterSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_exascale_db_storage_vaults(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_exascale_db_storage_vaults API.
Gets a list of the Exadata Database Storage Vaults in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 |
# File 'lib/oci/database/database_client.rb', line 20968 def list_exascale_db_storage_vaults(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_exascale_db_storage_vaults.' if logger raise "Missing the required parameter 'compartment_id' when calling list_exascale_db_storage_vaults." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExascaleDbStorageVault::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExascaleDbStorageVault::LIFECYCLE_STATE_ENUM.' end path = '/exascaleDbStorageVaults' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:clusterPlacementGroupId] = opts[:cluster_placement_group_id] if opts[:cluster_placement_group_id] query_params[:attachedShapeAttributesNotEqualTo] = opts[:attached_shape_attributes_not_equal_to] if opts[:attached_shape_attributes_not_equal_to] query_params[:attachedShapeAttributes] = opts[:attached_shape_attributes] if opts[:attached_shape_attributes] query_params[:vmClusterCountLessThanOrEqualTo] = opts[:vm_cluster_count_less_than_or_equal_to] if opts[:vm_cluster_count_less_than_or_equal_to] query_params[:vmClusterCountGreaterThanOrEqualTo] = opts[:vm_cluster_count_greater_than_or_equal_to] if opts[:vm_cluster_count_greater_than_or_equal_to] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:exadataInfrastructureId] = opts[:exadata_infrastructure_id] if opts[:exadata_infrastructure_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_exascale_db_storage_vaults') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExascaleDbStorageVaultSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_execution_actions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_execution_actions API.
Lists the execution action resources in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 |
# File 'lib/oci/database/database_client.rb', line 21058 def list_execution_actions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_execution_actions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_execution_actions." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExecutionActionSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExecutionActionSummary::LIFECYCLE_STATE_ENUM.' end path = '/executionActions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:executionWindowId] = opts[:execution_window_id] if opts[:execution_window_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_execution_actions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExecutionActionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_execution_windows(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_execution_windows API.
Lists the execution window resources in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 |
# File 'lib/oci/database/database_client.rb', line 21143 def list_execution_windows(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_execution_windows.' if logger raise "Missing the required parameter 'compartment_id' when calling list_execution_windows." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExecutionWindowSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExecutionWindowSummary::LIFECYCLE_STATE_ENUM.' end path = '/executionWindows' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:executionResourceId] = opts[:execution_resource_id] if opts[:execution_resource_id] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_execution_windows') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExecutionWindowSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_external_container_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_external_container_databases API.
Gets a list of the external container databases in the specified compartment.
21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 |
# File 'lib/oci/database/database_client.rb', line 21230 def list_external_container_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_external_container_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_external_container_databases." if compartment_id.nil? if opts[:sort_by] && !%w[DISPLAYNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.' end path = '/externalcontainerdatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_external_container_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExternalContainerDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_external_database_connectors(compartment_id, external_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_external_database_connectors API.
Gets a list of the external database connectors in the specified compartment.
21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 |
# File 'lib/oci/database/database_client.rb', line 21318 def list_external_database_connectors(compartment_id, external_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_external_database_connectors.' if logger raise "Missing the required parameter 'compartment_id' when calling list_external_database_connectors." if compartment_id.nil? raise "Missing the required parameter 'external_database_id' when calling list_external_database_connectors." if external_database_id.nil? if opts[:sort_by] && !%w[DISPLAYNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExternalDatabaseConnector::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExternalDatabaseConnector::LIFECYCLE_STATE_ENUM.' end path = '/externaldatabaseconnectors' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:externalDatabaseId] = external_database_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_external_database_connectors') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExternalDatabaseConnectorSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_external_non_container_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_external_non_container_databases API.
Gets a list of the ExternalNonContainerDatabases in the specified compartment.
21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 |
# File 'lib/oci/database/database_client.rb', line 21406 def list_external_non_container_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_external_non_container_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_external_non_container_databases." if compartment_id.nil? if opts[:sort_by] && !%w[DISPLAYNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.' end path = '/externalnoncontainerdatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_external_non_container_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExternalNonContainerDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_external_pluggable_databases(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_external_pluggable_databases API.
Gets a list of the create_external_pluggable_database_details resources in the specified compartment.
21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 |
# File 'lib/oci/database/database_client.rb', line 21494 def list_external_pluggable_databases(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_external_pluggable_databases.' if logger raise "Missing the required parameter 'compartment_id' when calling list_external_pluggable_databases." if compartment_id.nil? if opts[:sort_by] && !%w[DISPLAYNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ExternalDatabaseBase::LIFECYCLE_STATE_ENUM.' end path = '/externalpluggabledatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:externalContainerDatabaseId] = opts[:external_container_database_id] if opts[:external_container_database_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_external_pluggable_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::ExternalPluggableDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_flex_components(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_flex_components API.
Gets a list of the flex components that can be used to launch a new DB system. The flex component determines resources to allocate to the DB system - Database Servers and Storage Servers.
21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 |
# File 'lib/oci/database/database_client.rb', line 21575 def list_flex_components(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_flex_components.' if logger raise "Missing the required parameter 'compartment_id' when calling list_flex_components." if compartment_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[NAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of NAME.' end path = '/dbSystemShapes/flexComponents' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:name] = opts[:name] if opts[:name] query_params[:shape] = opts[:shape] if opts[:shape] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_flex_components') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::FlexComponentCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_gi_version_minor_versions(version, opts = {}) ⇒ Response
Click here to see an example of how to use list_gi_version_minor_versions API.
Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 |
# File 'lib/oci/database/database_client.rb', line 21655 def list_gi_version_minor_versions(version, opts = {}) logger.debug 'Calling operation DatabaseClient#list_gi_version_minor_versions.' if logger raise "Missing the required parameter 'version' when calling list_gi_version_minor_versions." if version.nil? if opts[:shape_family] && !%w[SINGLENODE YODA VIRTUALMACHINE EXADATA EXACC EXADB_XS].include?(opts[:shape_family]) raise 'Invalid value for "shape_family", must be one of SINGLENODE, YODA, VIRTUALMACHINE, EXADATA, EXACC, EXADB_XS.' end if opts[:sort_by] && !%w[VERSION].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of VERSION.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end raise "Parameter value for 'version' must not be blank" if OCI::Internal::Util.blank_string?(version) path = '/giVersions/{version}/minorVersions'.sub('{version}', version.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:shapeFamily] = opts[:shape_family] if opts[:shape_family] query_params[:isGiVersionForProvisioning] = opts[:is_gi_version_for_provisioning] if !opts[:is_gi_version_for_provisioning].nil? query_params[:shape] = opts[:shape] if opts[:shape] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_gi_version_minor_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::GiMinorVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_gi_versions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_gi_versions API.
Gets a list of supported GI versions.
21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 21779 21780 21781 21782 21783 |
# File 'lib/oci/database/database_client.rb', line 21737 def list_gi_versions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_gi_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_gi_versions." if compartment_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/giVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:shape] = opts[:shape] if opts[:shape] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] query_params[:shapeAttribute] = opts[:shape_attribute] if opts[:shape_attribute] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_gi_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::GiVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_key_stores(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_key_stores API.
Gets a list of key stores in the specified compartment.
21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 |
# File 'lib/oci/database/database_client.rb', line 21805 def list_key_stores(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_key_stores.' if logger raise "Missing the required parameter 'compartment_id' when calling list_key_stores." if compartment_id.nil? path = '/keyStores' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_key_stores') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::KeyStoreSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_maintenance_run_history(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_maintenance_run_history API.
Gets a list of the maintenance run histories in the specified compartment.
21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 |
# File 'lib/oci/database/database_client.rb', line 21876 def list_maintenance_run_history(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_maintenance_run_history.' if logger raise "Missing the required parameter 'compartment_id' when calling list_maintenance_run_history." if compartment_id.nil? if opts[:target_resource_type] && !OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.include?(opts[:target_resource_type]) raise 'Invalid value for "target_resource_type", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.' end if opts[:maintenance_type] && !OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_TYPE_ENUM.include?(opts[:maintenance_type]) raise 'Invalid value for "maintenance_type", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_TYPE_ENUM.' end if opts[:sort_by] && !%w[TIME_SCHEDULED TIME_ENDED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIME_SCHEDULED, TIME_ENDED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::MaintenanceRunSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::LIFECYCLE_STATE_ENUM.' end if opts[:maintenance_subtype] && !OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_SUBTYPE_ENUM.include?(opts[:maintenance_subtype]) raise 'Invalid value for "maintenance_subtype", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_SUBTYPE_ENUM.' end path = '/maintenanceRunHistory' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:targetResourceId] = opts[:target_resource_id] if opts[:target_resource_id] query_params[:targetResourceType] = opts[:target_resource_type] if opts[:target_resource_type] query_params[:maintenanceType] = opts[:maintenance_type] if opts[:maintenance_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:maintenanceSubtype] = opts[:maintenance_subtype] if opts[:maintenance_subtype] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_maintenance_run_history') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::MaintenanceRunHistorySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_maintenance_runs(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_maintenance_runs API.
Gets a list of the maintenance runs in the specified compartment.
21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 |
# File 'lib/oci/database/database_client.rb', line 21979 def list_maintenance_runs(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_maintenance_runs.' if logger raise "Missing the required parameter 'compartment_id' when calling list_maintenance_runs." if compartment_id.nil? if opts[:target_resource_type] && !OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.include?(opts[:target_resource_type]) raise 'Invalid value for "target_resource_type", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::TARGET_RESOURCE_TYPE_ENUM.' end if opts[:maintenance_type] && !OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_TYPE_ENUM.include?(opts[:maintenance_type]) raise 'Invalid value for "maintenance_type", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_TYPE_ENUM.' end if opts[:sort_by] && !%w[TIME_SCHEDULED TIME_ENDED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIME_SCHEDULED, TIME_ENDED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::MaintenanceRunSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::LIFECYCLE_STATE_ENUM.' end if opts[:maintenance_subtype] && !OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_SUBTYPE_ENUM.include?(opts[:maintenance_subtype]) raise 'Invalid value for "maintenance_subtype", must be one of the values in OCI::Database::Models::MaintenanceRunSummary::MAINTENANCE_SUBTYPE_ENUM.' end path = '/maintenanceRuns' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:targetResourceId] = opts[:target_resource_id] if opts[:target_resource_id] query_params[:targetResourceType] = opts[:target_resource_type] if opts[:target_resource_type] query_params[:maintenanceType] = opts[:maintenance_type] if opts[:maintenance_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:isLocalAdg] = opts[:is_local_adg] if !opts[:is_local_adg].nil? query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain] query_params[:maintenanceSubtype] = opts[:maintenance_subtype] if opts[:maintenance_subtype] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_maintenance_runs') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::MaintenanceRunSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_oneoff_patches(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_oneoff_patches API.
Lists one-off patches in the specified compartment.
22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 |
# File 'lib/oci/database/database_client.rb', line 22078 def list_oneoff_patches(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_oneoff_patches.' if logger raise "Missing the required parameter 'compartment_id' when calling list_oneoff_patches." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::OneoffPatchSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::OneoffPatchSummary::LIFECYCLE_STATE_ENUM.' end path = '/oneoffPatches' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_oneoff_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::OneoffPatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_params_for_action_type(type, opts = {}) ⇒ Response
Click here to see an example of how to use list_params_for_action_type API.
List all the action params and their possible values for a given action type
22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 |
# File 'lib/oci/database/database_client.rb', line 22156 def list_params_for_action_type(type, opts = {}) logger.debug 'Calling operation DatabaseClient#list_params_for_action_type.' if logger raise "Missing the required parameter 'type' when calling list_params_for_action_type." if type.nil? unless OCI::Database::Models::RecommendedScheduledActionSummary::ACTION_TYPE_ENUM.include?(type) raise 'Invalid value for "type", must be one of the values in OCI::Database::Models::RecommendedScheduledActionSummary::ACTION_TYPE_ENUM.' end if opts[:plan_intent] && !%w[EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE EXADATA_INFRASTRUCTURE_SECURITY_UPDATE].include?(opts[:plan_intent]) raise 'Invalid value for "plan_intent", must be one of EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE, EXADATA_INFRASTRUCTURE_SECURITY_UPDATE.' end path = '/scheduledActionParams' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:type] = type query_params[:planIntent] = opts[:plan_intent] if opts[:plan_intent] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_params_for_action_type') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ActionParamValuesCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_pdb_conversion_history_entries(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_pdb_conversion_history_entries API.
Gets the pluggable database conversion history for a specified database in a bare metal or virtual machine DB system.
Allowed values are: TIMESTARTED
22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 22245 22246 22247 22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 |
# File 'lib/oci/database/database_client.rb', line 22232 def list_pdb_conversion_history_entries(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_pdb_conversion_history_entries.' if logger raise "Missing the required parameter 'database_id' when calling list_pdb_conversion_history_entries." if database_id.nil? if opts[:pdb_conversion_action] && !OCI::Database::Models::PdbConversionHistoryEntrySummary::ACTION_ENUM.include?(opts[:pdb_conversion_action]) raise 'Invalid value for "pdb_conversion_action", must be one of the values in OCI::Database::Models::PdbConversionHistoryEntrySummary::ACTION_ENUM.' end if opts[:lifecycle_state] && !OCI::Database::Models::PdbConversionHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::PdbConversionHistoryEntrySummary::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[TIMESTARTED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMESTARTED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/pdbConversionHistoryEntries'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:pdbConversionAction] = opts[:pdb_conversion_action] if opts[:pdb_conversion_action] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_pdb_conversion_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PdbConversionHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_pluggable_database_snapshots(opts = {}) ⇒ Response
Click here to see an example of how to use list_pluggable_database_snapshots API.
Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment.
Allowed values are: TIMECREATED, NAME
22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 |
# File 'lib/oci/database/database_client.rb', line 22321 def list_pluggable_database_snapshots(opts = {}) logger.debug 'Calling operation DatabaseClient#list_pluggable_database_snapshots.' if logger if opts[:sort_by] && !%w[TIMECREATED NAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, NAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::PluggableDatabaseSnapshot::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::PluggableDatabaseSnapshot::LIFECYCLE_STATE_ENUM.' end path = '/pluggableDatabaseSnapshots' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:name] = opts[:name] if opts[:name] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:clusterId] = opts[:cluster_id] if opts[:cluster_id] query_params[:pluggableDatabaseId] = opts[:pluggable_database_id] if opts[:pluggable_database_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_pluggable_database_snapshots') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PluggableDatabaseSnapshotSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_pluggable_databases(opts = {}) ⇒ Response
Click here to see an example of how to use list_pluggable_databases API.
Gets a list of the pluggable databases in a database or compartment. You must provide either a databaseId or compartmentId value.
22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 |
# File 'lib/oci/database/database_client.rb', line 22403 def list_pluggable_databases(opts = {}) logger.debug 'Calling operation DatabaseClient#list_pluggable_databases.' if logger if opts[:sort_by] && !%w[PDBNAME TIMECREATED].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of PDBNAME, TIMECREATED.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::PluggableDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::PluggableDatabaseSummary::LIFECYCLE_STATE_ENUM.' end path = '/pluggableDatabases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:databaseId] = opts[:database_id] if opts[:database_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:pdbName] = opts[:pdb_name] if opts[:pdb_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_pluggable_databases') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PluggableDatabaseSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_recommended_scheduled_actions(scheduling_policy_id, scheduling_policy_target_resource_id, plan_intent, opts = {}) ⇒ Response
Click here to see an example of how to use list_recommended_scheduled_actions API.
Returns a recommended Scheduled Actions configuration for a given resource, plan intent and scheduling policy.
22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 |
# File 'lib/oci/database/database_client.rb', line 22481 def list_recommended_scheduled_actions(scheduling_policy_id, scheduling_policy_target_resource_id, plan_intent, opts = {}) logger.debug 'Calling operation DatabaseClient#list_recommended_scheduled_actions.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling list_recommended_scheduled_actions." if scheduling_policy_id.nil? raise "Missing the required parameter 'scheduling_policy_target_resource_id' when calling list_recommended_scheduled_actions." if scheduling_policy_target_resource_id.nil? raise "Missing the required parameter 'plan_intent' when calling list_recommended_scheduled_actions." if plan_intent.nil? unless %w[EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE EXADATA_INFRASTRUCTURE_SECURITY_UPDATE].include?(plan_intent) raise "Invalid value for 'plan_intent', must be one of EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE, EXADATA_INFRASTRUCTURE_SECURITY_UPDATE." end raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}/recommendedScheduledActions'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:schedulingPolicyTargetResourceId] = scheduling_policy_target_resource_id query_params[:planIntent] = plan_intent query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_recommended_scheduled_actions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::RecommendedScheduledActionsCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_resource_pool_members(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_resource_pool_members API.
Lists the OCIDs of the Autonomous AI Database resource pool members for the specified Autonomous AI Database leader.
22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 |
# File 'lib/oci/database/database_client.rb', line 22548 def list_resource_pool_members(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_resource_pool_members.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling list_resource_pool_members." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/resourcePoolMembers'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_resource_pool_members') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ResourcePoolMemberCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_scheduled_actions(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_scheduled_actions API.
Lists the Scheduled Action resources in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 |
# File 'lib/oci/database/database_client.rb', line 22618 def list_scheduled_actions(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_scheduled_actions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_scheduled_actions." if compartment_id.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:lifecycle_state] && !OCI::Database::Models::ScheduledActionSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::ScheduledActionSummary::LIFECYCLE_STATE_ENUM.' end path = '/scheduledActions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:serviceType] = opts[:service_type] if opts[:service_type] query_params[:schedulingPlanId] = opts[:scheduling_plan_id] if opts[:scheduling_plan_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:id] = opts[:id] if opts[:id] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_scheduled_actions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ScheduledActionCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_scheduling_plans(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_scheduling_plans API.
Lists the Scheduling Plan resources in the specified compartment.
Allowed values are: TIMECREATED, DISPLAYNAME
22709 22710 22711 22712 22713 22714 22715 22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 |
# File 'lib/oci/database/database_client.rb', line 22709 def list_scheduling_plans(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_scheduling_plans.' if logger raise "Missing the required parameter 'compartment_id' when calling list_scheduling_plans." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::SchedulingPlanSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::SchedulingPlanSummary::LIFECYCLE_STATE_ENUM.' end if opts[:plan_intent] && !%w[EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE EXADATA_INFRASTRUCTURE_SECURITY_UPDATE].include?(opts[:plan_intent]) raise 'Invalid value for "plan_intent", must be one of EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE, EXADATA_INFRASTRUCTURE_SECURITY_UPDATE.' end path = '/schedulingPlans' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:schedulingPolicyId] = opts[:scheduling_policy_id] if opts[:scheduling_policy_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] query_params[:id] = opts[:id] if opts[:id] query_params[:planIntent] = opts[:plan_intent] if opts[:plan_intent] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_scheduling_plans') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPlanCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_scheduling_policies(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_scheduling_policies API.
Lists the Scheduling Policy resources in the specified compartment.
22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 |
# File 'lib/oci/database/database_client.rb', line 22801 def list_scheduling_policies(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_scheduling_policies.' if logger raise "Missing the required parameter 'compartment_id' when calling list_scheduling_policies." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::SchedulingPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::SchedulingPolicySummary::LIFECYCLE_STATE_ENUM.' end if opts[:cadence] && !OCI::Database::Models::SchedulingPolicySummary::CADENCE_ENUM.include?(opts[:cadence]) raise 'Invalid value for "cadence", must be one of the values in OCI::Database::Models::SchedulingPolicySummary::CADENCE_ENUM.' end path = '/schedulingPolicies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:cadence] = opts[:cadence] if opts[:cadence] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_scheduling_policies') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::SchedulingPolicySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_scheduling_windows(scheduling_policy_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_scheduling_windows API.
Lists the Scheduling Window resources in the specified compartment.
22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 |
# File 'lib/oci/database/database_client.rb', line 22890 def list_scheduling_windows(scheduling_policy_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_scheduling_windows.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling list_scheduling_windows." if scheduling_policy_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::SchedulingWindowSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::SchedulingWindowSummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}/schedulingWindows'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_scheduling_windows') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::SchedulingWindowSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_system_version_minor_versions(major_version, compartment_id, gi_version, opts = {}) ⇒ Response
Click here to see an example of how to use list_system_version_minor_versions API.
Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a shape or resourceId value.
22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 |
# File 'lib/oci/database/database_client.rb', line 22973 def list_system_version_minor_versions(major_version, compartment_id, gi_version, opts = {}) logger.debug 'Calling operation DatabaseClient#list_system_version_minor_versions.' if logger raise "Missing the required parameter 'major_version' when calling list_system_version_minor_versions." if major_version.nil? raise "Missing the required parameter 'compartment_id' when calling list_system_version_minor_versions." if compartment_id.nil? raise "Missing the required parameter 'gi_version' when calling list_system_version_minor_versions." if gi_version.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end raise "Parameter value for 'major_version' must not be blank" if OCI::Internal::Util.blank_string?(major_version) path = '/systemVersions/{majorVersion}/minorVersions'.sub('{majorVersion}', major_version.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:giVersion] = gi_version query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:shape] = opts[:shape] if opts[:shape] query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] query_params[:isLatest] = opts[:is_latest] if !opts[:is_latest].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_system_version_minor_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SystemVersionMinorVersionCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_system_versions(compartment_id, gi_version, opts = {}) ⇒ Response
Click here to see an example of how to use list_system_versions API.
Gets a list of supported Exadata system versions for a given shape and GI version.
23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 |
# File 'lib/oci/database/database_client.rb', line 23050 def list_system_versions(compartment_id, gi_version, opts = {}) logger.debug 'Calling operation DatabaseClient#list_system_versions.' if logger raise "Missing the required parameter 'compartment_id' when calling list_system_versions." if compartment_id.nil? raise "Missing the required parameter 'gi_version' when calling list_system_versions." if gi_version.nil? if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end path = '/systemVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:giVersion] = gi_version query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:shape] = opts[:shape] if opts[:shape] query_params[:isLatest] = opts[:is_latest] if !opts[:is_latest].nil? query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_system_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SystemVersionCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_cluster_networks(exadata_infrastructure_id, compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_cluster_networks API.
Gets a list of the VM cluster networks in the specified compartment. Applies to Exadata Cloud@Customer instances only.
23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 |
# File 'lib/oci/database/database_client.rb', line 23128 def list_vm_cluster_networks(exadata_infrastructure_id, compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_cluster_networks.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling list_vm_cluster_networks." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'compartment_id' when calling list_vm_cluster_networks." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterNetworkSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterNetworkSummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_networks') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::VmClusterNetworkSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_cluster_patch_history_entries(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_cluster_patch_history_entries API.
Gets the history of the patch actions performed on the specified VM cluster in an Exadata Cloud@Customer system.
23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 |
# File 'lib/oci/database/database_client.rb', line 23204 def list_vm_cluster_patch_history_entries(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_cluster_patch_history_entries.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_patch_history_entries." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/patchHistoryEntries'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_patch_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_cluster_patches(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_cluster_patches API.
Lists the patches applicable to the specified VM cluster in an Exadata Cloud@Customer system.
23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 |
# File 'lib/oci/database/database_client.rb', line 23261 def list_vm_cluster_patches(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_cluster_patches.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_patches." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/patches'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::PatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_cluster_update_history_entries(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_cluster_update_history_entries API.
Gets the history of the maintenance update actions performed on the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 23370 23371 |
# File 'lib/oci/database/database_client.rb', line 23323 def list_vm_cluster_update_history_entries(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_cluster_update_history_entries.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_update_history_entries." if vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/updateHistoryEntries'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_update_history_entries') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::VmClusterUpdateHistoryEntrySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_cluster_updates(vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_cluster_updates API.
Lists the maintenance updates that can be applied to the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 |
# File 'lib/oci/database/database_client.rb', line 23396 def list_vm_cluster_updates(vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_cluster_updates.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_updates." if vm_cluster_id.nil? if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type]) raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.' end if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/updates'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:updateType] = opts[:update_type] if opts[:update_type] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_updates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::VmClusterUpdateSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_vm_clusters(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_vm_clusters API.
Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only. To list the cloud VM clusters in an Exadata Cloud Service instance, use the list_cloud_vm_clusters operation.
23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 |
# File 'lib/oci/database/database_client.rb', line 23476 def list_vm_clusters(compartment_id, opts = {}) logger.debug 'Calling operation DatabaseClient#list_vm_clusters.' if logger raise "Missing the required parameter 'compartment_id' when calling list_vm_clusters." if compartment_id.nil? if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.' end if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of ASC, DESC.' end if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterSummary::LIFECYCLE_STATE_ENUM.' end if opts[:vm_cluster_type] && !OCI::Database::Models::VmClusterSummary::VM_CLUSTER_TYPE_ENUM.include?(opts[:vm_cluster_type]) raise 'Invalid value for "vm_cluster_type", must be one of the values in OCI::Database::Models::VmClusterSummary::VM_CLUSTER_TYPE_ENUM.' end path = '/vmClusters' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:exadataInfrastructureId] = opts[:exadata_infrastructure_id] if opts[:exadata_infrastructure_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:vmClusterType] = opts[:vm_cluster_type] if opts[:vm_cluster_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_clusters') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Database::Models::VmClusterSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#local_clone_pluggable_database(local_clone_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use local_clone_pluggable_database API.
Deprecated. Use create_pluggable_database for Pluggable Database LocalClone Operation. Clones and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the READ_WRITE openMode to perform the clone operation.
23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 |
# File 'lib/oci/database/database_client.rb', line 23568 def local_clone_pluggable_database(local_clone_pluggable_database_details, pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#local_clone_pluggable_database.' if logger raise "Missing the required parameter 'local_clone_pluggable_database_details' when calling local_clone_pluggable_database." if local_clone_pluggable_database_details.nil? raise "Missing the required parameter 'pluggable_database_id' when calling local_clone_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/localClone'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(local_clone_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#local_clone_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#logger ⇒ Logger
Returns The logger for this client. May be nil.
94 95 96 |
# File 'lib/oci/database/database_client.rb', line 94 def logger @api_client.config.logger end |
#migrate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use migrate_autonomous_container_database_dataguard_association API.
Migrate Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter.
23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 |
# File 'lib/oci/database/database_client.rb', line 23633 def migrate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#migrate_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling migrate_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling migrate_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/migrate'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#migrate_autonomous_container_database_dataguard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#migrate_data_guard_association_to_multi_data_guards(database_id, data_guard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use migrate_data_guard_association_to_multi_data_guards API.
Migrates the existing Data Guard association to new Data Guard model to support multiple standby databases functionality.
This operation should always be performed on primary.
23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 23728 23729 23730 23731 23732 23733 23734 23735 23736 23737 23738 23739 23740 23741 23742 23743 23744 23745 23746 |
# File 'lib/oci/database/database_client.rb', line 23705 def migrate_data_guard_association_to_multi_data_guards(database_id, data_guard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#migrate_data_guard_association_to_multi_data_guards.' if logger raise "Missing the required parameter 'database_id' when calling migrate_data_guard_association_to_multi_data_guards." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling migrate_data_guard_association_to_multi_data_guards." if data_guard_association_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/migrate'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#migrate_data_guard_association_to_multi_data_guards') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#migrate_exadata_db_system_resource_model(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use migrate_exadata_db_system_resource_model API.
Migrates the Exadata DB system to the new Exadata resource model. All related resources will be migrated.
23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 |
# File 'lib/oci/database/database_client.rb', line 23777 def migrate_exadata_db_system_resource_model(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#migrate_exadata_db_system_resource_model.' if logger raise "Missing the required parameter 'db_system_id' when calling migrate_exadata_db_system_resource_model." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/actions/migration'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#migrate_exadata_db_system_resource_model') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataDbSystemMigration' ) end # rubocop:enable Metrics/BlockLength end |
#migrate_vault_key(database_id, migrate_vault_key_details, opts = {}) ⇒ Response
Click here to see an example of how to use migrate_vault_key API.
Changes encryption key management from customer-managed, using the Vault service, to Oracle-managed.
23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 |
# File 'lib/oci/database/database_client.rb', line 23846 def migrate_vault_key(database_id, migrate_vault_key_details, opts = {}) logger.debug 'Calling operation DatabaseClient#migrate_vault_key.' if logger raise "Missing the required parameter 'database_id' when calling migrate_vault_key." if database_id.nil? raise "Missing the required parameter 'migrate_vault_key_details' when calling migrate_vault_key." if migrate_vault_key_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/migrateKey'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(migrate_vault_key_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#migrate_vault_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#modify_database_management(database_id, modify_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use modify_database_management API.
Updates one or more attributes of the Database Management service for the database.
23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 23929 23930 23931 23932 23933 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 23949 23950 23951 23952 23953 23954 23955 23956 |
# File 'lib/oci/database/database_client.rb', line 23916 def modify_database_management(database_id, modify_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#modify_database_management.' if logger raise "Missing the required parameter 'database_id' when calling modify_database_management." if database_id.nil? raise "Missing the required parameter 'modify_database_management_details' when calling modify_database_management." if modify_database_management_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/modifyDatabaseManagement'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(modify_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#modify_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#modify_pluggable_database_management(pluggable_database_id, modify_pluggable_database_management_details, opts = {}) ⇒ Response
Click here to see an example of how to use modify_pluggable_database_management API.
Updates one or more attributes of the Database Management service for the pluggable database.
23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 |
# File 'lib/oci/database/database_client.rb', line 23986 def modify_pluggable_database_management(pluggable_database_id, modify_pluggable_database_management_details, opts = {}) logger.debug 'Calling operation DatabaseClient#modify_pluggable_database_management.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling modify_pluggable_database_management." if pluggable_database_id.nil? raise "Missing the required parameter 'modify_pluggable_database_management_details' when calling modify_pluggable_database_management." if modify_pluggable_database_management_details.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/modifyPluggableDatabaseManagement'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(modify_pluggable_database_management_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#modify_pluggable_database_management') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#mount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use mount_advanced_cluster_file_system API.
Mounts the advanced cluster file system to all the virtual machines within a vmcluster.
24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 |
# File 'lib/oci/database/database_client.rb', line 24056 def mount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#mount_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'advanced_cluster_file_system_id' when calling mount_advanced_cluster_file_system." if advanced_cluster_file_system_id.nil? raise "Parameter value for 'advanced_cluster_file_system_id' must not be blank" if OCI::Internal::Util.blank_string?(advanced_cluster_file_system_id) path = '/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/mount'.sub('{advancedClusterFileSystemId}', advanced_cluster_file_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#mount_advanced_cluster_file_system') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystem' ) end # rubocop:enable Metrics/BlockLength end |
#mount_dbnode_snapshot(mount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use mount_dbnode_snapshot API.
Mounts the snapshot for the provided dbNode.
24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 |
# File 'lib/oci/database/database_client.rb', line 24126 def mount_dbnode_snapshot(mount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#mount_dbnode_snapshot.' if logger raise "Missing the required parameter 'mount_dbnode_snapshot_details' when calling mount_dbnode_snapshot." if mount_dbnode_snapshot_details.nil? raise "Missing the required parameter 'dbnode_snapshot_id' when calling mount_dbnode_snapshot." if dbnode_snapshot_id.nil? raise "Parameter value for 'dbnode_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(dbnode_snapshot_id) path = '/dbnodeSnapshots/{dbnodeSnapshotId}/actions/mount'.sub('{dbnodeSnapshotId}', dbnode_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(mount_dbnode_snapshot_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#mount_dbnode_snapshot') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbnodeSnapshot' ) end # rubocop:enable Metrics/BlockLength end |
#move_execution_action_member(execution_action_id, move_execution_action_member_details, opts = {}) ⇒ Response
Click here to see an example of how to use move_execution_action_member API.
Moves an execution action member to this execution action resource from another.
24197 24198 24199 24200 24201 24202 24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 |
# File 'lib/oci/database/database_client.rb', line 24197 def move_execution_action_member(execution_action_id, move_execution_action_member_details, opts = {}) logger.debug 'Calling operation DatabaseClient#move_execution_action_member.' if logger raise "Missing the required parameter 'execution_action_id' when calling move_execution_action_member." if execution_action_id.nil? raise "Missing the required parameter 'move_execution_action_member_details' when calling move_execution_action_member." if move_execution_action_member_details.nil? raise "Parameter value for 'execution_action_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_action_id) path = '/executionActions/{executionActionId}/actions/moveActionMember'.sub('{executionActionId}', execution_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(move_execution_action_member_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#move_execution_action_member') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionAction' ) end # rubocop:enable Metrics/BlockLength end |
#refresh_data_guard_health_status(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use refresh_data_guard_health_status API.
Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases.
24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 |
# File 'lib/oci/database/database_client.rb', line 24267 def refresh_data_guard_health_status(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#refresh_data_guard_health_status.' if logger raise "Missing the required parameter 'database_id' when calling refresh_data_guard_health_status." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/refresh'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#refresh_data_guard_health_status') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#refresh_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use refresh_pluggable_database API.
Refreshes a pluggable database (PDB) Refreshable clone.
24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 |
# File 'lib/oci/database/database_client.rb', line 24336 def refresh_pluggable_database(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#refresh_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling refresh_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/refresh'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#refresh_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#register_autonomous_database_data_safe(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use register_autonomous_database_data_safe API.
Asynchronously registers this Autonomous AI Database with Data Safe.
24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 24409 24410 24411 24412 24413 24414 24415 24416 24417 24418 24419 24420 24421 24422 24423 24424 24425 24426 24427 24428 24429 24430 24431 24432 24433 24434 24435 |
# File 'lib/oci/database/database_client.rb', line 24399 def register_autonomous_database_data_safe(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#register_autonomous_database_data_safe.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling register_autonomous_database_data_safe." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/registerDataSafe'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(opts[:register_autonomous_database_data_safe_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#register_autonomous_database_data_safe') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#register_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, register_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Click here to see an example of how to use register_cloud_autonomous_vm_cluster_pkcs API.
Install the PKCS11 driver for given keystore type
24466 24467 24468 24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 |
# File 'lib/oci/database/database_client.rb', line 24466 def register_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, register_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) logger.debug 'Calling operation DatabaseClient#register_cloud_autonomous_vm_cluster_pkcs.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling register_cloud_autonomous_vm_cluster_pkcs." if cloud_autonomous_vm_cluster_id.nil? raise "Missing the required parameter 'register_cloud_autonomous_vm_cluster_pkcs_details' when calling register_cloud_autonomous_vm_cluster_pkcs." if register_cloud_autonomous_vm_cluster_pkcs_details.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/registerPkcs'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(register_cloud_autonomous_vm_cluster_pkcs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#register_cloud_autonomous_vm_cluster_pkcs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#register_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, register_cloud_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Click here to see an example of how to use register_cloud_vm_cluster_pkcs API.
Install the PKCS11 driver for given keystore type
24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 |
# File 'lib/oci/database/database_client.rb', line 24536 def register_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, register_cloud_vm_cluster_pkcs_details, opts = {}) logger.debug 'Calling operation DatabaseClient#register_cloud_vm_cluster_pkcs.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling register_cloud_vm_cluster_pkcs." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'register_cloud_vm_cluster_pkcs_details' when calling register_cloud_vm_cluster_pkcs." if register_cloud_vm_cluster_pkcs_details.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/registerPkcs'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(register_cloud_vm_cluster_pkcs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#register_cloud_vm_cluster_pkcs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#reinstate_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use reinstate_autonomous_container_database_dataguard API.
Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see Reinstate the Disabled Standby in an Autonomous Data Guard Configuration.
24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 |
# File 'lib/oci/database/database_client.rb', line 24600 def reinstate_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#reinstate_autonomous_container_database_dataguard.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling reinstate_autonomous_container_database_dataguard." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/reinstate'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_autonomous_container_database_dataguard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#reinstate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use reinstate_autonomous_container_database_dataguard_association API.
Deprecated. Use the reinstate_autonomous_container_database_dataguard operation to reinstate a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD.
24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 24676 24677 24678 24679 24680 24681 24682 24683 24684 24685 24686 24687 24688 24689 24690 24691 24692 24693 24694 24695 24696 24697 24698 |
# File 'lib/oci/database/database_client.rb', line 24660 def reinstate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#reinstate_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling reinstate_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling reinstate_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/reinstate'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_autonomous_container_database_dataguard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#reinstate_data_guard(database_id, reinstate_data_guard_details, opts = {}) ⇒ Response
Click here to see an example of how to use reinstate_data_guard API.
Reinstates the database identified by the databaseId parameter into the standby role in a Data Guard association.
This operation should be performed on disabled standby database.
24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 24751 24752 24753 24754 24755 24756 24757 24758 24759 24760 24761 24762 24763 24764 24765 24766 24767 24768 24769 24770 24771 |
# File 'lib/oci/database/database_client.rb', line 24731 def reinstate_data_guard(database_id, reinstate_data_guard_details, opts = {}) logger.debug 'Calling operation DatabaseClient#reinstate_data_guard.' if logger raise "Missing the required parameter 'database_id' when calling reinstate_data_guard." if database_id.nil? raise "Missing the required parameter 'reinstate_data_guard_details' when calling reinstate_data_guard." if reinstate_data_guard_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/reinstate'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(reinstate_data_guard_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_data_guard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#reinstate_data_guard_association(database_id, data_guard_association_id, reinstate_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use reinstate_data_guard_association API.
Reinstates the database identified by the databaseId parameter into the standby role in a Data Guard association.
24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 24832 24833 24834 |
# File 'lib/oci/database/database_client.rb', line 24795 def reinstate_data_guard_association(database_id, data_guard_association_id, reinstate_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#reinstate_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling reinstate_data_guard_association." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling reinstate_data_guard_association." if data_guard_association_id.nil? raise "Missing the required parameter 'reinstate_data_guard_association_details' when calling reinstate_data_guard_association." if reinstate_data_guard_association_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/reinstate'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(reinstate_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_data_guard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#remote_clone_pluggable_database(remote_clone_pluggable_database_details, pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use remote_clone_pluggable_database API.
Deprecated. Use create_pluggable_database for Pluggable Database RemoteClone Operation. Clones a pluggable database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone operation. The source PDB must be in the READ_WRITE openMode when performing the clone. For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the target container database (CDB) to create a remote clone.
24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 |
# File 'lib/oci/database/database_client.rb', line 24867 def remote_clone_pluggable_database(remote_clone_pluggable_database_details, pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#remote_clone_pluggable_database.' if logger raise "Missing the required parameter 'remote_clone_pluggable_database_details' when calling remote_clone_pluggable_database." if remote_clone_pluggable_database_details.nil? raise "Missing the required parameter 'pluggable_database_id' when calling remote_clone_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/remoteClone'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remote_clone_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#remote_clone_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#remove_virtual_machine_from_cloud_vm_cluster(remove_virtual_machine_from_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use remove_virtual_machine_from_cloud_vm_cluster API.
Remove Virtual Machines from the Cloud VM cluster. Applies to Exadata Cloud instances only.
24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 24968 24969 24970 24971 24972 24973 24974 24975 24976 24977 24978 |
# File 'lib/oci/database/database_client.rb', line 24938 def remove_virtual_machine_from_cloud_vm_cluster(remove_virtual_machine_from_cloud_vm_cluster_details, cloud_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#remove_virtual_machine_from_cloud_vm_cluster.' if logger raise "Missing the required parameter 'remove_virtual_machine_from_cloud_vm_cluster_details' when calling remove_virtual_machine_from_cloud_vm_cluster." if remove_virtual_machine_from_cloud_vm_cluster_details.nil? raise "Missing the required parameter 'cloud_vm_cluster_id' when calling remove_virtual_machine_from_cloud_vm_cluster." if cloud_vm_cluster_id.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/removeVirtualMachine'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_virtual_machine_from_cloud_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#remove_virtual_machine_from_cloud_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#remove_virtual_machine_from_exadb_vm_cluster(remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use remove_virtual_machine_from_exadb_vm_cluster API.
Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only.
25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 25030 25031 25032 25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 |
# File 'lib/oci/database/database_client.rb', line 25009 def remove_virtual_machine_from_exadb_vm_cluster(remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#remove_virtual_machine_from_exadb_vm_cluster.' if logger raise "Missing the required parameter 'remove_virtual_machine_from_exadb_vm_cluster_details' when calling remove_virtual_machine_from_exadb_vm_cluster." if remove_virtual_machine_from_exadb_vm_cluster_details.nil? raise "Missing the required parameter 'exadb_vm_cluster_id' when calling remove_virtual_machine_from_exadb_vm_cluster." if exadb_vm_cluster_id.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}/actions/removeVirtualMachine'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_virtual_machine_from_exadb_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#remove_virtual_machine_from_exadb_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#remove_virtual_machine_from_vm_cluster(remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use remove_virtual_machine_from_vm_cluster API.
Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer instances only.
25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 25098 25099 25100 25101 25102 25103 25104 25105 25106 25107 25108 25109 25110 25111 25112 25113 25114 25115 25116 25117 25118 25119 25120 |
# File 'lib/oci/database/database_client.rb', line 25080 def remove_virtual_machine_from_vm_cluster(remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#remove_virtual_machine_from_vm_cluster.' if logger raise "Missing the required parameter 'remove_virtual_machine_from_vm_cluster_details' when calling remove_virtual_machine_from_vm_cluster." if remove_virtual_machine_from_vm_cluster_details.nil? raise "Missing the required parameter 'vm_cluster_id' when calling remove_virtual_machine_from_vm_cluster." if vm_cluster_id.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}/actions/removeVirtualMachine'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_virtual_machine_from_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#remove_virtual_machine_from_vm_cluster') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#reorder_execution_actions(execution_window_id, reorder_execution_action_details, opts = {}) ⇒ Response
Click here to see an example of how to use reorder_execution_actions API.
Reorders the execution actions under this execution window resource.
25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 25189 25190 25191 |
# File 'lib/oci/database/database_client.rb', line 25151 def reorder_execution_actions(execution_window_id, reorder_execution_action_details, opts = {}) logger.debug 'Calling operation DatabaseClient#reorder_execution_actions.' if logger raise "Missing the required parameter 'execution_window_id' when calling reorder_execution_actions." if execution_window_id.nil? raise "Missing the required parameter 'reorder_execution_action_details' when calling reorder_execution_actions." if reorder_execution_action_details.nil? raise "Parameter value for 'execution_window_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_window_id) path = '/executionWindows/{executionWindowId}/actions/reorder'.sub('{executionWindowId}', execution_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(reorder_execution_action_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reorder_execution_actions') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionWindow' ) end # rubocop:enable Metrics/BlockLength end |
#reorder_scheduled_actions(reorder_scheduled_actions_details, scheduling_plan_id, opts = {}) ⇒ Response
Click here to see an example of how to use reorder_scheduled_actions API.
Re-order the scheduled actions under this scheduling plan resource.
25222 25223 25224 25225 25226 25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 25241 25242 25243 25244 25245 25246 25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 |
# File 'lib/oci/database/database_client.rb', line 25222 def reorder_scheduled_actions(reorder_scheduled_actions_details, scheduling_plan_id, opts = {}) logger.debug 'Calling operation DatabaseClient#reorder_scheduled_actions.' if logger raise "Missing the required parameter 'reorder_scheduled_actions_details' when calling reorder_scheduled_actions." if reorder_scheduled_actions_details.nil? raise "Missing the required parameter 'scheduling_plan_id' when calling reorder_scheduled_actions." if scheduling_plan_id.nil? raise "Parameter value for 'scheduling_plan_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_plan_id) path = '/schedulingPlans/{schedulingPlanId}/actions/reorder'.sub('{schedulingPlanId}', scheduling_plan_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(reorder_scheduled_actions_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reorder_scheduled_actions') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPlan' ) end # rubocop:enable Metrics/BlockLength end |
#reschedule_managed_db_software_update(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use reschedule_managed_db_software_update API.
Reschedule the Managed Database Software Update
25292 25293 25294 25295 25296 25297 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 |
# File 'lib/oci/database/database_client.rb', line 25292 def reschedule_managed_db_software_update(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#reschedule_managed_db_software_update.' if logger raise "Missing the required parameter 'database_id' when calling reschedule_managed_db_software_update." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/rescheduleManagedDbSoftwareUpdate'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#reschedule_managed_db_software_update') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#resize_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, resize_vm_cluster_network_details, opts = {}) ⇒ Response
Click here to see an example of how to use resize_vm_cluster_network API.
Adds or removes Db server network nodes to extend or shrink the existing VM cluster network. Applies to Exadata Cloud@Customer instances only.
25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 25383 25384 25385 25386 25387 25388 25389 25390 25391 25392 25393 25394 25395 25396 25397 25398 25399 25400 25401 25402 25403 25404 25405 25406 |
# File 'lib/oci/database/database_client.rb', line 25364 def resize_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, resize_vm_cluster_network_details, opts = {}) logger.debug 'Calling operation DatabaseClient#resize_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling resize_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling resize_vm_cluster_network." if vm_cluster_network_id.nil? raise "Missing the required parameter 'resize_vm_cluster_network_details' when calling resize_vm_cluster_network." if resize_vm_cluster_network_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/resize'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(resize_vm_cluster_network_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#resize_vm_cluster_network') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetwork' ) end # rubocop:enable Metrics/BlockLength end |
#resource_pool_shapes(opts = {}) ⇒ Response
Click here to see an example of how to use resource_pool_shapes API.
Lists available resource pools shapes.
25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 25448 25449 25450 25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 |
# File 'lib/oci/database/database_client.rb', line 25436 def resource_pool_shapes(opts = {}) logger.debug 'Calling operation DatabaseClient#resource_pool_shapes.' if logger path = '/autonomousDatabases/actions/listResourcePoolShapes' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#resource_pool_shapes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ResourcePoolShapeCollection' ) end # rubocop:enable Metrics/BlockLength end |
#restart_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use restart_autonomous_container_database API.
Rolling restarts the specified Autonomous Container Database.
25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 |
# File 'lib/oci/database/database_client.rb', line 25500 def restart_autonomous_container_database(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#restart_autonomous_container_database.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling restart_autonomous_container_database." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/restart'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(opts[:restart_autonomous_container_database_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restart_autonomous_container_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#restart_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use restart_autonomous_database API.
Restarts the specified Autonomous AI Database.
25564 25565 25566 25567 25568 25569 25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 25592 25593 25594 25595 25596 25597 25598 25599 25600 25601 25602 |
# File 'lib/oci/database/database_client.rb', line 25564 def restart_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#restart_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling restart_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/restart'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:isOnlineRestart] = opts[:is_online_restart] if !opts[:is_online_restart].nil? # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(opts[:restart_autonomous_database_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restart_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#restart_autonomous_vm_cluster_ords(autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use restart_autonomous_vm_cluster_ords API.
Restarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.
25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 |
# File 'lib/oci/database/database_client.rb', line 25632 def restart_autonomous_vm_cluster_ords(autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#restart_autonomous_vm_cluster_ords.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling restart_autonomous_vm_cluster_ords." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/actions/restartOrds'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restart_autonomous_vm_cluster_ords') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#restart_cloud_autonomous_vm_cluster_ords(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use restart_cloud_autonomous_vm_cluster_ords API.
Restarts Oracle REST Data Services (ORDS) for a cloud Autonomous Exadata VM cluster.
25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 |
# File 'lib/oci/database/database_client.rb', line 25700 def restart_cloud_autonomous_vm_cluster_ords(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#restart_cloud_autonomous_vm_cluster_ords.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling restart_cloud_autonomous_vm_cluster_ords." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/restartOrds'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restart_cloud_autonomous_vm_cluster_ords') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#restore_autonomous_database(autonomous_database_id, restore_autonomous_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use restore_autonomous_database API.
Restores an Autonomous AI Database based on the provided request parameters.
25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 |
# File 'lib/oci/database/database_client.rb', line 25764 def restore_autonomous_database(autonomous_database_id, restore_autonomous_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#restore_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling restore_autonomous_database." if autonomous_database_id.nil? raise "Missing the required parameter 'restore_autonomous_database_details' when calling restore_autonomous_database." if restore_autonomous_database_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/restore'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(restore_autonomous_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restore_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#restore_database(database_id, restore_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use restore_database API.
Restore a Database based on the request parameters you provide.
25825 25826 25827 25828 25829 25830 25831 25832 25833 25834 25835 25836 25837 25838 25839 25840 25841 25842 25843 25844 25845 25846 25847 25848 25849 25850 25851 25852 25853 25854 25855 25856 25857 25858 25859 25860 25861 25862 |
# File 'lib/oci/database/database_client.rb', line 25825 def restore_database(database_id, restore_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#restore_database.' if logger raise "Missing the required parameter 'database_id' when calling restore_database." if database_id.nil? raise "Missing the required parameter 'restore_database_details' when calling restore_database." if restore_database_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/restore'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(restore_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#restore_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#rotate_autonomous_container_database_encryption_key(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_autonomous_container_database_encryption_key API.
Creates a new version of an existing Vault service key.
25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 25904 25905 25906 25907 25908 25909 25910 25911 25912 25913 25914 25915 25916 25917 25918 25919 25920 25921 25922 25923 25924 25925 25926 25927 25928 25929 25930 25931 |
# File 'lib/oci/database/database_client.rb', line 25892 def rotate_autonomous_container_database_encryption_key(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_autonomous_container_database_encryption_key.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling rotate_autonomous_container_database_encryption_key." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/rotateKey'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rotate_autonomous_container_database_encryption_key_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_autonomous_container_database_encryption_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#rotate_autonomous_database_encryption_key(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_autonomous_database_encryption_key API.
Rotate existing AutonomousDatabase Vault service key.
25961 25962 25963 25964 25965 25966 25967 25968 25969 25970 25971 25972 25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 |
# File 'lib/oci/database/database_client.rb', line 25961 def rotate_autonomous_database_encryption_key(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_autonomous_database_encryption_key.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling rotate_autonomous_database_encryption_key." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/rotateKey'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rotate_autonomous_database_encryption_key_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_autonomous_database_encryption_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#rotate_autonomous_vm_cluster_ords_certs(rotate_autonomous_vm_cluster_ords_certs_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_autonomous_vm_cluster_ords_certs API.
Rotates the Oracle REST Data Services (ORDS) certificates for Autonomous Exadata VM cluster.
26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 26050 26051 26052 26053 26054 26055 26056 26057 26058 26059 26060 26061 26062 26063 26064 26065 26066 26067 26068 26069 26070 |
# File 'lib/oci/database/database_client.rb', line 26031 def rotate_autonomous_vm_cluster_ords_certs(rotate_autonomous_vm_cluster_ords_certs_details, autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_autonomous_vm_cluster_ords_certs.' if logger raise "Missing the required parameter 'rotate_autonomous_vm_cluster_ords_certs_details' when calling rotate_autonomous_vm_cluster_ords_certs." if rotate_autonomous_vm_cluster_ords_certs_details.nil? raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling rotate_autonomous_vm_cluster_ords_certs." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/actions/rotateOrdsCerts'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(rotate_autonomous_vm_cluster_ords_certs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_autonomous_vm_cluster_ords_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_autonomous_vm_cluster_ssl_certs(rotate_autonomous_vm_cluster_ssl_certs_details, autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_autonomous_vm_cluster_ssl_certs API.
Rotates the SSL certificates for Autonomous Exadata VM cluster.
26101 26102 26103 26104 26105 26106 26107 26108 26109 26110 26111 26112 26113 26114 26115 26116 26117 26118 26119 26120 26121 26122 26123 26124 26125 26126 26127 26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 26139 26140 |
# File 'lib/oci/database/database_client.rb', line 26101 def rotate_autonomous_vm_cluster_ssl_certs(rotate_autonomous_vm_cluster_ssl_certs_details, autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_autonomous_vm_cluster_ssl_certs.' if logger raise "Missing the required parameter 'rotate_autonomous_vm_cluster_ssl_certs_details' when calling rotate_autonomous_vm_cluster_ssl_certs." if rotate_autonomous_vm_cluster_ssl_certs_details.nil? raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling rotate_autonomous_vm_cluster_ssl_certs." if autonomous_vm_cluster_id.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}/actions/rotateSslCerts'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(rotate_autonomous_vm_cluster_ssl_certs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_autonomous_vm_cluster_ssl_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_cloud_autonomous_vm_cluster_ords_certs(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_cloud_autonomous_vm_cluster_ords_certs API.
Rotates the Oracle REST Data Services (ORDS) certificates for a cloud Autonomous Exadata VM cluster.
26171 26172 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 26205 26206 26207 26208 26209 |
# File 'lib/oci/database/database_client.rb', line 26171 def rotate_cloud_autonomous_vm_cluster_ords_certs(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_cloud_autonomous_vm_cluster_ords_certs.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling rotate_cloud_autonomous_vm_cluster_ords_certs." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/rotateOrdsCerts'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rotate_cloud_autonomous_vm_cluster_ords_certs_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_cloud_autonomous_vm_cluster_ords_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_cloud_autonomous_vm_cluster_ssl_certs(cloud_autonomous_vm_cluster_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_cloud_autonomous_vm_cluster_ssl_certs API.
Rotates the SSL certficates for a cloud Autonomous Exadata VM cluster.
26240 26241 26242 26243 26244 26245 26246 26247 26248 26249 26250 26251 26252 26253 26254 26255 26256 26257 26258 26259 26260 26261 26262 26263 26264 26265 26266 26267 26268 26269 26270 26271 26272 26273 26274 26275 26276 26277 26278 |
# File 'lib/oci/database/database_client.rb', line 26240 def rotate_cloud_autonomous_vm_cluster_ssl_certs(cloud_autonomous_vm_cluster_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_cloud_autonomous_vm_cluster_ssl_certs.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling rotate_cloud_autonomous_vm_cluster_ssl_certs." if cloud_autonomous_vm_cluster_id.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/rotateSslCerts'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:rotate_cloud_autonomous_vm_cluster_ssl_certs_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_cloud_autonomous_vm_cluster_ssl_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_ords_certs(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_ords_certs API.
Deprecated. Use the rotate_cloud_autonomous_vm_cluster_ords_certs to rotate Oracle REST Data Services (ORDS) certs for an Autonomous Exadata VM cluster instead.
26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 |
# File 'lib/oci/database/database_client.rb', line 26308 def rotate_ords_certs(autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_ords_certs.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling rotate_ords_certs." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/rotateOrdsCerts'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_ords_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_pluggable_database_encryption_key(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_pluggable_database_encryption_key API.
Create a new version of the existing encryption key.
26375 26376 26377 26378 26379 26380 26381 26382 26383 26384 26385 26386 26387 26388 26389 26390 26391 26392 26393 26394 26395 26396 26397 26398 26399 26400 26401 26402 26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 |
# File 'lib/oci/database/database_client.rb', line 26375 def rotate_pluggable_database_encryption_key(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_pluggable_database_encryption_key.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling rotate_pluggable_database_encryption_key." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/rotateKey'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_pluggable_database_encryption_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_ssl_certs(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_ssl_certs API.
Deprecated. Use the rotate_cloud_autonomous_vm_cluster_ssl_certs to rotate SSL certs for an Autonomous Exadata VM cluster instead.
26443 26444 26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 |
# File 'lib/oci/database/database_client.rb', line 26443 def rotate_ssl_certs(autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_ssl_certs.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling rotate_ssl_certs." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/rotateSslCerts'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_ssl_certs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#rotate_vault_key(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use rotate_vault_key API.
Creates a new version of an existing Vault service key.
26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 26529 26530 26531 26532 26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 26547 26548 26549 |
# File 'lib/oci/database/database_client.rb', line 26510 def rotate_vault_key(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#rotate_vault_key.' if logger raise "Missing the required parameter 'database_id' when calling rotate_vault_key." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/rotateKey'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_vault_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#run_data_patch(database_id, opts = {}) ⇒ Response
Click here to see an example of how to use run_data_patch API.
Run datapatch on the specified Oracle Database and optionally on the specified Pluggable databases.
26580 26581 26582 26583 26584 26585 26586 26587 26588 26589 26590 26591 26592 26593 26594 26595 26596 26597 26598 26599 26600 26601 26602 26603 26604 26605 26606 26607 26608 26609 26610 26611 26612 26613 26614 26615 26616 26617 26618 26619 |
# File 'lib/oci/database/database_client.rb', line 26580 def run_data_patch(database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#run_data_patch.' if logger raise "Missing the required parameter 'database_id' when calling run_data_patch." if database_id.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/runDatapatch'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(opts[:run_data_patch_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#run_data_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#saas_admin_user_status(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use saas_admin_user_status API.
This operation gets SaaS administrative user status of the Autonomous AI Database.
26638 26639 26640 26641 26642 26643 26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 26672 26673 26674 |
# File 'lib/oci/database/database_client.rb', line 26638 def saas_admin_user_status(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#saas_admin_user_status.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling saas_admin_user_status." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/getSaasAdminUserStatus'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#saas_admin_user_status') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SaasAdminUserStatus' ) end # rubocop:enable Metrics/BlockLength end |
#scan_external_container_database_pluggable_databases(external_container_database_id, external_database_connector_id, opts = {}) ⇒ Response
Click here to see an example of how to use scan_external_container_database_pluggable_databases API.
Scans for pluggable databases in the specified external container database. This operation will return un-registered pluggable databases in the get_work_request operation.
26704 26705 26706 26707 26708 26709 26710 26711 26712 26713 26714 26715 26716 26717 26718 26719 26720 26721 26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 26737 26738 26739 26740 26741 26742 26743 |
# File 'lib/oci/database/database_client.rb', line 26704 def scan_external_container_database_pluggable_databases(external_container_database_id, external_database_connector_id, opts = {}) logger.debug 'Calling operation DatabaseClient#scan_external_container_database_pluggable_databases.' if logger raise "Missing the required parameter 'external_container_database_id' when calling scan_external_container_database_pluggable_databases." if external_container_database_id.nil? raise "Missing the required parameter 'external_database_connector_id' when calling scan_external_container_database_pluggable_databases." if external_database_connector_id.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}/actions/scanPluggableDatabases'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:externalDatabaseConnectorId] = external_database_connector_id # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#scan_external_container_database_pluggable_databases') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#set_db_key_version(database_id, set_key_version_details, opts = {}) ⇒ Response
Click here to see an example of how to use set_db_key_version API.
Sets a new version of an existing Vault service key.
26773 26774 26775 26776 26777 26778 26779 26780 26781 26782 26783 26784 26785 26786 26787 26788 26789 26790 26791 26792 26793 26794 26795 26796 26797 26798 26799 26800 26801 26802 26803 26804 26805 26806 26807 26808 26809 26810 26811 26812 26813 |
# File 'lib/oci/database/database_client.rb', line 26773 def set_db_key_version(database_id, set_key_version_details, opts = {}) logger.debug 'Calling operation DatabaseClient#set_db_key_version.' if logger raise "Missing the required parameter 'database_id' when calling set_db_key_version." if database_id.nil? raise "Missing the required parameter 'set_key_version_details' when calling set_db_key_version." if set_key_version_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/setKeyVersion'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(set_key_version_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#set_db_key_version') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#set_pdb_key_version(pluggable_database_id, set_key_version_details, opts = {}) ⇒ Response
Click here to see an example of how to use set_pdb_key_version API.
Sets a new version of an existing Vault service key.
26843 26844 26845 26846 26847 26848 26849 26850 26851 26852 26853 26854 26855 26856 26857 26858 26859 26860 26861 26862 26863 26864 26865 26866 26867 26868 26869 26870 26871 26872 26873 26874 26875 26876 26877 26878 26879 26880 26881 26882 26883 |
# File 'lib/oci/database/database_client.rb', line 26843 def set_pdb_key_version(pluggable_database_id, set_key_version_details, opts = {}) logger.debug 'Calling operation DatabaseClient#set_pdb_key_version.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling set_pdb_key_version." if pluggable_database_id.nil? raise "Missing the required parameter 'set_key_version_details' when calling set_pdb_key_version." if set_key_version_details.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/setKeyVersion'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(set_key_version_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#set_pdb_key_version') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#shrink_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use shrink_autonomous_database API.
This operation shrinks the current allocated storage down to the current actual used data storage (actualUsedDataStorageSizeInTBs). The if the base storage value for the database (dataStorageSizeInTBs) is larger than the actualUsedDataStorageSizeInTBs value, you are billed for the base storage value.
26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 26924 26925 26926 26927 26928 26929 26930 26931 26932 26933 26934 26935 26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 |
# File 'lib/oci/database/database_client.rb', line 26908 def shrink_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#shrink_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling shrink_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/shrink'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#shrink_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#start_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use start_autonomous_database API.
Starts the specified Autonomous AI Database.
26970 26971 26972 26973 26974 26975 26976 26977 26978 26979 26980 26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 |
# File 'lib/oci/database/database_client.rb', line 26970 def start_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#start_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling start_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/start'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#start_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#start_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use start_pluggable_database API.
Starts a stopped pluggable database. The openMode value of the pluggable database will be READ_WRITE upon completion.
27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 27050 27051 27052 27053 27054 27055 27056 27057 27058 27059 27060 27061 27062 27063 27064 27065 27066 27067 27068 27069 27070 27071 27072 27073 27074 27075 |
# File 'lib/oci/database/database_client.rb', line 27036 def start_pluggable_database(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#start_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling start_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/start'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#start_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#stop_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use stop_autonomous_database API.
Stops the specified Autonomous AI Database.
27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125 27126 27127 27128 27129 27130 27131 27132 27133 27134 27135 27136 27137 27138 27139 27140 27141 |
# File 'lib/oci/database/database_client.rb', line 27103 def stop_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#stop_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling stop_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/stop'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(opts[:stop_autonomous_database_details]) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#stop_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#stop_pluggable_database(pluggable_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use stop_pluggable_database API.
Stops a pluggable database. The openMode value of the pluggable database will be MOUNTED upon completion.
27170 27171 27172 27173 27174 27175 27176 27177 27178 27179 27180 27181 27182 27183 27184 27185 27186 27187 27188 27189 27190 27191 27192 27193 27194 27195 27196 27197 27198 27199 27200 27201 27202 27203 27204 27205 27206 27207 27208 27209 |
# File 'lib/oci/database/database_client.rb', line 27170 def stop_pluggable_database(pluggable_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#stop_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling stop_pluggable_database." if pluggable_database_id.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}/actions/stop'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#stop_pluggable_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#switch_over_data_guard(database_id, switch_over_data_guard_details, opts = {}) ⇒ Response
Click here to see an example of how to use switch_over_data_guard API.
Performs a switchover to transition primary database of this Data Guard association into a standby role. The standby database associated with the dataGuardAssociationId assumes the primary database role.
A switchover guarantees no data loss.
This operation should be performed on respective standby database.
27245 27246 27247 27248 27249 27250 27251 27252 27253 27254 27255 27256 27257 27258 27259 27260 27261 27262 27263 27264 27265 27266 27267 27268 27269 27270 27271 27272 27273 27274 27275 27276 27277 27278 27279 27280 27281 27282 27283 27284 27285 |
# File 'lib/oci/database/database_client.rb', line 27245 def switch_over_data_guard(database_id, switch_over_data_guard_details, opts = {}) logger.debug 'Calling operation DatabaseClient#switch_over_data_guard.' if logger raise "Missing the required parameter 'database_id' when calling switch_over_data_guard." if database_id.nil? raise "Missing the required parameter 'switch_over_data_guard_details' when calling switch_over_data_guard." if switch_over_data_guard_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/switchover'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(switch_over_data_guard_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#switch_over_data_guard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#switchover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use switchover_autonomous_container_database_dataguard API.
Switchover an Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD. This standby ACD will become the new primary ACD when the switchover completes successfully. For more information, see Switch Roles in an Autonomous Data Guard Configuration.
27310 27311 27312 27313 27314 27315 27316 27317 27318 27319 27320 27321 27322 27323 27324 27325 27326 27327 27328 27329 27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 27344 27345 27346 27347 |
# File 'lib/oci/database/database_client.rb', line 27310 def switchover_autonomous_container_database_dataguard(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#switchover_autonomous_container_database_dataguard.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling switchover_autonomous_container_database_dataguard." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/switchover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#switchover_autonomous_container_database_dataguard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#switchover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) ⇒ Response
Click here to see an example of how to use switchover_autonomous_container_database_dataguard_association API.
Deprecated. Use the switchover_autonomous_container_database_dataguard operation to switches over the primary Autonomous Container Database (ACD) of an Autonomous Data Guard peer association to standby role. The standby ACD associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary ACD role.
A switchover incurs no data loss.
27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 27384 27385 27386 27387 27388 27389 27390 27391 27392 27393 27394 27395 27396 27397 27398 27399 27400 27401 27402 27403 27404 27405 27406 27407 27408 27409 27410 |
# File 'lib/oci/database/database_client.rb', line 27372 def switchover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {}) logger.debug 'Calling operation DatabaseClient#switchover_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling switchover_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling switchover_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/switchover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#switchover_autonomous_container_database_dataguard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#switchover_autonomous_database(autonomous_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use switchover_autonomous_database API.
Initiates a switchover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled. This API should be called in the remote region where the peer database resides. Below parameter is optional: - peerDbId Use this parameter to specify the database OCID of the Disaster Recovery peer, which is located in a different (remote) region from the current peer database. If this parameter is not provided, the switchover will happen in the same region.
27449 27450 27451 27452 27453 27454 27455 27456 27457 27458 27459 27460 27461 27462 27463 27464 27465 27466 27467 27468 27469 27470 27471 27472 27473 27474 27475 27476 27477 27478 27479 27480 27481 27482 27483 27484 27485 27486 27487 27488 27489 27490 |
# File 'lib/oci/database/database_client.rb', line 27449 def switchover_autonomous_database(autonomous_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#switchover_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling switchover_autonomous_database." if autonomous_database_id.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/actions/switchover'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:peerDbId] = opts[:peer_db_id] if opts[:peer_db_id] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#switchover_autonomous_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#switchover_data_guard_association(database_id, data_guard_association_id, switchover_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use switchover_data_guard_association API.
Performs a switchover to transition the primary database of a Data Guard association into a standby role. The standby database associated with the dataGuardAssociationId assumes the primary database role.
A switchover guarantees no data loss.
27517 27518 27519 27520 27521 27522 27523 27524 27525 27526 27527 27528 27529 27530 27531 27532 27533 27534 27535 27536 27537 27538 27539 27540 27541 27542 27543 27544 27545 27546 27547 27548 27549 27550 27551 27552 27553 27554 27555 27556 |
# File 'lib/oci/database/database_client.rb', line 27517 def switchover_data_guard_association(database_id, data_guard_association_id, switchover_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#switchover_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling switchover_data_guard_association." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling switchover_data_guard_association." if data_guard_association_id.nil? raise "Missing the required parameter 'switchover_data_guard_association_details' when calling switchover_data_guard_association." if switchover_data_guard_association_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/switchover'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(switchover_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#switchover_data_guard_association') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#terminate_autonomous_container_database(autonomous_container_database_id, opts = {}) ⇒ Response
Click here to see an example of how to use terminate_autonomous_container_database API.
Terminates an Autonomous Container Database, which permanently deletes the container database and any databases within the container database. The database data is local to the Autonomous Exadata Infrastructure and will be lost when the container database is terminated. Oracle recommends that you back up any data in the Autonomous Container Database prior to terminating it.
27577 27578 27579 27580 27581 27582 27583 27584 27585 27586 27587 27588 27589 27590 27591 27592 27593 27594 27595 27596 27597 27598 27599 27600 27601 27602 27603 27604 27605 27606 27607 27608 27609 27610 27611 27612 |
# File 'lib/oci/database/database_client.rb', line 27577 def terminate_autonomous_container_database(autonomous_container_database_id, opts = {}) logger.debug 'Calling operation DatabaseClient#terminate_autonomous_container_database.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling terminate_autonomous_container_database." if autonomous_container_database_id.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#terminate_autonomous_container_database') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#terminate_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) ⇒ Response
Click here to see an example of how to use terminate_autonomous_exadata_infrastructure API.
Deprecated. To terminate an Exadata Infrastructure resource in the Oracle cloud, use the delete_cloud_exadata_infrastructure operation. To delete an Autonomous Exadata VM cluster in the Oracle cloud, use the delete_cloud_autonomous_vm_cluster operation.
27634 27635 27636 27637 27638 27639 27640 27641 27642 27643 27644 27645 27646 27647 27648 27649 27650 27651 27652 27653 27654 27655 27656 27657 27658 27659 27660 27661 27662 27663 27664 27665 27666 27667 27668 27669 |
# File 'lib/oci/database/database_client.rb', line 27634 def terminate_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {}) logger.debug 'Calling operation DatabaseClient#terminate_autonomous_exadata_infrastructure.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling terminate_autonomous_exadata_infrastructure." if autonomous_exadata_infrastructure_id.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#terminate_autonomous_exadata_infrastructure') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#terminate_db_system(db_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use terminate_db_system API.
Terminates a DB system and permanently deletes it and any databases running on it, and any storage volumes attached to it. The database data is local to the DB system and will be lost when the system is terminated. Oracle recommends that you back up any data in the DB system prior to terminating it.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
27695 27696 27697 27698 27699 27700 27701 27702 27703 27704 27705 27706 27707 27708 27709 27710 27711 27712 27713 27714 27715 27716 27717 27718 27719 27720 27721 27722 27723 27724 27725 27726 27727 27728 27729 27730 |
# File 'lib/oci/database/database_client.rb', line 27695 def terminate_db_system(db_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#terminate_db_system.' if logger raise "Missing the required parameter 'db_system_id' when calling terminate_db_system." if db_system_id.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#terminate_db_system') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#unmount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) ⇒ Response
Click here to see an example of how to use unmount_advanced_cluster_file_system API.
Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
27760 27761 27762 27763 27764 27765 27766 27767 27768 27769 27770 27771 27772 27773 27774 27775 27776 27777 27778 27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 27790 27791 27792 27793 27794 27795 27796 27797 27798 27799 |
# File 'lib/oci/database/database_client.rb', line 27760 def unmount_advanced_cluster_file_system(advanced_cluster_file_system_id, opts = {}) logger.debug 'Calling operation DatabaseClient#unmount_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'advanced_cluster_file_system_id' when calling unmount_advanced_cluster_file_system." if advanced_cluster_file_system_id.nil? raise "Parameter value for 'advanced_cluster_file_system_id' must not be blank" if OCI::Internal::Util.blank_string?(advanced_cluster_file_system_id) path = '/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/unmount'.sub('{advancedClusterFileSystemId}', advanced_cluster_file_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#unmount_advanced_cluster_file_system') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystem' ) end # rubocop:enable Metrics/BlockLength end |
#unmount_dbnode_snapshot(unmount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) ⇒ Response
Click here to see an example of how to use unmount_dbnode_snapshot API.
Unmounts the snapshot for the provided dbNode.
27830 27831 27832 27833 27834 27835 27836 27837 27838 27839 27840 27841 27842 27843 27844 27845 27846 27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 27857 27858 27859 27860 27861 27862 27863 27864 27865 27866 27867 27868 27869 27870 |
# File 'lib/oci/database/database_client.rb', line 27830 def unmount_dbnode_snapshot(unmount_dbnode_snapshot_details, dbnode_snapshot_id, opts = {}) logger.debug 'Calling operation DatabaseClient#unmount_dbnode_snapshot.' if logger raise "Missing the required parameter 'unmount_dbnode_snapshot_details' when calling unmount_dbnode_snapshot." if unmount_dbnode_snapshot_details.nil? raise "Missing the required parameter 'dbnode_snapshot_id' when calling unmount_dbnode_snapshot." if dbnode_snapshot_id.nil? raise "Parameter value for 'dbnode_snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(dbnode_snapshot_id) path = '/dbnodeSnapshots/{dbnodeSnapshotId}/actions/unmount'.sub('{dbnodeSnapshotId}', dbnode_snapshot_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(unmount_dbnode_snapshot_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#unmount_dbnode_snapshot') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbnodeSnapshot' ) end # rubocop:enable Metrics/BlockLength end |
#unregister_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, unregister_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Click here to see an example of how to use unregister_cloud_autonomous_vm_cluster_pkcs API.
Uninstall the PKCS11 driver for given keystore type
27901 27902 27903 27904 27905 27906 27907 27908 27909 27910 27911 27912 27913 27914 27915 27916 27917 27918 27919 27920 27921 27922 27923 27924 27925 27926 27927 27928 27929 27930 27931 27932 27933 27934 27935 27936 27937 27938 27939 27940 |
# File 'lib/oci/database/database_client.rb', line 27901 def unregister_cloud_autonomous_vm_cluster_pkcs(cloud_autonomous_vm_cluster_id, unregister_cloud_autonomous_vm_cluster_pkcs_details, opts = {}) logger.debug 'Calling operation DatabaseClient#unregister_cloud_autonomous_vm_cluster_pkcs.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling unregister_cloud_autonomous_vm_cluster_pkcs." if cloud_autonomous_vm_cluster_id.nil? raise "Missing the required parameter 'unregister_cloud_autonomous_vm_cluster_pkcs_details' when calling unregister_cloud_autonomous_vm_cluster_pkcs." if unregister_cloud_autonomous_vm_cluster_pkcs_details.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/unregisterPkcs'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(unregister_cloud_autonomous_vm_cluster_pkcs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#unregister_cloud_autonomous_vm_cluster_pkcs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#unregister_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, unregister_cloud_vm_cluster_pkcs_details, opts = {}) ⇒ Response
Click here to see an example of how to use unregister_cloud_vm_cluster_pkcs API.
Uninstall the PKCS11 driver for given keystore type
27971 27972 27973 27974 27975 27976 27977 27978 27979 27980 27981 27982 27983 27984 27985 27986 27987 27988 27989 27990 27991 27992 27993 27994 27995 27996 27997 27998 27999 28000 28001 28002 28003 28004 28005 28006 28007 28008 28009 28010 |
# File 'lib/oci/database/database_client.rb', line 27971 def unregister_cloud_vm_cluster_pkcs(cloud_vm_cluster_id, unregister_cloud_vm_cluster_pkcs_details, opts = {}) logger.debug 'Calling operation DatabaseClient#unregister_cloud_vm_cluster_pkcs.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling unregister_cloud_vm_cluster_pkcs." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'unregister_cloud_vm_cluster_pkcs_details' when calling unregister_cloud_vm_cluster_pkcs." if unregister_cloud_vm_cluster_pkcs_details.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/actions/unregisterPkcs'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(unregister_cloud_vm_cluster_pkcs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#unregister_cloud_vm_cluster_pkcs') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_advanced_cluster_file_system(advanced_cluster_file_system_id, update_advanced_cluster_file_system_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_advanced_cluster_file_system API.
Updates the advanced cluster file system resource.
28035 28036 28037 28038 28039 28040 28041 28042 28043 28044 28045 28046 28047 28048 28049 28050 28051 28052 28053 28054 28055 28056 28057 28058 28059 28060 28061 28062 28063 28064 28065 28066 28067 28068 28069 28070 28071 28072 28073 |
# File 'lib/oci/database/database_client.rb', line 28035 def update_advanced_cluster_file_system(advanced_cluster_file_system_id, update_advanced_cluster_file_system_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_advanced_cluster_file_system.' if logger raise "Missing the required parameter 'advanced_cluster_file_system_id' when calling update_advanced_cluster_file_system." if advanced_cluster_file_system_id.nil? raise "Missing the required parameter 'update_advanced_cluster_file_system_details' when calling update_advanced_cluster_file_system." if update_advanced_cluster_file_system_details.nil? raise "Parameter value for 'advanced_cluster_file_system_id' must not be blank" if OCI::Internal::Util.blank_string?(advanced_cluster_file_system_id) path = '/advancedClusterFileSystems/{advancedClusterFileSystemId}'.sub('{advancedClusterFileSystemId}', advanced_cluster_file_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_advanced_cluster_file_system_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_advanced_cluster_file_system') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AdvancedClusterFileSystem' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_container_database(autonomous_container_database_id, update_autonomous_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_container_database API.
Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.
28095 28096 28097 28098 28099 28100 28101 28102 28103 28104 28105 28106 28107 28108 28109 28110 28111 28112 28113 28114 28115 28116 28117 28118 28119 28120 28121 28122 28123 28124 28125 28126 28127 28128 28129 28130 28131 28132 |
# File 'lib/oci/database/database_client.rb', line 28095 def update_autonomous_container_database(autonomous_container_database_id, update_autonomous_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_container_database.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling update_autonomous_container_database." if autonomous_container_database_id.nil? raise "Missing the required parameter 'update_autonomous_container_database_details' when calling update_autonomous_container_database." if update_autonomous_container_database_details.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_container_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, update_autonomous_container_database_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_container_database_dataguard_association API.
Deprecated. Use the edit_autonomous_container_database_dataguard operation to update an Autonomous Data Guard association.
28158 28159 28160 28161 28162 28163 28164 28165 28166 28167 28168 28169 28170 28171 28172 28173 28174 28175 28176 28177 28178 28179 28180 28181 28182 28183 28184 28185 28186 28187 28188 28189 28190 28191 28192 28193 28194 28195 28196 28197 28198 |
# File 'lib/oci/database/database_client.rb', line 28158 def update_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, update_autonomous_container_database_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_container_database_dataguard_association.' if logger raise "Missing the required parameter 'autonomous_container_database_id' when calling update_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil? raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling update_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil? raise "Missing the required parameter 'update_autonomous_container_database_data_guard_association_details' when calling update_autonomous_container_database_dataguard_association." if update_autonomous_container_database_data_guard_association_details.nil? raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id) raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id) path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_container_database_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_container_database_dataguard_association') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_database(autonomous_database_id, update_autonomous_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_database API.
Updates one or more attributes of the specified Autonomous AI Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated.
28226 28227 28228 28229 28230 28231 28232 28233 28234 28235 28236 28237 28238 28239 28240 28241 28242 28243 28244 28245 28246 28247 28248 28249 28250 28251 28252 28253 28254 28255 28256 28257 28258 28259 28260 28261 28262 28263 28264 28265 |
# File 'lib/oci/database/database_client.rb', line 28226 def update_autonomous_database(autonomous_database_id, update_autonomous_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_database.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling update_autonomous_database." if autonomous_database_id.nil? raise "Missing the required parameter 'update_autonomous_database_details' when calling update_autonomous_database." if update_autonomous_database_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_database_backup(autonomous_database_backup_id, update_autonomous_database_backup_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_database_backup API.
Updates the Autonomous AI Database backup of the specified database based on the request parameters.
28293 28294 28295 28296 28297 28298 28299 28300 28301 28302 28303 28304 28305 28306 28307 28308 28309 28310 28311 28312 28313 28314 28315 28316 28317 28318 28319 28320 28321 28322 28323 28324 28325 28326 28327 28328 28329 28330 28331 28332 |
# File 'lib/oci/database/database_client.rb', line 28293 def update_autonomous_database_backup(autonomous_database_backup_id, update_autonomous_database_backup_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_database_backup.' if logger raise "Missing the required parameter 'autonomous_database_backup_id' when calling update_autonomous_database_backup." if autonomous_database_backup_id.nil? raise "Missing the required parameter 'update_autonomous_database_backup_details' when calling update_autonomous_database_backup." if update_autonomous_database_backup_details.nil? raise "Parameter value for 'autonomous_database_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_backup_id) path = '/autonomousDatabaseBackups/{autonomousDatabaseBackupId}'.sub('{autonomousDatabaseBackupId}', autonomous_database_backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_database_backup_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_database_backup') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseBackup' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_database_regional_wallet(update_autonomous_database_wallet_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_database_regional_wallet API.
Updates the Autonomous AI Database regional wallet.
28355 28356 28357 28358 28359 28360 28361 28362 28363 28364 28365 28366 28367 28368 28369 28370 28371 28372 28373 28374 28375 28376 28377 28378 28379 28380 28381 28382 28383 28384 28385 28386 28387 28388 28389 28390 |
# File 'lib/oci/database/database_client.rb', line 28355 def update_autonomous_database_regional_wallet(update_autonomous_database_wallet_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_database_regional_wallet.' if logger raise "Missing the required parameter 'update_autonomous_database_wallet_details' when calling update_autonomous_database_regional_wallet." if update_autonomous_database_wallet_details.nil? path = '/autonomousDatabases/wallet' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_database_wallet_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_database_regional_wallet') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_database_software_image(autonomous_database_software_image_id, update_autonomous_database_software_image_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_database_software_image API.
Updates the properties of an Autonomous AI Database Software Image, like add tags
28414 28415 28416 28417 28418 28419 28420 28421 28422 28423 28424 28425 28426 28427 28428 28429 28430 28431 28432 28433 28434 28435 28436 28437 28438 28439 28440 28441 28442 28443 28444 28445 28446 28447 28448 28449 28450 28451 28452 |
# File 'lib/oci/database/database_client.rb', line 28414 def update_autonomous_database_software_image(autonomous_database_software_image_id, update_autonomous_database_software_image_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_database_software_image.' if logger raise "Missing the required parameter 'autonomous_database_software_image_id' when calling update_autonomous_database_software_image." if autonomous_database_software_image_id.nil? raise "Missing the required parameter 'update_autonomous_database_software_image_details' when calling update_autonomous_database_software_image." if update_autonomous_database_software_image_details.nil? raise "Parameter value for 'autonomous_database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_software_image_id) path = '/autonomousDatabaseSoftwareImages/{autonomousDatabaseSoftwareImageId}'.sub('{autonomousDatabaseSoftwareImageId}', autonomous_database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_database_software_image_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_database_software_image') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousDatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_database_wallet(autonomous_database_id, update_autonomous_database_wallet_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_database_wallet API.
Updates the wallet for the specified Autonomous AI Database.
28476 28477 28478 28479 28480 28481 28482 28483 28484 28485 28486 28487 28488 28489 28490 28491 28492 28493 28494 28495 28496 28497 28498 28499 28500 28501 28502 28503 28504 28505 28506 28507 28508 28509 28510 28511 28512 28513 |
# File 'lib/oci/database/database_client.rb', line 28476 def update_autonomous_database_wallet(autonomous_database_id, update_autonomous_database_wallet_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_database_wallet.' if logger raise "Missing the required parameter 'autonomous_database_id' when calling update_autonomous_database_wallet." if autonomous_database_id.nil? raise "Missing the required parameter 'update_autonomous_database_wallet_details' when calling update_autonomous_database_wallet." if update_autonomous_database_wallet_details.nil? raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id) path = '/autonomousDatabases/{autonomousDatabaseId}/wallet'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_database_wallet_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_database_wallet') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, update_autonomous_exadata_infrastructures_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_exadata_infrastructure API.
Deprecated. Use the update_cloud_exadata_infrastructure operation to update an Exadata Infrastructure resource and update_cloud_autonomous_vm_cluster operation to update an Autonomous Exadata VM cluster.
28536 28537 28538 28539 28540 28541 28542 28543 28544 28545 28546 28547 28548 28549 28550 28551 28552 28553 28554 28555 28556 28557 28558 28559 28560 28561 28562 28563 28564 28565 28566 28567 28568 28569 28570 28571 28572 28573 |
# File 'lib/oci/database/database_client.rb', line 28536 def update_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, update_autonomous_exadata_infrastructures_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_exadata_infrastructure.' if logger raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling update_autonomous_exadata_infrastructure." if autonomous_exadata_infrastructure_id.nil? raise "Missing the required parameter 'update_autonomous_exadata_infrastructures_details' when calling update_autonomous_exadata_infrastructure." if update_autonomous_exadata_infrastructures_details.nil? raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id) path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_exadata_infrastructures_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_exadata_infrastructure') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#update_autonomous_vm_cluster(autonomous_vm_cluster_id, update_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_autonomous_vm_cluster API.
Updates the specified Autonomous VM cluster for the Exadata Cloud@Customer system.To update an Autonomous VM Cluster in the Oracle cloud, see update_cloud_autonomous_vm_cluster.
28598 28599 28600 28601 28602 28603 28604 28605 28606 28607 28608 28609 28610 28611 28612 28613 28614 28615 28616 28617 28618 28619 28620 28621 28622 28623 28624 28625 28626 28627 28628 28629 28630 28631 28632 28633 28634 28635 28636 |
# File 'lib/oci/database/database_client.rb', line 28598 def update_autonomous_vm_cluster(autonomous_vm_cluster_id, update_autonomous_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'autonomous_vm_cluster_id' when calling update_autonomous_vm_cluster." if autonomous_vm_cluster_id.nil? raise "Missing the required parameter 'update_autonomous_vm_cluster_details' when calling update_autonomous_vm_cluster." if update_autonomous_vm_cluster_details.nil? raise "Parameter value for 'autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_vm_cluster_id) path = '/autonomousVmClusters/{autonomousVmClusterId}'.sub('{autonomousVmClusterId}', autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_autonomous_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_vm_cluster') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::AutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#update_backup(backup_id, update_backup_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_backup API.
Updates database backup details.
28660 28661 28662 28663 28664 28665 28666 28667 28668 28669 28670 28671 28672 28673 28674 28675 28676 28677 28678 28679 28680 28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 |
# File 'lib/oci/database/database_client.rb', line 28660 def update_backup(backup_id, update_backup_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_backup.' if logger raise "Missing the required parameter 'backup_id' when calling update_backup." if backup_id.nil? raise "Missing the required parameter 'update_backup_details' when calling update_backup." if update_backup_details.nil? raise "Parameter value for 'backup_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_id) path = '/backups/{backupId}'.sub('{backupId}', backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_backup_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_backup') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Backup' ) end # rubocop:enable Metrics/BlockLength end |
#update_backup_destination(backup_destination_id, update_backup_destination_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_backup_destination API.
If no database is associated with the backup destination: - For a RECOVERY_APPLIANCE backup destination, updates the connection string and/or the list of VPC users. - For an NFS backup destination, updates the NFS location.
28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 28751 28752 28753 28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 28765 |
# File 'lib/oci/database/database_client.rb', line 28727 def update_backup_destination(backup_destination_id, update_backup_destination_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_backup_destination.' if logger raise "Missing the required parameter 'backup_destination_id' when calling update_backup_destination." if backup_destination_id.nil? raise "Missing the required parameter 'update_backup_destination_details' when calling update_backup_destination." if update_backup_destination_details.nil? raise "Parameter value for 'backup_destination_id' must not be blank" if OCI::Internal::Util.blank_string?(backup_destination_id) path = '/backupDestinations/{backupDestinationId}'.sub('{backupDestinationId}', backup_destination_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_backup_destination_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_backup_destination') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::BackupDestination' ) end # rubocop:enable Metrics/BlockLength end |
#update_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, update_cloud_autonomous_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_cloud_autonomous_vm_cluster API.
Updates the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see update_autonomous_vm_cluster.
28793 28794 28795 28796 28797 28798 28799 28800 28801 28802 28803 28804 28805 28806 28807 28808 28809 28810 28811 28812 28813 28814 28815 28816 28817 28818 28819 28820 28821 28822 28823 28824 28825 28826 28827 28828 28829 28830 28831 28832 |
# File 'lib/oci/database/database_client.rb', line 28793 def update_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, update_cloud_autonomous_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_cloud_autonomous_vm_cluster.' if logger raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling update_cloud_autonomous_vm_cluster." if cloud_autonomous_vm_cluster_id.nil? raise "Missing the required parameter 'update_cloud_autonomous_vm_cluster_details' when calling update_cloud_autonomous_vm_cluster." if update_cloud_autonomous_vm_cluster_details.nil? raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id) path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_cloud_autonomous_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_cloud_autonomous_vm_cluster') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudAutonomousVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#update_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, update_cloud_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_cloud_exadata_infrastructure API.
Updates the Cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
28857 28858 28859 28860 28861 28862 28863 28864 28865 28866 28867 28868 28869 28870 28871 28872 28873 28874 28875 28876 28877 28878 28879 28880 28881 28882 28883 28884 28885 28886 28887 28888 28889 28890 28891 28892 28893 28894 28895 |
# File 'lib/oci/database/database_client.rb', line 28857 def update_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, update_cloud_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_cloud_exadata_infrastructure.' if logger raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling update_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil? raise "Missing the required parameter 'update_cloud_exadata_infrastructure_details' when calling update_cloud_exadata_infrastructure." if update_cloud_exadata_infrastructure_details.nil? raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id) path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_cloud_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_cloud_exadata_infrastructure') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#update_cloud_vm_cluster(cloud_vm_cluster_id, update_cloud_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_cloud_vm_cluster API.
Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
28920 28921 28922 28923 28924 28925 28926 28927 28928 28929 28930 28931 28932 28933 28934 28935 28936 28937 28938 28939 28940 28941 28942 28943 28944 28945 28946 28947 28948 28949 28950 28951 28952 28953 28954 28955 28956 28957 28958 |
# File 'lib/oci/database/database_client.rb', line 28920 def update_cloud_vm_cluster(cloud_vm_cluster_id, update_cloud_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_cloud_vm_cluster.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling update_cloud_vm_cluster." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'update_cloud_vm_cluster_details' when calling update_cloud_vm_cluster." if update_cloud_vm_cluster_details.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_cloud_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_cloud_vm_cluster') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::CloudVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#update_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, cloud_vm_cluster_iorm_config_update_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_cloud_vm_cluster_iorm_config API.
Updates the IORM settings for the specified cloud VM cluster in an Exadata Cloud Service instance.
28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 |
# File 'lib/oci/database/database_client.rb', line 28983 def update_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, cloud_vm_cluster_iorm_config_update_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_cloud_vm_cluster_iorm_config.' if logger raise "Missing the required parameter 'cloud_vm_cluster_id' when calling update_cloud_vm_cluster_iorm_config." if cloud_vm_cluster_id.nil? raise "Missing the required parameter 'cloud_vm_cluster_iorm_config_update_details' when calling update_cloud_vm_cluster_iorm_config." if cloud_vm_cluster_iorm_config_update_details.nil? raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id) path = '/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(cloud_vm_cluster_iorm_config_update_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_cloud_vm_cluster_iorm_config') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataIormConfig' ) end # rubocop:enable Metrics/BlockLength end |
#update_console_connection(db_node_id, console_connection_id, update_console_connection_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_console_connection API.
Updates the specified database node console connection.
29046 29047 29048 29049 29050 29051 29052 29053 29054 29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 29081 29082 29083 29084 29085 29086 |
# File 'lib/oci/database/database_client.rb', line 29046 def update_console_connection(db_node_id, console_connection_id, update_console_connection_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_console_connection.' if logger raise "Missing the required parameter 'db_node_id' when calling update_console_connection." if db_node_id.nil? raise "Missing the required parameter 'console_connection_id' when calling update_console_connection." if console_connection_id.nil? raise "Missing the required parameter 'update_console_connection_details' when calling update_console_connection." if update_console_connection_details.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_connection_id' must not be blank" if OCI::Internal::Util.blank_string?(console_connection_id) path = '/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleConnectionId}', console_connection_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_console_connection_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_console_connection') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleConnection' ) end # rubocop:enable Metrics/BlockLength end |
#update_console_history(db_node_id, console_history_id, update_console_history_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_console_history API.
Updates the specified database node console history.
29112 29113 29114 29115 29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 29138 29139 29140 29141 29142 29143 29144 29145 29146 29147 29148 29149 29150 29151 29152 |
# File 'lib/oci/database/database_client.rb', line 29112 def update_console_history(db_node_id, console_history_id, update_console_history_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_console_history.' if logger raise "Missing the required parameter 'db_node_id' when calling update_console_history." if db_node_id.nil? raise "Missing the required parameter 'console_history_id' when calling update_console_history." if console_history_id.nil? raise "Missing the required parameter 'update_console_history_details' when calling update_console_history." if update_console_history_details.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) raise "Parameter value for 'console_history_id' must not be blank" if OCI::Internal::Util.blank_string?(console_history_id) path = '/dbNodes/{dbNodeId}/consoleHistories/{consoleHistoryId}'.sub('{dbNodeId}', db_node_id.to_s).sub('{consoleHistoryId}', console_history_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_console_history_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_console_history') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ConsoleHistory' ) end # rubocop:enable Metrics/BlockLength end |
#update_data_guard(database_id, update_data_guard_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_data_guard API.
Update an existing Data Guard member. A Data Guard member represents the replication relationship between the specified database and a standby database. For more information, see Using Oracle Data Guard.
29184 29185 29186 29187 29188 29189 29190 29191 29192 29193 29194 29195 29196 29197 29198 29199 29200 29201 29202 29203 29204 29205 29206 29207 29208 29209 29210 29211 29212 29213 29214 29215 29216 29217 29218 29219 29220 29221 29222 29223 29224 |
# File 'lib/oci/database/database_client.rb', line 29184 def update_data_guard(database_id, update_data_guard_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_data_guard.' if logger raise "Missing the required parameter 'database_id' when calling update_data_guard." if database_id.nil? raise "Missing the required parameter 'update_data_guard_details' when calling update_data_guard." if update_data_guard_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/dataGuard/actions/updateDataGuard'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_data_guard_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_data_guard') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#update_data_guard_association(database_id, data_guard_association_id, update_data_guard_association_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_data_guard_association API.
Updates the Data Guard association the specified database. This API can be used to change the protectionMode and transportType of the Data Guard association.
29250 29251 29252 29253 29254 29255 29256 29257 29258 29259 29260 29261 29262 29263 29264 29265 29266 29267 29268 29269 29270 29271 29272 29273 29274 29275 29276 29277 29278 29279 29280 29281 29282 29283 29284 29285 29286 29287 29288 29289 29290 |
# File 'lib/oci/database/database_client.rb', line 29250 def update_data_guard_association(database_id, data_guard_association_id, update_data_guard_association_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_data_guard_association.' if logger raise "Missing the required parameter 'database_id' when calling update_data_guard_association." if database_id.nil? raise "Missing the required parameter 'data_guard_association_id' when calling update_data_guard_association." if data_guard_association_id.nil? raise "Missing the required parameter 'update_data_guard_association_details' when calling update_data_guard_association." if update_data_guard_association_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id) path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_data_guard_association_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_data_guard_association') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DataGuardAssociation' ) end # rubocop:enable Metrics/BlockLength end |
#update_database(database_id, update_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_database API.
Update the specified database based on the request parameters provided.
29313 29314 29315 29316 29317 29318 29319 29320 29321 29322 29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 |
# File 'lib/oci/database/database_client.rb', line 29313 def update_database(database_id, update_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_database.' if logger raise "Missing the required parameter 'database_id' when calling update_database." if database_id.nil? raise "Missing the required parameter 'update_database_details' when calling update_database." if update_database_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#update_database_software_image(database_software_image_id, update_database_software_image_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_database_software_image API.
Updates the properties of a Database Software Image, like Display Nmae
29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 29382 29383 29384 29385 29386 29387 29388 29389 29390 29391 29392 29393 29394 29395 29396 29397 29398 29399 29400 29401 29402 29403 29404 29405 29406 29407 29408 29409 |
# File 'lib/oci/database/database_client.rb', line 29372 def update_database_software_image(database_software_image_id, update_database_software_image_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_database_software_image.' if logger raise "Missing the required parameter 'database_software_image_id' when calling update_database_software_image." if database_software_image_id.nil? raise "Missing the required parameter 'update_database_software_image_details' when calling update_database_software_image." if update_database_software_image_details.nil? raise "Parameter value for 'database_software_image_id' must not be blank" if OCI::Internal::Util.blank_string?(database_software_image_id) path = '/databaseSoftwareImages/{databaseSoftwareImageId}'.sub('{databaseSoftwareImageId}', database_software_image_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_database_software_image_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_database_software_image') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DatabaseSoftwareImage' ) end # rubocop:enable Metrics/BlockLength end |
#update_db_home(db_home_id, update_db_home_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_db_home API.
Patches the specified Database Home.
29431 29432 29433 29434 29435 29436 29437 29438 29439 29440 29441 29442 29443 29444 29445 29446 29447 29448 29449 29450 29451 29452 29453 29454 29455 29456 29457 29458 29459 29460 29461 29462 29463 29464 29465 29466 29467 29468 |
# File 'lib/oci/database/database_client.rb', line 29431 def update_db_home(db_home_id, update_db_home_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_db_home.' if logger raise "Missing the required parameter 'db_home_id' when calling update_db_home." if db_home_id.nil? raise "Missing the required parameter 'update_db_home_details' when calling update_db_home." if update_db_home_details.nil? raise "Parameter value for 'db_home_id' must not be blank" if OCI::Internal::Util.blank_string?(db_home_id) path = '/dbHomes/{dbHomeId}'.sub('{dbHomeId}', db_home_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_db_home_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_db_home') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbHome' ) end # rubocop:enable Metrics/BlockLength end |
#update_db_node(db_node_id, update_db_node_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_db_node API.
Updates the specified database node.
29492 29493 29494 29495 29496 29497 29498 29499 29500 29501 29502 29503 29504 29505 29506 29507 29508 29509 29510 29511 29512 29513 29514 29515 29516 29517 29518 29519 29520 29521 29522 29523 29524 29525 29526 29527 29528 29529 29530 |
# File 'lib/oci/database/database_client.rb', line 29492 def update_db_node(db_node_id, update_db_node_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_db_node.' if logger raise "Missing the required parameter 'db_node_id' when calling update_db_node." if db_node_id.nil? raise "Missing the required parameter 'update_db_node_details' when calling update_db_node." if update_db_node_details.nil? raise "Parameter value for 'db_node_id' must not be blank" if OCI::Internal::Util.blank_string?(db_node_id) path = '/dbNodes/{dbNodeId}'.sub('{dbNodeId}', db_node_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_db_node_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_db_node') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbNode' ) end # rubocop:enable Metrics/BlockLength end |
#update_db_system(db_system_id, update_db_system_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_db_system API.
Updates the properties of the specified DB system.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
29560 29561 29562 29563 29564 29565 29566 29567 29568 29569 29570 29571 29572 29573 29574 29575 29576 29577 29578 29579 29580 29581 29582 29583 29584 29585 29586 29587 29588 29589 29590 29591 29592 29593 29594 29595 29596 29597 29598 |
# File 'lib/oci/database/database_client.rb', line 29560 def update_db_system(db_system_id, update_db_system_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_db_system.' if logger raise "Missing the required parameter 'db_system_id' when calling update_db_system." if db_system_id.nil? raise "Missing the required parameter 'update_db_system_details' when calling update_db_system." if update_db_system_details.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-dry-run'] = opts[:opc_dry_run] if !opts[:opc_dry_run].nil? # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_db_system_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_db_system') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystem' ) end # rubocop:enable Metrics/BlockLength end |
#update_exadata_infrastructure(exadata_infrastructure_id, update_exadata_infrastructure_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_exadata_infrastructure API.
Updates the Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. To update an Exadata Cloud Service infrastructure resource, use the update_cloud_exadata_infrastructure operation.
29624 29625 29626 29627 29628 29629 29630 29631 29632 29633 29634 29635 29636 29637 29638 29639 29640 29641 29642 29643 29644 29645 29646 29647 29648 29649 29650 29651 29652 29653 29654 29655 29656 29657 29658 29659 29660 29661 29662 |
# File 'lib/oci/database/database_client.rb', line 29624 def update_exadata_infrastructure(exadata_infrastructure_id, update_exadata_infrastructure_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_exadata_infrastructure.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling update_exadata_infrastructure." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'update_exadata_infrastructure_details' when calling update_exadata_infrastructure." if update_exadata_infrastructure_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) path = '/exadataInfrastructures/{exadataInfrastructureId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_exadata_infrastructure_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_exadata_infrastructure') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataInfrastructure' ) end # rubocop:enable Metrics/BlockLength end |
#update_exadata_iorm_config(db_system_id, exadata_iorm_config_update_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_exadata_iorm_config API.
Updates IORM settings for the specified Exadata DB system.
Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.
For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.
The update_cloud_vm_cluster_iorm_config API is used for Exadata systems using the new resource model.
29694 29695 29696 29697 29698 29699 29700 29701 29702 29703 29704 29705 29706 29707 29708 29709 29710 29711 29712 29713 29714 29715 29716 29717 29718 29719 29720 29721 29722 29723 29724 29725 29726 29727 29728 29729 29730 29731 29732 |
# File 'lib/oci/database/database_client.rb', line 29694 def update_exadata_iorm_config(db_system_id, exadata_iorm_config_update_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_exadata_iorm_config.' if logger raise "Missing the required parameter 'db_system_id' when calling update_exadata_iorm_config." if db_system_id.nil? raise "Missing the required parameter 'exadata_iorm_config_update_details' when calling update_exadata_iorm_config." if exadata_iorm_config_update_details.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/ExadataIormConfig'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(exadata_iorm_config_update_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_exadata_iorm_config') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadataIormConfig' ) end # rubocop:enable Metrics/BlockLength end |
#update_exadb_vm_cluster(exadb_vm_cluster_id, update_exadb_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_exadb_vm_cluster API.
Updates the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.
29757 29758 29759 29760 29761 29762 29763 29764 29765 29766 29767 29768 29769 29770 29771 29772 29773 29774 29775 29776 29777 29778 29779 29780 29781 29782 29783 29784 29785 29786 29787 29788 29789 29790 29791 29792 29793 29794 29795 |
# File 'lib/oci/database/database_client.rb', line 29757 def update_exadb_vm_cluster(exadb_vm_cluster_id, update_exadb_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_exadb_vm_cluster.' if logger raise "Missing the required parameter 'exadb_vm_cluster_id' when calling update_exadb_vm_cluster." if exadb_vm_cluster_id.nil? raise "Missing the required parameter 'update_exadb_vm_cluster_details' when calling update_exadb_vm_cluster." if update_exadb_vm_cluster_details.nil? raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id) path = '/exadbVmClusters/{exadbVmClusterId}'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_exadb_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_exadb_vm_cluster') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExadbVmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#update_exascale_db_storage_vault(exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_exascale_db_storage_vault API.
Updates the specified Exadata Database Storage Vault.
29820 29821 29822 29823 29824 29825 29826 29827 29828 29829 29830 29831 29832 29833 29834 29835 29836 29837 29838 29839 29840 29841 29842 29843 29844 29845 29846 29847 29848 29849 29850 29851 29852 29853 29854 29855 29856 29857 29858 |
# File 'lib/oci/database/database_client.rb', line 29820 def update_exascale_db_storage_vault(exascale_db_storage_vault_id, update_exascale_db_storage_vault_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_exascale_db_storage_vault.' if logger raise "Missing the required parameter 'exascale_db_storage_vault_id' when calling update_exascale_db_storage_vault." if exascale_db_storage_vault_id.nil? raise "Missing the required parameter 'update_exascale_db_storage_vault_details' when calling update_exascale_db_storage_vault." if update_exascale_db_storage_vault_details.nil? raise "Parameter value for 'exascale_db_storage_vault_id' must not be blank" if OCI::Internal::Util.blank_string?(exascale_db_storage_vault_id) path = '/exascaleDbStorageVaults/{exascaleDbStorageVaultId}'.sub('{exascaleDbStorageVaultId}', exascale_db_storage_vault_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_exascale_db_storage_vault_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_exascale_db_storage_vault') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExascaleDbStorageVault' ) end # rubocop:enable Metrics/BlockLength end |
#update_execution_action(execution_action_id, update_execution_action_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_execution_action API.
Updates the execution action resource.
29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 29919 29920 29921 |
# File 'lib/oci/database/database_client.rb', line 29883 def update_execution_action(execution_action_id, update_execution_action_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_execution_action.' if logger raise "Missing the required parameter 'execution_action_id' when calling update_execution_action." if execution_action_id.nil? raise "Missing the required parameter 'update_execution_action_details' when calling update_execution_action." if update_execution_action_details.nil? raise "Parameter value for 'execution_action_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_action_id) path = '/executionActions/{executionActionId}'.sub('{executionActionId}', execution_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_execution_action_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_execution_action') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionAction' ) end # rubocop:enable Metrics/BlockLength end |
#update_execution_window(execution_window_id, update_execution_window_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_execution_window API.
Updates the execution window resource.
29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 29970 29971 29972 29973 29974 29975 29976 29977 29978 29979 29980 29981 29982 29983 29984 |
# File 'lib/oci/database/database_client.rb', line 29946 def update_execution_window(execution_window_id, update_execution_window_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_execution_window.' if logger raise "Missing the required parameter 'execution_window_id' when calling update_execution_window." if execution_window_id.nil? raise "Missing the required parameter 'update_execution_window_details' when calling update_execution_window." if update_execution_window_details.nil? raise "Parameter value for 'execution_window_id' must not be blank" if OCI::Internal::Util.blank_string?(execution_window_id) path = '/executionWindows/{executionWindowId}'.sub('{executionWindowId}', execution_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_execution_window_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_execution_window') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExecutionWindow' ) end # rubocop:enable Metrics/BlockLength end |
#update_external_container_database(external_container_database_id, update_external_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_external_container_database API.
Updates the properties of an create_external_container_database_details resource, such as the display name.
30013 30014 30015 30016 30017 30018 30019 30020 30021 30022 30023 30024 30025 30026 30027 30028 30029 30030 30031 30032 30033 30034 30035 30036 30037 30038 30039 30040 30041 30042 30043 30044 30045 30046 30047 30048 30049 30050 30051 |
# File 'lib/oci/database/database_client.rb', line 30013 def update_external_container_database(external_container_database_id, update_external_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_external_container_database.' if logger raise "Missing the required parameter 'external_container_database_id' when calling update_external_container_database." if external_container_database_id.nil? raise "Missing the required parameter 'update_external_container_database_details' when calling update_external_container_database." if update_external_container_database_details.nil? raise "Parameter value for 'external_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_container_database_id) path = '/externalcontainerdatabases/{externalContainerDatabaseId}'.sub('{externalContainerDatabaseId}', external_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_external_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_external_container_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_external_database_connector(external_database_connector_id, update_external_database_connector_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_external_database_connector API.
Updates the properties of an external database connector, such as the display name.
30077 30078 30079 30080 30081 30082 30083 30084 30085 30086 30087 30088 30089 30090 30091 30092 30093 30094 30095 30096 30097 30098 30099 30100 30101 30102 30103 30104 30105 30106 30107 30108 30109 30110 30111 30112 30113 30114 30115 |
# File 'lib/oci/database/database_client.rb', line 30077 def update_external_database_connector(external_database_connector_id, update_external_database_connector_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_external_database_connector.' if logger raise "Missing the required parameter 'external_database_connector_id' when calling update_external_database_connector." if external_database_connector_id.nil? raise "Missing the required parameter 'update_external_database_connector_details' when calling update_external_database_connector." if update_external_database_connector_details.nil? raise "Parameter value for 'external_database_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(external_database_connector_id) path = '/externaldatabaseconnectors/{externalDatabaseConnectorId}'.sub('{externalDatabaseConnectorId}', external_database_connector_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_external_database_connector_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_external_database_connector') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalDatabaseConnector' ) end # rubocop:enable Metrics/BlockLength end |
#update_external_non_container_database(external_non_container_database_id, update_external_non_container_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_external_non_container_database API.
Updates the properties of an external non-container database, such as the display name.
30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 30151 30152 30153 30154 30155 30156 30157 30158 30159 30160 30161 30162 30163 30164 30165 30166 30167 30168 30169 30170 30171 30172 30173 30174 30175 30176 30177 |
# File 'lib/oci/database/database_client.rb', line 30139 def update_external_non_container_database(external_non_container_database_id, update_external_non_container_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_external_non_container_database.' if logger raise "Missing the required parameter 'external_non_container_database_id' when calling update_external_non_container_database." if external_non_container_database_id.nil? raise "Missing the required parameter 'update_external_non_container_database_details' when calling update_external_non_container_database." if update_external_non_container_database_details.nil? raise "Parameter value for 'external_non_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_non_container_database_id) path = '/externalnoncontainerdatabases/{externalNonContainerDatabaseId}'.sub('{externalNonContainerDatabaseId}', external_non_container_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_external_non_container_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_external_non_container_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalNonContainerDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_external_pluggable_database(external_pluggable_database_id, update_external_pluggable_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_external_pluggable_database API.
Updates the properties of an create_external_pluggable_database_details resource, such as the display name.
30204 30205 30206 30207 30208 30209 30210 30211 30212 30213 30214 30215 30216 30217 30218 30219 30220 30221 30222 30223 30224 30225 30226 30227 30228 30229 30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 |
# File 'lib/oci/database/database_client.rb', line 30204 def update_external_pluggable_database(external_pluggable_database_id, update_external_pluggable_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_external_pluggable_database.' if logger raise "Missing the required parameter 'external_pluggable_database_id' when calling update_external_pluggable_database." if external_pluggable_database_id.nil? raise "Missing the required parameter 'update_external_pluggable_database_details' when calling update_external_pluggable_database." if update_external_pluggable_database_details.nil? raise "Parameter value for 'external_pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(external_pluggable_database_id) path = '/externalpluggabledatabases/{externalPluggableDatabaseId}'.sub('{externalPluggableDatabaseId}', external_pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_external_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_external_pluggable_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ExternalPluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_key_store(key_store_id, update_key_store_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_key_store API.
Edit the key store.
30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 |
# File 'lib/oci/database/database_client.rb', line 30268 def update_key_store(key_store_id, update_key_store_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_key_store.' if logger raise "Missing the required parameter 'key_store_id' when calling update_key_store." if key_store_id.nil? raise "Missing the required parameter 'update_key_store_details' when calling update_key_store." if update_key_store_details.nil? raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id) path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_key_store_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_key_store') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::KeyStore' ) end # rubocop:enable Metrics/BlockLength end |
#update_maintenance_run(maintenance_run_id, update_maintenance_run_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_maintenance_run API.
Updates the properties of a maintenance run, such as the state of a maintenance run.
30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 30351 30352 30353 30354 30355 30356 30357 30358 30359 30360 30361 30362 30363 30364 30365 |
# File 'lib/oci/database/database_client.rb', line 30328 def update_maintenance_run(maintenance_run_id, update_maintenance_run_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_maintenance_run.' if logger raise "Missing the required parameter 'maintenance_run_id' when calling update_maintenance_run." if maintenance_run_id.nil? raise "Missing the required parameter 'update_maintenance_run_details' when calling update_maintenance_run." if update_maintenance_run_details.nil? raise "Parameter value for 'maintenance_run_id' must not be blank" if OCI::Internal::Util.blank_string?(maintenance_run_id) path = '/maintenanceRuns/{maintenanceRunId}'.sub('{maintenanceRunId}', maintenance_run_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_maintenance_run_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_maintenance_run') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::MaintenanceRun' ) end # rubocop:enable Metrics/BlockLength end |
#update_oneoff_patch(oneoff_patch_id, update_oneoff_patch_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_oneoff_patch API.
Updates the properties of the specified one-off patch.
30390 30391 30392 30393 30394 30395 30396 30397 30398 30399 30400 30401 30402 30403 30404 30405 30406 30407 30408 30409 30410 30411 30412 30413 30414 30415 30416 30417 30418 30419 30420 30421 30422 30423 30424 30425 30426 30427 30428 |
# File 'lib/oci/database/database_client.rb', line 30390 def update_oneoff_patch(oneoff_patch_id, update_oneoff_patch_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_oneoff_patch.' if logger raise "Missing the required parameter 'oneoff_patch_id' when calling update_oneoff_patch." if oneoff_patch_id.nil? raise "Missing the required parameter 'update_oneoff_patch_details' when calling update_oneoff_patch." if update_oneoff_patch_details.nil? raise "Parameter value for 'oneoff_patch_id' must not be blank" if OCI::Internal::Util.blank_string?(oneoff_patch_id) path = '/oneoffPatches/{oneoffPatchId}'.sub('{oneoffPatchId}', oneoff_patch_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_oneoff_patch_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_oneoff_patch') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::OneoffPatch' ) end # rubocop:enable Metrics/BlockLength end |
#update_pluggable_database(pluggable_database_id, update_pluggable_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_pluggable_database API.
Updates the specified pluggable database.
30450 30451 30452 30453 30454 30455 30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 30467 30468 30469 30470 30471 30472 30473 30474 30475 30476 30477 30478 30479 30480 30481 30482 30483 30484 30485 30486 30487 |
# File 'lib/oci/database/database_client.rb', line 30450 def update_pluggable_database(pluggable_database_id, update_pluggable_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_pluggable_database.' if logger raise "Missing the required parameter 'pluggable_database_id' when calling update_pluggable_database." if pluggable_database_id.nil? raise "Missing the required parameter 'update_pluggable_database_details' when calling update_pluggable_database." if update_pluggable_database_details.nil? raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id) path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_pluggable_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_pluggable_database') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::PluggableDatabase' ) end # rubocop:enable Metrics/BlockLength end |
#update_scheduled_action(scheduled_action_id, update_scheduled_action_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_scheduled_action API.
Updates the Scheduled Action resource.
30512 30513 30514 30515 30516 30517 30518 30519 30520 30521 30522 30523 30524 30525 30526 30527 30528 30529 30530 30531 30532 30533 30534 30535 30536 30537 30538 30539 30540 30541 30542 30543 30544 30545 30546 30547 30548 30549 30550 |
# File 'lib/oci/database/database_client.rb', line 30512 def update_scheduled_action(scheduled_action_id, update_scheduled_action_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_scheduled_action.' if logger raise "Missing the required parameter 'scheduled_action_id' when calling update_scheduled_action." if scheduled_action_id.nil? raise "Missing the required parameter 'update_scheduled_action_details' when calling update_scheduled_action." if update_scheduled_action_details.nil? raise "Parameter value for 'scheduled_action_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_action_id) path = '/scheduledActions/{scheduledActionId}'.sub('{scheduledActionId}', scheduled_action_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_scheduled_action_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_scheduled_action') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::ScheduledAction' ) end # rubocop:enable Metrics/BlockLength end |
#update_scheduling_policy(scheduling_policy_id, update_scheduling_policy_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_scheduling_policy API.
Updates the Scheduling Policy resource.
30575 30576 30577 30578 30579 30580 30581 30582 30583 30584 30585 30586 30587 30588 30589 30590 30591 30592 30593 30594 30595 30596 30597 30598 30599 30600 30601 30602 30603 30604 30605 30606 30607 30608 30609 30610 30611 30612 30613 |
# File 'lib/oci/database/database_client.rb', line 30575 def update_scheduling_policy(scheduling_policy_id, update_scheduling_policy_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_scheduling_policy.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling update_scheduling_policy." if scheduling_policy_id.nil? raise "Missing the required parameter 'update_scheduling_policy_details' when calling update_scheduling_policy." if update_scheduling_policy_details.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) path = '/schedulingPolicies/{schedulingPolicyId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_scheduling_policy_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_scheduling_policy') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingPolicy' ) end # rubocop:enable Metrics/BlockLength end |
#update_scheduling_window(scheduling_policy_id, scheduling_window_id, update_scheduling_window_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_scheduling_window API.
Updates the Scheduling Window resource.
30639 30640 30641 30642 30643 30644 30645 30646 30647 30648 30649 30650 30651 30652 30653 30654 30655 30656 30657 30658 30659 30660 30661 30662 30663 30664 30665 30666 30667 30668 30669 30670 30671 30672 30673 30674 30675 30676 30677 30678 30679 |
# File 'lib/oci/database/database_client.rb', line 30639 def update_scheduling_window(scheduling_policy_id, scheduling_window_id, update_scheduling_window_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_scheduling_window.' if logger raise "Missing the required parameter 'scheduling_policy_id' when calling update_scheduling_window." if scheduling_policy_id.nil? raise "Missing the required parameter 'scheduling_window_id' when calling update_scheduling_window." if scheduling_window_id.nil? raise "Missing the required parameter 'update_scheduling_window_details' when calling update_scheduling_window." if update_scheduling_window_details.nil? raise "Parameter value for 'scheduling_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_policy_id) raise "Parameter value for 'scheduling_window_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduling_window_id) path = '/schedulingPolicies/{schedulingPolicyId}/schedulingWindows/{schedulingWindowId}'.sub('{schedulingPolicyId}', scheduling_policy_id.to_s).sub('{schedulingWindowId}', scheduling_window_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_scheduling_window_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_scheduling_window') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::SchedulingWindow' ) end # rubocop:enable Metrics/BlockLength end |
#update_vm_cluster(vm_cluster_id, update_vm_cluster_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_vm_cluster API.
Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
30704 30705 30706 30707 30708 30709 30710 30711 30712 30713 30714 30715 30716 30717 30718 30719 30720 30721 30722 30723 30724 30725 30726 30727 30728 30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 |
# File 'lib/oci/database/database_client.rb', line 30704 def update_vm_cluster(vm_cluster_id, update_vm_cluster_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_vm_cluster.' if logger raise "Missing the required parameter 'vm_cluster_id' when calling update_vm_cluster." if vm_cluster_id.nil? raise "Missing the required parameter 'update_vm_cluster_details' when calling update_vm_cluster." if update_vm_cluster_details.nil? raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id) path = '/vmClusters/{vmClusterId}'.sub('{vmClusterId}', vm_cluster_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_vm_cluster_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_vm_cluster') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmCluster' ) end # rubocop:enable Metrics/BlockLength end |
#update_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, update_vm_cluster_network_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_vm_cluster_network API.
Updates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. To update a cloud VM cluster in an Exadata Cloud Service instance, use the update_cloud_vm_cluster operation.
30769 30770 30771 30772 30773 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 30786 30787 30788 30789 30790 30791 30792 30793 30794 30795 30796 30797 30798 30799 30800 30801 30802 30803 30804 30805 30806 30807 30808 30809 |
# File 'lib/oci/database/database_client.rb', line 30769 def update_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, update_vm_cluster_network_details, opts = {}) logger.debug 'Calling operation DatabaseClient#update_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling update_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling update_vm_cluster_network." if vm_cluster_network_id.nil? raise "Missing the required parameter 'update_vm_cluster_network_details' when calling update_vm_cluster_network." if update_vm_cluster_network_details.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_vm_cluster_network_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#update_vm_cluster_network') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetwork' ) end # rubocop:enable Metrics/BlockLength end |
#upgrade_database(database_id, upgrade_database_details, opts = {}) ⇒ Response
Click here to see an example of how to use upgrade_database API.
Upgrades the specified Oracle Database instance.
30834 30835 30836 30837 30838 30839 30840 30841 30842 30843 30844 30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 30864 30865 30866 30867 30868 30869 30870 30871 30872 |
# File 'lib/oci/database/database_client.rb', line 30834 def upgrade_database(database_id, upgrade_database_details, opts = {}) logger.debug 'Calling operation DatabaseClient#upgrade_database.' if logger raise "Missing the required parameter 'database_id' when calling upgrade_database." if database_id.nil? raise "Missing the required parameter 'upgrade_database_details' when calling upgrade_database." if upgrade_database_details.nil? raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id) path = '/databases/{databaseId}/actions/upgrade'.sub('{databaseId}', database_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(upgrade_database_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#upgrade_database') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::Database' ) end # rubocop:enable Metrics/BlockLength end |
#upgrade_db_system(db_system_id, upgrade_db_system_details, opts = {}) ⇒ Response
Click here to see an example of how to use upgrade_db_system API.
Upgrades the operating system and grid infrastructure of the DB system.
30903 30904 30905 30906 30907 30908 30909 30910 30911 30912 30913 30914 30915 30916 30917 30918 30919 30920 30921 30922 30923 30924 30925 30926 30927 30928 30929 30930 30931 30932 30933 30934 30935 30936 30937 30938 30939 30940 30941 30942 30943 |
# File 'lib/oci/database/database_client.rb', line 30903 def upgrade_db_system(db_system_id, upgrade_db_system_details, opts = {}) logger.debug 'Calling operation DatabaseClient#upgrade_db_system.' if logger raise "Missing the required parameter 'db_system_id' when calling upgrade_db_system." if db_system_id.nil? raise "Missing the required parameter 'upgrade_db_system_details' when calling upgrade_db_system." if upgrade_db_system_details.nil? raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id) path = '/dbSystems/{dbSystemId}/actions/upgrade'.sub('{dbSystemId}', db_system_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(upgrade_db_system_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#upgrade_db_system') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::DbSystem' ) end # rubocop:enable Metrics/BlockLength end |
#validate_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) ⇒ Response
Click here to see an example of how to use validate_vm_cluster_network API.
Validates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
30970 30971 30972 30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 30986 30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 30997 30998 30999 31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 |
# File 'lib/oci/database/database_client.rb', line 30970 def validate_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {}) logger.debug 'Calling operation DatabaseClient#validate_vm_cluster_network.' if logger raise "Missing the required parameter 'exadata_infrastructure_id' when calling validate_vm_cluster_network." if exadata_infrastructure_id.nil? raise "Missing the required parameter 'vm_cluster_network_id' when calling validate_vm_cluster_network." if vm_cluster_network_id.nil? raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id) raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id) path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/validate'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'DatabaseClient#validate_vm_cluster_network') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Database::Models::VmClusterNetwork' ) end # rubocop:enable Metrics/BlockLength end |