oci 2.5.10 → 2.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/oci.rb +3 -0
- data/lib/oci/budget/budget.rb +1 -0
- data/lib/oci/budget/budget_client.rb +21 -1
- data/lib/oci/budget/models/budget.rb +52 -2
- data/lib/oci/budget/models/budget_summary.rb +52 -2
- data/lib/oci/budget/models/create_budget_details.rb +55 -2
- data/lib/oci/budget/models/target_type.rb +10 -0
- data/lib/oci/core/blockstorage_client.rb +18 -6
- data/lib/oci/core/compute_client.rb +75 -0
- data/lib/oci/core/compute_management_client.rb +4 -1
- data/lib/oci/core/core.rb +12 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/boot_volume_backup.rb +19 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_cpe_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_compartment_details.rb +154 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -2
- data/lib/oci/core/models/copy_volume_backup_details.rb +27 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/create_instance_configuration_base.rb +250 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +15 -57
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +179 -0
- data/lib/oci/core/models/create_ipv6_details.rb +249 -0
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/create_service_gateway_details.rb +23 -1
- data/lib/oci/core/models/create_subnet_details.rb +24 -1
- data/lib/oci/core/models/create_vcn_details.rb +56 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +38 -2
- data/lib/oci/core/models/cross_connect.rb +37 -1
- data/lib/oci/core/models/cross_connect_group.rb +37 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +50 -1
- data/lib/oci/core/models/egress_security_rule.rb +10 -7
- data/lib/oci/core/models/ingress_security_rule.rb +10 -7
- data/lib/oci/core/models/instance.rb +1 -0
- data/lib/oci/core/models/ipv6.rb +375 -0
- data/lib/oci/core/models/private_ip.rb +1 -0
- data/lib/oci/core/models/remote_peering_connection.rb +37 -1
- data/lib/oci/core/models/route_rule.rb +4 -1
- data/lib/oci/core/models/security_rule.rb +2 -2
- data/lib/oci/core/models/service_gateway.rb +18 -1
- data/lib/oci/core/models/subnet.rb +56 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/update_ipv6_details.rb +229 -0
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +18 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +37 -1
- data/lib/oci/core/models/vcn.rb +42 -1
- data/lib/oci/core/models/virtual_circuit.rb +37 -1
- data/lib/oci/core/models/volume_backup.rb +19 -1
- data/lib/oci/core/virtual_network_client.rb +744 -10
- data/lib/oci/core/virtual_network_client_composite_operations.rb +119 -0
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +320 -36
- data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -0
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -0
- data/lib/oci/database/models/autonomous_database.rb +5 -3
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +1 -1
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +163 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +5 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +1 -3
- data/lib/oci/database/models/change_compartment_details.rb +155 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +5 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +2 -5
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +2 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -1
- data/lib/oci/database/models/db_system.rb +2 -5
- data/lib/oci/database/models/db_system_summary.rb +2 -5
- data/lib/oci/database/models/launch_db_system_base.rb +3 -5
- data/lib/oci/database/models/maintenance_window.rb +2 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +5 -3
- data/lib/oci/database/models/update_db_system_details.rb +2 -5
- data/lib/oci/dns/dns.rb +2 -0
- data/lib/oci/dns/dns_client.rb +138 -1
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +155 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +155 -0
- data/lib/oci/events/events.rb +34 -0
- data/lib/oci/events/events_client.rb +537 -0
- data/lib/oci/events/events_client_composite_operations.rb +145 -0
- data/lib/oci/events/models/action.rb +275 -0
- data/lib/oci/events/models/action_details.rb +222 -0
- data/lib/oci/events/models/action_details_list.rb +150 -0
- data/lib/oci/events/models/action_list.rb +151 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +156 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +170 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +170 -0
- data/lib/oci/events/models/create_rule_details.rb +284 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +170 -0
- data/lib/oci/events/models/faa_s_action.rb +178 -0
- data/lib/oci/events/models/notification_service_action.rb +179 -0
- data/lib/oci/events/models/rule.rb +372 -0
- data/lib/oci/events/models/rule_summary.rb +321 -0
- data/lib/oci/events/models/streaming_service_action.rb +178 -0
- data/lib/oci/events/models/update_rule_details.rb +266 -0
- data/lib/oci/events/util.rb +2 -0
- data/lib/oci/functions/functions.rb +29 -0
- data/lib/oci/functions/functions_invoke_client.rb +237 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +24 -0
- data/lib/oci/functions/functions_management_client.rb +851 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +266 -0
- data/lib/oci/functions/models/application.rb +322 -0
- data/lib/oci/functions/models/application_summary.rb +281 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/functions/models/create_application_details.rb +236 -0
- data/lib/oci/functions/models/create_function_details.rb +280 -0
- data/lib/oci/functions/models/function.rb +397 -0
- data/lib/oci/functions/models/function_summary.rb +381 -0
- data/lib/oci/functions/models/update_application_details.rb +191 -0
- data/lib/oci/functions/models/update_function_details.rb +250 -0
- data/lib/oci/functions/util.rb +2 -0
- data/lib/oci/healthchecks/health_checks_client.rb +147 -1
- data/lib/oci/healthchecks/healthchecks.rb +2 -0
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/http_probe.rb +2 -0
- data/lib/oci/healthchecks/models/ping_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/ping_probe.rb +2 -0
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -0
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -0
- data/lib/oci/identity/identity.rb +1 -0
- data/lib/oci/identity/identity_client.rb +70 -0
- data/lib/oci/identity/identity_client_composite_operations.rb +50 -0
- data/lib/oci/identity/models/move_compartment_details.rb +155 -0
- data/lib/oci/key_management/key_management.rb +2 -0
- data/lib/oci/key_management/kms_management_client.rb +73 -0
- data/lib/oci/key_management/kms_vault_client.rb +73 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/key.rb +1 -0
- data/lib/oci/key_management/models/key_summary.rb +1 -0
- data/lib/oci/key_management/models/vault.rb +1 -0
- data/lib/oci/key_management/models/vault_summary.rb +1 -0
- data/lib/oci/limits/limits.rb +23 -0
- data/lib/oci/limits/models/create_quota_details.rb +220 -0
- data/lib/oci/limits/models/quota.rb +287 -0
- data/lib/oci/limits/models/quota_summary.rb +273 -0
- data/lib/oci/limits/models/update_quota_details.rb +194 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +143 -0
- data/lib/oci/limits/util.rb +2 -0
- data/lib/oci/load_balancer/load_balancer.rb +9 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +139 -0
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +50 -0
- data/lib/oci/load_balancer/models/allow_rule.rb +181 -0
- data/lib/oci/load_balancer/models/backend_set.rb +21 -4
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +156 -0
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +205 -0
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +37 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +334 -0
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +166 -0
- data/lib/oci/load_balancer/models/rule.rb +4 -0
- data/lib/oci/load_balancer/models/rule_condition.rb +192 -0
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +6 -0
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +167 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +169 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +171 -0
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -4
- data/lib/oci/monitoring/models/alarm.rb +4 -3
- data/lib/oci/monitoring/models/alarm_summary.rb +4 -3
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +155 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +4 -3
- data/lib/oci/monitoring/models/datapoint.rb +1 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +4 -4
- data/lib/oci/monitoring/models/metric_data.rb +14 -0
- data/lib/oci/monitoring/models/metric_data_details.rb +6 -4
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +3 -0
- data/lib/oci/monitoring/models/update_alarm_details.rb +4 -3
- data/lib/oci/monitoring/monitoring.rb +1 -0
- data/lib/oci/monitoring/monitoring_client.rb +140 -5
- data/lib/oci/ons/models/backoff_retry_policy.rb +2 -2
- data/lib/oci/ons/models/change_compartment_details.rb +156 -0
- data/lib/oci/ons/models/confirmation_result.rb +5 -6
- data/lib/oci/ons/models/create_topic_details.rb +1 -1
- data/lib/oci/ons/models/notification_topic.rb +2 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
- data/lib/oci/ons/models/subscription.rb +47 -4
- data/lib/oci/ons/models/subscription_summary.rb +19 -3
- data/lib/oci/ons/notification_control_plane_client.rb +95 -8
- data/lib/oci/ons/notification_data_plane_client.rb +109 -8
- data/lib/oci/ons/ons.rb +1 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +155 -0
- data/lib/oci/streaming/stream_admin_client.rb +58 -0
- data/lib/oci/streaming/streaming.rb +1 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule_criteria.rb +14 -2
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +154 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +154 -0
- data/lib/oci/waas/models/create_certificate_details.rb +2 -2
- data/lib/oci/waas/models/protection_rule_exclusion.rb +16 -1
- data/lib/oci/waas/models/protection_settings.rb +9 -5
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waf_config_details.rb +8 -8
- data/lib/oci/waas/models/waf_log.rb +40 -19
- data/lib/oci/waas/waas.rb +2 -0
- data/lib/oci/waas/waas_client.rb +155 -27
- data/lib/oci/work_requests/models/work_request.rb +14 -8
- data/lib/oci/work_requests/models/work_request_error.rb +3 -3
- data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -2
- data/lib/oci/work_requests/models/work_request_resource.rb +9 -7
- data/lib/oci/work_requests/models/work_request_summary.rb +12 -6
- data/lib/oci/work_requests/work_request_client.rb +33 -16
- metadata +81 -2
@@ -337,6 +337,45 @@ module OCI
|
|
337
337
|
# rubocop:disable Layout/EmptyLines
|
338
338
|
|
339
339
|
|
340
|
+
# Calls {OCI::Core::VirtualNetworkClient#create_ipv6} and then waits for the {OCI::Core::Models::Ipv6} acted upon
|
341
|
+
# to enter the given state(s).
|
342
|
+
#
|
343
|
+
# @param [OCI::Core::Models::CreateIpv6Details] create_ipv6_details Create IPv6 details.
|
344
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::Ipv6#lifecycle_state}
|
345
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::VirtualNetworkClient#create_ipv6}
|
346
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
347
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
348
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
349
|
+
#
|
350
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Core::Models::Ipv6}
|
351
|
+
def create_ipv6_and_wait_for_state(create_ipv6_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
352
|
+
operation_result = @service_client.create_ipv6(create_ipv6_details, base_operation_opts)
|
353
|
+
|
354
|
+
return operation_result if wait_for_states.empty?
|
355
|
+
|
356
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
357
|
+
wait_for_resource_id = operation_result.data.id
|
358
|
+
|
359
|
+
begin
|
360
|
+
waiter_result = @service_client.get_ipv6(wait_for_resource_id).wait_until(
|
361
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
362
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
363
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
364
|
+
)
|
365
|
+
result_to_return = waiter_result
|
366
|
+
|
367
|
+
return result_to_return
|
368
|
+
rescue StandardError
|
369
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
370
|
+
end
|
371
|
+
end
|
372
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
373
|
+
# rubocop:enable Layout/EmptyLines
|
374
|
+
|
375
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
376
|
+
# rubocop:disable Layout/EmptyLines
|
377
|
+
|
378
|
+
|
340
379
|
# Calls {OCI::Core::VirtualNetworkClient#create_local_peering_gateway} and then waits for the {OCI::Core::Models::LocalPeeringGateway} acted upon
|
341
380
|
# to enter the given state(s).
|
342
381
|
#
|
@@ -1046,6 +1085,46 @@ module OCI
|
|
1046
1085
|
# rubocop:disable Layout/EmptyLines
|
1047
1086
|
|
1048
1087
|
|
1088
|
+
# Calls {OCI::Core::VirtualNetworkClient#delete_ipv6} and then waits for the {OCI::Core::Models::Ipv6} acted upon
|
1089
|
+
# to enter the given state(s).
|
1090
|
+
#
|
1091
|
+
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6.
|
1092
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::Ipv6#lifecycle_state}
|
1093
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::VirtualNetworkClient#delete_ipv6}
|
1094
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
1095
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
1096
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
1097
|
+
#
|
1098
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
1099
|
+
def delete_ipv6_and_wait_for_state(ipv6_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
1100
|
+
initial_get_result = @service_client.get_ipv6(ipv6_id)
|
1101
|
+
operation_result = @service_client.delete_ipv6(ipv6_id, base_operation_opts)
|
1102
|
+
|
1103
|
+
return operation_result if wait_for_states.empty?
|
1104
|
+
|
1105
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
1106
|
+
|
1107
|
+
begin
|
1108
|
+
waiter_result = initial_get_result.wait_until(
|
1109
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
1110
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
1111
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
1112
|
+
succeed_on_not_found: true
|
1113
|
+
)
|
1114
|
+
result_to_return = waiter_result
|
1115
|
+
|
1116
|
+
return result_to_return
|
1117
|
+
rescue StandardError
|
1118
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1122
|
+
# rubocop:enable Layout/EmptyLines
|
1123
|
+
|
1124
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1125
|
+
# rubocop:disable Layout/EmptyLines
|
1126
|
+
|
1127
|
+
|
1049
1128
|
# Calls {OCI::Core::VirtualNetworkClient#delete_local_peering_gateway} and then waits for the {OCI::Core::Models::LocalPeeringGateway} acted upon
|
1050
1129
|
# to enter the given state(s).
|
1051
1130
|
#
|
@@ -1847,6 +1926,46 @@ module OCI
|
|
1847
1926
|
# rubocop:disable Layout/EmptyLines
|
1848
1927
|
|
1849
1928
|
|
1929
|
+
# Calls {OCI::Core::VirtualNetworkClient#update_ipv6} and then waits for the {OCI::Core::Models::Ipv6} acted upon
|
1930
|
+
# to enter the given state(s).
|
1931
|
+
#
|
1932
|
+
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6.
|
1933
|
+
# @param [OCI::Core::Models::UpdateIpv6Details] update_ipv6_details IPv6 details to be updated.
|
1934
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::Ipv6#lifecycle_state}
|
1935
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::VirtualNetworkClient#update_ipv6}
|
1936
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
1937
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
1938
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
1939
|
+
#
|
1940
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Core::Models::Ipv6}
|
1941
|
+
def update_ipv6_and_wait_for_state(ipv6_id, update_ipv6_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
1942
|
+
operation_result = @service_client.update_ipv6(ipv6_id, update_ipv6_details, base_operation_opts)
|
1943
|
+
|
1944
|
+
return operation_result if wait_for_states.empty?
|
1945
|
+
|
1946
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
1947
|
+
wait_for_resource_id = operation_result.data.id
|
1948
|
+
|
1949
|
+
begin
|
1950
|
+
waiter_result = @service_client.get_ipv6(wait_for_resource_id).wait_until(
|
1951
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
1952
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
1953
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
1954
|
+
)
|
1955
|
+
result_to_return = waiter_result
|
1956
|
+
|
1957
|
+
return result_to_return
|
1958
|
+
rescue StandardError
|
1959
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
1960
|
+
end
|
1961
|
+
end
|
1962
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1963
|
+
# rubocop:enable Layout/EmptyLines
|
1964
|
+
|
1965
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
1966
|
+
# rubocop:disable Layout/EmptyLines
|
1967
|
+
|
1968
|
+
|
1850
1969
|
# Calls {OCI::Core::VirtualNetworkClient#update_local_peering_gateway} and then waits for the {OCI::Core::Models::LocalPeeringGateway} acted upon
|
1851
1970
|
# to enter the given state(s).
|
1852
1971
|
#
|
@@ -17,12 +17,14 @@ require 'oci/database/models/autonomous_data_warehouse'
|
|
17
17
|
require 'oci/database/models/autonomous_data_warehouse_backup'
|
18
18
|
require 'oci/database/models/autonomous_data_warehouse_backup_summary'
|
19
19
|
require 'oci/database/models/autonomous_data_warehouse_connection_strings'
|
20
|
+
require 'oci/database/models/autonomous_data_warehouse_console_token_details'
|
20
21
|
require 'oci/database/models/autonomous_data_warehouse_summary'
|
21
22
|
require 'oci/database/models/autonomous_database'
|
22
23
|
require 'oci/database/models/autonomous_database_backup'
|
23
24
|
require 'oci/database/models/autonomous_database_backup_summary'
|
24
25
|
require 'oci/database/models/autonomous_database_connection_strings'
|
25
26
|
require 'oci/database/models/autonomous_database_connection_urls'
|
27
|
+
require 'oci/database/models/autonomous_database_console_token_details'
|
26
28
|
require 'oci/database/models/autonomous_database_summary'
|
27
29
|
require 'oci/database/models/autonomous_db_preview_version_summary'
|
28
30
|
require 'oci/database/models/autonomous_exadata_infrastructure'
|
@@ -31,6 +33,7 @@ require 'oci/database/models/autonomous_exadata_infrastructure_shape_summary'
|
|
31
33
|
require 'oci/database/models/autonomous_exadata_infrastructure_summary'
|
32
34
|
require 'oci/database/models/backup'
|
33
35
|
require 'oci/database/models/backup_summary'
|
36
|
+
require 'oci/database/models/change_compartment_details'
|
34
37
|
require 'oci/database/models/complete_external_backup_job_details'
|
35
38
|
require 'oci/database/models/create_autonomous_container_database_details'
|
36
39
|
require 'oci/database/models/create_autonomous_data_warehouse_backup_details'
|
@@ -108,6 +108,290 @@ module OCI
|
|
108
108
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
109
109
|
|
110
110
|
|
111
|
+
# Move the Autonomous Container Database and its dependent resources to the specified compartment.
|
112
|
+
# For more information about moving Autonomous Container Databases, see
|
113
|
+
# [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
114
|
+
#
|
115
|
+
# @param [OCI::Database::Models::ChangeCompartmentDetails] change_compartment_details Request to move Autonomous Container Database to a different compartment
|
116
|
+
# @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
119
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
120
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
121
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
122
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
123
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
124
|
+
# may be rejected).
|
125
|
+
#
|
126
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
127
|
+
#
|
128
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
129
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
130
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
131
|
+
#
|
132
|
+
# @return [Response] A Response object with data of type nil
|
133
|
+
def change_autonomous_container_database_compartment(change_compartment_details, autonomous_container_database_id, opts = {})
|
134
|
+
logger.debug 'Calling operation DatabaseClient#change_autonomous_container_database_compartment.' if logger
|
135
|
+
|
136
|
+
raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_container_database_compartment." if change_compartment_details.nil?
|
137
|
+
raise "Missing the required parameter 'autonomous_container_database_id' when calling change_autonomous_container_database_compartment." if autonomous_container_database_id.nil?
|
138
|
+
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
139
|
+
|
140
|
+
path = '/autonomousContainerDatabases/{autonomousContainerDatabaseId}/actions/changeCompartment'.sub('{autonomousContainerDatabaseId}', autonomous_container_database_id.to_s)
|
141
|
+
operation_signing_strategy = :standard
|
142
|
+
|
143
|
+
# rubocop:disable Style/NegatedIf
|
144
|
+
# Query Params
|
145
|
+
query_params = {}
|
146
|
+
|
147
|
+
# Header Params
|
148
|
+
header_params = {}
|
149
|
+
header_params[:accept] = 'application/json'
|
150
|
+
header_params[:'content-type'] = 'application/json'
|
151
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
152
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
153
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
154
|
+
# rubocop:enable Style/NegatedIf
|
155
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
156
|
+
|
157
|
+
post_body = @api_client.object_to_http_body(change_compartment_details)
|
158
|
+
|
159
|
+
# rubocop:disable Metrics/BlockLength
|
160
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_container_database_compartment') do
|
161
|
+
@api_client.call_api(
|
162
|
+
:POST,
|
163
|
+
path,
|
164
|
+
endpoint,
|
165
|
+
header_params: header_params,
|
166
|
+
query_params: query_params,
|
167
|
+
operation_signing_strategy: operation_signing_strategy,
|
168
|
+
body: post_body
|
169
|
+
)
|
170
|
+
end
|
171
|
+
# rubocop:enable Metrics/BlockLength
|
172
|
+
end
|
173
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
174
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
175
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
176
|
+
|
177
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
178
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
179
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
180
|
+
|
181
|
+
|
182
|
+
# Move the Autonomous Database and its dependent resources to the specified compartment.
|
183
|
+
# For more information about moving Autonomous Databases, see
|
184
|
+
# [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
185
|
+
#
|
186
|
+
# @param [OCI::Database::Models::ChangeCompartmentDetails] change_compartment_details Request to move Autonomous Database to a different compartment
|
187
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
188
|
+
# @param [Hash] opts the optional parameters
|
189
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
190
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
191
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
192
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
193
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
194
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
195
|
+
# may be rejected).
|
196
|
+
#
|
197
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
198
|
+
#
|
199
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
200
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
201
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
202
|
+
#
|
203
|
+
# @return [Response] A Response object with data of type nil
|
204
|
+
def change_autonomous_database_compartment(change_compartment_details, autonomous_database_id, opts = {})
|
205
|
+
logger.debug 'Calling operation DatabaseClient#change_autonomous_database_compartment.' if logger
|
206
|
+
|
207
|
+
raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_database_compartment." if change_compartment_details.nil?
|
208
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling change_autonomous_database_compartment." if autonomous_database_id.nil?
|
209
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
210
|
+
|
211
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/actions/changeCompartment'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
212
|
+
operation_signing_strategy = :standard
|
213
|
+
|
214
|
+
# rubocop:disable Style/NegatedIf
|
215
|
+
# Query Params
|
216
|
+
query_params = {}
|
217
|
+
|
218
|
+
# Header Params
|
219
|
+
header_params = {}
|
220
|
+
header_params[:accept] = 'application/json'
|
221
|
+
header_params[:'content-type'] = 'application/json'
|
222
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
223
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
224
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
225
|
+
# rubocop:enable Style/NegatedIf
|
226
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
227
|
+
|
228
|
+
post_body = @api_client.object_to_http_body(change_compartment_details)
|
229
|
+
|
230
|
+
# rubocop:disable Metrics/BlockLength
|
231
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_database_compartment') do
|
232
|
+
@api_client.call_api(
|
233
|
+
:POST,
|
234
|
+
path,
|
235
|
+
endpoint,
|
236
|
+
header_params: header_params,
|
237
|
+
query_params: query_params,
|
238
|
+
operation_signing_strategy: operation_signing_strategy,
|
239
|
+
body: post_body
|
240
|
+
)
|
241
|
+
end
|
242
|
+
# rubocop:enable Metrics/BlockLength
|
243
|
+
end
|
244
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
245
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
246
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
247
|
+
|
248
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
249
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
250
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
251
|
+
|
252
|
+
|
253
|
+
# Move the Autonomous Exadata Infrastructure and its dependent resources to the specified compartment.
|
254
|
+
# For more information about moving Autonomous Exadata Infrastructures, see
|
255
|
+
# [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
256
|
+
#
|
257
|
+
# @param [OCI::Database::Models::ChangeCompartmentDetails] change_compartment_details Request to move Autonomous Exadata Infrastructure to a different compartment
|
258
|
+
# @param [String] autonomous_exadata_infrastructure_id The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
259
|
+
# @param [Hash] opts the optional parameters
|
260
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
261
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
262
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
263
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
264
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
265
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
266
|
+
# may be rejected).
|
267
|
+
#
|
268
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
269
|
+
#
|
270
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
271
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
272
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
273
|
+
#
|
274
|
+
# @return [Response] A Response object with data of type nil
|
275
|
+
def change_autonomous_exadata_infrastructure_compartment(change_compartment_details, autonomous_exadata_infrastructure_id, opts = {})
|
276
|
+
logger.debug 'Calling operation DatabaseClient#change_autonomous_exadata_infrastructure_compartment.' if logger
|
277
|
+
|
278
|
+
raise "Missing the required parameter 'change_compartment_details' when calling change_autonomous_exadata_infrastructure_compartment." if change_compartment_details.nil?
|
279
|
+
raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling change_autonomous_exadata_infrastructure_compartment." if autonomous_exadata_infrastructure_id.nil?
|
280
|
+
raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id)
|
281
|
+
|
282
|
+
path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/changeCompartment'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s)
|
283
|
+
operation_signing_strategy = :standard
|
284
|
+
|
285
|
+
# rubocop:disable Style/NegatedIf
|
286
|
+
# Query Params
|
287
|
+
query_params = {}
|
288
|
+
|
289
|
+
# Header Params
|
290
|
+
header_params = {}
|
291
|
+
header_params[:accept] = 'application/json'
|
292
|
+
header_params[:'content-type'] = 'application/json'
|
293
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
294
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
295
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
296
|
+
# rubocop:enable Style/NegatedIf
|
297
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
298
|
+
|
299
|
+
post_body = @api_client.object_to_http_body(change_compartment_details)
|
300
|
+
|
301
|
+
# rubocop:disable Metrics/BlockLength
|
302
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_autonomous_exadata_infrastructure_compartment') do
|
303
|
+
@api_client.call_api(
|
304
|
+
:POST,
|
305
|
+
path,
|
306
|
+
endpoint,
|
307
|
+
header_params: header_params,
|
308
|
+
query_params: query_params,
|
309
|
+
operation_signing_strategy: operation_signing_strategy,
|
310
|
+
body: post_body
|
311
|
+
)
|
312
|
+
end
|
313
|
+
# rubocop:enable Metrics/BlockLength
|
314
|
+
end
|
315
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
316
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
317
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
318
|
+
|
319
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
320
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
321
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
322
|
+
|
323
|
+
|
324
|
+
# Move the DB system and its dependent resources to the specified compartment.
|
325
|
+
# For more information about moving DB systems, see
|
326
|
+
# [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
|
327
|
+
#
|
328
|
+
# @param [OCI::Database::Models::ChangeCompartmentDetails] change_compartment_details Request to move Db System to a different compartment
|
329
|
+
# @param [String] db_system_id The DB system [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
330
|
+
# @param [Hash] opts the optional parameters
|
331
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
332
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
333
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
334
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
335
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
336
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
337
|
+
# may be rejected).
|
338
|
+
#
|
339
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
340
|
+
#
|
341
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
342
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
343
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
344
|
+
#
|
345
|
+
# @return [Response] A Response object with data of type nil
|
346
|
+
def change_db_system_compartment(change_compartment_details, db_system_id, opts = {})
|
347
|
+
logger.debug 'Calling operation DatabaseClient#change_db_system_compartment.' if logger
|
348
|
+
|
349
|
+
raise "Missing the required parameter 'change_compartment_details' when calling change_db_system_compartment." if change_compartment_details.nil?
|
350
|
+
raise "Missing the required parameter 'db_system_id' when calling change_db_system_compartment." if db_system_id.nil?
|
351
|
+
raise "Parameter value for 'db_system_id' must not be blank" if OCI::Internal::Util.blank_string?(db_system_id)
|
352
|
+
|
353
|
+
path = '/dbSystems/{dbSystemId}/actions/changeCompartment'.sub('{dbSystemId}', db_system_id.to_s)
|
354
|
+
operation_signing_strategy = :standard
|
355
|
+
|
356
|
+
# rubocop:disable Style/NegatedIf
|
357
|
+
# Query Params
|
358
|
+
query_params = {}
|
359
|
+
|
360
|
+
# Header Params
|
361
|
+
header_params = {}
|
362
|
+
header_params[:accept] = 'application/json'
|
363
|
+
header_params[:'content-type'] = 'application/json'
|
364
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
365
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
366
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
367
|
+
# rubocop:enable Style/NegatedIf
|
368
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
369
|
+
|
370
|
+
post_body = @api_client.object_to_http_body(change_compartment_details)
|
371
|
+
|
372
|
+
# rubocop:disable Metrics/BlockLength
|
373
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#change_db_system_compartment') do
|
374
|
+
@api_client.call_api(
|
375
|
+
:POST,
|
376
|
+
path,
|
377
|
+
endpoint,
|
378
|
+
header_params: header_params,
|
379
|
+
query_params: query_params,
|
380
|
+
operation_signing_strategy: operation_signing_strategy,
|
381
|
+
body: post_body
|
382
|
+
)
|
383
|
+
end
|
384
|
+
# rubocop:enable Metrics/BlockLength
|
385
|
+
end
|
386
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
387
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
388
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
389
|
+
|
390
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
391
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
392
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
393
|
+
|
394
|
+
|
111
395
|
# Changes the status of the standalone backup resource to `ACTIVE` after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
|
112
396
|
#
|
113
397
|
# **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See [Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud](https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm) for more information.
|
@@ -990,7 +1274,7 @@ module OCI
|
|
990
1274
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
991
1275
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
992
1276
|
#
|
993
|
-
# @option opts [BOOLEAN] :perform_final_backup Whether to perform a final backup of the database or not. Default is false. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
|
1277
|
+
# @option opts [BOOLEAN] :perform_final_backup Whether to perform a final backup of the database or not. Default is false. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. (default to false)
|
994
1278
|
# @return [Response] A Response object with data of type nil
|
995
1279
|
def delete_db_home(db_home_id, opts = {})
|
996
1280
|
logger.debug 'Calling operation DatabaseClient#delete_db_home.' if logger
|
@@ -2494,14 +2778,14 @@ module OCI
|
|
2494
2778
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2495
2779
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2496
2780
|
# @option opts [String] :autonomous_exadata_infrastructure_id The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2497
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
2781
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2498
2782
|
# @option opts [String] :page The pagination token to continue listing from.
|
2499
2783
|
# @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.
|
2500
2784
|
#
|
2501
2785
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2502
2786
|
#
|
2503
2787
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2504
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
2788
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2505
2789
|
# Allowed values are: ASC, DESC
|
2506
2790
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
2507
2791
|
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|
@@ -2579,14 +2863,14 @@ module OCI
|
|
2579
2863
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2580
2864
|
# @option opts [String] :autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2581
2865
|
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2582
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
2866
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2583
2867
|
# @option opts [String] :page The pagination token to continue listing from.
|
2584
2868
|
# @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.
|
2585
2869
|
#
|
2586
2870
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2587
2871
|
#
|
2588
2872
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2589
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
2873
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2590
2874
|
# Allowed values are: ASC, DESC
|
2591
2875
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
2592
2876
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
@@ -2660,14 +2944,14 @@ module OCI
|
|
2660
2944
|
# @param [Hash] opts the optional parameters
|
2661
2945
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2662
2946
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2663
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
2947
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2664
2948
|
# @option opts [String] :page The pagination token to continue listing from.
|
2665
2949
|
# @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.
|
2666
2950
|
#
|
2667
2951
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2668
2952
|
#
|
2669
2953
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2670
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
2954
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2671
2955
|
# Allowed values are: ASC, DESC
|
2672
2956
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
2673
2957
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
@@ -2742,14 +3026,14 @@ module OCI
|
|
2742
3026
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2743
3027
|
# @option opts [String] :autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2744
3028
|
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2745
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3029
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2746
3030
|
# @option opts [String] :page The pagination token to continue listing from.
|
2747
3031
|
# @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.
|
2748
3032
|
#
|
2749
3033
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2750
3034
|
#
|
2751
3035
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2752
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3036
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2753
3037
|
# Allowed values are: ASC, DESC
|
2754
3038
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
2755
3039
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
@@ -2827,14 +3111,14 @@ module OCI
|
|
2827
3111
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2828
3112
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2829
3113
|
# @option opts [String] :autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2830
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3114
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2831
3115
|
# @option opts [String] :page The pagination token to continue listing from.
|
2832
3116
|
# @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.
|
2833
3117
|
#
|
2834
3118
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2835
3119
|
#
|
2836
3120
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2837
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3121
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2838
3122
|
# Allowed values are: ASC, DESC
|
2839
3123
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
2840
3124
|
# @option opts [String] :db_workload A filter to return only autonomous database resources that match the specified workload type.
|
@@ -2912,12 +3196,12 @@ module OCI
|
|
2912
3196
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2913
3197
|
|
2914
3198
|
|
2915
|
-
# Gets a list of supported Autonomous Database versions.
|
3199
|
+
# Gets a list of supported Autonomous Database versions. Note that preview version software is only available for [serverless deployments](https://docs.cloud.oracle.com/Content/Database/Concepts/adboverview.htm#AEI).
|
2916
3200
|
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
2917
3201
|
# @param [Hash] opts the optional parameters
|
2918
3202
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2919
3203
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2920
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3204
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2921
3205
|
# @option opts [String] :page The pagination token to continue listing from.
|
2922
3206
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2923
3207
|
#
|
@@ -2926,7 +3210,7 @@ module OCI
|
|
2926
3210
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
2927
3211
|
#
|
2928
3212
|
# Allowed values are: DBWORKLOAD
|
2929
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3213
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
2930
3214
|
# Allowed values are: ASC, DESC
|
2931
3215
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDbPreviewVersionSummary AutonomousDbPreviewVersionSummary}>
|
2932
3216
|
def list_autonomous_db_preview_versions(compartment_id, opts = {})
|
@@ -2993,7 +3277,7 @@ module OCI
|
|
2993
3277
|
# @param [Hash] opts the optional parameters
|
2994
3278
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2995
3279
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2996
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3280
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
2997
3281
|
# @option opts [String] :page The pagination token to continue listing from.
|
2998
3282
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2999
3283
|
#
|
@@ -3054,14 +3338,14 @@ module OCI
|
|
3054
3338
|
# @param [Hash] opts the optional parameters
|
3055
3339
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3056
3340
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3057
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3341
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3058
3342
|
# @option opts [String] :page The pagination token to continue listing from.
|
3059
3343
|
# @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.
|
3060
3344
|
#
|
3061
3345
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
3062
3346
|
#
|
3063
3347
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
3064
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3348
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3065
3349
|
# Allowed values are: ASC, DESC
|
3066
3350
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3067
3351
|
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|
@@ -3138,7 +3422,7 @@ module OCI
|
|
3138
3422
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3139
3423
|
# @option opts [String] :database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
3140
3424
|
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
3141
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3425
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3142
3426
|
# @option opts [String] :page The pagination token to continue listing from.
|
3143
3427
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::BackupSummary BackupSummary}>
|
3144
3428
|
def list_backups(opts = {})
|
@@ -3194,7 +3478,7 @@ module OCI
|
|
3194
3478
|
# @param [Hash] opts the optional parameters
|
3195
3479
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3196
3480
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3197
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3481
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3198
3482
|
# @option opts [String] :page The pagination token to continue listing from.
|
3199
3483
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DataGuardAssociationSummary DataGuardAssociationSummary}>
|
3200
3484
|
def list_data_guard_associations(database_id, opts = {})
|
@@ -3251,11 +3535,11 @@ module OCI
|
|
3251
3535
|
# @param [Hash] opts the optional parameters
|
3252
3536
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3253
3537
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3254
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3538
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3255
3539
|
# @option opts [String] :page The pagination token to continue listing from.
|
3256
3540
|
# @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 DBNAME is ascending. The DBNAME sort order is case sensitive.
|
3257
3541
|
# Allowed values are: DBNAME, TIMECREATED
|
3258
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3542
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3259
3543
|
# Allowed values are: ASC, DESC
|
3260
3544
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3261
3545
|
# @option opts [String] :db_name A filter to return only resources that match the entire database name given. The match is not case sensitive.
|
@@ -3331,7 +3615,7 @@ module OCI
|
|
3331
3615
|
# @param [Hash] opts the optional parameters
|
3332
3616
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3333
3617
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3334
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3618
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3335
3619
|
# @option opts [String] :page The pagination token to continue listing from.
|
3336
3620
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
|
3337
3621
|
def list_db_home_patch_history_entries(db_home_id, opts = {})
|
@@ -3387,7 +3671,7 @@ module OCI
|
|
3387
3671
|
# @param [Hash] opts the optional parameters
|
3388
3672
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3389
3673
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3390
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3674
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3391
3675
|
# @option opts [String] :page The pagination token to continue listing from.
|
3392
3676
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
|
3393
3677
|
def list_db_home_patches(db_home_id, opts = {})
|
@@ -3444,11 +3728,11 @@ module OCI
|
|
3444
3728
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3445
3729
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3446
3730
|
# @option opts [String] :db_system_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
3447
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3731
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3448
3732
|
# @option opts [String] :page The pagination token to continue listing from.
|
3449
3733
|
# @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.
|
3450
3734
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
3451
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3735
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3452
3736
|
# Allowed values are: ASC, DESC
|
3453
3737
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3454
3738
|
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
@@ -3524,11 +3808,11 @@ module OCI
|
|
3524
3808
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3525
3809
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3526
3810
|
# @option opts [String] :db_system_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
3527
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3811
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3528
3812
|
# @option opts [String] :page The pagination token to continue listing from.
|
3529
3813
|
# @option opts [String] :sort_by Sort by TIMECREATED. Default order for TIMECREATED is descending.
|
3530
3814
|
# Allowed values are: TIMECREATED
|
3531
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
3815
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3532
3816
|
# Allowed values are: ASC, DESC
|
3533
3817
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3534
3818
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbNodeSummary DbNodeSummary}>
|
@@ -3601,7 +3885,7 @@ module OCI
|
|
3601
3885
|
# @param [Hash] opts the optional parameters
|
3602
3886
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3603
3887
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3604
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3888
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3605
3889
|
# @option opts [String] :page The pagination token to continue listing from.
|
3606
3890
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
|
3607
3891
|
def list_db_system_patch_history_entries(db_system_id, opts = {})
|
@@ -3657,7 +3941,7 @@ module OCI
|
|
3657
3941
|
# @param [Hash] opts the optional parameters
|
3658
3942
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3659
3943
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3660
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
3944
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3661
3945
|
# @option opts [String] :page The pagination token to continue listing from.
|
3662
3946
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
|
3663
3947
|
def list_db_system_patches(db_system_id, opts = {})
|
@@ -3713,7 +3997,7 @@ module OCI
|
|
3713
3997
|
# @param [Hash] opts the optional parameters
|
3714
3998
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3715
3999
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3716
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
4000
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3717
4001
|
# @option opts [String] :page The pagination token to continue listing from.
|
3718
4002
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbSystemShapeSummary DbSystemShapeSummary}>
|
3719
4003
|
def list_db_system_shapes(availability_domain, compartment_id, opts = {})
|
@@ -3772,15 +4056,15 @@ module OCI
|
|
3772
4056
|
# @param [Hash] opts the optional parameters
|
3773
4057
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3774
4058
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3775
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
4059
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3776
4060
|
# @option opts [String] :page The pagination token to continue listing from.
|
3777
|
-
# @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 that support creating a database using this backup in this compartment.
|
4061
|
+
# @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.
|
3778
4062
|
# @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.
|
3779
4063
|
#
|
3780
4064
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
3781
4065
|
#
|
3782
4066
|
# Allowed values are: TIMECREATED, DISPLAYNAME
|
3783
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
4067
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3784
4068
|
# Allowed values are: ASC, DESC
|
3785
4069
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3786
4070
|
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|
@@ -3856,7 +4140,7 @@ module OCI
|
|
3856
4140
|
# @param [Hash] opts the optional parameters
|
3857
4141
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3858
4142
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3859
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
4143
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3860
4144
|
# @option opts [String] :page The pagination token to continue listing from.
|
3861
4145
|
# @option opts [String] :db_system_shape If provided, filters the results to the set of database versions which are supported for the given shape.
|
3862
4146
|
# @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.
|
@@ -3919,14 +4203,14 @@ module OCI
|
|
3919
4203
|
# @option opts [String] :target_resource_id The target resource ID.
|
3920
4204
|
# @option opts [String] :target_resource_type The type of the target resource.
|
3921
4205
|
# @option opts [String] :maintenance_type The maintenance type.
|
3922
|
-
# @option opts [Integer] :limit The maximum number of items to return per page.
|
4206
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
3923
4207
|
# @option opts [String] :page The pagination token to continue listing from.
|
3924
4208
|
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIME_SCHEDULED and TIME_ENDED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
|
3925
4209
|
#
|
3926
4210
|
# **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
|
3927
4211
|
#
|
3928
4212
|
# Allowed values are: TIME_SCHEDULED, TIME_ENDED, DISPLAYNAME
|
3929
|
-
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
4213
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
3930
4214
|
# Allowed values are: ASC, DESC
|
3931
4215
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
3932
4216
|
# @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
|