oci 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/api_client.rb +1 -3
- data/lib/oci/apigateway/api_gateway_client.rb +619 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +198 -0
- data/lib/oci/apigateway/apigateway.rb +10 -0
- data/lib/oci/apigateway/models/api.rb +340 -0
- data/lib/oci/apigateway/models/api_collection.rb +150 -0
- data/lib/oci/apigateway/models/api_summary.rb +342 -0
- data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
- data/lib/oci/apigateway/models/api_validation_details.rb +192 -0
- data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
- data/lib/oci/apigateway/models/api_validations.rb +150 -0
- data/lib/oci/{log_analytics/models/create_namespace_details.rb → apigateway/models/change_api_compartment_details.rb} +5 -3
- data/lib/oci/apigateway/models/create_api_details.rb +222 -0
- data/lib/oci/apigateway/models/update_api_details.rb +206 -0
- data/lib/oci/apigateway/models/work_request.rb +4 -0
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/application_migration_client.rb +169 -52
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +447 -0
- data/lib/oci/application_migration/models/authorization_details.rb +4 -2
- data/lib/oci/application_migration/models/change_compartment_details.rb +2 -2
- data/lib/oci/application_migration/models/configuration_field.rb +9 -7
- data/lib/oci/application_migration/models/create_migration_details.rb +54 -12
- data/lib/oci/application_migration/models/create_source_details.rb +13 -8
- data/lib/oci/application_migration/models/discovery_details.rb +2 -2
- data/lib/oci/application_migration/models/ics_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/internal_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/internal_source_details.rb +2 -2
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/migration.rb +111 -18
- data/lib/oci/application_migration/models/migration_summary.rb +63 -15
- data/lib/oci/application_migration/models/oac_discovery_details.rb +3 -3
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/ocic_source_details.rb +8 -3
- data/lib/oci/application_migration/models/oic_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/source.rb +41 -13
- data/lib/oci/application_migration/models/source_application.rb +6 -6
- data/lib/oci/application_migration/models/source_application_summary.rb +7 -6
- data/lib/oci/application_migration/models/source_details.rb +10 -2
- data/lib/oci/application_migration/models/source_summary.rb +36 -14
- data/lib/oci/application_migration/models/target_database_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +15 -7
- data/lib/oci/application_migration/models/update_source_details.rb +7 -7
- data/lib/oci/application_migration/models/work_request.rb +54 -3
- data/lib/oci/application_migration/models/work_request_error.rb +1 -1
- data/lib/oci/application_migration/models/work_request_log_entry.rb +2 -2
- data/lib/oci/application_migration/models/work_request_resource.rb +1 -1
- data/lib/oci/application_migration/models/work_request_summary.rb +54 -3
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +1 -1
- data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
- data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
- data/lib/oci/compute_instance_agent/util.rb +3 -0
- data/lib/oci/container_engine/container_engine_client.rb +0 -11
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +19 -4
- data/lib/oci/container_engine/models/node_shape_config.rb +19 -4
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +19 -4
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/create_vcn_details.rb +24 -2
- data/lib/oci/core/models/create_vlan_details.rb +1 -0
- data/lib/oci/core/models/image_memory_constraints.rb +17 -17
- data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
- data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/subnet.rb +1 -0
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/update_vlan_details.rb +25 -4
- data/lib/oci/core/models/vcn.rb +18 -2
- data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
- data/lib/oci/core/virtual_network_client.rb +289 -4
- data/lib/oci/data_catalog/data_catalog.rb +30 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +1763 -112
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +413 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/connection.rb +15 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/custom_property.rb +506 -0
- data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
- data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
- data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
- data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
- data/lib/oci/data_catalog/models/data_asset.rb +29 -1
- data/lib/oci/{log_analytics/models/string_list_details.rb → data_catalog/models/data_selector_pattern_details.rb} +11 -10
- data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
- data/lib/oci/data_catalog/models/entity.rb +43 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
- data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
- data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
- data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
- data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
- data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/glossary.rb +73 -1
- data/lib/oci/data_catalog/models/glossary_summary.rb +62 -4
- data/lib/oci/data_catalog/models/namespace.rb +290 -0
- data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
- data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
- data/lib/oci/data_catalog/models/pattern.rb +368 -0
- data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
- data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +47 -4
- data/lib/oci/data_catalog/models/search_result.rb +28 -4
- data/lib/oci/data_catalog/models/search_result_collection.rb +28 -4
- data/lib/oci/data_catalog/models/term.rb +18 -4
- data/lib/oci/data_catalog/models/type.rb +18 -4
- data/lib/oci/{log_analytics/models/register_entity_types_details.rb → data_catalog/models/type_custom_property_details.rb} +13 -13
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
- data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
- data/lib/oci/data_integration/models/source.rb +1 -0
- data/lib/oci/database/database.rb +19 -0
- data/lib/oci/database/database_client.rb +1112 -8
- data/lib/oci/database/database_client_composite_operations.rb +281 -0
- data/lib/oci/database/models/autonomous_container_database.rb +80 -4
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +80 -4
- data/lib/oci/database/models/autonomous_database.rb +141 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +141 -8
- data/lib/oci/database/models/autonomous_db_version_summary.rb +46 -4
- data/lib/oci/{log_analytics/models/query.rb → database/models/change_key_store_compartment_details.rb} +5 -3
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +138 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +30 -5
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
- data/lib/oci/database/models/create_data_guard_association_details.rb +15 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +15 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -1
- data/lib/oci/database/models/create_key_store_details.rb +217 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/database.rb +1 -0
- data/lib/oci/database/models/database_software_image.rb +18 -4
- data/lib/oci/database/models/database_software_image_summary.rb +18 -4
- data/lib/oci/database/models/database_summary.rb +1 -0
- data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
- data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
- data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
- data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
- data/lib/oci/database/models/db_system.rb +1 -0
- data/lib/oci/database/models/db_system_summary.rb +1 -0
- data/lib/oci/database/models/db_version_summary.rb +18 -4
- data/lib/oci/database/models/key_store.rb +300 -0
- data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
- data/lib/oci/database/models/key_store_summary.rb +303 -0
- data/lib/oci/database/models/key_store_type_details.rb +185 -0
- data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
- data/lib/oci/database/models/maintenance_run.rb +18 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +18 -4
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
- data/lib/oci/database/models/update.rb +1 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +17 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -5
- data/lib/oci/database/models/update_database_details.rb +43 -1
- data/lib/oci/database/models/update_history_entry.rb +1 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +1 -0
- data/lib/oci/database/models/update_key_store_details.rb +187 -0
- data/lib/oci/database/models/update_summary.rb +1 -0
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/dns/dns.rb +24 -0
- data/lib/oci/dns/dns_client.rb +1695 -175
- data/lib/oci/dns/dns_client_composite_operations.rb +240 -0
- data/lib/oci/{log_analytics/models/service_tenancy.rb → dns/models/attached_view.rb} +13 -12
- data/lib/oci/dns/models/attached_view_details.rb +155 -0
- data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
- data/lib/oci/{log_analytics/models/query_work_request_resource.rb → dns/models/change_view_compartment_details.rb} +5 -3
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
- data/lib/oci/dns/models/create_view_details.rb +210 -0
- data/lib/oci/dns/models/create_zone_details.rb +41 -2
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -2
- data/lib/oci/dns/models/record_collection.rb +1 -0
- data/lib/oci/dns/models/record_details.rb +1 -2
- data/lib/oci/dns/models/record_operation.rb +1 -2
- data/lib/oci/dns/models/resolver.rb +393 -0
- data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
- data/lib/oci/{log_analytics/models/generate_agent_object_name_details.rb → dns/models/resolver_forward_rule.rb} +42 -51
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
- data/lib/oci/dns/models/resolver_rule.rb +222 -0
- data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
- data/lib/oci/dns/models/resolver_summary.rb +357 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
- data/lib/oci/dns/models/rr_set.rb +1 -0
- data/lib/oci/{log_analytics/models/sort_orders.rb → dns/models/scope.rb} +4 -4
- data/lib/oci/dns/models/steering_policy.rb +12 -12
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +10 -10
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +10 -10
- data/lib/oci/dns/models/steering_policy_summary.rb +10 -10
- data/lib/oci/dns/models/tsig_key.rb +10 -10
- data/lib/oci/dns/models/tsig_key_summary.rb +9 -9
- data/lib/oci/dns/models/update_resolver_details.rb +221 -0
- data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
- data/lib/oci/dns/models/update_view_details.rb +196 -0
- data/lib/oci/{log_analytics/models/log_analytics.rb → dns/models/view.rb} +105 -77
- data/lib/oci/dns/models/view_summary.rb +321 -0
- data/lib/oci/dns/models/zone.rb +75 -14
- data/lib/oci/dns/models/zone_summary.rb +76 -15
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/models/application.rb +21 -2
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +20 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +20 -1
- data/lib/oci/identity/identity.rb +5 -0
- data/lib/oci/identity/identity_client.rb +152 -23
- data/lib/oci/identity/identity_client_composite_operations.rb +48 -0
- data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
- data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/tagging_work_request.rb +4 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +4 -0
- data/lib/oci/identity/models/user.rb +54 -4
- data/lib/oci/identity/models/work_request_resource.rb +1 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/ip_address.rb +17 -4
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +0 -2
- data/lib/oci/{log_analytics/models/log_analytics_collection_warning.rb → load_balancer/models/reserved_ip.rb} +2 -4
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +7 -6
- data/lib/oci/log_analytics/log_analytics.rb +0 -15
- data/lib/oci/log_analytics/log_analytics_client.rb +193 -180
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +68 -17
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +1 -1
- data/lib/oci/log_analytics/models/archiving_configuration.rb +3 -3
- data/lib/oci/log_analytics/models/bucket_range.rb +1 -1
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +1 -1
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +2 -2
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +4 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +6 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +1 -1
- data/lib/oci/log_analytics/models/export_content.rb +1 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +1 -1
- data/lib/oci/log_analytics/models/file_validation_response.rb +3 -3
- data/lib/oci/log_analytics/models/filter.rb +1 -1
- data/lib/oci/log_analytics/models/filter_details.rb +1 -1
- data/lib/oci/log_analytics/models/label_source_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +36 -4
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +0 -1
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +0 -2
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +4 -6
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +1 -3
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +3 -3
- data/lib/oci/log_analytics/models/namespace.rb +5 -4
- data/lib/oci/log_analytics/models/namespace_collection.rb +2 -2
- data/lib/oci/log_analytics/models/namespace_summary.rb +5 -4
- data/lib/oci/log_analytics/models/parsed_content.rb +2 -2
- data/lib/oci/log_analytics/models/parsed_field.rb +1 -1
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +6 -6
- data/lib/oci/log_analytics/models/query_aggregation.rb +1 -1
- data/lib/oci/log_analytics/models/query_details.rb +5 -5
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/scope_filter.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_details.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_results.rb +1 -1
- data/lib/oci/log_analytics/models/storage.rb +2 -2
- data/lib/oci/log_analytics/models/storage_usage.rb +4 -4
- data/lib/oci/log_analytics/models/storage_work_request.rb +14 -14
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +2 -2
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +14 -14
- data/lib/oci/log_analytics/models/timezone_collection.rb +2 -2
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +3 -3
- data/lib/oci/log_analytics/models/update_storage_details.rb +1 -1
- data/lib/oci/log_analytics/models/upload.rb +1 -1
- data/lib/oci/log_analytics/models/upload_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_file_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_summary.rb +1 -1
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +1 -1
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +2 -2
- data/lib/oci/log_analytics/models/work_request_log.rb +3 -3
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +2 -2
- data/lib/oci/logging/logging_management_client.rb +52 -52
- data/lib/oci/logging/logging_management_client_composite_operations.rb +128 -7
- data/lib/oci/logging/models/category.rb +4 -4
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +2 -2
- data/lib/oci/logging/models/change_log_log_group_details.rb +1 -1
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +2 -2
- data/lib/oci/logging/models/create_log_details.rb +3 -3
- data/lib/oci/logging/models/create_log_group_details.rb +1 -1
- data/lib/oci/logging/models/create_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +1 -1
- data/lib/oci/logging/models/grok_pattern.rb +6 -6
- data/lib/oci/logging/models/log.rb +5 -5
- data/lib/oci/logging/models/log_group.rb +3 -3
- data/lib/oci/logging/models/log_group_summary.rb +43 -5
- data/lib/oci/logging/models/log_included_search.rb +1 -1
- data/lib/oci/logging/models/log_included_search_summary.rb +1 -1
- data/lib/oci/logging/models/log_saved_search.rb +44 -19
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +5 -1
- data/lib/oci/logging/models/log_saved_search_summary.rb +63 -17
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +1 -1
- data/lib/oci/logging/models/log_summary.rb +4 -4
- data/lib/oci/logging/models/parameter.rb +2 -2
- data/lib/oci/logging/models/resource_type.rb +2 -2
- data/lib/oci/logging/models/service_summary.rb +6 -6
- data/lib/oci/logging/models/source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration.rb +2 -2
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +4 -4
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_source.rb +2 -2
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_none_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_parser.rb +7 -7
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +1 -1
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +1 -1
- data/lib/oci/logging/models/unified_json_parser.rb +1 -1
- data/lib/oci/logging/models/update_configuration_details.rb +1 -1
- data/lib/oci/logging/models/update_log_details.rb +3 -3
- data/lib/oci/logging/models/update_log_group_details.rb +1 -1
- data/lib/oci/logging/models/update_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +2 -2
- data/lib/oci/logging/models/work_request.rb +2 -2
- data/lib/oci/logging/models/work_request_error.rb +3 -3
- data/lib/oci/logging/models/work_request_log.rb +1 -1
- data/lib/oci/logging/models/work_request_resource.rb +3 -3
- data/lib/oci/loggingingestion/logging_client.rb +3 -3
- data/lib/oci/loggingingestion/models/log_entry.rb +4 -5
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +7 -7
- data/lib/oci/loggingsearch/log_search_client.rb +3 -3
- data/lib/oci/loggingsearch/models/field_info.rb +1 -1
- data/lib/oci/loggingsearch/models/search_logs_details.rb +2 -2
- data/lib/oci/loggingsearch/models/search_result.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +31 -32
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +18 -18
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_dashboard.rb +23 -23
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +19 -19
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +14 -14
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +14 -12
- data/lib/oci/management_dashboard/models/management_saved_search.rb +19 -19
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +46 -18
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +17 -17
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -15
- data/lib/oci/mysql/db_system_client.rb +611 -2
- data/lib/oci/mysql/db_system_client_composite_operations.rb +345 -0
- data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
- data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
- data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
- data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
- data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
- data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/db_system.rb +31 -1
- data/lib/oci/mysql/models/db_system_summary.rb +31 -1
- data/lib/oci/mysql/models/shape_summary.rb +46 -4
- data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
- data/lib/oci/mysql/models/work_request.rb +7 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +8 -1
- data/lib/oci/mysql/models/work_request_summary.rb +7 -0
- data/lib/oci/mysql/mysql.rb +9 -0
- data/lib/oci/mysql/mysqlaas_client.rb +14 -0
- data/lib/oci/nosql/models/create_table_details.rb +15 -1
- data/lib/oci/nosql/models/table.rb +55 -4
- data/lib/oci/nosql/models/table_collection.rb +32 -4
- data/lib/oci/nosql/models/table_summary.rb +54 -4
- data/lib/oci/nosql/nosql_client.rb +6 -6
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +6 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +4 -2
- data/lib/oci/ocvp/models/create_sddc_details.rb +35 -3
- data/lib/oci/ocvp/models/sddc.rb +89 -1
- data/lib/oci/ocvp/models/sddc_summary.rb +29 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/update_sddc_details.rb +17 -1
- data/lib/oci/opsi/models/database_details.rb +210 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
- data/lib/oci/opsi/models/database_insights.rb +154 -0
- data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
- data/lib/oci/opsi/models/historical_data_item.rb +165 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
- data/lib/oci/opsi/models/projected_data_item.rb +195 -0
- data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
- data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
- data/lib/oci/opsi/models/resource_statistics.rb +219 -0
- data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
- data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
- data/lib/oci/opsi/models/sort_order.rb +11 -0
- data/lib/oci/opsi/models/sql_bucket.rb +307 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
- data/lib/oci/opsi/models/sql_inventory.rb +182 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
- data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
- data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
- data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
- data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
- data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
- data/lib/oci/opsi/models/sql_statistics.rb +402 -0
- data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
- data/lib/oci/opsi/models/sql_text.rb +248 -0
- data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
- data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
- data/lib/oci/opsi/models/usage_unit.rb +13 -0
- data/lib/oci/opsi/operations_insights_client.rb +2008 -0
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
- data/lib/oci/opsi/opsi.rb +72 -0
- data/lib/oci/opsi/util.rb +3 -0
- data/lib/oci/optimizer/models/action.rb +192 -0
- data/lib/oci/optimizer/models/action_type.rb +10 -0
- data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
- data/lib/oci/optimizer/models/category.rb +298 -0
- data/lib/oci/optimizer/models/category_collection.rb +151 -0
- data/lib/oci/optimizer/models/category_summary.rb +298 -0
- data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
- data/lib/oci/{log_analytics/models/log_analytics_summary.rb → optimizer/models/enrollment_status.rb} +81 -63
- data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
- data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
- data/lib/oci/optimizer/models/history_collection.rb +151 -0
- data/lib/oci/optimizer/models/history_summary.rb +429 -0
- data/lib/oci/optimizer/models/importance.rb +14 -0
- data/lib/oci/{log_analytics/models/field_map.rb → optimizer/models/level_configuration.rb} +19 -24
- data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
- data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
- data/lib/oci/optimizer/models/operation_status.rb +15 -0
- data/lib/oci/optimizer/models/operation_type.rb +10 -0
- data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
- data/lib/oci/optimizer/models/profile.rb +305 -0
- data/lib/oci/optimizer/models/profile_collection.rb +151 -0
- data/lib/oci/optimizer/models/profile_summary.rb +303 -0
- data/lib/oci/optimizer/models/recommendation.rb +409 -0
- data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
- data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
- data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
- data/lib/oci/optimizer/models/resource_action.rb +450 -0
- data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
- data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
- data/lib/oci/optimizer/models/resource_count.rb +182 -0
- data/lib/oci/optimizer/models/sort_order.rb +11 -0
- data/lib/oci/optimizer/models/status.rb +13 -0
- data/lib/oci/{log_analytics/models/agent_upload.rb → optimizer/models/supported_level.rb} +3 -3
- data/lib/oci/optimizer/models/supported_levels.rb +153 -0
- data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
- data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
- data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
- data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
- data/lib/oci/optimizer/models/work_request.rb +300 -0
- data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
- data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_error.rb +173 -0
- data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
- data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/{log_analytics/models/out_of_box_entity_type_details.rb → optimizer/models/work_request_resource.rb} +60 -57
- data/lib/oci/optimizer/optimizer.rb +66 -0
- data/lib/oci/optimizer/optimizer_client.rb +1652 -0
- data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
- data/lib/oci/optimizer/util.rb +3 -0
- data/lib/oci/regions.rb +5 -1
- data/lib/oci/sch/models/service_connector.rb +1 -1
- data/lib/oci/sch/models/source_details.rb +1 -1
- data/lib/oci/sch/models/target_details.rb +1 -1
- data/lib/oci/sch/models/task_details.rb +1 -1
- data/lib/oci/sch/models/work_request.rb +1 -1
- data/lib/oci/sch/service_connector_client.rb +8 -8
- data/lib/oci/signer.rb +3 -1
- data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
- data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
- data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
- data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
- data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
- data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/models/configuration.rb +3 -3
- data/lib/oci/usage_api/models/configuration_aggregation.rb +2 -2
- data/lib/oci/usage_api/models/dimension.rb +3 -3
- data/lib/oci/usage_api/models/filter.rb +1 -1
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +12 -12
- data/lib/oci/usage_api/models/tag.rb +3 -3
- data/lib/oci/usage_api/models/usage_aggregation.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +47 -19
- data/lib/oci/usage_api/usageapi_client.rb +4 -4
- data/lib/oci/version.rb +1 -1
- metadata +273 -17
- data/lib/oci/log_analytics/models/attribute.rb +0 -435
@@ -939,6 +939,78 @@ module OCI
|
|
939
939
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
940
940
|
|
941
941
|
|
942
|
+
# Move the key store resource to the specified compartment.
|
943
|
+
# For more information about moving key stores, see
|
944
|
+
# [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
945
|
+
#
|
946
|
+
# @param [OCI::Database::Models::ChangeKeyStoreCompartmentDetails] change_key_store_compartment_details Request to move key store to a different compartment
|
947
|
+
#
|
948
|
+
# @param [String] key_store_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the key store.
|
949
|
+
# @param [Hash] opts the optional parameters
|
950
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
951
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
952
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
953
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
954
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
955
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
956
|
+
# may be rejected).
|
957
|
+
#
|
958
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
959
|
+
#
|
960
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
961
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
962
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
963
|
+
#
|
964
|
+
# @return [Response] A Response object with data of type nil
|
965
|
+
def change_key_store_compartment(change_key_store_compartment_details, key_store_id, opts = {})
|
966
|
+
logger.debug 'Calling operation DatabaseClient#change_key_store_compartment.' if logger
|
967
|
+
|
968
|
+
raise "Missing the required parameter 'change_key_store_compartment_details' when calling change_key_store_compartment." if change_key_store_compartment_details.nil?
|
969
|
+
raise "Missing the required parameter 'key_store_id' when calling change_key_store_compartment." if key_store_id.nil?
|
970
|
+
raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id)
|
971
|
+
|
972
|
+
path = '/keyStores/{keyStoreId}/actions/changeCompartment'.sub('{keyStoreId}', key_store_id.to_s)
|
973
|
+
operation_signing_strategy = :standard
|
974
|
+
|
975
|
+
# rubocop:disable Style/NegatedIf
|
976
|
+
# Query Params
|
977
|
+
query_params = {}
|
978
|
+
|
979
|
+
# Header Params
|
980
|
+
header_params = {}
|
981
|
+
header_params[:accept] = 'application/json'
|
982
|
+
header_params[:'content-type'] = 'application/json'
|
983
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
984
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
985
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
986
|
+
# rubocop:enable Style/NegatedIf
|
987
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
988
|
+
|
989
|
+
post_body = @api_client.object_to_http_body(change_key_store_compartment_details)
|
990
|
+
|
991
|
+
# rubocop:disable Metrics/BlockLength
|
992
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_key_store_compartment') do
|
993
|
+
@api_client.call_api(
|
994
|
+
:POST,
|
995
|
+
path,
|
996
|
+
endpoint,
|
997
|
+
header_params: header_params,
|
998
|
+
query_params: query_params,
|
999
|
+
operation_signing_strategy: operation_signing_strategy,
|
1000
|
+
body: post_body
|
1001
|
+
)
|
1002
|
+
end
|
1003
|
+
# rubocop:enable Metrics/BlockLength
|
1004
|
+
end
|
1005
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1006
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1007
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1008
|
+
|
1009
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1010
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1011
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1012
|
+
|
1013
|
+
|
942
1014
|
# To move an Exadata Cloud@Customer VM cluster and its dependent resources to another compartment, use the
|
943
1015
|
# {#change_vm_cluster_compartment change_vm_cluster_compartment} operation.
|
944
1016
|
#
|
@@ -2121,6 +2193,69 @@ module OCI
|
|
2121
2193
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2122
2194
|
|
2123
2195
|
|
2196
|
+
# Creates a Key Store.
|
2197
|
+
#
|
2198
|
+
# @param [OCI::Database::Models::CreateKeyStoreDetails] create_key_store_details Request to create a new key store.
|
2199
|
+
#
|
2200
|
+
# @param [Hash] opts the optional parameters
|
2201
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2202
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2203
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2204
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
2205
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
2206
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
2207
|
+
# may be rejected).
|
2208
|
+
#
|
2209
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2210
|
+
#
|
2211
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
|
2212
|
+
def create_key_store(create_key_store_details, opts = {})
|
2213
|
+
logger.debug 'Calling operation DatabaseClient#create_key_store.' if logger
|
2214
|
+
|
2215
|
+
raise "Missing the required parameter 'create_key_store_details' when calling create_key_store." if create_key_store_details.nil?
|
2216
|
+
|
2217
|
+
path = '/keyStores'
|
2218
|
+
operation_signing_strategy = :standard
|
2219
|
+
|
2220
|
+
# rubocop:disable Style/NegatedIf
|
2221
|
+
# Query Params
|
2222
|
+
query_params = {}
|
2223
|
+
|
2224
|
+
# Header Params
|
2225
|
+
header_params = {}
|
2226
|
+
header_params[:accept] = 'application/json'
|
2227
|
+
header_params[:'content-type'] = 'application/json'
|
2228
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
2229
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2230
|
+
# rubocop:enable Style/NegatedIf
|
2231
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
2232
|
+
|
2233
|
+
post_body = @api_client.object_to_http_body(create_key_store_details)
|
2234
|
+
|
2235
|
+
# rubocop:disable Metrics/BlockLength
|
2236
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#create_key_store') do
|
2237
|
+
@api_client.call_api(
|
2238
|
+
:POST,
|
2239
|
+
path,
|
2240
|
+
endpoint,
|
2241
|
+
header_params: header_params,
|
2242
|
+
query_params: query_params,
|
2243
|
+
operation_signing_strategy: operation_signing_strategy,
|
2244
|
+
body: post_body,
|
2245
|
+
return_type: 'OCI::Database::Models::KeyStore'
|
2246
|
+
)
|
2247
|
+
end
|
2248
|
+
# rubocop:enable Metrics/BlockLength
|
2249
|
+
end
|
2250
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2251
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2252
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2253
|
+
|
2254
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2255
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2256
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2257
|
+
|
2258
|
+
|
2124
2259
|
# Creates an Exadata Cloud@Customer VM cluster.
|
2125
2260
|
#
|
2126
2261
|
# @param [OCI::Database::Models::CreateVmClusterDetails] create_vm_cluster_details Request to create an Exadata Cloud@Customer VM cluster.
|
@@ -3046,6 +3181,65 @@ module OCI
|
|
3046
3181
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3047
3182
|
|
3048
3183
|
|
3184
|
+
# Deletes a key store.
|
3185
|
+
#
|
3186
|
+
# @param [String] key_store_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the key store.
|
3187
|
+
# @param [Hash] opts the optional parameters
|
3188
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3189
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3190
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3191
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3192
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
3193
|
+
#
|
3194
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
3195
|
+
#
|
3196
|
+
# @return [Response] A Response object with data of type nil
|
3197
|
+
def delete_key_store(key_store_id, opts = {})
|
3198
|
+
logger.debug 'Calling operation DatabaseClient#delete_key_store.' if logger
|
3199
|
+
|
3200
|
+
raise "Missing the required parameter 'key_store_id' when calling delete_key_store." if key_store_id.nil?
|
3201
|
+
raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id)
|
3202
|
+
|
3203
|
+
path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s)
|
3204
|
+
operation_signing_strategy = :standard
|
3205
|
+
|
3206
|
+
# rubocop:disable Style/NegatedIf
|
3207
|
+
# Query Params
|
3208
|
+
query_params = {}
|
3209
|
+
|
3210
|
+
# Header Params
|
3211
|
+
header_params = {}
|
3212
|
+
header_params[:accept] = 'application/json'
|
3213
|
+
header_params[:'content-type'] = 'application/json'
|
3214
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3215
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3216
|
+
# rubocop:enable Style/NegatedIf
|
3217
|
+
|
3218
|
+
post_body = nil
|
3219
|
+
|
3220
|
+
# rubocop:disable Metrics/BlockLength
|
3221
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_key_store') do
|
3222
|
+
@api_client.call_api(
|
3223
|
+
:DELETE,
|
3224
|
+
path,
|
3225
|
+
endpoint,
|
3226
|
+
header_params: header_params,
|
3227
|
+
query_params: query_params,
|
3228
|
+
operation_signing_strategy: operation_signing_strategy,
|
3229
|
+
body: post_body
|
3230
|
+
)
|
3231
|
+
end
|
3232
|
+
# rubocop:enable Metrics/BlockLength
|
3233
|
+
end
|
3234
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3235
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3236
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3237
|
+
|
3238
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3239
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3240
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3241
|
+
|
3242
|
+
|
3049
3243
|
# Deletes the specified Exadata Cloud@Customer VM cluster.
|
3050
3244
|
#
|
3051
3245
|
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -3222,6 +3416,60 @@ module OCI
|
|
3222
3416
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3223
3417
|
|
3224
3418
|
|
3419
|
+
# Disables Operations Insights for the Autonomous Database resource.
|
3420
|
+
#
|
3421
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
3422
|
+
# @param [Hash] opts the optional parameters
|
3423
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3424
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3425
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
3426
|
+
#
|
3427
|
+
# @return [Response] A Response object with data of type nil
|
3428
|
+
def disable_autonomous_database_operations_insights(autonomous_database_id, opts = {})
|
3429
|
+
logger.debug 'Calling operation DatabaseClient#disable_autonomous_database_operations_insights.' if logger
|
3430
|
+
|
3431
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling disable_autonomous_database_operations_insights." if autonomous_database_id.nil?
|
3432
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
3433
|
+
|
3434
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/actions/disableOperationsInsights'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
3435
|
+
operation_signing_strategy = :standard
|
3436
|
+
|
3437
|
+
# rubocop:disable Style/NegatedIf
|
3438
|
+
# Query Params
|
3439
|
+
query_params = {}
|
3440
|
+
|
3441
|
+
# Header Params
|
3442
|
+
header_params = {}
|
3443
|
+
header_params[:accept] = 'application/json'
|
3444
|
+
header_params[:'content-type'] = 'application/json'
|
3445
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3446
|
+
# rubocop:enable Style/NegatedIf
|
3447
|
+
|
3448
|
+
post_body = nil
|
3449
|
+
|
3450
|
+
# rubocop:disable Metrics/BlockLength
|
3451
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#disable_autonomous_database_operations_insights') do
|
3452
|
+
@api_client.call_api(
|
3453
|
+
:POST,
|
3454
|
+
path,
|
3455
|
+
endpoint,
|
3456
|
+
header_params: header_params,
|
3457
|
+
query_params: query_params,
|
3458
|
+
operation_signing_strategy: operation_signing_strategy,
|
3459
|
+
body: post_body
|
3460
|
+
)
|
3461
|
+
end
|
3462
|
+
# rubocop:enable Metrics/BlockLength
|
3463
|
+
end
|
3464
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3465
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3466
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3467
|
+
|
3468
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3469
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3470
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3471
|
+
|
3472
|
+
|
3225
3473
|
# Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
|
3226
3474
|
#
|
3227
3475
|
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -3443,6 +3691,60 @@ module OCI
|
|
3443
3691
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3444
3692
|
|
3445
3693
|
|
3694
|
+
# Enables the specified Autonomous Database with Operations Insights.
|
3695
|
+
#
|
3696
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
3697
|
+
# @param [Hash] opts the optional parameters
|
3698
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3699
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3700
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
3701
|
+
#
|
3702
|
+
# @return [Response] A Response object with data of type nil
|
3703
|
+
def enable_autonomous_database_operations_insights(autonomous_database_id, opts = {})
|
3704
|
+
logger.debug 'Calling operation DatabaseClient#enable_autonomous_database_operations_insights.' if logger
|
3705
|
+
|
3706
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling enable_autonomous_database_operations_insights." if autonomous_database_id.nil?
|
3707
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
3708
|
+
|
3709
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
3710
|
+
operation_signing_strategy = :standard
|
3711
|
+
|
3712
|
+
# rubocop:disable Style/NegatedIf
|
3713
|
+
# Query Params
|
3714
|
+
query_params = {}
|
3715
|
+
|
3716
|
+
# Header Params
|
3717
|
+
header_params = {}
|
3718
|
+
header_params[:accept] = 'application/json'
|
3719
|
+
header_params[:'content-type'] = 'application/json'
|
3720
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3721
|
+
# rubocop:enable Style/NegatedIf
|
3722
|
+
|
3723
|
+
post_body = nil
|
3724
|
+
|
3725
|
+
# rubocop:disable Metrics/BlockLength
|
3726
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#enable_autonomous_database_operations_insights') do
|
3727
|
+
@api_client.call_api(
|
3728
|
+
:POST,
|
3729
|
+
path,
|
3730
|
+
endpoint,
|
3731
|
+
header_params: header_params,
|
3732
|
+
query_params: query_params,
|
3733
|
+
operation_signing_strategy: operation_signing_strategy,
|
3734
|
+
body: post_body
|
3735
|
+
)
|
3736
|
+
end
|
3737
|
+
# rubocop:enable Metrics/BlockLength
|
3738
|
+
end
|
3739
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3740
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3741
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3742
|
+
|
3743
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3744
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3745
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3746
|
+
|
3747
|
+
|
3446
3748
|
# Initiates a failover the specified Autonomous Database to a standby.
|
3447
3749
|
#
|
3448
3750
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -3511,6 +3813,68 @@ module OCI
|
|
3511
3813
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3512
3814
|
|
3513
3815
|
|
3816
|
+
# Fails over the standby Autonomous Container Database identified by the autonomousContainerDatabaseId parameter to the primary Autonomous Container Database after the existing primary Autonomous Container Database fails or becomes unreachable.
|
3817
|
+
#
|
3818
|
+
# A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
|
3819
|
+
#
|
3820
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
3821
|
+
# @param [String] autonomous_container_database_dataguard_association_id The Autonomous Container Database-Autonomous Data Guard association [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
3822
|
+
# @param [Hash] opts the optional parameters
|
3823
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3824
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3825
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3826
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3827
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
3828
|
+
#
|
3829
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
|
3830
|
+
def failover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
|
3831
|
+
logger.debug 'Calling operation DatabaseClient#failover_autonomous_container_database_dataguard_association.' if logger
|
3832
|
+
|
3833
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling failover_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil?
|
3834
|
+
raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling failover_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil?
|
3835
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
3836
|
+
raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id)
|
3837
|
+
|
3838
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/failover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s)
|
3839
|
+
operation_signing_strategy = :standard
|
3840
|
+
|
3841
|
+
# rubocop:disable Style/NegatedIf
|
3842
|
+
# Query Params
|
3843
|
+
query_params = {}
|
3844
|
+
|
3845
|
+
# Header Params
|
3846
|
+
header_params = {}
|
3847
|
+
header_params[:accept] = 'application/json'
|
3848
|
+
header_params[:'content-type'] = 'application/json'
|
3849
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3850
|
+
# rubocop:enable Style/NegatedIf
|
3851
|
+
|
3852
|
+
post_body = nil
|
3853
|
+
|
3854
|
+
# rubocop:disable Metrics/BlockLength
|
3855
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#failover_autonomous_container_database_dataguard_association') do
|
3856
|
+
@api_client.call_api(
|
3857
|
+
:POST,
|
3858
|
+
path,
|
3859
|
+
endpoint,
|
3860
|
+
header_params: header_params,
|
3861
|
+
query_params: query_params,
|
3862
|
+
operation_signing_strategy: operation_signing_strategy,
|
3863
|
+
body: post_body,
|
3864
|
+
return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation'
|
3865
|
+
)
|
3866
|
+
end
|
3867
|
+
# rubocop:enable Metrics/BlockLength
|
3868
|
+
end
|
3869
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3870
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3871
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3872
|
+
|
3873
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3874
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3875
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3876
|
+
|
3877
|
+
|
3514
3878
|
# Performs a failover to transition the standby database identified by the `databaseId` parameter into the
|
3515
3879
|
# specified Data Guard association's primary role after the existing primary database fails or becomes unreachable.
|
3516
3880
|
#
|
@@ -3918,6 +4282,63 @@ module OCI
|
|
3918
4282
|
# rubocop:disable Lint/UnusedMethodArgument
|
3919
4283
|
|
3920
4284
|
|
4285
|
+
# Gets an Autonomous Container Database enabled with Autonomous Data Guard associated with the specified Autonomous Container Database.
|
4286
|
+
#
|
4287
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4288
|
+
# @param [String] autonomous_container_database_dataguard_association_id The Autonomous Container Database-Autonomous Data Guard association [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4289
|
+
# @param [Hash] opts the optional parameters
|
4290
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4291
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4292
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
|
4293
|
+
def get_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
|
4294
|
+
logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database_dataguard_association.' if logger
|
4295
|
+
|
4296
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling get_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil?
|
4297
|
+
raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling get_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil?
|
4298
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
4299
|
+
raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id)
|
4300
|
+
|
4301
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s)
|
4302
|
+
operation_signing_strategy = :standard
|
4303
|
+
|
4304
|
+
# rubocop:disable Style/NegatedIf
|
4305
|
+
# Query Params
|
4306
|
+
query_params = {}
|
4307
|
+
|
4308
|
+
# Header Params
|
4309
|
+
header_params = {}
|
4310
|
+
header_params[:accept] = 'application/json'
|
4311
|
+
header_params[:'content-type'] = 'application/json'
|
4312
|
+
# rubocop:enable Style/NegatedIf
|
4313
|
+
|
4314
|
+
post_body = nil
|
4315
|
+
|
4316
|
+
# rubocop:disable Metrics/BlockLength
|
4317
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_container_database_dataguard_association') do
|
4318
|
+
@api_client.call_api(
|
4319
|
+
:GET,
|
4320
|
+
path,
|
4321
|
+
endpoint,
|
4322
|
+
header_params: header_params,
|
4323
|
+
query_params: query_params,
|
4324
|
+
operation_signing_strategy: operation_signing_strategy,
|
4325
|
+
body: post_body,
|
4326
|
+
return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation'
|
4327
|
+
)
|
4328
|
+
end
|
4329
|
+
# rubocop:enable Metrics/BlockLength
|
4330
|
+
end
|
4331
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4332
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4333
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4334
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
4335
|
+
|
4336
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4337
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4338
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4339
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
4340
|
+
|
4341
|
+
|
3921
4342
|
# **Deprecated.** To get the details of an Autonomous Data Warehouse, use the {#get_autonomous_database get_autonomous_database} operation.
|
3922
4343
|
#
|
3923
4344
|
# @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -4134,6 +4555,64 @@ module OCI
|
|
4134
4555
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4135
4556
|
|
4136
4557
|
|
4558
|
+
# Gets an Autonomous Data Guard-enabled database associated with the specified Autonomous Database.
|
4559
|
+
#
|
4560
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4561
|
+
# @param [String] autonomous_database_dataguard_association_id The Autonomous Container Database-Autonomous Data Guard association [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4562
|
+
# @param [Hash] opts the optional parameters
|
4563
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4564
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4565
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
4566
|
+
#
|
4567
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseDataguardAssociation AutonomousDatabaseDataguardAssociation}
|
4568
|
+
def get_autonomous_database_dataguard_association(autonomous_database_id, autonomous_database_dataguard_association_id, opts = {})
|
4569
|
+
logger.debug 'Calling operation DatabaseClient#get_autonomous_database_dataguard_association.' if logger
|
4570
|
+
|
4571
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling get_autonomous_database_dataguard_association." if autonomous_database_id.nil?
|
4572
|
+
raise "Missing the required parameter 'autonomous_database_dataguard_association_id' when calling get_autonomous_database_dataguard_association." if autonomous_database_dataguard_association_id.nil?
|
4573
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
4574
|
+
raise "Parameter value for 'autonomous_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_dataguard_association_id)
|
4575
|
+
|
4576
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s).sub('{autonomousDatabaseDataguardAssociationId}', autonomous_database_dataguard_association_id.to_s)
|
4577
|
+
operation_signing_strategy = :standard
|
4578
|
+
|
4579
|
+
# rubocop:disable Style/NegatedIf
|
4580
|
+
# Query Params
|
4581
|
+
query_params = {}
|
4582
|
+
|
4583
|
+
# Header Params
|
4584
|
+
header_params = {}
|
4585
|
+
header_params[:accept] = 'application/json'
|
4586
|
+
header_params[:'content-type'] = 'application/json'
|
4587
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4588
|
+
# rubocop:enable Style/NegatedIf
|
4589
|
+
|
4590
|
+
post_body = nil
|
4591
|
+
|
4592
|
+
# rubocop:disable Metrics/BlockLength
|
4593
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_database_dataguard_association') do
|
4594
|
+
@api_client.call_api(
|
4595
|
+
:GET,
|
4596
|
+
path,
|
4597
|
+
endpoint,
|
4598
|
+
header_params: header_params,
|
4599
|
+
query_params: query_params,
|
4600
|
+
operation_signing_strategy: operation_signing_strategy,
|
4601
|
+
body: post_body,
|
4602
|
+
return_type: 'OCI::Database::Models::AutonomousDatabaseDataguardAssociation'
|
4603
|
+
)
|
4604
|
+
end
|
4605
|
+
# rubocop:enable Metrics/BlockLength
|
4606
|
+
end
|
4607
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4608
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4609
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4610
|
+
|
4611
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4612
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4613
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4614
|
+
|
4615
|
+
|
4137
4616
|
# Gets the Autonomous Database regional wallet details.
|
4138
4617
|
#
|
4139
4618
|
# @param [Hash] opts the optional parameters
|
@@ -5003,6 +5482,64 @@ module OCI
|
|
5003
5482
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5004
5483
|
# rubocop:enable Lint/UnusedMethodArgument
|
5005
5484
|
|
5485
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5486
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5487
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5488
|
+
|
5489
|
+
|
5490
|
+
# gets the upgrade history for a specified database.
|
5491
|
+
#
|
5492
|
+
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
5493
|
+
# @param [String] upgrade_history_entry_id The database upgrade History [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
5494
|
+
# @param [Hash] opts the optional parameters
|
5495
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
5496
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
5497
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
5498
|
+
#
|
5499
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::DatabaseUpgradeHistoryEntry DatabaseUpgradeHistoryEntry}
|
5500
|
+
def get_database_upgrade_history_entry(database_id, upgrade_history_entry_id, opts = {})
|
5501
|
+
logger.debug 'Calling operation DatabaseClient#get_database_upgrade_history_entry.' if logger
|
5502
|
+
|
5503
|
+
raise "Missing the required parameter 'database_id' when calling get_database_upgrade_history_entry." if database_id.nil?
|
5504
|
+
raise "Missing the required parameter 'upgrade_history_entry_id' when calling get_database_upgrade_history_entry." if upgrade_history_entry_id.nil?
|
5505
|
+
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
5506
|
+
raise "Parameter value for 'upgrade_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(upgrade_history_entry_id)
|
5507
|
+
|
5508
|
+
path = '/databases/{databaseId}/upgradeHistoryEntries/{upgradeHistoryEntryId}'.sub('{databaseId}', database_id.to_s).sub('{upgradeHistoryEntryId}', upgrade_history_entry_id.to_s)
|
5509
|
+
operation_signing_strategy = :standard
|
5510
|
+
|
5511
|
+
# rubocop:disable Style/NegatedIf
|
5512
|
+
# Query Params
|
5513
|
+
query_params = {}
|
5514
|
+
|
5515
|
+
# Header Params
|
5516
|
+
header_params = {}
|
5517
|
+
header_params[:accept] = 'application/json'
|
5518
|
+
header_params[:'content-type'] = 'application/json'
|
5519
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
5520
|
+
# rubocop:enable Style/NegatedIf
|
5521
|
+
|
5522
|
+
post_body = nil
|
5523
|
+
|
5524
|
+
# rubocop:disable Metrics/BlockLength
|
5525
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_database_upgrade_history_entry') do
|
5526
|
+
@api_client.call_api(
|
5527
|
+
:GET,
|
5528
|
+
path,
|
5529
|
+
endpoint,
|
5530
|
+
header_params: header_params,
|
5531
|
+
query_params: query_params,
|
5532
|
+
operation_signing_strategy: operation_signing_strategy,
|
5533
|
+
body: post_body,
|
5534
|
+
return_type: 'OCI::Database::Models::DatabaseUpgradeHistoryEntry'
|
5535
|
+
)
|
5536
|
+
end
|
5537
|
+
# rubocop:enable Metrics/BlockLength
|
5538
|
+
end
|
5539
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5540
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5541
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5542
|
+
|
5006
5543
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5007
5544
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5008
5545
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
@@ -5611,6 +6148,61 @@ module OCI
|
|
5611
6148
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5612
6149
|
# rubocop:enable Lint/UnusedMethodArgument
|
5613
6150
|
|
6151
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6152
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
6153
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6154
|
+
|
6155
|
+
|
6156
|
+
# Gets information about the specified key store.
|
6157
|
+
#
|
6158
|
+
# @param [String] key_store_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the key store.
|
6159
|
+
# @param [Hash] opts the optional parameters
|
6160
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
6161
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
6162
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
6163
|
+
#
|
6164
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
|
6165
|
+
def get_key_store(key_store_id, opts = {})
|
6166
|
+
logger.debug 'Calling operation DatabaseClient#get_key_store.' if logger
|
6167
|
+
|
6168
|
+
raise "Missing the required parameter 'key_store_id' when calling get_key_store." if key_store_id.nil?
|
6169
|
+
raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id)
|
6170
|
+
|
6171
|
+
path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s)
|
6172
|
+
operation_signing_strategy = :standard
|
6173
|
+
|
6174
|
+
# rubocop:disable Style/NegatedIf
|
6175
|
+
# Query Params
|
6176
|
+
query_params = {}
|
6177
|
+
|
6178
|
+
# Header Params
|
6179
|
+
header_params = {}
|
6180
|
+
header_params[:accept] = 'application/json'
|
6181
|
+
header_params[:'content-type'] = 'application/json'
|
6182
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
6183
|
+
# rubocop:enable Style/NegatedIf
|
6184
|
+
|
6185
|
+
post_body = nil
|
6186
|
+
|
6187
|
+
# rubocop:disable Metrics/BlockLength
|
6188
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_key_store') do
|
6189
|
+
@api_client.call_api(
|
6190
|
+
:GET,
|
6191
|
+
path,
|
6192
|
+
endpoint,
|
6193
|
+
header_params: header_params,
|
6194
|
+
query_params: query_params,
|
6195
|
+
operation_signing_strategy: operation_signing_strategy,
|
6196
|
+
body: post_body,
|
6197
|
+
return_type: 'OCI::Database::Models::KeyStore'
|
6198
|
+
)
|
6199
|
+
end
|
6200
|
+
# rubocop:enable Metrics/BlockLength
|
6201
|
+
end
|
6202
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6203
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
6204
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
6205
|
+
|
5614
6206
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5615
6207
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5616
6208
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
@@ -6019,6 +6611,62 @@ module OCI
|
|
6019
6611
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6020
6612
|
|
6021
6613
|
|
6614
|
+
# Gets a list of the Autonomous Container Databases with Autonomous Data Guard enabled associated with the specified Autonomous Container Database.
|
6615
|
+
#
|
6616
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
6617
|
+
# @param [Hash] opts the optional parameters
|
6618
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
6619
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
6620
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
6621
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
6622
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}>
|
6623
|
+
def list_autonomous_container_database_dataguard_associations(autonomous_container_database_id, opts = {})
|
6624
|
+
logger.debug 'Calling operation DatabaseClient#list_autonomous_container_database_dataguard_associations.' if logger
|
6625
|
+
|
6626
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling list_autonomous_container_database_dataguard_associations." if autonomous_container_database_id.nil?
|
6627
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
6628
|
+
|
6629
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s)
|
6630
|
+
operation_signing_strategy = :standard
|
6631
|
+
|
6632
|
+
# rubocop:disable Style/NegatedIf
|
6633
|
+
# Query Params
|
6634
|
+
query_params = {}
|
6635
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
6636
|
+
query_params[:page] = opts[:page] if opts[:page]
|
6637
|
+
|
6638
|
+
# Header Params
|
6639
|
+
header_params = {}
|
6640
|
+
header_params[:accept] = 'application/json'
|
6641
|
+
header_params[:'content-type'] = 'application/json'
|
6642
|
+
# rubocop:enable Style/NegatedIf
|
6643
|
+
|
6644
|
+
post_body = nil
|
6645
|
+
|
6646
|
+
# rubocop:disable Metrics/BlockLength
|
6647
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_container_database_dataguard_associations') do
|
6648
|
+
@api_client.call_api(
|
6649
|
+
:GET,
|
6650
|
+
path,
|
6651
|
+
endpoint,
|
6652
|
+
header_params: header_params,
|
6653
|
+
query_params: query_params,
|
6654
|
+
operation_signing_strategy: operation_signing_strategy,
|
6655
|
+
body: post_body,
|
6656
|
+
return_type: 'Array<OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation>'
|
6657
|
+
)
|
6658
|
+
end
|
6659
|
+
# rubocop:enable Metrics/BlockLength
|
6660
|
+
end
|
6661
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6662
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
6663
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
6664
|
+
|
6665
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6666
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
6667
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6668
|
+
|
6669
|
+
|
6022
6670
|
# Gets a list of the Autonomous Container Databases in the specified compartment.
|
6023
6671
|
#
|
6024
6672
|
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -6040,6 +6688,7 @@ module OCI
|
|
6040
6688
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
6041
6689
|
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|
6042
6690
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
6691
|
+
# @option opts [String] :service_level_agreement_type A filter to return only resources that match the given service-level agreement type exactly.
|
6043
6692
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousContainerDatabaseSummary AutonomousContainerDatabaseSummary}>
|
6044
6693
|
def list_autonomous_container_databases(compartment_id, opts = {})
|
6045
6694
|
logger.debug 'Calling operation DatabaseClient#list_autonomous_container_databases.' if logger
|
@@ -6079,6 +6728,7 @@ module OCI
|
|
6079
6728
|
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
6080
6729
|
query_params[:availabilityDomain] = opts[:availability_domain] if opts[:availability_domain]
|
6081
6730
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
6731
|
+
query_params[:serviceLevelAgreementType] = opts[:service_level_agreement_type] if opts[:service_level_agreement_type]
|
6082
6732
|
|
6083
6733
|
# Header Params
|
6084
6734
|
header_params = {}
|
@@ -6454,6 +7104,62 @@ module OCI
|
|
6454
7104
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6455
7105
|
|
6456
7106
|
|
7107
|
+
# Gets a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous Database.
|
7108
|
+
#
|
7109
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
7110
|
+
# @param [Hash] opts the optional parameters
|
7111
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
7112
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
7113
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
7114
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
7115
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDatabaseDataguardAssociation AutonomousDatabaseDataguardAssociation}>
|
7116
|
+
def list_autonomous_database_dataguard_associations(autonomous_database_id, opts = {})
|
7117
|
+
logger.debug 'Calling operation DatabaseClient#list_autonomous_database_dataguard_associations.' if logger
|
7118
|
+
|
7119
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling list_autonomous_database_dataguard_associations." if autonomous_database_id.nil?
|
7120
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
7121
|
+
|
7122
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
7123
|
+
operation_signing_strategy = :standard
|
7124
|
+
|
7125
|
+
# rubocop:disable Style/NegatedIf
|
7126
|
+
# Query Params
|
7127
|
+
query_params = {}
|
7128
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
7129
|
+
query_params[:page] = opts[:page] if opts[:page]
|
7130
|
+
|
7131
|
+
# Header Params
|
7132
|
+
header_params = {}
|
7133
|
+
header_params[:accept] = 'application/json'
|
7134
|
+
header_params[:'content-type'] = 'application/json'
|
7135
|
+
# rubocop:enable Style/NegatedIf
|
7136
|
+
|
7137
|
+
post_body = nil
|
7138
|
+
|
7139
|
+
# rubocop:disable Metrics/BlockLength
|
7140
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_database_dataguard_associations') do
|
7141
|
+
@api_client.call_api(
|
7142
|
+
:GET,
|
7143
|
+
path,
|
7144
|
+
endpoint,
|
7145
|
+
header_params: header_params,
|
7146
|
+
query_params: query_params,
|
7147
|
+
operation_signing_strategy: operation_signing_strategy,
|
7148
|
+
body: post_body,
|
7149
|
+
return_type: 'Array<OCI::Database::Models::AutonomousDatabaseDataguardAssociation>'
|
7150
|
+
)
|
7151
|
+
end
|
7152
|
+
# rubocop:enable Metrics/BlockLength
|
7153
|
+
end
|
7154
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7155
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
7156
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
7157
|
+
|
7158
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7159
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
7160
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7161
|
+
|
7162
|
+
|
6457
7163
|
# Gets a list of Autonomous Databases based on the query parameters specified.
|
6458
7164
|
#
|
6459
7165
|
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -7147,7 +7853,7 @@ module OCI
|
|
7147
7853
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
7148
7854
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
7149
7855
|
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly.
|
7150
|
-
# Allowed values are: GI_PATCH
|
7856
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH
|
7151
7857
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
7152
7858
|
# @option opts [String] :page The pagination token to continue listing from.
|
7153
7859
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
@@ -7158,8 +7864,8 @@ module OCI
|
|
7158
7864
|
|
7159
7865
|
raise "Missing the required parameter 'cloud_vm_cluster_id' when calling list_cloud_vm_cluster_update_history_entries." if cloud_vm_cluster_id.nil?
|
7160
7866
|
|
7161
|
-
if opts[:update_type] && !%w[GI_PATCH].include?(opts[:update_type])
|
7162
|
-
raise 'Invalid value for "update_type", must be one of GI_PATCH.'
|
7867
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH].include?(opts[:update_type])
|
7868
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH.'
|
7163
7869
|
end
|
7164
7870
|
raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id)
|
7165
7871
|
|
@@ -7213,7 +7919,7 @@ module OCI
|
|
7213
7919
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
7214
7920
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
7215
7921
|
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly.
|
7216
|
-
# Allowed values are: GI_PATCH
|
7922
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH
|
7217
7923
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
7218
7924
|
# @option opts [String] :page The pagination token to continue listing from.
|
7219
7925
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
@@ -7224,8 +7930,8 @@ module OCI
|
|
7224
7930
|
|
7225
7931
|
raise "Missing the required parameter 'cloud_vm_cluster_id' when calling list_cloud_vm_cluster_updates." if cloud_vm_cluster_id.nil?
|
7226
7932
|
|
7227
|
-
if opts[:update_type] && !%w[GI_PATCH].include?(opts[:update_type])
|
7228
|
-
raise 'Invalid value for "update_type", must be one of GI_PATCH.'
|
7933
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH].include?(opts[:update_type])
|
7934
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH.'
|
7229
7935
|
end
|
7230
7936
|
raise "Parameter value for 'cloud_vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(cloud_vm_cluster_id)
|
7231
7937
|
|
@@ -7542,6 +8248,7 @@ module OCI
|
|
7542
8248
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
7543
8249
|
# @option opts [String] :image_type A filter to return only resources that match the given image type exactly.
|
7544
8250
|
# @option opts [String] :image_shape_family A filter to return only resources that match the given image shape family exactly.
|
8251
|
+
# @option opts [BOOLEAN] :is_upgrade_supported If provided, filters the results to the set of database versions which are supported for Upgrade.
|
7545
8252
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseSoftwareImageSummary DatabaseSoftwareImageSummary}>
|
7546
8253
|
def list_database_software_images(compartment_id, opts = {})
|
7547
8254
|
logger.debug 'Calling operation DatabaseClient#list_database_software_images.' if logger
|
@@ -7583,17 +8290,104 @@ module OCI
|
|
7583
8290
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
7584
8291
|
query_params[:imageType] = opts[:image_type] if opts[:image_type]
|
7585
8292
|
query_params[:imageShapeFamily] = opts[:image_shape_family] if opts[:image_shape_family]
|
8293
|
+
query_params[:isUpgradeSupported] = opts[:is_upgrade_supported] if !opts[:is_upgrade_supported].nil?
|
8294
|
+
|
8295
|
+
# Header Params
|
8296
|
+
header_params = {}
|
8297
|
+
header_params[:accept] = 'application/json'
|
8298
|
+
header_params[:'content-type'] = 'application/json'
|
8299
|
+
# rubocop:enable Style/NegatedIf
|
8300
|
+
|
8301
|
+
post_body = nil
|
8302
|
+
|
8303
|
+
# rubocop:disable Metrics/BlockLength
|
8304
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_database_software_images') do
|
8305
|
+
@api_client.call_api(
|
8306
|
+
:GET,
|
8307
|
+
path,
|
8308
|
+
endpoint,
|
8309
|
+
header_params: header_params,
|
8310
|
+
query_params: query_params,
|
8311
|
+
operation_signing_strategy: operation_signing_strategy,
|
8312
|
+
body: post_body,
|
8313
|
+
return_type: 'Array<OCI::Database::Models::DatabaseSoftwareImageSummary>'
|
8314
|
+
)
|
8315
|
+
end
|
8316
|
+
# rubocop:enable Metrics/BlockLength
|
8317
|
+
end
|
8318
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8319
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8320
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8321
|
+
|
8322
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8323
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8324
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8325
|
+
|
8326
|
+
|
8327
|
+
# gets the upgrade history for a specified database.
|
8328
|
+
#
|
8329
|
+
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
8330
|
+
# @param [Hash] opts the optional parameters
|
8331
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8332
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8333
|
+
# @option opts [String] :upgrade_action A filter to return only upgradeHistoryEntries that match the specified Upgrade Action.
|
8334
|
+
# @option opts [String] :lifecycle_state A filter to return only upgradeHistoryEntries that match the given lifecycle state exactly.
|
8335
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is ascending.
|
8336
|
+
# (default to TIMESTARTED)
|
8337
|
+
# Allowed values are: TIMESTARTED
|
8338
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
8339
|
+
# Allowed values are: ASC, DESC
|
8340
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
8341
|
+
#
|
8342
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
8343
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
8344
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary DatabaseUpgradeHistoryEntrySummary}>
|
8345
|
+
def list_database_upgrade_history_entries(database_id, opts = {})
|
8346
|
+
logger.debug 'Calling operation DatabaseClient#list_database_upgrade_history_entries.' if logger
|
8347
|
+
|
8348
|
+
raise "Missing the required parameter 'database_id' when calling list_database_upgrade_history_entries." if database_id.nil?
|
8349
|
+
|
8350
|
+
if opts[:upgrade_action] && !OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::ACTION_ENUM.include?(opts[:upgrade_action])
|
8351
|
+
raise 'Invalid value for "upgrade_action", must be one of the values in OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::ACTION_ENUM.'
|
8352
|
+
end
|
8353
|
+
|
8354
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
8355
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary::LIFECYCLE_STATE_ENUM.'
|
8356
|
+
end
|
8357
|
+
|
8358
|
+
if opts[:sort_by] && !%w[TIMESTARTED].include?(opts[:sort_by])
|
8359
|
+
raise 'Invalid value for "sort_by", must be one of TIMESTARTED.'
|
8360
|
+
end
|
8361
|
+
|
8362
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
8363
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
8364
|
+
end
|
8365
|
+
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
8366
|
+
|
8367
|
+
path = '/databases/{databaseId}/upgradeHistoryEntries'.sub('{databaseId}', database_id.to_s)
|
8368
|
+
operation_signing_strategy = :standard
|
8369
|
+
|
8370
|
+
# rubocop:disable Style/NegatedIf
|
8371
|
+
# Query Params
|
8372
|
+
query_params = {}
|
8373
|
+
query_params[:upgradeAction] = opts[:upgrade_action] if opts[:upgrade_action]
|
8374
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
8375
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
8376
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
8377
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
8378
|
+
query_params[:page] = opts[:page] if opts[:page]
|
7586
8379
|
|
7587
8380
|
# Header Params
|
7588
8381
|
header_params = {}
|
7589
8382
|
header_params[:accept] = 'application/json'
|
7590
8383
|
header_params[:'content-type'] = 'application/json'
|
8384
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
7591
8385
|
# rubocop:enable Style/NegatedIf
|
7592
8386
|
|
7593
8387
|
post_body = nil
|
7594
8388
|
|
7595
8389
|
# rubocop:disable Metrics/BlockLength
|
7596
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
8390
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_database_upgrade_history_entries') do
|
7597
8391
|
@api_client.call_api(
|
7598
8392
|
:GET,
|
7599
8393
|
path,
|
@@ -7602,7 +8396,7 @@ module OCI
|
|
7602
8396
|
query_params: query_params,
|
7603
8397
|
operation_signing_strategy: operation_signing_strategy,
|
7604
8398
|
body: post_body,
|
7605
|
-
return_type: 'Array<OCI::Database::Models::
|
8399
|
+
return_type: 'Array<OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary>'
|
7606
8400
|
)
|
7607
8401
|
end
|
7608
8402
|
# rubocop:enable Metrics/BlockLength
|
@@ -7819,6 +8613,7 @@ module OCI
|
|
7819
8613
|
# @option opts [String] :db_system_id The DB system [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). If provided, filters the results to the set of database versions which are supported for the DB system.
|
7820
8614
|
# @option opts [String] :vm_cluster_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM cluster.
|
7821
8615
|
# @option opts [String] :backup_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup. Specify a backupId to list only the DB systems or DB homes that support creating a database using this backup in this compartment.
|
8616
|
+
# @option opts [String] :db_version A filter to return only DB Homes that match the specified dbVersion. (default to NONE)
|
7822
8617
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
7823
8618
|
# @option opts [String] :page The pagination token to continue listing from.
|
7824
8619
|
# @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.
|
@@ -7855,6 +8650,7 @@ module OCI
|
|
7855
8650
|
query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id]
|
7856
8651
|
query_params[:vmClusterId] = opts[:vm_cluster_id] if opts[:vm_cluster_id]
|
7857
8652
|
query_params[:backupId] = opts[:backup_id] if opts[:backup_id]
|
8653
|
+
query_params[:dbVersion] = opts[:db_version] if opts[:db_version]
|
7858
8654
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
7859
8655
|
query_params[:page] = opts[:page] if opts[:page]
|
7860
8656
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
@@ -8241,6 +9037,7 @@ module OCI
|
|
8241
9037
|
# * ASM - Automatic storage management
|
8242
9038
|
# * LVM - Logical volume management
|
8243
9039
|
#
|
9040
|
+
# @option opts [BOOLEAN] :is_upgrade_supported If provided, filters the results to the set of database versions which are supported for Upgrade.
|
8244
9041
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbVersionSummary DbVersionSummary}>
|
8245
9042
|
def list_db_versions(compartment_id, opts = {})
|
8246
9043
|
logger.debug 'Calling operation DatabaseClient#list_db_versions.' if logger
|
@@ -8263,6 +9060,7 @@ module OCI
|
|
8263
9060
|
query_params[:dbSystemShape] = opts[:db_system_shape] if opts[:db_system_shape]
|
8264
9061
|
query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id]
|
8265
9062
|
query_params[:storageManagement] = opts[:storage_management] if opts[:storage_management]
|
9063
|
+
query_params[:isUpgradeSupported] = opts[:is_upgrade_supported] if !opts[:is_upgrade_supported].nil?
|
8266
9064
|
|
8267
9065
|
# Header Params
|
8268
9066
|
header_params = {}
|
@@ -8442,6 +9240,65 @@ module OCI
|
|
8442
9240
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8443
9241
|
|
8444
9242
|
|
9243
|
+
# Gets a list of key stores in the specified compartment.
|
9244
|
+
#
|
9245
|
+
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
9246
|
+
# @param [Hash] opts the optional parameters
|
9247
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
9248
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
9249
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
9250
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
9251
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
9252
|
+
#
|
9253
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::KeyStoreSummary KeyStoreSummary}>
|
9254
|
+
def list_key_stores(compartment_id, opts = {})
|
9255
|
+
logger.debug 'Calling operation DatabaseClient#list_key_stores.' if logger
|
9256
|
+
|
9257
|
+
raise "Missing the required parameter 'compartment_id' when calling list_key_stores." if compartment_id.nil?
|
9258
|
+
|
9259
|
+
path = '/keyStores'
|
9260
|
+
operation_signing_strategy = :standard
|
9261
|
+
|
9262
|
+
# rubocop:disable Style/NegatedIf
|
9263
|
+
# Query Params
|
9264
|
+
query_params = {}
|
9265
|
+
query_params[:compartmentId] = compartment_id
|
9266
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
9267
|
+
query_params[:page] = opts[:page] if opts[:page]
|
9268
|
+
|
9269
|
+
# Header Params
|
9270
|
+
header_params = {}
|
9271
|
+
header_params[:accept] = 'application/json'
|
9272
|
+
header_params[:'content-type'] = 'application/json'
|
9273
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
9274
|
+
# rubocop:enable Style/NegatedIf
|
9275
|
+
|
9276
|
+
post_body = nil
|
9277
|
+
|
9278
|
+
# rubocop:disable Metrics/BlockLength
|
9279
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_key_stores') do
|
9280
|
+
@api_client.call_api(
|
9281
|
+
:GET,
|
9282
|
+
path,
|
9283
|
+
endpoint,
|
9284
|
+
header_params: header_params,
|
9285
|
+
query_params: query_params,
|
9286
|
+
operation_signing_strategy: operation_signing_strategy,
|
9287
|
+
body: post_body,
|
9288
|
+
return_type: 'Array<OCI::Database::Models::KeyStoreSummary>'
|
9289
|
+
)
|
9290
|
+
end
|
9291
|
+
# rubocop:enable Metrics/BlockLength
|
9292
|
+
end
|
9293
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9294
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
9295
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
9296
|
+
|
9297
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9298
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
9299
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9300
|
+
|
9301
|
+
|
8445
9302
|
# Gets a list of the maintenance runs in the specified compartment.
|
8446
9303
|
#
|
8447
9304
|
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -8941,6 +9798,66 @@ module OCI
|
|
8941
9798
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8942
9799
|
|
8943
9800
|
|
9801
|
+
# Reinstates a disabled standby Autonomous Container Database, identified by the autonomousContainerDatabaseId parameter, to an active standby Autonomous Container Database.
|
9802
|
+
#
|
9803
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
9804
|
+
# @param [String] autonomous_container_database_dataguard_association_id The Autonomous Container Database-Autonomous Data Guard association [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
9805
|
+
# @param [Hash] opts the optional parameters
|
9806
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
9807
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
9808
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
9809
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
9810
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
9811
|
+
#
|
9812
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
|
9813
|
+
def reinstate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
|
9814
|
+
logger.debug 'Calling operation DatabaseClient#reinstate_autonomous_container_database_dataguard_association.' if logger
|
9815
|
+
|
9816
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling reinstate_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil?
|
9817
|
+
raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling reinstate_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil?
|
9818
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
9819
|
+
raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id)
|
9820
|
+
|
9821
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/reinstate'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s)
|
9822
|
+
operation_signing_strategy = :standard
|
9823
|
+
|
9824
|
+
# rubocop:disable Style/NegatedIf
|
9825
|
+
# Query Params
|
9826
|
+
query_params = {}
|
9827
|
+
|
9828
|
+
# Header Params
|
9829
|
+
header_params = {}
|
9830
|
+
header_params[:accept] = 'application/json'
|
9831
|
+
header_params[:'content-type'] = 'application/json'
|
9832
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
9833
|
+
# rubocop:enable Style/NegatedIf
|
9834
|
+
|
9835
|
+
post_body = nil
|
9836
|
+
|
9837
|
+
# rubocop:disable Metrics/BlockLength
|
9838
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_autonomous_container_database_dataguard_association') do
|
9839
|
+
@api_client.call_api(
|
9840
|
+
:POST,
|
9841
|
+
path,
|
9842
|
+
endpoint,
|
9843
|
+
header_params: header_params,
|
9844
|
+
query_params: query_params,
|
9845
|
+
operation_signing_strategy: operation_signing_strategy,
|
9846
|
+
body: post_body,
|
9847
|
+
return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation'
|
9848
|
+
)
|
9849
|
+
end
|
9850
|
+
# rubocop:enable Metrics/BlockLength
|
9851
|
+
end
|
9852
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9853
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
9854
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
9855
|
+
|
9856
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9857
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
9858
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9859
|
+
|
9860
|
+
|
8944
9861
|
# Reinstates the database identified by the `databaseId` parameter into the standby role in a Data Guard association.
|
8945
9862
|
#
|
8946
9863
|
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -9662,6 +10579,68 @@ module OCI
|
|
9662
10579
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9663
10580
|
|
9664
10581
|
|
10582
|
+
# Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association into a standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.
|
10583
|
+
#
|
10584
|
+
# A switchover incurs no data loss.
|
10585
|
+
#
|
10586
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
10587
|
+
# @param [String] autonomous_container_database_dataguard_association_id The Autonomous Container Database-Autonomous Data Guard association [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
10588
|
+
# @param [Hash] opts the optional parameters
|
10589
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
10590
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
10591
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
10592
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
10593
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
10594
|
+
#
|
10595
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
|
10596
|
+
def switchover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
|
10597
|
+
logger.debug 'Calling operation DatabaseClient#switchover_autonomous_container_database_dataguard_association.' if logger
|
10598
|
+
|
10599
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling switchover_autonomous_container_database_dataguard_association." if autonomous_container_database_id.nil?
|
10600
|
+
raise "Missing the required parameter 'autonomous_container_database_dataguard_association_id' when calling switchover_autonomous_container_database_dataguard_association." if autonomous_container_database_dataguard_association_id.nil?
|
10601
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
10602
|
+
raise "Parameter value for 'autonomous_container_database_dataguard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_dataguard_association_id)
|
10603
|
+
|
10604
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/switchover'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s).sub('{autonomousContainerDatabaseDataguardAssociationId}', autonomous_container_database_dataguard_association_id.to_s)
|
10605
|
+
operation_signing_strategy = :standard
|
10606
|
+
|
10607
|
+
# rubocop:disable Style/NegatedIf
|
10608
|
+
# Query Params
|
10609
|
+
query_params = {}
|
10610
|
+
|
10611
|
+
# Header Params
|
10612
|
+
header_params = {}
|
10613
|
+
header_params[:accept] = 'application/json'
|
10614
|
+
header_params[:'content-type'] = 'application/json'
|
10615
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
10616
|
+
# rubocop:enable Style/NegatedIf
|
10617
|
+
|
10618
|
+
post_body = nil
|
10619
|
+
|
10620
|
+
# rubocop:disable Metrics/BlockLength
|
10621
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#switchover_autonomous_container_database_dataguard_association') do
|
10622
|
+
@api_client.call_api(
|
10623
|
+
:POST,
|
10624
|
+
path,
|
10625
|
+
endpoint,
|
10626
|
+
header_params: header_params,
|
10627
|
+
query_params: query_params,
|
10628
|
+
operation_signing_strategy: operation_signing_strategy,
|
10629
|
+
body: post_body,
|
10630
|
+
return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation'
|
10631
|
+
)
|
10632
|
+
end
|
10633
|
+
# rubocop:enable Metrics/BlockLength
|
10634
|
+
end
|
10635
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
10636
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
10637
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
10638
|
+
|
10639
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
10640
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
10641
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
10642
|
+
|
10643
|
+
|
9665
10644
|
# Initiates a switchover of the specified Autonomous Database to the associated standby database. Applicable only to databases with Autonomous Data Guard enabled.
|
9666
10645
|
#
|
9667
10646
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -10977,6 +11956,69 @@ module OCI
|
|
10977
11956
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
10978
11957
|
|
10979
11958
|
|
11959
|
+
# If no database is associated with the key store, edit the key store.
|
11960
|
+
#
|
11961
|
+
# @param [String] key_store_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the key store.
|
11962
|
+
# @param [OCI::Database::Models::UpdateKeyStoreDetails] update_key_store_details Request to update the attributes of a key store.
|
11963
|
+
#
|
11964
|
+
# @param [Hash] opts the optional parameters
|
11965
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
11966
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
11967
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
11968
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
11969
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
11970
|
+
#
|
11971
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
11972
|
+
#
|
11973
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
|
11974
|
+
def update_key_store(key_store_id, update_key_store_details, opts = {})
|
11975
|
+
logger.debug 'Calling operation DatabaseClient#update_key_store.' if logger
|
11976
|
+
|
11977
|
+
raise "Missing the required parameter 'key_store_id' when calling update_key_store." if key_store_id.nil?
|
11978
|
+
raise "Missing the required parameter 'update_key_store_details' when calling update_key_store." if update_key_store_details.nil?
|
11979
|
+
raise "Parameter value for 'key_store_id' must not be blank" if OCI::Internal::Util.blank_string?(key_store_id)
|
11980
|
+
|
11981
|
+
path = '/keyStores/{keyStoreId}'.sub('{keyStoreId}', key_store_id.to_s)
|
11982
|
+
operation_signing_strategy = :standard
|
11983
|
+
|
11984
|
+
# rubocop:disable Style/NegatedIf
|
11985
|
+
# Query Params
|
11986
|
+
query_params = {}
|
11987
|
+
|
11988
|
+
# Header Params
|
11989
|
+
header_params = {}
|
11990
|
+
header_params[:accept] = 'application/json'
|
11991
|
+
header_params[:'content-type'] = 'application/json'
|
11992
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
11993
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
11994
|
+
# rubocop:enable Style/NegatedIf
|
11995
|
+
|
11996
|
+
post_body = @api_client.object_to_http_body(update_key_store_details)
|
11997
|
+
|
11998
|
+
# rubocop:disable Metrics/BlockLength
|
11999
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#update_key_store') do
|
12000
|
+
@api_client.call_api(
|
12001
|
+
:PUT,
|
12002
|
+
path,
|
12003
|
+
endpoint,
|
12004
|
+
header_params: header_params,
|
12005
|
+
query_params: query_params,
|
12006
|
+
operation_signing_strategy: operation_signing_strategy,
|
12007
|
+
body: post_body,
|
12008
|
+
return_type: 'OCI::Database::Models::KeyStore'
|
12009
|
+
)
|
12010
|
+
end
|
12011
|
+
# rubocop:enable Metrics/BlockLength
|
12012
|
+
end
|
12013
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12014
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12015
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12016
|
+
|
12017
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12018
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12019
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12020
|
+
|
12021
|
+
|
10980
12022
|
# Updates the properties of a maintenance run, such as the state of a maintenance run.
|
10981
12023
|
# @param [String] maintenance_run_id The maintenance run OCID.
|
10982
12024
|
# @param [OCI::Database::Models::UpdateMaintenanceRunDetails] update_maintenance_run_details Request to update the properties of a maintenance run.
|
@@ -11162,6 +12204,68 @@ module OCI
|
|
11162
12204
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11163
12205
|
|
11164
12206
|
|
12207
|
+
# Upgrade the specified database.
|
12208
|
+
#
|
12209
|
+
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12210
|
+
# @param [OCI::Database::Models::UpgradeDatabaseDetails] upgrade_database_details Request to perform database upgrade.
|
12211
|
+
# @param [Hash] opts the optional parameters
|
12212
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
12213
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
12214
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
12215
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
12216
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
12217
|
+
#
|
12218
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12219
|
+
#
|
12220
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
|
12221
|
+
def upgrade_database(database_id, upgrade_database_details, opts = {})
|
12222
|
+
logger.debug 'Calling operation DatabaseClient#upgrade_database.' if logger
|
12223
|
+
|
12224
|
+
raise "Missing the required parameter 'database_id' when calling upgrade_database." if database_id.nil?
|
12225
|
+
raise "Missing the required parameter 'upgrade_database_details' when calling upgrade_database." if upgrade_database_details.nil?
|
12226
|
+
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
12227
|
+
|
12228
|
+
path = '/databases/{databaseId}/actions/upgrade'.sub('{databaseId}', database_id.to_s)
|
12229
|
+
operation_signing_strategy = :standard
|
12230
|
+
|
12231
|
+
# rubocop:disable Style/NegatedIf
|
12232
|
+
# Query Params
|
12233
|
+
query_params = {}
|
12234
|
+
|
12235
|
+
# Header Params
|
12236
|
+
header_params = {}
|
12237
|
+
header_params[:accept] = 'application/json'
|
12238
|
+
header_params[:'content-type'] = 'application/json'
|
12239
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
12240
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
12241
|
+
# rubocop:enable Style/NegatedIf
|
12242
|
+
|
12243
|
+
post_body = @api_client.object_to_http_body(upgrade_database_details)
|
12244
|
+
|
12245
|
+
# rubocop:disable Metrics/BlockLength
|
12246
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#upgrade_database') do
|
12247
|
+
@api_client.call_api(
|
12248
|
+
:POST,
|
12249
|
+
path,
|
12250
|
+
endpoint,
|
12251
|
+
header_params: header_params,
|
12252
|
+
query_params: query_params,
|
12253
|
+
operation_signing_strategy: operation_signing_strategy,
|
12254
|
+
body: post_body,
|
12255
|
+
return_type: 'OCI::Database::Models::Database'
|
12256
|
+
)
|
12257
|
+
end
|
12258
|
+
# rubocop:enable Metrics/BlockLength
|
12259
|
+
end
|
12260
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12261
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12262
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12263
|
+
|
12264
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12265
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12266
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12267
|
+
|
12268
|
+
|
11165
12269
|
# Validates the specified Exadata Cloud@Customer VM cluster network.
|
11166
12270
|
#
|
11167
12271
|
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|