oci 2.23.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/oci/analytics/analytics.rb +5 -0
- data/lib/oci/analytics/analytics_client.rb +422 -52
- data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
- data/lib/oci/analytics/models/analytics_instance.rb +32 -15
- data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
- data/lib/oci/analytics/models/capacity.rb +2 -2
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
- data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/feature_bundle.rb +1 -0
- data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
- data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
- data/lib/oci/analytics/models/private_access_channel.rb +13 -13
- data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
- data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
- data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
- data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
- data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
- data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
- data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/work_request.rb +4 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -2
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
- data/lib/oci/analytics/models/work_request_resource.rb +4 -1
- data/lib/oci/analytics/models/work_request_summary.rb +4 -0
- data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
- data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
- data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
- data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
- data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
- data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
- data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
- data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
- data/lib/oci/core/core.rb +5 -0
- data/lib/oci/core/models/boot_volume_backup.rb +87 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/cross_connect.rb +43 -1
- data/lib/oci/core/models/cross_connect_group.rb +63 -4
- data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
- data/lib/oci/core/models/instances.rb +140 -0
- data/lib/oci/core/models/letter_of_authority.rb +31 -4
- data/lib/oci/core/models/loa_extension_data.rb +170 -0
- data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
- data/lib/oci/core/models/retention_duration.rb +189 -0
- data/lib/oci/core/models/supported_capabilities.rb +21 -4
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
- data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/virtual_circuit.rb +80 -1
- data/lib/oci/core/models/volume_backup.rb +87 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
- data/lib/oci/core/models/volume_group_backup.rb +73 -4
- data/lib/oci/core/virtual_network_client.rb +136 -2
- data/lib/oci/database/database.rb +13 -0
- data/lib/oci/database/database_client.rb +923 -111
- data/lib/oci/database/database_client_composite_operations.rb +283 -0
- data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
- data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
- data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +1 -0
- data/lib/oci/database/models/database_software_image_summary.rb +1 -0
- data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
- data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
- data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
- data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/update.rb +94 -1
- data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
- data/lib/oci/database/models/update_details.rb +33 -1
- data/lib/oci/database/models/update_history_entry.rb +39 -1
- data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/update_summary.rb +94 -1
- data/lib/oci/database/models/vm_cluster.rb +28 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/vm_cluster_update.rb +94 -1
- data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
- data/lib/oci/file_storage/models/file_system.rb +37 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
- data/lib/oci/file_storage/models/snapshot.rb +19 -4
- data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
- data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
- data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
- data/lib/oci/golden_gate/golden_gate.rb +29 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
- data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
- data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
- data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
- data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
- data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
- data/lib/oci/golden_gate/models/connection.rb +43 -6
- data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
- data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
- data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
- data/lib/oci/golden_gate/models/connection_type.rb +2 -1
- data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
- data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
- data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
- data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/technology_type.rb +6 -1
- data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/version.rb +1 -1
- metadata +55 -2
|
@@ -1378,6 +1378,76 @@ module OCI
|
|
|
1378
1378
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1379
1379
|
|
|
1380
1380
|
|
|
1381
|
+
# Moves a BaseDB-C@C VM cluster and its dependent resources to another compartment. Applies to Base Database Service on Cloud@Customer instances only.
|
|
1382
|
+
#
|
|
1383
|
+
# @param [OCI::Database::Models::ChangeBaseccVmClusterCompartmentDetails] change_basecc_vm_cluster_compartment_details Request to move the BaseDB-C@C VM cluster to a different compartment.
|
|
1384
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
1385
|
+
# @param [Hash] opts the optional parameters
|
|
1386
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1387
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1388
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1389
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1390
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
1391
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1392
|
+
# may be rejected).
|
|
1393
|
+
#
|
|
1394
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
1395
|
+
#
|
|
1396
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
1397
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
1398
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
1399
|
+
#
|
|
1400
|
+
# @return [Response] A Response object with data of type nil
|
|
1401
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_basecc_vm_cluster_compartment.rb.html) to see an example of how to use change_basecc_vm_cluster_compartment API.
|
|
1402
|
+
def change_basecc_vm_cluster_compartment(change_basecc_vm_cluster_compartment_details, basecc_vm_cluster_id, opts = {})
|
|
1403
|
+
logger.debug 'Calling operation DatabaseClient#change_basecc_vm_cluster_compartment.' if logger
|
|
1404
|
+
|
|
1405
|
+
raise "Missing the required parameter 'change_basecc_vm_cluster_compartment_details' when calling change_basecc_vm_cluster_compartment." if change_basecc_vm_cluster_compartment_details.nil?
|
|
1406
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling change_basecc_vm_cluster_compartment." if basecc_vm_cluster_id.nil?
|
|
1407
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
1408
|
+
|
|
1409
|
+
path = '/baseccVmClusters/{baseccVmClusterId}/actions/changeCompartment'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
1410
|
+
operation_signing_strategy = :standard
|
|
1411
|
+
|
|
1412
|
+
# rubocop:disable Style/NegatedIf
|
|
1413
|
+
# Query Params
|
|
1414
|
+
query_params = {}
|
|
1415
|
+
|
|
1416
|
+
# Header Params
|
|
1417
|
+
header_params = {}
|
|
1418
|
+
header_params[:accept] = 'application/json'
|
|
1419
|
+
header_params[:'content-type'] = 'application/json'
|
|
1420
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1421
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1422
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1423
|
+
# rubocop:enable Style/NegatedIf
|
|
1424
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1425
|
+
|
|
1426
|
+
post_body = @api_client.object_to_http_body(change_basecc_vm_cluster_compartment_details)
|
|
1427
|
+
|
|
1428
|
+
# rubocop:disable Metrics/BlockLength
|
|
1429
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_basecc_vm_cluster_compartment') do
|
|
1430
|
+
@api_client.call_api(
|
|
1431
|
+
:POST,
|
|
1432
|
+
path,
|
|
1433
|
+
endpoint,
|
|
1434
|
+
header_params: header_params,
|
|
1435
|
+
query_params: query_params,
|
|
1436
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1437
|
+
body: post_body
|
|
1438
|
+
)
|
|
1439
|
+
end
|
|
1440
|
+
# rubocop:enable Metrics/BlockLength
|
|
1441
|
+
end
|
|
1442
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1443
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1444
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1445
|
+
|
|
1446
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1447
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1448
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1449
|
+
|
|
1450
|
+
|
|
1381
1451
|
# 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 change_autonomous_vm_cluster_compartment}.
|
|
1382
1452
|
#
|
|
1383
1453
|
# @param [OCI::Database::Models::ChangeCloudAutonomousVmClusterCompartmentDetails] change_cloud_autonomous_vm_cluster_compartment_details Request to move cloud Autonomous VM cluster to a different compartment
|
|
@@ -4703,6 +4773,70 @@ module OCI
|
|
|
4703
4773
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4704
4774
|
|
|
4705
4775
|
|
|
4776
|
+
# Creates a BaseDB-C@C VM cluster.
|
|
4777
|
+
#
|
|
4778
|
+
# @param [OCI::Database::Models::CreateBaseccVmClusterDetails] create_basecc_vm_cluster_details Request to create a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
4779
|
+
#
|
|
4780
|
+
# @param [Hash] opts the optional parameters
|
|
4781
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4782
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4783
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
4784
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
4785
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
4786
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
4787
|
+
# may be rejected).
|
|
4788
|
+
#
|
|
4789
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
4790
|
+
#
|
|
4791
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::BaseccVmCluster BaseccVmCluster}
|
|
4792
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_basecc_vm_cluster.rb.html) to see an example of how to use create_basecc_vm_cluster API.
|
|
4793
|
+
def create_basecc_vm_cluster(create_basecc_vm_cluster_details, opts = {})
|
|
4794
|
+
logger.debug 'Calling operation DatabaseClient#create_basecc_vm_cluster.' if logger
|
|
4795
|
+
|
|
4796
|
+
raise "Missing the required parameter 'create_basecc_vm_cluster_details' when calling create_basecc_vm_cluster." if create_basecc_vm_cluster_details.nil?
|
|
4797
|
+
|
|
4798
|
+
path = '/baseccVmClusters'
|
|
4799
|
+
operation_signing_strategy = :standard
|
|
4800
|
+
|
|
4801
|
+
# rubocop:disable Style/NegatedIf
|
|
4802
|
+
# Query Params
|
|
4803
|
+
query_params = {}
|
|
4804
|
+
|
|
4805
|
+
# Header Params
|
|
4806
|
+
header_params = {}
|
|
4807
|
+
header_params[:accept] = 'application/json'
|
|
4808
|
+
header_params[:'content-type'] = 'application/json'
|
|
4809
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
4810
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4811
|
+
# rubocop:enable Style/NegatedIf
|
|
4812
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
4813
|
+
|
|
4814
|
+
post_body = @api_client.object_to_http_body(create_basecc_vm_cluster_details)
|
|
4815
|
+
|
|
4816
|
+
# rubocop:disable Metrics/BlockLength
|
|
4817
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#create_basecc_vm_cluster') do
|
|
4818
|
+
@api_client.call_api(
|
|
4819
|
+
:POST,
|
|
4820
|
+
path,
|
|
4821
|
+
endpoint,
|
|
4822
|
+
header_params: header_params,
|
|
4823
|
+
query_params: query_params,
|
|
4824
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4825
|
+
body: post_body,
|
|
4826
|
+
return_type: 'OCI::Database::Models::BaseccVmCluster'
|
|
4827
|
+
)
|
|
4828
|
+
end
|
|
4829
|
+
# rubocop:enable Metrics/BlockLength
|
|
4830
|
+
end
|
|
4831
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4832
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4833
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4834
|
+
|
|
4835
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4836
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4837
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4838
|
+
|
|
4839
|
+
|
|
4706
4840
|
# Creates an Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {#create_autonomous_vm_cluster create_autonomous_vm_cluster}.
|
|
4707
4841
|
#
|
|
4708
4842
|
# @param [OCI::Database::Models::CreateCloudAutonomousVmClusterDetails] create_cloud_autonomous_vm_cluster_details Request to create a cloud Autonomous VM cluster.
|
|
@@ -7207,6 +7341,66 @@ module OCI
|
|
|
7207
7341
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7208
7342
|
|
|
7209
7343
|
|
|
7344
|
+
# Deletes the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
7345
|
+
#
|
|
7346
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
7347
|
+
# @param [Hash] opts the optional parameters
|
|
7348
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7349
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7350
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
7351
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
7352
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
7353
|
+
#
|
|
7354
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
7355
|
+
#
|
|
7356
|
+
# @return [Response] A Response object with data of type nil
|
|
7357
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_basecc_vm_cluster.rb.html) to see an example of how to use delete_basecc_vm_cluster API.
|
|
7358
|
+
def delete_basecc_vm_cluster(basecc_vm_cluster_id, opts = {})
|
|
7359
|
+
logger.debug 'Calling operation DatabaseClient#delete_basecc_vm_cluster.' if logger
|
|
7360
|
+
|
|
7361
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling delete_basecc_vm_cluster." if basecc_vm_cluster_id.nil?
|
|
7362
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
7363
|
+
|
|
7364
|
+
path = '/baseccVmClusters/{baseccVmClusterId}'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
7365
|
+
operation_signing_strategy = :standard
|
|
7366
|
+
|
|
7367
|
+
# rubocop:disable Style/NegatedIf
|
|
7368
|
+
# Query Params
|
|
7369
|
+
query_params = {}
|
|
7370
|
+
|
|
7371
|
+
# Header Params
|
|
7372
|
+
header_params = {}
|
|
7373
|
+
header_params[:accept] = 'application/json'
|
|
7374
|
+
header_params[:'content-type'] = 'application/json'
|
|
7375
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
7376
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
7377
|
+
# rubocop:enable Style/NegatedIf
|
|
7378
|
+
|
|
7379
|
+
post_body = nil
|
|
7380
|
+
|
|
7381
|
+
# rubocop:disable Metrics/BlockLength
|
|
7382
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_basecc_vm_cluster') do
|
|
7383
|
+
@api_client.call_api(
|
|
7384
|
+
:DELETE,
|
|
7385
|
+
path,
|
|
7386
|
+
endpoint,
|
|
7387
|
+
header_params: header_params,
|
|
7388
|
+
query_params: query_params,
|
|
7389
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7390
|
+
body: post_body
|
|
7391
|
+
)
|
|
7392
|
+
end
|
|
7393
|
+
# rubocop:enable Metrics/BlockLength
|
|
7394
|
+
end
|
|
7395
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7396
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7397
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7398
|
+
|
|
7399
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7400
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7401
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7402
|
+
|
|
7403
|
+
|
|
7210
7404
|
# Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {#delete_autonomous_vm_cluster delete_autonomous_vm_cluster}.
|
|
7211
7405
|
#
|
|
7212
7406
|
# @param [String] cloud_autonomous_vm_cluster_id The Cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
@@ -12805,23 +12999,23 @@ module OCI
|
|
|
12805
12999
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12806
13000
|
|
|
12807
13001
|
|
|
12808
|
-
# Gets information about the
|
|
13002
|
+
# Gets information about the BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12809
13003
|
#
|
|
12810
|
-
# @param [String]
|
|
13004
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
12811
13005
|
# @param [Hash] opts the optional parameters
|
|
12812
13006
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12813
13007
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12814
13008
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12815
13009
|
#
|
|
12816
|
-
# @return [Response] A Response object with data of type {OCI::Database::Models::
|
|
12817
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
|
12818
|
-
def
|
|
12819
|
-
logger.debug 'Calling operation DatabaseClient#
|
|
13010
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::BaseccVmCluster BaseccVmCluster}
|
|
13011
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_basecc_vm_cluster.rb.html) to see an example of how to use get_basecc_vm_cluster API.
|
|
13012
|
+
def get_basecc_vm_cluster(basecc_vm_cluster_id, opts = {})
|
|
13013
|
+
logger.debug 'Calling operation DatabaseClient#get_basecc_vm_cluster.' if logger
|
|
12820
13014
|
|
|
12821
|
-
raise "Missing the required parameter '
|
|
12822
|
-
raise "Parameter value for '
|
|
13015
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling get_basecc_vm_cluster." if basecc_vm_cluster_id.nil?
|
|
13016
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
12823
13017
|
|
|
12824
|
-
path = '/
|
|
13018
|
+
path = '/baseccVmClusters/{baseccVmClusterId}'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
12825
13019
|
operation_signing_strategy = :standard
|
|
12826
13020
|
|
|
12827
13021
|
# rubocop:disable Style/NegatedIf
|
|
@@ -12838,7 +13032,7 @@ module OCI
|
|
|
12838
13032
|
post_body = nil
|
|
12839
13033
|
|
|
12840
13034
|
# rubocop:disable Metrics/BlockLength
|
|
12841
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
13035
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_basecc_vm_cluster') do
|
|
12842
13036
|
@api_client.call_api(
|
|
12843
13037
|
:GET,
|
|
12844
13038
|
path,
|
|
@@ -12847,7 +13041,7 @@ module OCI
|
|
|
12847
13041
|
query_params: query_params,
|
|
12848
13042
|
operation_signing_strategy: operation_signing_strategy,
|
|
12849
13043
|
body: post_body,
|
|
12850
|
-
return_type: 'OCI::Database::Models::
|
|
13044
|
+
return_type: 'OCI::Database::Models::BaseccVmCluster'
|
|
12851
13045
|
)
|
|
12852
13046
|
end
|
|
12853
13047
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -12861,23 +13055,26 @@ module OCI
|
|
|
12861
13055
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12862
13056
|
|
|
12863
13057
|
|
|
12864
|
-
#
|
|
13058
|
+
# Gets information about a specified maintenance update package for a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12865
13059
|
#
|
|
12866
|
-
# @param [String]
|
|
13060
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13061
|
+
# @param [String] update_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update.
|
|
12867
13062
|
# @param [Hash] opts the optional parameters
|
|
12868
13063
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12869
13064
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12870
13065
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12871
13066
|
#
|
|
12872
|
-
# @return [Response] A Response object with data of type {OCI::Database::Models::
|
|
12873
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
|
12874
|
-
def
|
|
12875
|
-
logger.debug 'Calling operation DatabaseClient#
|
|
13067
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::BaseccVmClusterUpdate BaseccVmClusterUpdate}
|
|
13068
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_basecc_vm_cluster_update.rb.html) to see an example of how to use get_basecc_vm_cluster_update API.
|
|
13069
|
+
def get_basecc_vm_cluster_update(basecc_vm_cluster_id, update_id, opts = {})
|
|
13070
|
+
logger.debug 'Calling operation DatabaseClient#get_basecc_vm_cluster_update.' if logger
|
|
12876
13071
|
|
|
12877
|
-
raise "Missing the required parameter '
|
|
12878
|
-
raise "
|
|
13072
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling get_basecc_vm_cluster_update." if basecc_vm_cluster_id.nil?
|
|
13073
|
+
raise "Missing the required parameter 'update_id' when calling get_basecc_vm_cluster_update." if update_id.nil?
|
|
13074
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
13075
|
+
raise "Parameter value for 'update_id' must not be blank" if OCI::Internal::Util.blank_string?(update_id)
|
|
12879
13076
|
|
|
12880
|
-
path = '/
|
|
13077
|
+
path = '/baseccVmClusters/{baseccVmClusterId}/updates/{updateId}'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s).sub('{updateId}', update_id.to_s)
|
|
12881
13078
|
operation_signing_strategy = :standard
|
|
12882
13079
|
|
|
12883
13080
|
# rubocop:disable Style/NegatedIf
|
|
@@ -12894,7 +13091,7 @@ module OCI
|
|
|
12894
13091
|
post_body = nil
|
|
12895
13092
|
|
|
12896
13093
|
# rubocop:disable Metrics/BlockLength
|
|
12897
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
13094
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_basecc_vm_cluster_update') do
|
|
12898
13095
|
@api_client.call_api(
|
|
12899
13096
|
:GET,
|
|
12900
13097
|
path,
|
|
@@ -12903,7 +13100,7 @@ module OCI
|
|
|
12903
13100
|
query_params: query_params,
|
|
12904
13101
|
operation_signing_strategy: operation_signing_strategy,
|
|
12905
13102
|
body: post_body,
|
|
12906
|
-
return_type: 'OCI::Database::Models::
|
|
13103
|
+
return_type: 'OCI::Database::Models::BaseccVmClusterUpdate'
|
|
12907
13104
|
)
|
|
12908
13105
|
end
|
|
12909
13106
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -12917,23 +13114,26 @@ module OCI
|
|
|
12917
13114
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12918
13115
|
|
|
12919
13116
|
|
|
12920
|
-
# Gets
|
|
13117
|
+
# Gets the maintenance update history details for the specified update history entry. Applies to Base Database Service on Cloud@Customer instances only.
|
|
12921
13118
|
#
|
|
12922
|
-
# @param [String]
|
|
13119
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13120
|
+
# @param [String] update_history_entry_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry.
|
|
12923
13121
|
# @param [Hash] opts the optional parameters
|
|
12924
13122
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12925
13123
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12926
13124
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12927
13125
|
#
|
|
12928
|
-
# @return [Response] A Response object with data of type {OCI::Database::Models::
|
|
12929
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
|
12930
|
-
def
|
|
12931
|
-
logger.debug 'Calling operation DatabaseClient#
|
|
13126
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::BaseccVmClusterUpdateHistoryEntry BaseccVmClusterUpdateHistoryEntry}
|
|
13127
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_basecc_vm_cluster_update_history_entry.rb.html) to see an example of how to use get_basecc_vm_cluster_update_history_entry API.
|
|
13128
|
+
def get_basecc_vm_cluster_update_history_entry(basecc_vm_cluster_id, update_history_entry_id, opts = {})
|
|
13129
|
+
logger.debug 'Calling operation DatabaseClient#get_basecc_vm_cluster_update_history_entry.' if logger
|
|
12932
13130
|
|
|
12933
|
-
raise "Missing the required parameter '
|
|
12934
|
-
raise "
|
|
13131
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling get_basecc_vm_cluster_update_history_entry." if basecc_vm_cluster_id.nil?
|
|
13132
|
+
raise "Missing the required parameter 'update_history_entry_id' when calling get_basecc_vm_cluster_update_history_entry." if update_history_entry_id.nil?
|
|
13133
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
13134
|
+
raise "Parameter value for 'update_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(update_history_entry_id)
|
|
12935
13135
|
|
|
12936
|
-
path = '/
|
|
13136
|
+
path = '/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s).sub('{updateHistoryEntryId}', update_history_entry_id.to_s)
|
|
12937
13137
|
operation_signing_strategy = :standard
|
|
12938
13138
|
|
|
12939
13139
|
# rubocop:disable Style/NegatedIf
|
|
@@ -12950,7 +13150,7 @@ module OCI
|
|
|
12950
13150
|
post_body = nil
|
|
12951
13151
|
|
|
12952
13152
|
# rubocop:disable Metrics/BlockLength
|
|
12953
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
13153
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_basecc_vm_cluster_update_history_entry') do
|
|
12954
13154
|
@api_client.call_api(
|
|
12955
13155
|
:GET,
|
|
12956
13156
|
path,
|
|
@@ -12959,7 +13159,7 @@ module OCI
|
|
|
12959
13159
|
query_params: query_params,
|
|
12960
13160
|
operation_signing_strategy: operation_signing_strategy,
|
|
12961
13161
|
body: post_body,
|
|
12962
|
-
return_type: 'OCI::Database::Models::
|
|
13162
|
+
return_type: 'OCI::Database::Models::BaseccVmClusterUpdateHistoryEntry'
|
|
12963
13163
|
)
|
|
12964
13164
|
end
|
|
12965
13165
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -12973,30 +13173,28 @@ module OCI
|
|
|
12973
13173
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12974
13174
|
|
|
12975
13175
|
|
|
12976
|
-
# Gets
|
|
13176
|
+
# Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see {#get_autonomous_vm_cluster get_autonomous_vm_cluster}.
|
|
12977
13177
|
#
|
|
12978
|
-
# @param [String]
|
|
13178
|
+
# @param [String] cloud_autonomous_vm_cluster_id The Cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
12979
13179
|
# @param [Hash] opts the optional parameters
|
|
12980
13180
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12981
13181
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12982
13182
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12983
13183
|
#
|
|
12984
|
-
# @
|
|
12985
|
-
# @
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure_unallocated_resources.' if logger
|
|
13184
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::CloudAutonomousVmCluster CloudAutonomousVmCluster}
|
|
13185
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_autonomous_vm_cluster.rb.html) to see an example of how to use get_cloud_autonomous_vm_cluster API.
|
|
13186
|
+
def get_cloud_autonomous_vm_cluster(cloud_autonomous_vm_cluster_id, opts = {})
|
|
13187
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_autonomous_vm_cluster.' if logger
|
|
12989
13188
|
|
|
12990
|
-
raise "Missing the required parameter '
|
|
12991
|
-
raise "Parameter value for '
|
|
13189
|
+
raise "Missing the required parameter 'cloud_autonomous_vm_cluster_id' when calling get_cloud_autonomous_vm_cluster." if cloud_autonomous_vm_cluster_id.nil?
|
|
13190
|
+
raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id)
|
|
12992
13191
|
|
|
12993
|
-
path = '/
|
|
13192
|
+
path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s)
|
|
12994
13193
|
operation_signing_strategy = :standard
|
|
12995
13194
|
|
|
12996
13195
|
# rubocop:disable Style/NegatedIf
|
|
12997
13196
|
# Query Params
|
|
12998
13197
|
query_params = {}
|
|
12999
|
-
query_params[:dbServers] = OCI::ApiClient.build_collection_params(opts[:db_servers], :multi) if opts[:db_servers] && !opts[:db_servers].empty?
|
|
13000
13198
|
|
|
13001
13199
|
# Header Params
|
|
13002
13200
|
header_params = {}
|
|
@@ -13008,7 +13206,7 @@ module OCI
|
|
|
13008
13206
|
post_body = nil
|
|
13009
13207
|
|
|
13010
13208
|
# rubocop:disable Metrics/BlockLength
|
|
13011
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
13209
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_autonomous_vm_cluster') do
|
|
13012
13210
|
@api_client.call_api(
|
|
13013
13211
|
:GET,
|
|
13014
13212
|
path,
|
|
@@ -13017,7 +13215,7 @@ module OCI
|
|
|
13017
13215
|
query_params: query_params,
|
|
13018
13216
|
operation_signing_strategy: operation_signing_strategy,
|
|
13019
13217
|
body: post_body,
|
|
13020
|
-
return_type: 'OCI::Database::Models::
|
|
13218
|
+
return_type: 'OCI::Database::Models::CloudAutonomousVmCluster'
|
|
13021
13219
|
)
|
|
13022
13220
|
end
|
|
13023
13221
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -13031,23 +13229,23 @@ module OCI
|
|
|
13031
13229
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13032
13230
|
|
|
13033
13231
|
|
|
13034
|
-
#
|
|
13232
|
+
# Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
|
|
13035
13233
|
#
|
|
13036
|
-
# @param [String]
|
|
13234
|
+
# @param [String] cloud_autonomous_vm_cluster_id The Cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13037
13235
|
# @param [Hash] opts the optional parameters
|
|
13038
13236
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13039
13237
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13040
13238
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
13041
13239
|
#
|
|
13042
|
-
# @return [Response] A Response object with data of type {OCI::Database::Models::
|
|
13043
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
|
13044
|
-
def
|
|
13045
|
-
logger.debug 'Calling operation DatabaseClient#
|
|
13240
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::CloudAutonomousVmClusterResourceUsage CloudAutonomousVmClusterResourceUsage}
|
|
13241
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_autonomous_vm_cluster_resource_usage.rb.html) to see an example of how to use get_cloud_autonomous_vm_cluster_resource_usage API.
|
|
13242
|
+
def get_cloud_autonomous_vm_cluster_resource_usage(cloud_autonomous_vm_cluster_id, opts = {})
|
|
13243
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_autonomous_vm_cluster_resource_usage.' if logger
|
|
13046
13244
|
|
|
13047
|
-
raise "Missing the required parameter '
|
|
13048
|
-
raise "Parameter value for '
|
|
13245
|
+
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?
|
|
13246
|
+
raise "Parameter value for 'cloud_autonomous_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_autonomous_vm_cluster_id)
|
|
13049
13247
|
|
|
13050
|
-
path = '/
|
|
13248
|
+
path = '/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage'.sub('{cloudAutonomousVmClusterId}', cloud_autonomous_vm_cluster_id.to_s)
|
|
13051
13249
|
operation_signing_strategy = :standard
|
|
13052
13250
|
|
|
13053
13251
|
# rubocop:disable Style/NegatedIf
|
|
@@ -13064,7 +13262,7 @@ module OCI
|
|
|
13064
13262
|
post_body = nil
|
|
13065
13263
|
|
|
13066
13264
|
# rubocop:disable Metrics/BlockLength
|
|
13067
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
13265
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_autonomous_vm_cluster_resource_usage') do
|
|
13068
13266
|
@api_client.call_api(
|
|
13069
13267
|
:GET,
|
|
13070
13268
|
path,
|
|
@@ -13073,7 +13271,7 @@ module OCI
|
|
|
13073
13271
|
query_params: query_params,
|
|
13074
13272
|
operation_signing_strategy: operation_signing_strategy,
|
|
13075
13273
|
body: post_body,
|
|
13076
|
-
return_type: 'OCI::Database::Models::
|
|
13274
|
+
return_type: 'OCI::Database::Models::CloudAutonomousVmClusterResourceUsage'
|
|
13077
13275
|
)
|
|
13078
13276
|
end
|
|
13079
13277
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -13087,21 +13285,191 @@ module OCI
|
|
|
13087
13285
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13088
13286
|
|
|
13089
13287
|
|
|
13090
|
-
# Gets
|
|
13091
|
-
# If you have not specified an IORM configuration, the default configuration is returned.
|
|
13288
|
+
# Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
|
|
13092
13289
|
#
|
|
13093
|
-
# @param [String]
|
|
13290
|
+
# @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13094
13291
|
# @param [Hash] opts the optional parameters
|
|
13095
13292
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13096
13293
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13097
13294
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
13098
13295
|
#
|
|
13099
|
-
# @return [Response] A Response object with data of type {OCI::Database::Models::
|
|
13100
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
|
13101
|
-
def
|
|
13102
|
-
logger.debug 'Calling operation DatabaseClient#
|
|
13103
|
-
|
|
13104
|
-
raise "Missing the required parameter '
|
|
13296
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::CloudExadataInfrastructure CloudExadataInfrastructure}
|
|
13297
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_exadata_infrastructure.rb.html) to see an example of how to use get_cloud_exadata_infrastructure API.
|
|
13298
|
+
def get_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {})
|
|
13299
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure.' if logger
|
|
13300
|
+
|
|
13301
|
+
raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling get_cloud_exadata_infrastructure." if cloud_exadata_infrastructure_id.nil?
|
|
13302
|
+
raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id)
|
|
13303
|
+
|
|
13304
|
+
path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s)
|
|
13305
|
+
operation_signing_strategy = :standard
|
|
13306
|
+
|
|
13307
|
+
# rubocop:disable Style/NegatedIf
|
|
13308
|
+
# Query Params
|
|
13309
|
+
query_params = {}
|
|
13310
|
+
|
|
13311
|
+
# Header Params
|
|
13312
|
+
header_params = {}
|
|
13313
|
+
header_params[:accept] = 'application/json'
|
|
13314
|
+
header_params[:'content-type'] = 'application/json'
|
|
13315
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
13316
|
+
# rubocop:enable Style/NegatedIf
|
|
13317
|
+
|
|
13318
|
+
post_body = nil
|
|
13319
|
+
|
|
13320
|
+
# rubocop:disable Metrics/BlockLength
|
|
13321
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_exadata_infrastructure') do
|
|
13322
|
+
@api_client.call_api(
|
|
13323
|
+
:GET,
|
|
13324
|
+
path,
|
|
13325
|
+
endpoint,
|
|
13326
|
+
header_params: header_params,
|
|
13327
|
+
query_params: query_params,
|
|
13328
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13329
|
+
body: post_body,
|
|
13330
|
+
return_type: 'OCI::Database::Models::CloudExadataInfrastructure'
|
|
13331
|
+
)
|
|
13332
|
+
end
|
|
13333
|
+
# rubocop:enable Metrics/BlockLength
|
|
13334
|
+
end
|
|
13335
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13336
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13337
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13338
|
+
|
|
13339
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13340
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13341
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13342
|
+
|
|
13343
|
+
|
|
13344
|
+
# Gets unallocated resources information for the specified Cloud Exadata infrastructure.
|
|
13345
|
+
#
|
|
13346
|
+
# @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13347
|
+
# @param [Hash] opts the optional parameters
|
|
13348
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13349
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13350
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
13351
|
+
#
|
|
13352
|
+
# @option opts [Array<String>] :db_servers The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers.
|
|
13353
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::CloudExadataInfrastructureUnallocatedResources CloudExadataInfrastructureUnallocatedResources}
|
|
13354
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_exadata_infrastructure_unallocated_resources.rb.html) to see an example of how to use get_cloud_exadata_infrastructure_unallocated_resources API.
|
|
13355
|
+
def get_cloud_exadata_infrastructure_unallocated_resources(cloud_exadata_infrastructure_id, opts = {})
|
|
13356
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure_unallocated_resources.' if logger
|
|
13357
|
+
|
|
13358
|
+
raise "Missing the required parameter 'cloud_exadata_infrastructure_id' when calling get_cloud_exadata_infrastructure_unallocated_resources." if cloud_exadata_infrastructure_id.nil?
|
|
13359
|
+
raise "Parameter value for 'cloud_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_exadata_infrastructure_id)
|
|
13360
|
+
|
|
13361
|
+
path = '/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources'.sub('{cloudExadataInfrastructureId}', cloud_exadata_infrastructure_id.to_s)
|
|
13362
|
+
operation_signing_strategy = :standard
|
|
13363
|
+
|
|
13364
|
+
# rubocop:disable Style/NegatedIf
|
|
13365
|
+
# Query Params
|
|
13366
|
+
query_params = {}
|
|
13367
|
+
query_params[:dbServers] = OCI::ApiClient.build_collection_params(opts[:db_servers], :multi) if opts[:db_servers] && !opts[:db_servers].empty?
|
|
13368
|
+
|
|
13369
|
+
# Header Params
|
|
13370
|
+
header_params = {}
|
|
13371
|
+
header_params[:accept] = 'application/json'
|
|
13372
|
+
header_params[:'content-type'] = 'application/json'
|
|
13373
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
13374
|
+
# rubocop:enable Style/NegatedIf
|
|
13375
|
+
|
|
13376
|
+
post_body = nil
|
|
13377
|
+
|
|
13378
|
+
# rubocop:disable Metrics/BlockLength
|
|
13379
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_exadata_infrastructure_unallocated_resources') do
|
|
13380
|
+
@api_client.call_api(
|
|
13381
|
+
:GET,
|
|
13382
|
+
path,
|
|
13383
|
+
endpoint,
|
|
13384
|
+
header_params: header_params,
|
|
13385
|
+
query_params: query_params,
|
|
13386
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13387
|
+
body: post_body,
|
|
13388
|
+
return_type: 'OCI::Database::Models::CloudExadataInfrastructureUnallocatedResources'
|
|
13389
|
+
)
|
|
13390
|
+
end
|
|
13391
|
+
# rubocop:enable Metrics/BlockLength
|
|
13392
|
+
end
|
|
13393
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13394
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13395
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13396
|
+
|
|
13397
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13398
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13399
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13400
|
+
|
|
13401
|
+
|
|
13402
|
+
# Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
|
|
13403
|
+
#
|
|
13404
|
+
# @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13405
|
+
# @param [Hash] opts the optional parameters
|
|
13406
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13407
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13408
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
13409
|
+
#
|
|
13410
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::CloudVmCluster CloudVmCluster}
|
|
13411
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster.rb.html) to see an example of how to use get_cloud_vm_cluster API.
|
|
13412
|
+
def get_cloud_vm_cluster(cloud_vm_cluster_id, opts = {})
|
|
13413
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster.' if logger
|
|
13414
|
+
|
|
13415
|
+
raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster." if cloud_vm_cluster_id.nil?
|
|
13416
|
+
raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id)
|
|
13417
|
+
|
|
13418
|
+
path = '/cloudVmClusters/{cloudVmClusterId}'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s)
|
|
13419
|
+
operation_signing_strategy = :standard
|
|
13420
|
+
|
|
13421
|
+
# rubocop:disable Style/NegatedIf
|
|
13422
|
+
# Query Params
|
|
13423
|
+
query_params = {}
|
|
13424
|
+
|
|
13425
|
+
# Header Params
|
|
13426
|
+
header_params = {}
|
|
13427
|
+
header_params[:accept] = 'application/json'
|
|
13428
|
+
header_params[:'content-type'] = 'application/json'
|
|
13429
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
13430
|
+
# rubocop:enable Style/NegatedIf
|
|
13431
|
+
|
|
13432
|
+
post_body = nil
|
|
13433
|
+
|
|
13434
|
+
# rubocop:disable Metrics/BlockLength
|
|
13435
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_cloud_vm_cluster') do
|
|
13436
|
+
@api_client.call_api(
|
|
13437
|
+
:GET,
|
|
13438
|
+
path,
|
|
13439
|
+
endpoint,
|
|
13440
|
+
header_params: header_params,
|
|
13441
|
+
query_params: query_params,
|
|
13442
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13443
|
+
body: post_body,
|
|
13444
|
+
return_type: 'OCI::Database::Models::CloudVmCluster'
|
|
13445
|
+
)
|
|
13446
|
+
end
|
|
13447
|
+
# rubocop:enable Metrics/BlockLength
|
|
13448
|
+
end
|
|
13449
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13450
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13451
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13452
|
+
|
|
13453
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13454
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13455
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13456
|
+
|
|
13457
|
+
|
|
13458
|
+
# Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
|
|
13459
|
+
# If you have not specified an IORM configuration, the default configuration is returned.
|
|
13460
|
+
#
|
|
13461
|
+
# @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
13462
|
+
# @param [Hash] opts the optional parameters
|
|
13463
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13464
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13465
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
13466
|
+
#
|
|
13467
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::ExadataIormConfig ExadataIormConfig}
|
|
13468
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster_iorm_config.rb.html) to see an example of how to use get_cloud_vm_cluster_iorm_config API.
|
|
13469
|
+
def get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, opts = {})
|
|
13470
|
+
logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_iorm_config.' if logger
|
|
13471
|
+
|
|
13472
|
+
raise "Missing the required parameter 'cloud_vm_cluster_id' when calling get_cloud_vm_cluster_iorm_config." if cloud_vm_cluster_id.nil?
|
|
13105
13473
|
raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id)
|
|
13106
13474
|
|
|
13107
13475
|
path = '/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig'.sub('{cloudVmClusterId}', cloud_vm_cluster_id.to_s)
|
|
@@ -18134,7 +18502,223 @@ module OCI
|
|
|
18134
18502
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
18135
18503
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
18136
18504
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
18137
|
-
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
18505
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
18506
|
+
|
|
18507
|
+
# Header Params
|
|
18508
|
+
header_params = {}
|
|
18509
|
+
header_params[:accept] = 'application/json'
|
|
18510
|
+
header_params[:'content-type'] = 'application/json'
|
|
18511
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
18512
|
+
# rubocop:enable Style/NegatedIf
|
|
18513
|
+
|
|
18514
|
+
post_body = nil
|
|
18515
|
+
|
|
18516
|
+
# rubocop:disable Metrics/BlockLength
|
|
18517
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_vm_clusters') do
|
|
18518
|
+
@api_client.call_api(
|
|
18519
|
+
:GET,
|
|
18520
|
+
path,
|
|
18521
|
+
endpoint,
|
|
18522
|
+
header_params: header_params,
|
|
18523
|
+
query_params: query_params,
|
|
18524
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
18525
|
+
body: post_body,
|
|
18526
|
+
return_type: 'Array<OCI::Database::Models::AutonomousVmClusterSummary>'
|
|
18527
|
+
)
|
|
18528
|
+
end
|
|
18529
|
+
# rubocop:enable Metrics/BlockLength
|
|
18530
|
+
end
|
|
18531
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18532
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18533
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
18534
|
+
|
|
18535
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18536
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18537
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
18538
|
+
|
|
18539
|
+
|
|
18540
|
+
# Gets a list of backup destinations in the specified compartment.
|
|
18541
|
+
#
|
|
18542
|
+
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18543
|
+
# @param [Hash] opts the optional parameters
|
|
18544
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
18545
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
18546
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
|
18547
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
|
18548
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
18549
|
+
#
|
|
18550
|
+
# @option opts [String] :type A filter to return only resources that match the given type of the Backup Destination.
|
|
18551
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BackupDestinationSummary BackupDestinationSummary}>
|
|
18552
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_backup_destination.rb.html) to see an example of how to use list_backup_destination API.
|
|
18553
|
+
def list_backup_destination(compartment_id, opts = {})
|
|
18554
|
+
logger.debug 'Calling operation DatabaseClient#list_backup_destination.' if logger
|
|
18555
|
+
|
|
18556
|
+
raise "Missing the required parameter 'compartment_id' when calling list_backup_destination." if compartment_id.nil?
|
|
18557
|
+
|
|
18558
|
+
path = '/backupDestinations'
|
|
18559
|
+
operation_signing_strategy = :standard
|
|
18560
|
+
|
|
18561
|
+
# rubocop:disable Style/NegatedIf
|
|
18562
|
+
# Query Params
|
|
18563
|
+
query_params = {}
|
|
18564
|
+
query_params[:compartmentId] = compartment_id
|
|
18565
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
18566
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
18567
|
+
query_params[:type] = opts[:type] if opts[:type]
|
|
18568
|
+
|
|
18569
|
+
# Header Params
|
|
18570
|
+
header_params = {}
|
|
18571
|
+
header_params[:accept] = 'application/json'
|
|
18572
|
+
header_params[:'content-type'] = 'application/json'
|
|
18573
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
18574
|
+
# rubocop:enable Style/NegatedIf
|
|
18575
|
+
|
|
18576
|
+
post_body = nil
|
|
18577
|
+
|
|
18578
|
+
# rubocop:disable Metrics/BlockLength
|
|
18579
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_backup_destination') do
|
|
18580
|
+
@api_client.call_api(
|
|
18581
|
+
:GET,
|
|
18582
|
+
path,
|
|
18583
|
+
endpoint,
|
|
18584
|
+
header_params: header_params,
|
|
18585
|
+
query_params: query_params,
|
|
18586
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
18587
|
+
body: post_body,
|
|
18588
|
+
return_type: 'Array<OCI::Database::Models::BackupDestinationSummary>'
|
|
18589
|
+
)
|
|
18590
|
+
end
|
|
18591
|
+
# rubocop:enable Metrics/BlockLength
|
|
18592
|
+
end
|
|
18593
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18594
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18595
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
18596
|
+
|
|
18597
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18598
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18599
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
18600
|
+
|
|
18601
|
+
|
|
18602
|
+
# Gets a list of backups based on the `databaseId` or `compartmentId` specified. Either one of these query parameters must be provided.
|
|
18603
|
+
#
|
|
18604
|
+
# @param [Hash] opts the optional parameters
|
|
18605
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
18606
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
18607
|
+
# @option opts [String] :database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
18608
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18609
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
|
18610
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
|
18611
|
+
# @option opts [String] :shape_family If provided, filters the results to the set of database versions which are supported for the given shape family.
|
|
18612
|
+
# Allowed values are: SINGLENODE, YODA, VIRTUALMACHINE, EXADATA, EXACC, EXADB_XS
|
|
18613
|
+
# @option opts [String] :version A filter to return only resources that match the given database version.
|
|
18614
|
+
# @option opts [String] :type A filter to return only backups that matches with the given type of Backup.
|
|
18615
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
|
18616
|
+
# @option opts [DateTime] :time_expiry_scheduled_greater_than_or_equal_to The start of date-time range of expiration for the long term backups to be fetched.
|
|
18617
|
+
# @option opts [DateTime] :time_expiry_scheduled_less_than The end of date-time range of expiration for the long term backups to be fetched.
|
|
18618
|
+
# @option opts [String] :backup_destination_type A filter to return only resources that match the given backup destination type.
|
|
18619
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BackupSummary BackupSummary}>
|
|
18620
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_backups.rb.html) to see an example of how to use list_backups API.
|
|
18621
|
+
def list_backups(opts = {})
|
|
18622
|
+
logger.debug 'Calling operation DatabaseClient#list_backups.' if logger
|
|
18623
|
+
|
|
18624
|
+
|
|
18625
|
+
if opts[:shape_family] && !%w[SINGLENODE YODA VIRTUALMACHINE EXADATA EXACC EXADB_XS].include?(opts[:shape_family])
|
|
18626
|
+
raise 'Invalid value for "shape_family", must be one of SINGLENODE, YODA, VIRTUALMACHINE, EXADATA, EXACC, EXADB_XS.'
|
|
18627
|
+
end
|
|
18628
|
+
|
|
18629
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::BackupSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
18630
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::BackupSummary::LIFECYCLE_STATE_ENUM.'
|
|
18631
|
+
end
|
|
18632
|
+
|
|
18633
|
+
path = '/backups'
|
|
18634
|
+
operation_signing_strategy = :standard
|
|
18635
|
+
|
|
18636
|
+
# rubocop:disable Style/NegatedIf
|
|
18637
|
+
# Query Params
|
|
18638
|
+
query_params = {}
|
|
18639
|
+
query_params[:databaseId] = opts[:database_id] if opts[:database_id]
|
|
18640
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
18641
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
18642
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
18643
|
+
query_params[:shapeFamily] = opts[:shape_family] if opts[:shape_family]
|
|
18644
|
+
query_params[:version] = opts[:version] if opts[:version]
|
|
18645
|
+
query_params[:type] = opts[:type] if opts[:type]
|
|
18646
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
18647
|
+
query_params[:timeExpiryScheduledGreaterThanOrEqualTo] = opts[:time_expiry_scheduled_greater_than_or_equal_to] if opts[:time_expiry_scheduled_greater_than_or_equal_to]
|
|
18648
|
+
query_params[:timeExpiryScheduledLessThan] = opts[:time_expiry_scheduled_less_than] if opts[:time_expiry_scheduled_less_than]
|
|
18649
|
+
query_params[:backupDestinationType] = opts[:backup_destination_type] if opts[:backup_destination_type]
|
|
18650
|
+
|
|
18651
|
+
# Header Params
|
|
18652
|
+
header_params = {}
|
|
18653
|
+
header_params[:accept] = 'application/json'
|
|
18654
|
+
header_params[:'content-type'] = 'application/json'
|
|
18655
|
+
# rubocop:enable Style/NegatedIf
|
|
18656
|
+
|
|
18657
|
+
post_body = nil
|
|
18658
|
+
|
|
18659
|
+
# rubocop:disable Metrics/BlockLength
|
|
18660
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_backups') do
|
|
18661
|
+
@api_client.call_api(
|
|
18662
|
+
:GET,
|
|
18663
|
+
path,
|
|
18664
|
+
endpoint,
|
|
18665
|
+
header_params: header_params,
|
|
18666
|
+
query_params: query_params,
|
|
18667
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
18668
|
+
body: post_body,
|
|
18669
|
+
return_type: 'Array<OCI::Database::Models::BackupSummary>'
|
|
18670
|
+
)
|
|
18671
|
+
end
|
|
18672
|
+
# rubocop:enable Metrics/BlockLength
|
|
18673
|
+
end
|
|
18674
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18675
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18676
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
18677
|
+
|
|
18678
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
18679
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
18680
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
18681
|
+
|
|
18682
|
+
|
|
18683
|
+
# Gets the history of the maintenance update actions performed on the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
18684
|
+
#
|
|
18685
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18686
|
+
# @param [Hash] opts the optional parameters
|
|
18687
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
18688
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
18689
|
+
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly. (default to GI_UPGRADE)
|
|
18690
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH, OS_UPDATE
|
|
18691
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
|
18692
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
|
18693
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
|
18694
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
18695
|
+
#
|
|
18696
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BaseccVmClusterUpdateHistoryEntrySummary BaseccVmClusterUpdateHistoryEntrySummary}>
|
|
18697
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_basecc_vm_cluster_update_history_entries.rb.html) to see an example of how to use list_basecc_vm_cluster_update_history_entries API.
|
|
18698
|
+
def list_basecc_vm_cluster_update_history_entries(basecc_vm_cluster_id, opts = {})
|
|
18699
|
+
logger.debug 'Calling operation DatabaseClient#list_basecc_vm_cluster_update_history_entries.' if logger
|
|
18700
|
+
|
|
18701
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling list_basecc_vm_cluster_update_history_entries." if basecc_vm_cluster_id.nil?
|
|
18702
|
+
|
|
18703
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type])
|
|
18704
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.'
|
|
18705
|
+
end
|
|
18706
|
+
|
|
18707
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::BaseccVmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
18708
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::BaseccVmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.'
|
|
18709
|
+
end
|
|
18710
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
18711
|
+
|
|
18712
|
+
path = '/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
18713
|
+
operation_signing_strategy = :standard
|
|
18714
|
+
|
|
18715
|
+
# rubocop:disable Style/NegatedIf
|
|
18716
|
+
# Query Params
|
|
18717
|
+
query_params = {}
|
|
18718
|
+
query_params[:updateType] = opts[:update_type] if opts[:update_type]
|
|
18719
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
18720
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
18721
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
18138
18722
|
|
|
18139
18723
|
# Header Params
|
|
18140
18724
|
header_params = {}
|
|
@@ -18146,7 +18730,7 @@ module OCI
|
|
|
18146
18730
|
post_body = nil
|
|
18147
18731
|
|
|
18148
18732
|
# rubocop:disable Metrics/BlockLength
|
|
18149
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
18733
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_basecc_vm_cluster_update_history_entries') do
|
|
18150
18734
|
@api_client.call_api(
|
|
18151
18735
|
:GET,
|
|
18152
18736
|
path,
|
|
@@ -18155,7 +18739,7 @@ module OCI
|
|
|
18155
18739
|
query_params: query_params,
|
|
18156
18740
|
operation_signing_strategy: operation_signing_strategy,
|
|
18157
18741
|
body: post_body,
|
|
18158
|
-
return_type: 'Array<OCI::Database::Models::
|
|
18742
|
+
return_type: 'Array<OCI::Database::Models::BaseccVmClusterUpdateHistoryEntrySummary>'
|
|
18159
18743
|
)
|
|
18160
18744
|
end
|
|
18161
18745
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -18169,34 +18753,45 @@ module OCI
|
|
|
18169
18753
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
18170
18754
|
|
|
18171
18755
|
|
|
18172
|
-
#
|
|
18756
|
+
# Lists the maintenance updates that can be applied to the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
18173
18757
|
#
|
|
18174
|
-
# @param [String]
|
|
18758
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18175
18759
|
# @param [Hash] opts the optional parameters
|
|
18176
18760
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
18177
18761
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
18762
|
+
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly. (default to GI_UPGRADE)
|
|
18763
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH, OS_UPDATE
|
|
18764
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
|
18178
18765
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
|
18179
18766
|
# @option opts [String] :page The pagination token to continue listing from.
|
|
18180
18767
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
18181
18768
|
#
|
|
18182
|
-
# @
|
|
18183
|
-
# @
|
|
18184
|
-
|
|
18185
|
-
|
|
18186
|
-
logger.debug 'Calling operation DatabaseClient#list_backup_destination.' if logger
|
|
18769
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BaseccVmClusterUpdateSummary BaseccVmClusterUpdateSummary}>
|
|
18770
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_basecc_vm_cluster_updates.rb.html) to see an example of how to use list_basecc_vm_cluster_updates API.
|
|
18771
|
+
def list_basecc_vm_cluster_updates(basecc_vm_cluster_id, opts = {})
|
|
18772
|
+
logger.debug 'Calling operation DatabaseClient#list_basecc_vm_cluster_updates.' if logger
|
|
18187
18773
|
|
|
18188
|
-
raise "Missing the required parameter '
|
|
18774
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling list_basecc_vm_cluster_updates." if basecc_vm_cluster_id.nil?
|
|
18189
18775
|
|
|
18190
|
-
|
|
18776
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type])
|
|
18777
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.'
|
|
18778
|
+
end
|
|
18779
|
+
|
|
18780
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::BaseccVmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
18781
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::BaseccVmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.'
|
|
18782
|
+
end
|
|
18783
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
18784
|
+
|
|
18785
|
+
path = '/baseccVmClusters/{baseccVmClusterId}/updates'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
18191
18786
|
operation_signing_strategy = :standard
|
|
18192
18787
|
|
|
18193
18788
|
# rubocop:disable Style/NegatedIf
|
|
18194
18789
|
# Query Params
|
|
18195
18790
|
query_params = {}
|
|
18196
|
-
query_params[:
|
|
18791
|
+
query_params[:updateType] = opts[:update_type] if opts[:update_type]
|
|
18792
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
18197
18793
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
18198
18794
|
query_params[:page] = opts[:page] if opts[:page]
|
|
18199
|
-
query_params[:type] = opts[:type] if opts[:type]
|
|
18200
18795
|
|
|
18201
18796
|
# Header Params
|
|
18202
18797
|
header_params = {}
|
|
@@ -18208,7 +18803,7 @@ module OCI
|
|
|
18208
18803
|
post_body = nil
|
|
18209
18804
|
|
|
18210
18805
|
# rubocop:disable Metrics/BlockLength
|
|
18211
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
18806
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_basecc_vm_cluster_updates') do
|
|
18212
18807
|
@api_client.call_api(
|
|
18213
18808
|
:GET,
|
|
18214
18809
|
path,
|
|
@@ -18217,7 +18812,7 @@ module OCI
|
|
|
18217
18812
|
query_params: query_params,
|
|
18218
18813
|
operation_signing_strategy: operation_signing_strategy,
|
|
18219
18814
|
body: post_body,
|
|
18220
|
-
return_type: 'Array<OCI::Database::Models::
|
|
18815
|
+
return_type: 'Array<OCI::Database::Models::BaseccVmClusterUpdateSummary>'
|
|
18221
18816
|
)
|
|
18222
18817
|
end
|
|
18223
18818
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -18231,65 +18826,77 @@ module OCI
|
|
|
18231
18826
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
18232
18827
|
|
|
18233
18828
|
|
|
18234
|
-
#
|
|
18829
|
+
# Lists the BaseDB-C@C VM clusters in the specified compartment. Applies to Base Database Service on Cloud@Customer instances only.
|
|
18235
18830
|
#
|
|
18831
|
+
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18236
18832
|
# @param [Hash] opts the optional parameters
|
|
18237
18833
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
18238
18834
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
18239
|
-
# @option opts [String] :
|
|
18240
|
-
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
18835
|
+
# @option opts [String] :base_infrastructure_id If provided, filters the results for the given Oracle Data Cloud@Customer Infrastructure. (default to default)
|
|
18241
18836
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
|
18242
18837
|
# @option opts [String] :page The pagination token to continue listing from.
|
|
18243
|
-
# @option opts [String] :
|
|
18244
|
-
#
|
|
18245
|
-
#
|
|
18246
|
-
# @option opts [String] :
|
|
18838
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
|
|
18839
|
+
# (default to TIMECREATED)
|
|
18840
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
|
18841
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
|
18842
|
+
# Allowed values are: ASC, DESC
|
|
18247
18843
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
|
18248
|
-
# @option opts [
|
|
18249
|
-
# @option opts [
|
|
18250
|
-
# @option opts [String] :
|
|
18251
|
-
#
|
|
18252
|
-
# @
|
|
18253
|
-
|
|
18254
|
-
|
|
18844
|
+
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|
|
18845
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
|
18846
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
18847
|
+
#
|
|
18848
|
+
# @option opts [String] :vm_cluster_type A filter to return only BaseDB-C@C VM clusters that match the given VM Cluster type exactly.
|
|
18849
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BaseccVmClusterSummary BaseccVmClusterSummary}>
|
|
18850
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_basecc_vm_clusters.rb.html) to see an example of how to use list_basecc_vm_clusters API.
|
|
18851
|
+
def list_basecc_vm_clusters(compartment_id, opts = {})
|
|
18852
|
+
logger.debug 'Calling operation DatabaseClient#list_basecc_vm_clusters.' if logger
|
|
18255
18853
|
|
|
18854
|
+
raise "Missing the required parameter 'compartment_id' when calling list_basecc_vm_clusters." if compartment_id.nil?
|
|
18256
18855
|
|
|
18257
|
-
if opts[:
|
|
18258
|
-
raise 'Invalid value for "
|
|
18856
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
|
18857
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
|
18259
18858
|
end
|
|
18260
18859
|
|
|
18261
|
-
if opts[:
|
|
18262
|
-
raise 'Invalid value for "
|
|
18860
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
18861
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
18263
18862
|
end
|
|
18264
18863
|
|
|
18265
|
-
|
|
18864
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::BaseccVmClusterSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
18865
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::BaseccVmClusterSummary::LIFECYCLE_STATE_ENUM.'
|
|
18866
|
+
end
|
|
18867
|
+
|
|
18868
|
+
if opts[:vm_cluster_type] && !OCI::Database::Models::BaseccVmClusterSummary::VM_CLUSTER_TYPE_ENUM.include?(opts[:vm_cluster_type])
|
|
18869
|
+
raise 'Invalid value for "vm_cluster_type", must be one of the values in OCI::Database::Models::BaseccVmClusterSummary::VM_CLUSTER_TYPE_ENUM.'
|
|
18870
|
+
end
|
|
18871
|
+
|
|
18872
|
+
path = '/baseccVmClusters'
|
|
18266
18873
|
operation_signing_strategy = :standard
|
|
18267
18874
|
|
|
18268
18875
|
# rubocop:disable Style/NegatedIf
|
|
18269
18876
|
# Query Params
|
|
18270
18877
|
query_params = {}
|
|
18271
|
-
query_params[:
|
|
18272
|
-
query_params[:
|
|
18878
|
+
query_params[:compartmentId] = compartment_id
|
|
18879
|
+
query_params[:baseInfrastructureId] = opts[:base_infrastructure_id] if opts[:base_infrastructure_id]
|
|
18273
18880
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
18274
18881
|
query_params[:page] = opts[:page] if opts[:page]
|
|
18275
|
-
query_params[:
|
|
18276
|
-
query_params[:
|
|
18277
|
-
query_params[:type] = opts[:type] if opts[:type]
|
|
18882
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
18883
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
18278
18884
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
18279
|
-
query_params[:
|
|
18280
|
-
query_params[:
|
|
18281
|
-
query_params[:
|
|
18885
|
+
query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain]
|
|
18886
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
18887
|
+
query_params[:vmClusterType] = opts[:vm_cluster_type] if opts[:vm_cluster_type]
|
|
18282
18888
|
|
|
18283
18889
|
# Header Params
|
|
18284
18890
|
header_params = {}
|
|
18285
18891
|
header_params[:accept] = 'application/json'
|
|
18286
18892
|
header_params[:'content-type'] = 'application/json'
|
|
18893
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
18287
18894
|
# rubocop:enable Style/NegatedIf
|
|
18288
18895
|
|
|
18289
18896
|
post_body = nil
|
|
18290
18897
|
|
|
18291
18898
|
# rubocop:disable Metrics/BlockLength
|
|
18292
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
|
18899
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_basecc_vm_clusters') do
|
|
18293
18900
|
@api_client.call_api(
|
|
18294
18901
|
:GET,
|
|
18295
18902
|
path,
|
|
@@ -18298,7 +18905,7 @@ module OCI
|
|
|
18298
18905
|
query_params: query_params,
|
|
18299
18906
|
operation_signing_strategy: operation_signing_strategy,
|
|
18300
18907
|
body: post_body,
|
|
18301
|
-
return_type: 'Array<OCI::Database::Models::
|
|
18908
|
+
return_type: 'Array<OCI::Database::Models::BaseccVmClusterSummary>'
|
|
18302
18909
|
)
|
|
18303
18910
|
end
|
|
18304
18911
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -21640,6 +22247,7 @@ module OCI
|
|
|
21640
22247
|
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
21641
22248
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
21642
22249
|
#
|
|
22250
|
+
# @option opts [String] :exadata_infrastructure_id If provided, filters the results for the given Exadata Infrastructure. (default to default)
|
|
21643
22251
|
# @option opts [String] :shape_family If provided, filters the results to the set of database versions which are supported for the given shape family.
|
|
21644
22252
|
# Allowed values are: SINGLENODE, YODA, VIRTUALMACHINE, EXADATA, EXACC, EXADB_XS
|
|
21645
22253
|
# @option opts [BOOLEAN] :is_gi_version_for_provisioning If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster (default to false)
|
|
@@ -21678,6 +22286,7 @@ module OCI
|
|
|
21678
22286
|
query_params = {}
|
|
21679
22287
|
query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain]
|
|
21680
22288
|
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
22289
|
+
query_params[:exadataInfrastructureId] = opts[:exadata_infrastructure_id] if opts[:exadata_infrastructure_id]
|
|
21681
22290
|
query_params[:shapeFamily] = opts[:shape_family] if opts[:shape_family]
|
|
21682
22291
|
query_params[:isGiVersionForProvisioning] = opts[:is_gi_version_for_provisioning] if !opts[:is_gi_version_for_provisioning].nil?
|
|
21683
22292
|
query_params[:shape] = opts[:shape] if opts[:shape]
|
|
@@ -24582,6 +25191,76 @@ module OCI
|
|
|
24582
25191
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
24583
25192
|
|
|
24584
25193
|
|
|
25194
|
+
# Install the PKCS11 driver for given keystore type
|
|
25195
|
+
#
|
|
25196
|
+
# @param [String] exadb_vm_cluster_id The Exadata VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure.
|
|
25197
|
+
# @param [OCI::Database::Models::RegisterExadbVmClusterPkcsDetails] register_exadb_vm_cluster_pkcs_details Details of registering PKCS11 driver.
|
|
25198
|
+
# @param [Hash] opts the optional parameters
|
|
25199
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
25200
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
25201
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25202
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
25203
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
25204
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
25205
|
+
# may be rejected).
|
|
25206
|
+
#
|
|
25207
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
25208
|
+
#
|
|
25209
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
25210
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
25211
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
25212
|
+
#
|
|
25213
|
+
# @return [Response] A Response object with data of type nil
|
|
25214
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/register_exadb_vm_cluster_pkcs.rb.html) to see an example of how to use register_exadb_vm_cluster_pkcs API.
|
|
25215
|
+
def register_exadb_vm_cluster_pkcs(exadb_vm_cluster_id, register_exadb_vm_cluster_pkcs_details, opts = {})
|
|
25216
|
+
logger.debug 'Calling operation DatabaseClient#register_exadb_vm_cluster_pkcs.' if logger
|
|
25217
|
+
|
|
25218
|
+
raise "Missing the required parameter 'exadb_vm_cluster_id' when calling register_exadb_vm_cluster_pkcs." if exadb_vm_cluster_id.nil?
|
|
25219
|
+
raise "Missing the required parameter 'register_exadb_vm_cluster_pkcs_details' when calling register_exadb_vm_cluster_pkcs." if register_exadb_vm_cluster_pkcs_details.nil?
|
|
25220
|
+
raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id)
|
|
25221
|
+
|
|
25222
|
+
path = '/exadbVmClusters/{exadbVmClusterId}/actions/registerPkcs'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s)
|
|
25223
|
+
operation_signing_strategy = :standard
|
|
25224
|
+
|
|
25225
|
+
# rubocop:disable Style/NegatedIf
|
|
25226
|
+
# Query Params
|
|
25227
|
+
query_params = {}
|
|
25228
|
+
|
|
25229
|
+
# Header Params
|
|
25230
|
+
header_params = {}
|
|
25231
|
+
header_params[:accept] = 'application/json'
|
|
25232
|
+
header_params[:'content-type'] = 'application/json'
|
|
25233
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
25234
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
25235
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
25236
|
+
# rubocop:enable Style/NegatedIf
|
|
25237
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
25238
|
+
|
|
25239
|
+
post_body = @api_client.object_to_http_body(register_exadb_vm_cluster_pkcs_details)
|
|
25240
|
+
|
|
25241
|
+
# rubocop:disable Metrics/BlockLength
|
|
25242
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#register_exadb_vm_cluster_pkcs') do
|
|
25243
|
+
@api_client.call_api(
|
|
25244
|
+
:POST,
|
|
25245
|
+
path,
|
|
25246
|
+
endpoint,
|
|
25247
|
+
header_params: header_params,
|
|
25248
|
+
query_params: query_params,
|
|
25249
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
25250
|
+
body: post_body
|
|
25251
|
+
)
|
|
25252
|
+
end
|
|
25253
|
+
# rubocop:enable Metrics/BlockLength
|
|
25254
|
+
end
|
|
25255
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
25256
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
25257
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
25258
|
+
|
|
25259
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
25260
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
25261
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
25262
|
+
|
|
25263
|
+
|
|
24585
25264
|
# Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see
|
|
24586
25265
|
# [Reinstate the Disabled Standby in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-B5C6A90D-72E3-4F32-988D-8AECC0A2D947).
|
|
24587
25266
|
#
|
|
@@ -28017,6 +28696,76 @@ module OCI
|
|
|
28017
28696
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
28018
28697
|
|
|
28019
28698
|
|
|
28699
|
+
# Uninstall the PKCS11 driver for given keystore type
|
|
28700
|
+
#
|
|
28701
|
+
# @param [String] exadb_vm_cluster_id The Exadata VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure.
|
|
28702
|
+
# @param [OCI::Database::Models::UnregisterExadbVmClusterPkcsDetails] unregister_exadb_vm_cluster_pkcs_details Details of unregistering PKCS11 driver.
|
|
28703
|
+
# @param [Hash] opts the optional parameters
|
|
28704
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
28705
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
28706
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
28707
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
28708
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
28709
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
28710
|
+
# may be rejected).
|
|
28711
|
+
#
|
|
28712
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
28713
|
+
#
|
|
28714
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
28715
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
28716
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
28717
|
+
#
|
|
28718
|
+
# @return [Response] A Response object with data of type nil
|
|
28719
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/unregister_exadb_vm_cluster_pkcs.rb.html) to see an example of how to use unregister_exadb_vm_cluster_pkcs API.
|
|
28720
|
+
def unregister_exadb_vm_cluster_pkcs(exadb_vm_cluster_id, unregister_exadb_vm_cluster_pkcs_details, opts = {})
|
|
28721
|
+
logger.debug 'Calling operation DatabaseClient#unregister_exadb_vm_cluster_pkcs.' if logger
|
|
28722
|
+
|
|
28723
|
+
raise "Missing the required parameter 'exadb_vm_cluster_id' when calling unregister_exadb_vm_cluster_pkcs." if exadb_vm_cluster_id.nil?
|
|
28724
|
+
raise "Missing the required parameter 'unregister_exadb_vm_cluster_pkcs_details' when calling unregister_exadb_vm_cluster_pkcs." if unregister_exadb_vm_cluster_pkcs_details.nil?
|
|
28725
|
+
raise "Parameter value for 'exadb_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(exadb_vm_cluster_id)
|
|
28726
|
+
|
|
28727
|
+
path = '/exadbVmClusters/{exadbVmClusterId}/actions/unregisterPkcs'.sub('{exadbVmClusterId}', exadb_vm_cluster_id.to_s)
|
|
28728
|
+
operation_signing_strategy = :standard
|
|
28729
|
+
|
|
28730
|
+
# rubocop:disable Style/NegatedIf
|
|
28731
|
+
# Query Params
|
|
28732
|
+
query_params = {}
|
|
28733
|
+
|
|
28734
|
+
# Header Params
|
|
28735
|
+
header_params = {}
|
|
28736
|
+
header_params[:accept] = 'application/json'
|
|
28737
|
+
header_params[:'content-type'] = 'application/json'
|
|
28738
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
28739
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
28740
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
28741
|
+
# rubocop:enable Style/NegatedIf
|
|
28742
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
28743
|
+
|
|
28744
|
+
post_body = @api_client.object_to_http_body(unregister_exadb_vm_cluster_pkcs_details)
|
|
28745
|
+
|
|
28746
|
+
# rubocop:disable Metrics/BlockLength
|
|
28747
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#unregister_exadb_vm_cluster_pkcs') do
|
|
28748
|
+
@api_client.call_api(
|
|
28749
|
+
:POST,
|
|
28750
|
+
path,
|
|
28751
|
+
endpoint,
|
|
28752
|
+
header_params: header_params,
|
|
28753
|
+
query_params: query_params,
|
|
28754
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
28755
|
+
body: post_body
|
|
28756
|
+
)
|
|
28757
|
+
end
|
|
28758
|
+
# rubocop:enable Metrics/BlockLength
|
|
28759
|
+
end
|
|
28760
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
28761
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
28762
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
28763
|
+
|
|
28764
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
28765
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
28766
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
28767
|
+
|
|
28768
|
+
|
|
28020
28769
|
# Updates the advanced cluster file system resource.
|
|
28021
28770
|
#
|
|
28022
28771
|
# @param [String] advanced_cluster_file_system_id The advanced cluster file system Id [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
@@ -28772,6 +29521,69 @@ module OCI
|
|
|
28772
29521
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
28773
29522
|
|
|
28774
29523
|
|
|
29524
|
+
# Updates the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
|
|
29525
|
+
#
|
|
29526
|
+
# @param [String] basecc_vm_cluster_id The BaseDB-C@C VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
29527
|
+
# @param [OCI::Database::Models::UpdateBaseccVmClusterDetails] update_basecc_vm_cluster_details Request to update the attributes of a BaseDB-C@C VM cluster.
|
|
29528
|
+
# @param [Hash] opts the optional parameters
|
|
29529
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
29530
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
29531
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
29532
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
29533
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
29534
|
+
#
|
|
29535
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
29536
|
+
#
|
|
29537
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::BaseccVmCluster BaseccVmCluster}
|
|
29538
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_basecc_vm_cluster.rb.html) to see an example of how to use update_basecc_vm_cluster API.
|
|
29539
|
+
def update_basecc_vm_cluster(basecc_vm_cluster_id, update_basecc_vm_cluster_details, opts = {})
|
|
29540
|
+
logger.debug 'Calling operation DatabaseClient#update_basecc_vm_cluster.' if logger
|
|
29541
|
+
|
|
29542
|
+
raise "Missing the required parameter 'basecc_vm_cluster_id' when calling update_basecc_vm_cluster." if basecc_vm_cluster_id.nil?
|
|
29543
|
+
raise "Missing the required parameter 'update_basecc_vm_cluster_details' when calling update_basecc_vm_cluster." if update_basecc_vm_cluster_details.nil?
|
|
29544
|
+
raise "Parameter value for 'basecc_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(basecc_vm_cluster_id)
|
|
29545
|
+
|
|
29546
|
+
path = '/baseccVmClusters/{baseccVmClusterId}'.sub('{baseccVmClusterId}', basecc_vm_cluster_id.to_s)
|
|
29547
|
+
operation_signing_strategy = :standard
|
|
29548
|
+
|
|
29549
|
+
# rubocop:disable Style/NegatedIf
|
|
29550
|
+
# Query Params
|
|
29551
|
+
query_params = {}
|
|
29552
|
+
|
|
29553
|
+
# Header Params
|
|
29554
|
+
header_params = {}
|
|
29555
|
+
header_params[:accept] = 'application/json'
|
|
29556
|
+
header_params[:'content-type'] = 'application/json'
|
|
29557
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
29558
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
29559
|
+
# rubocop:enable Style/NegatedIf
|
|
29560
|
+
|
|
29561
|
+
post_body = @api_client.object_to_http_body(update_basecc_vm_cluster_details)
|
|
29562
|
+
|
|
29563
|
+
# rubocop:disable Metrics/BlockLength
|
|
29564
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#update_basecc_vm_cluster') do
|
|
29565
|
+
@api_client.call_api(
|
|
29566
|
+
:PUT,
|
|
29567
|
+
path,
|
|
29568
|
+
endpoint,
|
|
29569
|
+
header_params: header_params,
|
|
29570
|
+
query_params: query_params,
|
|
29571
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
29572
|
+
body: post_body,
|
|
29573
|
+
return_type: 'OCI::Database::Models::BaseccVmCluster'
|
|
29574
|
+
)
|
|
29575
|
+
end
|
|
29576
|
+
# rubocop:enable Metrics/BlockLength
|
|
29577
|
+
end
|
|
29578
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
29579
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
29580
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
29581
|
+
|
|
29582
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
29583
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
29584
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
29585
|
+
|
|
29586
|
+
|
|
28775
29587
|
# Updates the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see {#update_autonomous_vm_cluster update_autonomous_vm_cluster}.
|
|
28776
29588
|
#
|
|
28777
29589
|
# @param [String] cloud_autonomous_vm_cluster_id The Cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|