oci 2.14.0 → 2.15.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 +7 -2
- data/lib/oci.rb +5 -0
- data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
- data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
- data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
- data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
- data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
- data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
- data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
- data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
- data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
- data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
- data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
- data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
- data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
- data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/util.rb +3 -0
- data/lib/oci/api_client.rb +4 -4
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/models/authorization_details.rb +2 -1
- data/lib/oci/application_migration/models/import_manifest.rb +208 -0
- data/lib/oci/application_migration/models/import_source_details.rb +192 -0
- data/lib/oci/application_migration/models/source_details.rb +2 -0
- data/lib/oci/application_migration/models/source_summary.rb +1 -0
- data/lib/oci/application_migration/models/source_types.rb +2 -1
- data/lib/oci/artifacts/artifacts.rb +15 -0
- data/lib/oci/artifacts/artifacts_client.rb +1104 -147
- data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
- data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
- data/lib/oci/artifacts/models/container_repository.rb +18 -4
- data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
- data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
- data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
- data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
- data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
- data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
- data/lib/oci/artifacts/models/generic_repository.rb +181 -0
- data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
- data/lib/oci/artifacts/models/repository.rb +338 -0
- data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
- data/lib/oci/artifacts/models/repository_summary.rb +299 -0
- data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
- data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
- data/lib/oci/bastion/bastion.rb +48 -0
- data/lib/oci/bastion/bastion_client.rb +1041 -0
- data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
- data/lib/oci/bastion/models/action_type.rb +14 -0
- data/lib/oci/bastion/models/bastion.rb +434 -0
- data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
- data/lib/oci/bastion/models/bastion_summary.rb +348 -0
- data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
- data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
- data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
- data/lib/oci/bastion/models/create_session_details.rb +238 -0
- data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
- data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
- data/lib/oci/bastion/models/operation_status.rb +15 -0
- data/lib/oci/bastion/models/operation_type.rb +14 -0
- data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/public_key_details.rb +154 -0
- data/lib/oci/bastion/models/session.rb +393 -0
- data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
- data/lib/oci/bastion/models/session_summary.rb +303 -0
- data/lib/oci/bastion/models/session_type.rb +11 -0
- data/lib/oci/bastion/models/sort_order.rb +11 -0
- data/lib/oci/bastion/models/target_resource_details.rb +205 -0
- data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
- data/lib/oci/bastion/models/update_session_details.rb +154 -0
- data/lib/oci/bastion/models/work_request.rb +309 -0
- data/lib/oci/bastion/models/work_request_error.rb +173 -0
- data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bastion/models/work_request_resource.rb +219 -0
- data/lib/oci/bastion/models/work_request_summary.rb +309 -0
- data/lib/oci/bastion/util.rb +3 -0
- data/lib/oci/bds/bds_client.rb +70 -77
- data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
- data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
- data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
- data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
- data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
- data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
- data/lib/oci/bds/models/bds_instance.rb +17 -16
- data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
- data/lib/oci/bds/models/change_shape_details.rb +1 -1
- data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
- data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
- data/lib/oci/bds/models/cluster_details.rb +26 -13
- data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
- data/lib/oci/bds/models/create_node_details.rb +6 -6
- data/lib/oci/bds/models/kerberos_details.rb +2 -2
- data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
- data/lib/oci/bds/models/network_config.rb +1 -1
- data/lib/oci/bds/models/node.rb +15 -15
- data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
- data/lib/oci/bds/models/restart_node_details.rb +2 -2
- data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
- data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
- data/lib/oci/bds/models/work_request.rb +9 -14
- data/lib/oci/bds/models/work_request_error.rb +2 -3
- data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
- data/lib/oci/bds/models/work_request_resource.rb +2 -5
- data/lib/oci/container_engine/container_engine.rb +2 -0
- data/lib/oci/container_engine/container_engine_client.rb +118 -0
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -0
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
- data/lib/oci/core/blockstorage_client.rb +70 -1
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
- data/lib/oci/core/compute_client.rb +63 -0
- data/lib/oci/core/compute_client_composite_operations.rb +40 -0
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
- data/lib/oci/core/models/block_volume_replica.rb +1 -1
- data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
- data/lib/oci/core/models/boot_volume_replica.rb +1 -1
- data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
- data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +32 -4
- data/lib/oci/core/models/create_vlan_details.rb +11 -3
- data/lib/oci/core/models/create_volume_details.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +38 -4
- data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
- data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
- data/lib/oci/core/models/image.rb +18 -1
- data/lib/oci/core/models/instance_agent_features.rb +2 -2
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
- data/lib/oci/core/models/multipath_device.rb +180 -0
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
- data/lib/oci/core/models/update_dhcp_details.rb +32 -4
- data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
- data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
- data/lib/oci/core/models/vlan.rb +2 -1
- data/lib/oci/core/models/volume_attachment.rb +58 -4
- data/lib/oci/core/virtual_network_client.rb +7 -5
- data/lib/oci/data_catalog/data_catalog.rb +11 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
- data/lib/oci/data_catalog/models/attribute.rb +43 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
- data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
- data/lib/oci/data_catalog/models/data_asset.rb +16 -1
- data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
- data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
- data/lib/oci/data_catalog/models/entity.rb +30 -1
- data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/folder.rb +44 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
- data/lib/oci/data_catalog/models/job.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_type.rb +2 -1
- data/lib/oci/data_catalog/models/metastore.rb +325 -0
- data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
- data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
- data/lib/oci/data_catalog/models/search_result.rb +15 -1
- data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
- data/lib/oci/data_flow/data_flow_client.rb +3 -0
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/application_summary.rb +16 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_run_details.rb +17 -1
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_integration/data_integration.rb +52 -0
- data/lib/oci/data_integration/data_integration_client.rb +766 -24
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
- data/lib/oci/data_integration/models/auth_details.rb +213 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
- data/lib/oci/data_integration/models/connection.rb +4 -0
- data/lib/oci/data_integration/models/connection_details.rb +5 -1
- data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
- data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
- data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
- data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
- data/lib/oci/data_integration/models/connection_summary.rb +4 -0
- data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
- data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
- data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
- data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
- data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
- data/lib/oci/data_integration/models/create_task_details.rb +7 -1
- data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
- data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
- data/lib/oci/data_integration/models/data_asset.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
- data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
- data/lib/oci/data_integration/models/data_entity.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
- data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
- data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
- data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
- data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
- data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
- data/lib/oci/data_integration/models/expression_operator.rb +250 -0
- data/lib/oci/data_integration/models/external_storage.rb +221 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/lookup.rb +274 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
- data/lib/oci/data_integration/models/object_metadata.rb +17 -4
- data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
- data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
- data/lib/oci/data_integration/models/operator.rb +4 -1
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
- data/lib/oci/data_integration/models/parameter.rb +4 -3
- data/lib/oci/data_integration/models/parent_reference.rb +18 -4
- data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
- data/lib/oci/data_integration/models/published_object.rb +3 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
- data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
- data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/script.rb +202 -0
- data/lib/oci/data_integration/models/shape_field.rb +3 -3
- data/lib/oci/data_integration/models/task.rb +23 -4
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
- data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
- data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
- data/lib/oci/data_integration/models/task_operator.rb +3 -0
- data/lib/oci/data_integration/models/task_run.rb +62 -1
- data/lib/oci/data_integration/models/task_run_details.rb +3 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
- data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
- data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +6 -0
- data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
- data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
- data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
- data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
- data/lib/oci/data_integration/models/update_task_details.rb +7 -1
- data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
- data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
- data/lib/oci/data_safe/data_safe.rb +18 -0
- data/lib/oci/data_safe/data_safe_client.rb +731 -17
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
- data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
- data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
- data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/connection_option.rb +194 -0
- data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
- data/lib/oci/data_safe/models/credentials.rb +164 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
- data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
- data/lib/oci/data_safe/models/database_details.rb +231 -0
- data/lib/oci/data_safe/models/database_type.rb +12 -0
- data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
- data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
- data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
- data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
- data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
- data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
- data/lib/oci/data_safe/models/service_list.rb +4 -0
- data/lib/oci/data_safe/models/target_database.rb +369 -0
- data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
- data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
- data/lib/oci/data_safe/models/tls_config.rb +244 -0
- data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
- data/lib/oci/data_safe/models/work_request.rb +6 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
- data/lib/oci/data_science/data_science.rb +3 -0
- data/lib/oci/data_science/data_science_client.rb +16 -9
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
- data/lib/oci/data_science/models/create_model_details.rb +60 -4
- data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
- data/lib/oci/data_science/models/metadata.rb +197 -0
- data/lib/oci/data_science/models/model.rb +60 -4
- data/lib/oci/data_science/models/model_deployment.rb +1 -1
- data/lib/oci/data_science/models/model_provenance.rb +18 -4
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
- data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
- data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
- data/lib/oci/data_science/models/update_model_details.rb +32 -4
- data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
- data/lib/oci/database/database.rb +17 -0
- data/lib/oci/database/database_client.rb +1228 -46
- data/lib/oci/database/database_client_composite_operations.rb +416 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database.rb +213 -6
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
- data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
- data/lib/oci/database/models/create_db_home_base.rb +18 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
- data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/customer_contact.rb +2 -2
- data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
- data/lib/oci/database/models/db_node.rb +69 -1
- data/lib/oci/database/models/db_node_summary.rb +69 -1
- data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
- data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
- data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
- data/lib/oci/database/models/maintenance_run.rb +4 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
- data/lib/oci/database/models/pluggable_database.rb +358 -0
- data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
- data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
- data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
- data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
- data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
- data/lib/oci/database/models/vm_cluster.rb +15 -2
- data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
- data/lib/oci/database/models/vm_cluster_update.rb +346 -0
- data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
- data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database_management/database_management.rb +25 -0
- data/lib/oci/database_management/db_management_client.rb +1467 -97
- data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
- data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
- data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
- data/lib/oci/database_management/models/awr_db_report.rb +205 -0
- data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
- data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
- data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
- data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
- data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
- data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
- data/lib/oci/database_management/models/awr_query_result.rb +254 -0
- data/lib/oci/devops/devops.rb +177 -0
- data/lib/oci/devops/devops_client.rb +2344 -0
- data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
- data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
- data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
- data/lib/oci/devops/models/action_type.rb +15 -0
- data/lib/oci/devops/models/approval_action.rb +184 -0
- data/lib/oci/devops/models/approval_policy.rb +189 -0
- data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
- data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
- data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
- data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
- data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
- data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
- data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
- data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
- data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
- data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
- data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
- data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
- data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
- data/lib/oci/devops/models/create_deployment_details.rb +228 -0
- data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
- data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
- data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
- data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/create_project_details.rb +216 -0
- data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
- data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/deploy_artifact.rb +407 -0
- data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
- data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
- data/lib/oci/devops/models/deploy_environment.rb +376 -0
- data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
- data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
- data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
- data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
- data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
- data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
- data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
- data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
- data/lib/oci/devops/models/deploy_stage.rb +411 -0
- data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
- data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
- data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
- data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
- data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
- data/lib/oci/devops/models/deployment.rb +445 -0
- data/lib/oci/devops/models/deployment_argument.rb +160 -0
- data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
- data/lib/oci/devops/models/deployment_summary.rb +363 -0
- data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
- data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
- data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
- data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
- data/lib/oci/devops/models/load_balancer_config.rb +184 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/notification_config.rb +154 -0
- data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
- data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
- data/lib/oci/devops/models/operation_status.rb +15 -0
- data/lib/oci/devops/models/operation_type.rb +28 -0
- data/lib/oci/devops/models/project.rb +330 -0
- data/lib/oci/devops/models/project_collection.rb +150 -0
- data/lib/oci/devops/models/project_summary.rb +292 -0
- data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
- data/lib/oci/devops/models/sort_order.rb +11 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
- data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
- data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
- data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
- data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
- data/lib/oci/devops/models/update_deployment_details.rb +214 -0
- data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
- data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
- data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
- data/lib/oci/devops/models/update_project_details.rb +191 -0
- data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/wait_criteria.rb +189 -0
- data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
- data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/work_request.rb +314 -0
- data/lib/oci/devops/models/work_request_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_error.rb +171 -0
- data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
- data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_resource.rb +216 -0
- data/lib/oci/devops/models/work_request_summary.rb +314 -0
- data/lib/oci/devops/util.rb +3 -0
- data/lib/oci/dns/dns.rb +1 -1
- data/lib/oci/dns/dns_client.rb +306 -75
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
- data/lib/oci/dns/models/external_master.rb +1 -12
- data/lib/oci/dns/models/resolver.rb +4 -4
- data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_summary.rb +4 -4
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +4 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +20 -4
- data/lib/oci/dns/models/zone_summary.rb +1 -0
- data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
- data/lib/oci/email/email.rb +23 -0
- data/lib/oci/email/email_client.rb +1139 -139
- data/lib/oci/email/email_client_composite_operations.rb +346 -0
- data/lib/oci/email/models/action_type.rb +14 -0
- data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
- data/lib/oci/email/models/create_dkim_details.rb +225 -0
- data/lib/oci/email/models/create_email_domain_details.rb +220 -0
- data/lib/oci/email/models/create_sender_details.rb +2 -0
- data/lib/oci/email/models/dkim.rb +399 -0
- data/lib/oci/email/models/dkim_collection.rb +150 -0
- data/lib/oci/email/models/dkim_summary.rb +307 -0
- data/lib/oci/email/models/email_domain.rb +333 -0
- data/lib/oci/email/models/email_domain_collection.rb +150 -0
- data/lib/oci/email/models/email_domain_summary.rb +291 -0
- data/lib/oci/email/models/operation_status.rb +15 -0
- data/lib/oci/email/models/operation_type.rb +17 -0
- data/lib/oci/email/models/sender.rb +21 -4
- data/lib/oci/email/models/sender_summary.rb +5 -3
- data/lib/oci/email/models/sort_order.rb +11 -0
- data/lib/oci/email/models/suppression.rb +77 -7
- data/lib/oci/email/models/suppression_summary.rb +3 -3
- data/lib/oci/email/models/update_dkim_details.rb +189 -0
- data/lib/oci/email/models/update_email_domain_details.rb +189 -0
- data/lib/oci/email/models/update_sender_details.rb +2 -0
- data/lib/oci/email/models/work_request.rb +312 -0
- data/lib/oci/email/models/work_request_error.rb +172 -0
- data/lib/oci/email/models/work_request_error_collection.rb +150 -0
- data/lib/oci/email/models/work_request_log_entry.rb +160 -0
- data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/email/models/work_request_resource.rb +219 -0
- data/lib/oci/email/models/work_request_summary.rb +312 -0
- data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
- data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
- data/lib/oci/generic_artifacts_content/util.rb +3 -0
- data/lib/oci/jms/java_management_service_client.rb +1520 -0
- data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
- data/lib/oci/jms/jms.rb +63 -0
- data/lib/oci/jms/models/action_type.rb +14 -0
- data/lib/oci/jms/models/application_sort_by.rb +15 -0
- data/lib/oci/jms/models/application_usage.rb +292 -0
- data/lib/oci/jms/models/application_usage_collection.rb +150 -0
- data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
- data/lib/oci/jms/models/create_fleet_details.rb +210 -0
- data/lib/oci/jms/models/fleet.rb +358 -0
- data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
- data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
- data/lib/oci/jms/models/fleet_collection.rb +150 -0
- data/lib/oci/jms/models/fleet_summary.rb +359 -0
- data/lib/oci/jms/models/installation_sort_by.rb +17 -0
- data/lib/oci/jms/models/installation_usage.rb +306 -0
- data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
- data/lib/oci/jms/models/jre_sort_by.rb +17 -0
- data/lib/oci/jms/models/jre_usage.rb +276 -0
- data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
- data/lib/oci/jms/models/lifecycle_state.rb +15 -0
- data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
- data/lib/oci/jms/models/managed_instance_type.rb +10 -0
- data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
- data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
- data/lib/oci/jms/models/operation_status.rb +15 -0
- data/lib/oci/jms/models/operation_type.rb +13 -0
- data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
- data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
- data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
- data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
- data/lib/oci/jms/models/sort_by.rb +11 -0
- data/lib/oci/jms/models/sort_order.rb +11 -0
- data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
- data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
- data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
- data/lib/oci/jms/models/update_fleet_details.rb +196 -0
- data/lib/oci/jms/models/work_request.rb +306 -0
- data/lib/oci/jms/models/work_request_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_error.rb +173 -0
- data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
- data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_resource.rb +219 -0
- data/lib/oci/jms/util.rb +3 -0
- data/lib/oci/limits/limits_client.rb +12 -12
- data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
- data/lib/oci/limits/models/quota.rb +6 -6
- data/lib/oci/limits/models/quota_summary.rb +3 -3
- data/lib/oci/limits/models/resource_availability.rb +7 -7
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +9 -9
- data/lib/oci/log_analytics/log_analytics.rb +1 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
- data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/namespace.rb +20 -4
- data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
- data/lib/oci/log_analytics/models/schedule.rb +20 -4
- data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
- data/lib/oci/log_analytics/models/standard_task.rb +9 -1
- data/lib/oci/log_analytics/models/stream_action.rb +40 -4
- data/lib/oci/loggingingestion/logging_client.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
- data/lib/oci/marketplace/account_client.rb +220 -0
- data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/marketplace.rb +8 -0
- data/lib/oci/marketplace/marketplace_client.rb +86 -24
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
- data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
- data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
- data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
- data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
- data/lib/oci/marketplace/models/eula.rb +2 -2
- data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
- data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
- data/lib/oci/marketplace/models/listing.rb +2 -2
- data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
- data/lib/oci/marketplace/models/listing_summary.rb +2 -2
- data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/operating_system.rb +2 -2
- data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication.rb +11 -11
- data/lib/oci/marketplace/models/publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
- data/lib/oci/marketplace/models/publication_summary.rb +9 -9
- data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
- data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
- data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
- data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
- data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
- data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
- data/lib/oci/mysql/db_backups_client.rb +76 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
- data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
- data/lib/oci/mysql/mysql.rb +1 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
- data/lib/oci/oce/models/license_type.rb +3 -1
- data/lib/oci/oce/models/oce_instance.rb +19 -1
- data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
- data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
- data/lib/oci/oce/oce_instance_client.rb +2 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
- data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
- data/lib/oci/ocvp/models/esxi_host.rb +2 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
- data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
- data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
- data/lib/oci/ocvp/models/operation_types.rb +5 -1
- data/lib/oci/ocvp/models/sddc.rb +86 -2
- data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/work_request.rb +4 -0
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +291 -2
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
- data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
- data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
- data/lib/oci/opsi/models/database_details.rb +1 -0
- data/lib/oci/opsi/models/database_insight.rb +1 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
- data/lib/oci/opsi/models/host_insight.rb +1 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
- data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
- data/lib/oci/opsi/operations_insights_client.rb +631 -25
- data/lib/oci/opsi/opsi.rb +5 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/secrets/secrets_client.rb +71 -1
- data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
- data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
- data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
- data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
- data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
- data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
- data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
- data/lib/oci/usage_api/models/create_query_details.rb +1 -1
- data/lib/oci/usage_api/models/custom_table.rb +13 -13
- data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
- data/lib/oci/usage_api/models/dimension.rb +1 -1
- data/lib/oci/usage_api/models/forecast.rb +3 -3
- data/lib/oci/usage_api/models/query_definition.rb +1 -1
- data/lib/oci/usage_api/models/query_summary.rb +1 -1
- data/lib/oci/usage_api/models/report_query.rb +11 -5
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
- data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
- data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
- data/lib/oci/usage_api/models/update_query_details.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +1 -1
- data/lib/oci/usage_api/usage_api.rb +0 -6
- data/lib/oci/usage_api/usageapi_client.rb +332 -1
- data/lib/oci/version.rb +1 -1
- metadata +512 -16
@@ -30,6 +30,14 @@ module OCI
|
|
30
30
|
# @return [Hash<String, Hash<String, Object>>]
|
31
31
|
attr_accessor :defined_tags
|
32
32
|
|
33
|
+
# An array of custom metadata details for the model.
|
34
|
+
# @return [Array<OCI::DataScience::Models::Metadata>]
|
35
|
+
attr_accessor :custom_metadata_list
|
36
|
+
|
37
|
+
# An array of defined metadata details for the model.
|
38
|
+
# @return [Array<OCI::DataScience::Models::Metadata>]
|
39
|
+
attr_accessor :defined_metadata_list
|
40
|
+
|
33
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
42
|
def self.attribute_map
|
35
43
|
{
|
@@ -37,7 +45,9 @@ module OCI
|
|
37
45
|
'display_name': :'displayName',
|
38
46
|
'description': :'description',
|
39
47
|
'freeform_tags': :'freeformTags',
|
40
|
-
'defined_tags': :'definedTags'
|
48
|
+
'defined_tags': :'definedTags',
|
49
|
+
'custom_metadata_list': :'customMetadataList',
|
50
|
+
'defined_metadata_list': :'definedMetadataList'
|
41
51
|
# rubocop:enable Style/SymbolLiteral
|
42
52
|
}
|
43
53
|
end
|
@@ -49,7 +59,9 @@ module OCI
|
|
49
59
|
'display_name': :'String',
|
50
60
|
'description': :'String',
|
51
61
|
'freeform_tags': :'Hash<String, String>',
|
52
|
-
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
62
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
63
|
+
'custom_metadata_list': :'Array<OCI::DataScience::Models::Metadata>',
|
64
|
+
'defined_metadata_list': :'Array<OCI::DataScience::Models::Metadata>'
|
53
65
|
# rubocop:enable Style/SymbolLiteral
|
54
66
|
}
|
55
67
|
end
|
@@ -64,6 +76,8 @@ module OCI
|
|
64
76
|
# @option attributes [String] :description The value to assign to the {#description} property
|
65
77
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
66
78
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
79
|
+
# @option attributes [Array<OCI::DataScience::Models::Metadata>] :custom_metadata_list The value to assign to the {#custom_metadata_list} property
|
80
|
+
# @option attributes [Array<OCI::DataScience::Models::Metadata>] :defined_metadata_list The value to assign to the {#defined_metadata_list} property
|
67
81
|
def initialize(attributes = {})
|
68
82
|
return unless attributes.is_a?(Hash)
|
69
83
|
|
@@ -89,6 +103,18 @@ module OCI
|
|
89
103
|
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
90
104
|
|
91
105
|
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
106
|
+
|
107
|
+
self.custom_metadata_list = attributes[:'customMetadataList'] if attributes[:'customMetadataList']
|
108
|
+
|
109
|
+
raise 'You cannot provide both :customMetadataList and :custom_metadata_list' if attributes.key?(:'customMetadataList') && attributes.key?(:'custom_metadata_list')
|
110
|
+
|
111
|
+
self.custom_metadata_list = attributes[:'custom_metadata_list'] if attributes[:'custom_metadata_list']
|
112
|
+
|
113
|
+
self.defined_metadata_list = attributes[:'definedMetadataList'] if attributes[:'definedMetadataList']
|
114
|
+
|
115
|
+
raise 'You cannot provide both :definedMetadataList and :defined_metadata_list' if attributes.key?(:'definedMetadataList') && attributes.key?(:'defined_metadata_list')
|
116
|
+
|
117
|
+
self.defined_metadata_list = attributes[:'defined_metadata_list'] if attributes[:'defined_metadata_list']
|
92
118
|
end
|
93
119
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
94
120
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -105,7 +131,9 @@ module OCI
|
|
105
131
|
display_name == other.display_name &&
|
106
132
|
description == other.description &&
|
107
133
|
freeform_tags == other.freeform_tags &&
|
108
|
-
defined_tags == other.defined_tags
|
134
|
+
defined_tags == other.defined_tags &&
|
135
|
+
custom_metadata_list == other.custom_metadata_list &&
|
136
|
+
defined_metadata_list == other.defined_metadata_list
|
109
137
|
end
|
110
138
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
111
139
|
|
@@ -121,7 +149,7 @@ module OCI
|
|
121
149
|
# Calculates hash code according to all attributes.
|
122
150
|
# @return [Fixnum] Hash code
|
123
151
|
def hash
|
124
|
-
[display_name, description, freeform_tags, defined_tags].hash
|
152
|
+
[display_name, description, freeform_tags, defined_tags, custom_metadata_list, defined_metadata_list].hash
|
125
153
|
end
|
126
154
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
127
155
|
|
@@ -28,6 +28,10 @@ module OCI
|
|
28
28
|
# @return [String]
|
29
29
|
attr_accessor :training_script
|
30
30
|
|
31
|
+
# The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes.
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :training_id
|
34
|
+
|
31
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
36
|
def self.attribute_map
|
33
37
|
{
|
@@ -36,7 +40,8 @@ module OCI
|
|
36
40
|
'git_branch': :'gitBranch',
|
37
41
|
'git_commit': :'gitCommit',
|
38
42
|
'script_dir': :'scriptDir',
|
39
|
-
'training_script': :'trainingScript'
|
43
|
+
'training_script': :'trainingScript',
|
44
|
+
'training_id': :'trainingId'
|
40
45
|
# rubocop:enable Style/SymbolLiteral
|
41
46
|
}
|
42
47
|
end
|
@@ -49,7 +54,8 @@ module OCI
|
|
49
54
|
'git_branch': :'String',
|
50
55
|
'git_commit': :'String',
|
51
56
|
'script_dir': :'String',
|
52
|
-
'training_script': :'String'
|
57
|
+
'training_script': :'String',
|
58
|
+
'training_id': :'String'
|
53
59
|
# rubocop:enable Style/SymbolLiteral
|
54
60
|
}
|
55
61
|
end
|
@@ -65,6 +71,7 @@ module OCI
|
|
65
71
|
# @option attributes [String] :git_commit The value to assign to the {#git_commit} property
|
66
72
|
# @option attributes [String] :script_dir The value to assign to the {#script_dir} property
|
67
73
|
# @option attributes [String] :training_script The value to assign to the {#training_script} property
|
74
|
+
# @option attributes [String] :training_id The value to assign to the {#training_id} property
|
68
75
|
def initialize(attributes = {})
|
69
76
|
return unless attributes.is_a?(Hash)
|
70
77
|
|
@@ -100,6 +107,12 @@ module OCI
|
|
100
107
|
raise 'You cannot provide both :trainingScript and :training_script' if attributes.key?(:'trainingScript') && attributes.key?(:'training_script')
|
101
108
|
|
102
109
|
self.training_script = attributes[:'training_script'] if attributes[:'training_script']
|
110
|
+
|
111
|
+
self.training_id = attributes[:'trainingId'] if attributes[:'trainingId']
|
112
|
+
|
113
|
+
raise 'You cannot provide both :trainingId and :training_id' if attributes.key?(:'trainingId') && attributes.key?(:'training_id')
|
114
|
+
|
115
|
+
self.training_id = attributes[:'training_id'] if attributes[:'training_id']
|
103
116
|
end
|
104
117
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
105
118
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -117,7 +130,8 @@ module OCI
|
|
117
130
|
git_branch == other.git_branch &&
|
118
131
|
git_commit == other.git_commit &&
|
119
132
|
script_dir == other.script_dir &&
|
120
|
-
training_script == other.training_script
|
133
|
+
training_script == other.training_script &&
|
134
|
+
training_id == other.training_id
|
121
135
|
end
|
122
136
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
123
137
|
|
@@ -133,7 +147,7 @@ module OCI
|
|
133
147
|
# Calculates hash code according to all attributes.
|
134
148
|
# @return [Fixnum] Hash code
|
135
149
|
def hash
|
136
|
-
[repository_url, git_branch, git_commit, script_dir, training_script].hash
|
150
|
+
[repository_url, git_branch, git_commit, script_dir, training_script, training_id].hash
|
137
151
|
end
|
138
152
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
139
153
|
|
@@ -30,6 +30,7 @@ require 'oci/database/models/autonomous_database_connection_strings'
|
|
30
30
|
require 'oci/database/models/autonomous_database_connection_urls'
|
31
31
|
require 'oci/database/models/autonomous_database_console_token_details'
|
32
32
|
require 'oci/database/models/autonomous_database_dataguard_association'
|
33
|
+
require 'oci/database/models/autonomous_database_key_history_entry'
|
33
34
|
require 'oci/database/models/autonomous_database_manual_refresh_details'
|
34
35
|
require 'oci/database/models/autonomous_database_standby_summary'
|
35
36
|
require 'oci/database/models/autonomous_database_summary'
|
@@ -60,6 +61,7 @@ require 'oci/database/models/cloud_exadata_infrastructure_summary'
|
|
60
61
|
require 'oci/database/models/cloud_vm_cluster'
|
61
62
|
require 'oci/database/models/cloud_vm_cluster_summary'
|
62
63
|
require 'oci/database/models/complete_external_backup_job_details'
|
64
|
+
require 'oci/database/models/configure_autonomous_database_vault_key_details'
|
63
65
|
require 'oci/database/models/console_connection'
|
64
66
|
require 'oci/database/models/console_connection_summary'
|
65
67
|
require 'oci/database/models/create_autonomous_container_database_details'
|
@@ -75,6 +77,7 @@ require 'oci/database/models/create_backup_details'
|
|
75
77
|
require 'oci/database/models/create_cloud_exadata_infrastructure_details'
|
76
78
|
require 'oci/database/models/create_cloud_vm_cluster_details'
|
77
79
|
require 'oci/database/models/create_console_connection_details'
|
80
|
+
require 'oci/database/models/create_cross_region_autonomous_database_data_guard_details'
|
78
81
|
require 'oci/database/models/create_data_guard_association_details'
|
79
82
|
require 'oci/database/models/create_data_guard_association_to_existing_db_system_details'
|
80
83
|
require 'oci/database/models/create_data_guard_association_to_existing_vm_cluster_details'
|
@@ -107,6 +110,7 @@ require 'oci/database/models/create_external_pluggable_database_details'
|
|
107
110
|
require 'oci/database/models/create_key_store_details'
|
108
111
|
require 'oci/database/models/create_nfs_backup_destination_details'
|
109
112
|
require 'oci/database/models/create_new_database_details'
|
113
|
+
require 'oci/database/models/create_pluggable_database_details'
|
110
114
|
require 'oci/database/models/create_recovery_appliance_backup_destination_details'
|
111
115
|
require 'oci/database/models/create_refreshable_autonomous_database_clone_details'
|
112
116
|
require 'oci/database/models/create_vm_cluster_details'
|
@@ -132,6 +136,7 @@ require 'oci/database/models/database_upgrade_with_db_version_details'
|
|
132
136
|
require 'oci/database/models/day_of_week'
|
133
137
|
require 'oci/database/models/db_backup_config'
|
134
138
|
require 'oci/database/models/db_home'
|
139
|
+
require 'oci/database/models/db_home_from_agent_resource_id'
|
135
140
|
require 'oci/database/models/db_home_summary'
|
136
141
|
require 'oci/database/models/db_iorm_config'
|
137
142
|
require 'oci/database/models/db_iorm_config_update_detail'
|
@@ -187,6 +192,7 @@ require 'oci/database/models/launch_db_system_details'
|
|
187
192
|
require 'oci/database/models/launch_db_system_from_backup_details'
|
188
193
|
require 'oci/database/models/launch_db_system_from_database_details'
|
189
194
|
require 'oci/database/models/launch_db_system_from_db_system_details'
|
195
|
+
require 'oci/database/models/local_clone_pluggable_database_details'
|
190
196
|
require 'oci/database/models/maintenance_run'
|
191
197
|
require 'oci/database/models/maintenance_run_summary'
|
192
198
|
require 'oci/database/models/maintenance_window'
|
@@ -202,8 +208,12 @@ require 'oci/database/models/patch_history_entry'
|
|
202
208
|
require 'oci/database/models/patch_history_entry_summary'
|
203
209
|
require 'oci/database/models/patch_summary'
|
204
210
|
require 'oci/database/models/peer_autonomous_container_database_backup_config'
|
211
|
+
require 'oci/database/models/pluggable_database'
|
212
|
+
require 'oci/database/models/pluggable_database_connection_strings'
|
213
|
+
require 'oci/database/models/pluggable_database_summary'
|
205
214
|
require 'oci/database/models/register_autonomous_database_data_safe_details'
|
206
215
|
require 'oci/database/models/reinstate_data_guard_association_details'
|
216
|
+
require 'oci/database/models/remote_clone_pluggable_database_details'
|
207
217
|
require 'oci/database/models/restore_autonomous_database_details'
|
208
218
|
require 'oci/database/models/restore_database_details'
|
209
219
|
require 'oci/database/models/scan_details'
|
@@ -218,6 +228,7 @@ require 'oci/database/models/update_autonomous_vm_cluster_details'
|
|
218
228
|
require 'oci/database/models/update_backup_destination_details'
|
219
229
|
require 'oci/database/models/update_cloud_exadata_infrastructure_details'
|
220
230
|
require 'oci/database/models/update_cloud_vm_cluster_details'
|
231
|
+
require 'oci/database/models/update_data_guard_association_details'
|
221
232
|
require 'oci/database/models/update_database_details'
|
222
233
|
require 'oci/database/models/update_database_software_image_details'
|
223
234
|
require 'oci/database/models/update_db_home_details'
|
@@ -234,6 +245,7 @@ require 'oci/database/models/update_history_entry'
|
|
234
245
|
require 'oci/database/models/update_history_entry_summary'
|
235
246
|
require 'oci/database/models/update_key_store_details'
|
236
247
|
require 'oci/database/models/update_maintenance_run_details'
|
248
|
+
require 'oci/database/models/update_pluggable_database_details'
|
237
249
|
require 'oci/database/models/update_summary'
|
238
250
|
require 'oci/database/models/update_vm_cluster_details'
|
239
251
|
require 'oci/database/models/update_vm_cluster_network_details'
|
@@ -243,6 +255,11 @@ require 'oci/database/models/vm_cluster_network'
|
|
243
255
|
require 'oci/database/models/vm_cluster_network_details'
|
244
256
|
require 'oci/database/models/vm_cluster_network_summary'
|
245
257
|
require 'oci/database/models/vm_cluster_summary'
|
258
|
+
require 'oci/database/models/vm_cluster_update'
|
259
|
+
require 'oci/database/models/vm_cluster_update_details'
|
260
|
+
require 'oci/database/models/vm_cluster_update_history_entry'
|
261
|
+
require 'oci/database/models/vm_cluster_update_history_entry_summary'
|
262
|
+
require 'oci/database/models/vm_cluster_update_summary'
|
246
263
|
require 'oci/database/models/vm_network_details'
|
247
264
|
require 'oci/database/models/workload_type'
|
248
265
|
|
@@ -164,6 +164,75 @@ module OCI
|
|
164
164
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
165
165
|
|
166
166
|
|
167
|
+
# Makes the storage capacity from additional storage servers available for VM Cluster consumption. Applies to Exadata Cloud@Customer instances only.
|
168
|
+
#
|
169
|
+
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
170
|
+
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
172
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
173
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
174
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
175
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
176
|
+
#
|
177
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
178
|
+
#
|
179
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
180
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
181
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
182
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
183
|
+
# may be rejected).
|
184
|
+
#
|
185
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::ExadataInfrastructure ExadataInfrastructure}
|
186
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/add_storage_capacity_exadata_infrastructure.rb.html) to see an example of how to use add_storage_capacity_exadata_infrastructure API.
|
187
|
+
def add_storage_capacity_exadata_infrastructure(exadata_infrastructure_id, opts = {})
|
188
|
+
logger.debug 'Calling operation DatabaseClient#add_storage_capacity_exadata_infrastructure.' if logger
|
189
|
+
|
190
|
+
raise "Missing the required parameter 'exadata_infrastructure_id' when calling add_storage_capacity_exadata_infrastructure." if exadata_infrastructure_id.nil?
|
191
|
+
raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id)
|
192
|
+
|
193
|
+
path = '/exadataInfrastructures/{exadataInfrastructureId}/actions/addStorageCapacity'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s)
|
194
|
+
operation_signing_strategy = :standard
|
195
|
+
|
196
|
+
# rubocop:disable Style/NegatedIf
|
197
|
+
# Query Params
|
198
|
+
query_params = {}
|
199
|
+
|
200
|
+
# Header Params
|
201
|
+
header_params = {}
|
202
|
+
header_params[:accept] = 'application/json'
|
203
|
+
header_params[:'content-type'] = 'application/json'
|
204
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
205
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
206
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
207
|
+
# rubocop:enable Style/NegatedIf
|
208
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
209
|
+
|
210
|
+
post_body = nil
|
211
|
+
|
212
|
+
# rubocop:disable Metrics/BlockLength
|
213
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#add_storage_capacity_exadata_infrastructure') do
|
214
|
+
@api_client.call_api(
|
215
|
+
:POST,
|
216
|
+
path,
|
217
|
+
endpoint,
|
218
|
+
header_params: header_params,
|
219
|
+
query_params: query_params,
|
220
|
+
operation_signing_strategy: operation_signing_strategy,
|
221
|
+
body: post_body,
|
222
|
+
return_type: 'OCI::Database::Models::ExadataInfrastructure'
|
223
|
+
)
|
224
|
+
end
|
225
|
+
# rubocop:enable Metrics/BlockLength
|
226
|
+
end
|
227
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
228
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
229
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
230
|
+
|
231
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
232
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
233
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
234
|
+
|
235
|
+
|
167
236
|
# Initiates a data refresh for an Autonomous Database refreshable clone. Data is refreshed from the source database to the point of a specified timestamp.
|
168
237
|
#
|
169
238
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -1461,6 +1530,76 @@ module OCI
|
|
1461
1530
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1462
1531
|
|
1463
1532
|
|
1533
|
+
# Configures the Autonomous Database Vault service [key](https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
|
1534
|
+
#
|
1535
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
1536
|
+
# @param [OCI::Database::Models::ConfigureAutonomousDatabaseVaultKeyDetails] configure_autonomous_database_vault_key_details Configuration details for the Autonomous Database Vault service [key](https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
|
1537
|
+
# @param [Hash] opts the optional parameters
|
1538
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1539
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1540
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1541
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1542
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1543
|
+
#
|
1544
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
1545
|
+
#
|
1546
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1547
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1548
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
1549
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1550
|
+
# may be rejected).
|
1551
|
+
#
|
1552
|
+
# @return [Response] A Response object with data of type nil
|
1553
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/configure_autonomous_database_vault_key.rb.html) to see an example of how to use configure_autonomous_database_vault_key API.
|
1554
|
+
def configure_autonomous_database_vault_key(autonomous_database_id, configure_autonomous_database_vault_key_details, opts = {})
|
1555
|
+
logger.debug 'Calling operation DatabaseClient#configure_autonomous_database_vault_key.' if logger
|
1556
|
+
|
1557
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling configure_autonomous_database_vault_key." if autonomous_database_id.nil?
|
1558
|
+
raise "Missing the required parameter 'configure_autonomous_database_vault_key_details' when calling configure_autonomous_database_vault_key." if configure_autonomous_database_vault_key_details.nil?
|
1559
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
1560
|
+
|
1561
|
+
path = '/autonomousDatabases/{autonomousDatabaseId}/actions/configureAutonomousDatabaseVaultKey'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
1562
|
+
operation_signing_strategy = :standard
|
1563
|
+
|
1564
|
+
# rubocop:disable Style/NegatedIf
|
1565
|
+
# Query Params
|
1566
|
+
query_params = {}
|
1567
|
+
|
1568
|
+
# Header Params
|
1569
|
+
header_params = {}
|
1570
|
+
header_params[:accept] = 'application/json'
|
1571
|
+
header_params[:'content-type'] = 'application/json'
|
1572
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1573
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1574
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1575
|
+
# rubocop:enable Style/NegatedIf
|
1576
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1577
|
+
|
1578
|
+
post_body = @api_client.object_to_http_body(configure_autonomous_database_vault_key_details)
|
1579
|
+
|
1580
|
+
# rubocop:disable Metrics/BlockLength
|
1581
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#configure_autonomous_database_vault_key') do
|
1582
|
+
@api_client.call_api(
|
1583
|
+
:POST,
|
1584
|
+
path,
|
1585
|
+
endpoint,
|
1586
|
+
header_params: header_params,
|
1587
|
+
query_params: query_params,
|
1588
|
+
operation_signing_strategy: operation_signing_strategy,
|
1589
|
+
body: post_body
|
1590
|
+
)
|
1591
|
+
end
|
1592
|
+
# rubocop:enable Metrics/BlockLength
|
1593
|
+
end
|
1594
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1595
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1596
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1597
|
+
|
1598
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1599
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1600
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1601
|
+
|
1602
|
+
|
1464
1603
|
# Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
|
1465
1604
|
#
|
1466
1605
|
# @param [OCI::Database::Models::CreateAutonomousContainerDatabaseDetails] create_autonomous_container_database_details Request to create an Autonomous Container Database in a specified Autonomous Exadata Infrastructure.
|
@@ -2721,6 +2860,70 @@ module OCI
|
|
2721
2860
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2722
2861
|
|
2723
2862
|
|
2863
|
+
# Creates and starts a pluggable database in the specified container database.
|
2864
|
+
# Use the [StartPluggableDatabase](#/en/database/latest/PluggableDatabase/StartPluggableDatabase] and [StopPluggableDatabase](#/en/database/latest/PluggableDatabase/StopPluggableDatabase] APIs to start and stop the pluggable database.
|
2865
|
+
#
|
2866
|
+
# @param [OCI::Database::Models::CreatePluggableDatabaseDetails] create_pluggable_database_details Request to create pluggable database.
|
2867
|
+
# @param [Hash] opts the optional parameters
|
2868
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2869
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2870
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2871
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
2872
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
2873
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
2874
|
+
# may be rejected).
|
2875
|
+
#
|
2876
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
2877
|
+
#
|
2878
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
2879
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_pluggable_database.rb.html) to see an example of how to use create_pluggable_database API.
|
2880
|
+
def create_pluggable_database(create_pluggable_database_details, opts = {})
|
2881
|
+
logger.debug 'Calling operation DatabaseClient#create_pluggable_database.' if logger
|
2882
|
+
|
2883
|
+
raise "Missing the required parameter 'create_pluggable_database_details' when calling create_pluggable_database." if create_pluggable_database_details.nil?
|
2884
|
+
|
2885
|
+
path = '/pluggableDatabases'
|
2886
|
+
operation_signing_strategy = :standard
|
2887
|
+
|
2888
|
+
# rubocop:disable Style/NegatedIf
|
2889
|
+
# Query Params
|
2890
|
+
query_params = {}
|
2891
|
+
|
2892
|
+
# Header Params
|
2893
|
+
header_params = {}
|
2894
|
+
header_params[:accept] = 'application/json'
|
2895
|
+
header_params[:'content-type'] = 'application/json'
|
2896
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
2897
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2898
|
+
# rubocop:enable Style/NegatedIf
|
2899
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
2900
|
+
|
2901
|
+
post_body = @api_client.object_to_http_body(create_pluggable_database_details)
|
2902
|
+
|
2903
|
+
# rubocop:disable Metrics/BlockLength
|
2904
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#create_pluggable_database') do
|
2905
|
+
@api_client.call_api(
|
2906
|
+
:POST,
|
2907
|
+
path,
|
2908
|
+
endpoint,
|
2909
|
+
header_params: header_params,
|
2910
|
+
query_params: query_params,
|
2911
|
+
operation_signing_strategy: operation_signing_strategy,
|
2912
|
+
body: post_body,
|
2913
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
2914
|
+
)
|
2915
|
+
end
|
2916
|
+
# rubocop:enable Metrics/BlockLength
|
2917
|
+
end
|
2918
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2919
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2920
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2921
|
+
|
2922
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2923
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2924
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2925
|
+
|
2926
|
+
|
2724
2927
|
# Creates an Exadata Cloud@Customer VM cluster.
|
2725
2928
|
#
|
2726
2929
|
# @param [OCI::Database::Models::CreateVmClusterDetails] create_vm_cluster_details Request to create a VM cluster. Applies to Exadata Cloud@Customer instances only.
|
@@ -3914,6 +4117,65 @@ module OCI
|
|
3914
4117
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3915
4118
|
|
3916
4119
|
|
4120
|
+
# Deletes the specified pluggable database.
|
4121
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4122
|
+
# @param [Hash] opts the optional parameters
|
4123
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4124
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4125
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
4126
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
4127
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
4128
|
+
#
|
4129
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
4130
|
+
#
|
4131
|
+
# @return [Response] A Response object with data of type nil
|
4132
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_pluggable_database.rb.html) to see an example of how to use delete_pluggable_database API.
|
4133
|
+
def delete_pluggable_database(pluggable_database_id, opts = {})
|
4134
|
+
logger.debug 'Calling operation DatabaseClient#delete_pluggable_database.' if logger
|
4135
|
+
|
4136
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling delete_pluggable_database." if pluggable_database_id.nil?
|
4137
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
4138
|
+
|
4139
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
4140
|
+
operation_signing_strategy = :standard
|
4141
|
+
|
4142
|
+
# rubocop:disable Style/NegatedIf
|
4143
|
+
# Query Params
|
4144
|
+
query_params = {}
|
4145
|
+
|
4146
|
+
# Header Params
|
4147
|
+
header_params = {}
|
4148
|
+
header_params[:accept] = 'application/json'
|
4149
|
+
header_params[:'content-type'] = 'application/json'
|
4150
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
4151
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4152
|
+
# rubocop:enable Style/NegatedIf
|
4153
|
+
|
4154
|
+
post_body = nil
|
4155
|
+
|
4156
|
+
# rubocop:disable Metrics/BlockLength
|
4157
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_pluggable_database') do
|
4158
|
+
@api_client.call_api(
|
4159
|
+
:DELETE,
|
4160
|
+
path,
|
4161
|
+
endpoint,
|
4162
|
+
header_params: header_params,
|
4163
|
+
query_params: query_params,
|
4164
|
+
operation_signing_strategy: operation_signing_strategy,
|
4165
|
+
body: post_body
|
4166
|
+
)
|
4167
|
+
end
|
4168
|
+
# rubocop:enable Metrics/BlockLength
|
4169
|
+
end
|
4170
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4171
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4172
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4173
|
+
|
4174
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4175
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4176
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4177
|
+
|
4178
|
+
|
3917
4179
|
# Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
|
3918
4180
|
#
|
3919
4181
|
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -4603,7 +4865,7 @@ module OCI
|
|
4603
4865
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4604
4866
|
|
4605
4867
|
|
4606
|
-
# Downloads the
|
4868
|
+
# Downloads the network validation report file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
|
4607
4869
|
#
|
4608
4870
|
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4609
4871
|
# @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -4621,16 +4883,16 @@ module OCI
|
|
4621
4883
|
# @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
|
4622
4884
|
# @option [Block] &block Streaming http body to the block
|
4623
4885
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
4624
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/
|
4625
|
-
def
|
4626
|
-
logger.debug 'Calling operation DatabaseClient#
|
4886
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/download_validation_report.rb.html) to see an example of how to use download_validation_report API.
|
4887
|
+
def download_validation_report(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block)
|
4888
|
+
logger.debug 'Calling operation DatabaseClient#download_validation_report.' if logger
|
4627
4889
|
|
4628
|
-
raise "Missing the required parameter 'exadata_infrastructure_id' when calling
|
4629
|
-
raise "Missing the required parameter 'vm_cluster_network_id' when calling
|
4890
|
+
raise "Missing the required parameter 'exadata_infrastructure_id' when calling download_validation_report." if exadata_infrastructure_id.nil?
|
4891
|
+
raise "Missing the required parameter 'vm_cluster_network_id' when calling download_validation_report." if vm_cluster_network_id.nil?
|
4630
4892
|
raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id)
|
4631
4893
|
raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id)
|
4632
4894
|
|
4633
|
-
path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/
|
4895
|
+
path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadValidationReport'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s)
|
4634
4896
|
operation_signing_strategy = :standard
|
4635
4897
|
|
4636
4898
|
# rubocop:disable Style/NegatedIf
|
@@ -4651,7 +4913,7 @@ module OCI
|
|
4651
4913
|
post_body = nil
|
4652
4914
|
|
4653
4915
|
# rubocop:disable Metrics/BlockLength
|
4654
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
4916
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#download_validation_report') do
|
4655
4917
|
if !block.nil?
|
4656
4918
|
@api_client.call_api(
|
4657
4919
|
:POST,
|
@@ -4716,21 +4978,134 @@ module OCI
|
|
4716
4978
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4717
4979
|
|
4718
4980
|
|
4719
|
-
#
|
4981
|
+
# Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
|
4720
4982
|
#
|
4721
|
-
# @param [String]
|
4983
|
+
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4984
|
+
# @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
4722
4985
|
# @param [Hash] opts the optional parameters
|
4723
4986
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4724
4987
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4725
4988
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
4726
4989
|
#
|
4727
|
-
# @
|
4728
|
-
#
|
4729
|
-
|
4730
|
-
|
4731
|
-
|
4732
|
-
|
4733
|
-
|
4990
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4991
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
4992
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
4993
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
4994
|
+
# may be rejected).
|
4995
|
+
#
|
4996
|
+
# @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
|
4997
|
+
# @option [Block] &block Streaming http body to the block
|
4998
|
+
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
4999
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/download_vm_cluster_network_config_file.rb.html) to see an example of how to use download_vm_cluster_network_config_file API.
|
5000
|
+
def download_vm_cluster_network_config_file(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block)
|
5001
|
+
logger.debug 'Calling operation DatabaseClient#download_vm_cluster_network_config_file.' if logger
|
5002
|
+
|
5003
|
+
raise "Missing the required parameter 'exadata_infrastructure_id' when calling download_vm_cluster_network_config_file." if exadata_infrastructure_id.nil?
|
5004
|
+
raise "Missing the required parameter 'vm_cluster_network_id' when calling download_vm_cluster_network_config_file." if vm_cluster_network_id.nil?
|
5005
|
+
raise "Parameter value for 'exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(exadata_infrastructure_id)
|
5006
|
+
raise "Parameter value for 'vm_cluster_network_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_network_id)
|
5007
|
+
|
5008
|
+
path = '/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadConfigFile'.sub('{exadataInfrastructureId}', exadata_infrastructure_id.to_s).sub('{vmClusterNetworkId}', vm_cluster_network_id.to_s)
|
5009
|
+
operation_signing_strategy = :standard
|
5010
|
+
|
5011
|
+
# rubocop:disable Style/NegatedIf
|
5012
|
+
# Query Params
|
5013
|
+
query_params = {}
|
5014
|
+
|
5015
|
+
# Header Params
|
5016
|
+
header_params = {}
|
5017
|
+
header_params[:accept] = opts[:accept] if opts[:accept]
|
5018
|
+
header_params[:accept] ||= 'application/octet-stream'
|
5019
|
+
header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
|
5020
|
+
header_params[:'content-type'] = 'application/json'
|
5021
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
5022
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
5023
|
+
# rubocop:enable Style/NegatedIf
|
5024
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
5025
|
+
|
5026
|
+
post_body = nil
|
5027
|
+
|
5028
|
+
# rubocop:disable Metrics/BlockLength
|
5029
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#download_vm_cluster_network_config_file') do
|
5030
|
+
if !block.nil?
|
5031
|
+
@api_client.call_api(
|
5032
|
+
:POST,
|
5033
|
+
path,
|
5034
|
+
endpoint,
|
5035
|
+
header_params: header_params,
|
5036
|
+
query_params: query_params,
|
5037
|
+
operation_signing_strategy: operation_signing_strategy,
|
5038
|
+
body: post_body,
|
5039
|
+
return_type: 'Stream',
|
5040
|
+
&block
|
5041
|
+
)
|
5042
|
+
elsif opts[:response_target]
|
5043
|
+
if opts[:response_target].respond_to? :write
|
5044
|
+
@api_client.call_api(
|
5045
|
+
:POST,
|
5046
|
+
path,
|
5047
|
+
endpoint,
|
5048
|
+
header_params: header_params,
|
5049
|
+
query_params: query_params,
|
5050
|
+
operation_signing_strategy: operation_signing_strategy,
|
5051
|
+
body: post_body,
|
5052
|
+
return_type: 'Stream',
|
5053
|
+
&proc { |chunk, _response| opts[:response_target].write(chunk) }
|
5054
|
+
)
|
5055
|
+
elsif opts[:response_target].is_a?(String)
|
5056
|
+
File.open(opts[:response_target], 'wb') do |output|
|
5057
|
+
return @api_client.call_api(
|
5058
|
+
:POST,
|
5059
|
+
path,
|
5060
|
+
endpoint,
|
5061
|
+
header_params: header_params,
|
5062
|
+
query_params: query_params,
|
5063
|
+
operation_signing_strategy: operation_signing_strategy,
|
5064
|
+
body: post_body,
|
5065
|
+
return_type: 'Stream',
|
5066
|
+
&proc { |chunk, _response| output.write(chunk) }
|
5067
|
+
)
|
5068
|
+
end
|
5069
|
+
end
|
5070
|
+
else
|
5071
|
+
@api_client.call_api(
|
5072
|
+
:POST,
|
5073
|
+
path,
|
5074
|
+
endpoint,
|
5075
|
+
header_params: header_params,
|
5076
|
+
query_params: query_params,
|
5077
|
+
operation_signing_strategy: operation_signing_strategy,
|
5078
|
+
body: post_body,
|
5079
|
+
return_type: 'String'
|
5080
|
+
)
|
5081
|
+
end
|
5082
|
+
end
|
5083
|
+
# rubocop:enable Metrics/BlockLength
|
5084
|
+
end
|
5085
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5086
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5087
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5088
|
+
|
5089
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5090
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5091
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5092
|
+
|
5093
|
+
|
5094
|
+
# Enables the specified Autonomous Database with Operations Insights.
|
5095
|
+
#
|
5096
|
+
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
5097
|
+
# @param [Hash] opts the optional parameters
|
5098
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
5099
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
5100
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
5101
|
+
#
|
5102
|
+
# @return [Response] A Response object with data of type nil
|
5103
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/enable_autonomous_database_operations_insights.rb.html) to see an example of how to use enable_autonomous_database_operations_insights API.
|
5104
|
+
def enable_autonomous_database_operations_insights(autonomous_database_id, opts = {})
|
5105
|
+
logger.debug 'Calling operation DatabaseClient#enable_autonomous_database_operations_insights.' if logger
|
5106
|
+
|
5107
|
+
raise "Missing the required parameter 'autonomous_database_id' when calling enable_autonomous_database_operations_insights." if autonomous_database_id.nil?
|
5108
|
+
raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
|
4734
5109
|
|
4735
5110
|
path = '/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
|
4736
5111
|
operation_signing_strategy = :standard
|
@@ -5129,7 +5504,7 @@ module OCI
|
|
5129
5504
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5130
5505
|
|
5131
5506
|
|
5132
|
-
# Initiates a failover the specified Autonomous Database to a standby.
|
5507
|
+
# Initiates a failover the specified Autonomous Database to a standby. To perform a failover to a standby located in a remote region, specify the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote standby using the `peerDbId` parameter.
|
5133
5508
|
#
|
5134
5509
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
5135
5510
|
# @param [Hash] opts the optional parameters
|
@@ -5147,6 +5522,7 @@ module OCI
|
|
5147
5522
|
#
|
5148
5523
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
5149
5524
|
#
|
5525
|
+
# @option opts [String] :peer_db_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Guard standby database located in a different (remote) region from the source primary Autonomous Database.
|
5150
5526
|
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
|
5151
5527
|
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/fail_over_autonomous_database.rb.html) to see an example of how to use fail_over_autonomous_database API.
|
5152
5528
|
def fail_over_autonomous_database(autonomous_database_id, opts = {})
|
@@ -5161,6 +5537,7 @@ module OCI
|
|
5161
5537
|
# rubocop:disable Style/NegatedIf
|
5162
5538
|
# Query Params
|
5163
5539
|
query_params = {}
|
5540
|
+
query_params[:peerDbId] = opts[:peer_db_id] if opts[:peer_db_id]
|
5164
5541
|
|
5165
5542
|
# Header Params
|
5166
5543
|
header_params = {}
|
@@ -7701,6 +8078,60 @@ module OCI
|
|
7701
8078
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
7702
8079
|
# rubocop:enable Lint/UnusedMethodArgument
|
7703
8080
|
|
8081
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8082
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8083
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8084
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
8085
|
+
|
8086
|
+
|
8087
|
+
# Gets information about the specified pluggable database.
|
8088
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
8089
|
+
# @param [Hash] opts the optional parameters
|
8090
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8091
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8092
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
8093
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_pluggable_database.rb.html) to see an example of how to use get_pluggable_database API.
|
8094
|
+
def get_pluggable_database(pluggable_database_id, opts = {})
|
8095
|
+
logger.debug 'Calling operation DatabaseClient#get_pluggable_database.' if logger
|
8096
|
+
|
8097
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling get_pluggable_database." if pluggable_database_id.nil?
|
8098
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
8099
|
+
|
8100
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
8101
|
+
operation_signing_strategy = :standard
|
8102
|
+
|
8103
|
+
# rubocop:disable Style/NegatedIf
|
8104
|
+
# Query Params
|
8105
|
+
query_params = {}
|
8106
|
+
|
8107
|
+
# Header Params
|
8108
|
+
header_params = {}
|
8109
|
+
header_params[:accept] = 'application/json'
|
8110
|
+
header_params[:'content-type'] = 'application/json'
|
8111
|
+
# rubocop:enable Style/NegatedIf
|
8112
|
+
|
8113
|
+
post_body = nil
|
8114
|
+
|
8115
|
+
# rubocop:disable Metrics/BlockLength
|
8116
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_pluggable_database') do
|
8117
|
+
@api_client.call_api(
|
8118
|
+
:GET,
|
8119
|
+
path,
|
8120
|
+
endpoint,
|
8121
|
+
header_params: header_params,
|
8122
|
+
query_params: query_params,
|
8123
|
+
operation_signing_strategy: operation_signing_strategy,
|
8124
|
+
body: post_body,
|
8125
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
8126
|
+
)
|
8127
|
+
end
|
8128
|
+
# rubocop:enable Metrics/BlockLength
|
8129
|
+
end
|
8130
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8131
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8132
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8133
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
8134
|
+
|
7704
8135
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7705
8136
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
7706
8137
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
@@ -7938,6 +8369,124 @@ module OCI
|
|
7938
8369
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7939
8370
|
|
7940
8371
|
|
8372
|
+
# Gets information about a specified maintenance update package for a VM cluster. Applies to Exadata Cloud@Customer instances only.
|
8373
|
+
#
|
8374
|
+
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
8375
|
+
# @param [String] update_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update.
|
8376
|
+
# @param [Hash] opts the optional parameters
|
8377
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8378
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8379
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
8380
|
+
#
|
8381
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterUpdate VmClusterUpdate}
|
8382
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster_update.rb.html) to see an example of how to use get_vm_cluster_update API.
|
8383
|
+
def get_vm_cluster_update(vm_cluster_id, update_id, opts = {})
|
8384
|
+
logger.debug 'Calling operation DatabaseClient#get_vm_cluster_update.' if logger
|
8385
|
+
|
8386
|
+
raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_update." if vm_cluster_id.nil?
|
8387
|
+
raise "Missing the required parameter 'update_id' when calling get_vm_cluster_update." if update_id.nil?
|
8388
|
+
raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id)
|
8389
|
+
raise "Parameter value for 'update_id' must not be blank" if OCI::Internal::Util.blank_string?(update_id)
|
8390
|
+
|
8391
|
+
path = '/vmClusters/{vmClusterId}/updates/{updateId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{updateId}', update_id.to_s)
|
8392
|
+
operation_signing_strategy = :standard
|
8393
|
+
|
8394
|
+
# rubocop:disable Style/NegatedIf
|
8395
|
+
# Query Params
|
8396
|
+
query_params = {}
|
8397
|
+
|
8398
|
+
# Header Params
|
8399
|
+
header_params = {}
|
8400
|
+
header_params[:accept] = 'application/json'
|
8401
|
+
header_params[:'content-type'] = 'application/json'
|
8402
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8403
|
+
# rubocop:enable Style/NegatedIf
|
8404
|
+
|
8405
|
+
post_body = nil
|
8406
|
+
|
8407
|
+
# rubocop:disable Metrics/BlockLength
|
8408
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_update') do
|
8409
|
+
@api_client.call_api(
|
8410
|
+
:GET,
|
8411
|
+
path,
|
8412
|
+
endpoint,
|
8413
|
+
header_params: header_params,
|
8414
|
+
query_params: query_params,
|
8415
|
+
operation_signing_strategy: operation_signing_strategy,
|
8416
|
+
body: post_body,
|
8417
|
+
return_type: 'OCI::Database::Models::VmClusterUpdate'
|
8418
|
+
)
|
8419
|
+
end
|
8420
|
+
# rubocop:enable Metrics/BlockLength
|
8421
|
+
end
|
8422
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8423
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8424
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8425
|
+
|
8426
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8427
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8428
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8429
|
+
|
8430
|
+
|
8431
|
+
# Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud@Customer instances only.
|
8432
|
+
#
|
8433
|
+
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
8434
|
+
# @param [String] update_history_entry_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry.
|
8435
|
+
# @param [Hash] opts the optional parameters
|
8436
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8437
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8438
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
8439
|
+
#
|
8440
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterUpdateHistoryEntry VmClusterUpdateHistoryEntry}
|
8441
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster_update_history_entry.rb.html) to see an example of how to use get_vm_cluster_update_history_entry API.
|
8442
|
+
def get_vm_cluster_update_history_entry(vm_cluster_id, update_history_entry_id, opts = {})
|
8443
|
+
logger.debug 'Calling operation DatabaseClient#get_vm_cluster_update_history_entry.' if logger
|
8444
|
+
|
8445
|
+
raise "Missing the required parameter 'vm_cluster_id' when calling get_vm_cluster_update_history_entry." if vm_cluster_id.nil?
|
8446
|
+
raise "Missing the required parameter 'update_history_entry_id' when calling get_vm_cluster_update_history_entry." if update_history_entry_id.nil?
|
8447
|
+
raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id)
|
8448
|
+
raise "Parameter value for 'update_history_entry_id' must not be blank" if OCI::Internal::Util.blank_string?(update_history_entry_id)
|
8449
|
+
|
8450
|
+
path = '/vmClusters/{vmClusterId}/updateHistoryEntries/{updateHistoryEntryId}'.sub('{vmClusterId}', vm_cluster_id.to_s).sub('{updateHistoryEntryId}', update_history_entry_id.to_s)
|
8451
|
+
operation_signing_strategy = :standard
|
8452
|
+
|
8453
|
+
# rubocop:disable Style/NegatedIf
|
8454
|
+
# Query Params
|
8455
|
+
query_params = {}
|
8456
|
+
|
8457
|
+
# Header Params
|
8458
|
+
header_params = {}
|
8459
|
+
header_params[:accept] = 'application/json'
|
8460
|
+
header_params[:'content-type'] = 'application/json'
|
8461
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8462
|
+
# rubocop:enable Style/NegatedIf
|
8463
|
+
|
8464
|
+
post_body = nil
|
8465
|
+
|
8466
|
+
# rubocop:disable Metrics/BlockLength
|
8467
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_vm_cluster_update_history_entry') do
|
8468
|
+
@api_client.call_api(
|
8469
|
+
:GET,
|
8470
|
+
path,
|
8471
|
+
endpoint,
|
8472
|
+
header_params: header_params,
|
8473
|
+
query_params: query_params,
|
8474
|
+
operation_signing_strategy: operation_signing_strategy,
|
8475
|
+
body: post_body,
|
8476
|
+
return_type: 'OCI::Database::Models::VmClusterUpdateHistoryEntry'
|
8477
|
+
)
|
8478
|
+
end
|
8479
|
+
# rubocop:enable Metrics/BlockLength
|
8480
|
+
end
|
8481
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8482
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8483
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8484
|
+
|
8485
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8486
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8487
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8488
|
+
|
8489
|
+
|
7941
8490
|
# Creates a new Autonomous Exadata Infrastructure in the specified compartment and availability domain.
|
7942
8491
|
#
|
7943
8492
|
# @param [OCI::Database::Models::LaunchAutonomousExadataInfrastructureDetails] launch_autonomous_exadata_infrastructure_details Request to create an Autonomous Exadata Infrastructure resource.
|
@@ -10372,6 +10921,7 @@ module OCI
|
|
10372
10921
|
# * LVM - Logical volume management
|
10373
10922
|
#
|
10374
10923
|
# @option opts [BOOLEAN] :is_upgrade_supported If provided, filters the results to the set of database versions which are supported for Upgrade.
|
10924
|
+
# @option opts [BOOLEAN] :is_database_software_image_supported If true, filters the results to the set of Oracle Database versions that are supported for OCI database software images.
|
10375
10925
|
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbVersionSummary DbVersionSummary}>
|
10376
10926
|
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_versions.rb.html) to see an example of how to use list_db_versions API.
|
10377
10927
|
def list_db_versions(compartment_id, opts = {})
|
@@ -10396,6 +10946,7 @@ module OCI
|
|
10396
10946
|
query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id]
|
10397
10947
|
query_params[:storageManagement] = opts[:storage_management] if opts[:storage_management]
|
10398
10948
|
query_params[:isUpgradeSupported] = opts[:is_upgrade_supported] if !opts[:is_upgrade_supported].nil?
|
10949
|
+
query_params[:isDatabaseSoftwareImageSupported] = opts[:is_database_software_image_supported] if !opts[:is_database_software_image_supported].nil?
|
10399
10950
|
|
10400
10951
|
# Header Params
|
10401
10952
|
header_params = {}
|
@@ -11158,18 +11709,98 @@ module OCI
|
|
11158
11709
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11159
11710
|
|
11160
11711
|
|
11161
|
-
# Gets a list of the
|
11712
|
+
# Gets a list of the pluggable databases in a database or compartment. You must provide either a `databaseId` or `compartmentId` value.
|
11162
11713
|
#
|
11163
|
-
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11164
|
-
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11165
11714
|
# @param [Hash] opts the optional parameters
|
11166
11715
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
11167
11716
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
11717
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11718
|
+
# @option opts [String] :database_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
11168
11719
|
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
11169
11720
|
# @option opts [String] :page The pagination token to continue listing from.
|
11170
|
-
# @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
|
11171
|
-
#
|
11172
|
-
#
|
11721
|
+
# @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 PDBNAME is ascending. The PDBNAME sort order is case sensitive. (default to TIMECREATED)
|
11722
|
+
# Allowed values are: PDBNAME, TIMECREATED
|
11723
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
11724
|
+
# Allowed values are: ASC, DESC
|
11725
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
11726
|
+
# @option opts [String] :pdb_name A filter to return only pluggable databases that match the entire name given. The match is not case sensitive.
|
11727
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::PluggableDatabaseSummary PluggableDatabaseSummary}>
|
11728
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_pluggable_databases.rb.html) to see an example of how to use list_pluggable_databases API.
|
11729
|
+
def list_pluggable_databases(opts = {})
|
11730
|
+
logger.debug 'Calling operation DatabaseClient#list_pluggable_databases.' if logger
|
11731
|
+
|
11732
|
+
|
11733
|
+
if opts[:sort_by] && !%w[PDBNAME TIMECREATED].include?(opts[:sort_by])
|
11734
|
+
raise 'Invalid value for "sort_by", must be one of PDBNAME, TIMECREATED.'
|
11735
|
+
end
|
11736
|
+
|
11737
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
11738
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
11739
|
+
end
|
11740
|
+
|
11741
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::PluggableDatabaseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
11742
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::PluggableDatabaseSummary::LIFECYCLE_STATE_ENUM.'
|
11743
|
+
end
|
11744
|
+
|
11745
|
+
path = '/pluggableDatabases'
|
11746
|
+
operation_signing_strategy = :standard
|
11747
|
+
|
11748
|
+
# rubocop:disable Style/NegatedIf
|
11749
|
+
# Query Params
|
11750
|
+
query_params = {}
|
11751
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
11752
|
+
query_params[:databaseId] = opts[:database_id] if opts[:database_id]
|
11753
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
11754
|
+
query_params[:page] = opts[:page] if opts[:page]
|
11755
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
11756
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
11757
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
11758
|
+
query_params[:pdbName] = opts[:pdb_name] if opts[:pdb_name]
|
11759
|
+
|
11760
|
+
# Header Params
|
11761
|
+
header_params = {}
|
11762
|
+
header_params[:accept] = 'application/json'
|
11763
|
+
header_params[:'content-type'] = 'application/json'
|
11764
|
+
# rubocop:enable Style/NegatedIf
|
11765
|
+
|
11766
|
+
post_body = nil
|
11767
|
+
|
11768
|
+
# rubocop:disable Metrics/BlockLength
|
11769
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_pluggable_databases') do
|
11770
|
+
@api_client.call_api(
|
11771
|
+
:GET,
|
11772
|
+
path,
|
11773
|
+
endpoint,
|
11774
|
+
header_params: header_params,
|
11775
|
+
query_params: query_params,
|
11776
|
+
operation_signing_strategy: operation_signing_strategy,
|
11777
|
+
body: post_body,
|
11778
|
+
return_type: 'Array<OCI::Database::Models::PluggableDatabaseSummary>'
|
11779
|
+
)
|
11780
|
+
end
|
11781
|
+
# rubocop:enable Metrics/BlockLength
|
11782
|
+
end
|
11783
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
11784
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
11785
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
11786
|
+
|
11787
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
11788
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
11789
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11790
|
+
|
11791
|
+
|
11792
|
+
# Gets a list of the VM cluster networks in the specified compartment. Applies to Exadata Cloud@Customer instances only.
|
11793
|
+
#
|
11794
|
+
# @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11795
|
+
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11796
|
+
# @param [Hash] opts the optional parameters
|
11797
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
11798
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
11799
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
11800
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
11801
|
+
# @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.
|
11802
|
+
#
|
11803
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
11173
11804
|
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
|
11174
11805
|
# Allowed values are: ASC, DESC
|
11175
11806
|
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
@@ -11358,6 +11989,152 @@ module OCI
|
|
11358
11989
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11359
11990
|
|
11360
11991
|
|
11992
|
+
# Gets the history of the maintenance update actions performed on the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
|
11993
|
+
#
|
11994
|
+
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11995
|
+
# @param [Hash] opts the optional parameters
|
11996
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
11997
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
11998
|
+
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly.
|
11999
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH, OS_UPDATE
|
12000
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
12001
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
12002
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
12003
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12004
|
+
#
|
12005
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::VmClusterUpdateHistoryEntrySummary VmClusterUpdateHistoryEntrySummary}>
|
12006
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_cluster_update_history_entries.rb.html) to see an example of how to use list_vm_cluster_update_history_entries API.
|
12007
|
+
def list_vm_cluster_update_history_entries(vm_cluster_id, opts = {})
|
12008
|
+
logger.debug 'Calling operation DatabaseClient#list_vm_cluster_update_history_entries.' if logger
|
12009
|
+
|
12010
|
+
raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_update_history_entries." if vm_cluster_id.nil?
|
12011
|
+
|
12012
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type])
|
12013
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.'
|
12014
|
+
end
|
12015
|
+
|
12016
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
12017
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterUpdateHistoryEntrySummary::LIFECYCLE_STATE_ENUM.'
|
12018
|
+
end
|
12019
|
+
raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id)
|
12020
|
+
|
12021
|
+
path = '/vmClusters/{vmClusterId}/updateHistoryEntries'.sub('{vmClusterId}', vm_cluster_id.to_s)
|
12022
|
+
operation_signing_strategy = :standard
|
12023
|
+
|
12024
|
+
# rubocop:disable Style/NegatedIf
|
12025
|
+
# Query Params
|
12026
|
+
query_params = {}
|
12027
|
+
query_params[:updateType] = opts[:update_type] if opts[:update_type]
|
12028
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
12029
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
12030
|
+
query_params[:page] = opts[:page] if opts[:page]
|
12031
|
+
|
12032
|
+
# Header Params
|
12033
|
+
header_params = {}
|
12034
|
+
header_params[:accept] = 'application/json'
|
12035
|
+
header_params[:'content-type'] = 'application/json'
|
12036
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
12037
|
+
# rubocop:enable Style/NegatedIf
|
12038
|
+
|
12039
|
+
post_body = nil
|
12040
|
+
|
12041
|
+
# rubocop:disable Metrics/BlockLength
|
12042
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_update_history_entries') do
|
12043
|
+
@api_client.call_api(
|
12044
|
+
:GET,
|
12045
|
+
path,
|
12046
|
+
endpoint,
|
12047
|
+
header_params: header_params,
|
12048
|
+
query_params: query_params,
|
12049
|
+
operation_signing_strategy: operation_signing_strategy,
|
12050
|
+
body: post_body,
|
12051
|
+
return_type: 'Array<OCI::Database::Models::VmClusterUpdateHistoryEntrySummary>'
|
12052
|
+
)
|
12053
|
+
end
|
12054
|
+
# rubocop:enable Metrics/BlockLength
|
12055
|
+
end
|
12056
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12057
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12058
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12059
|
+
|
12060
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12061
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12062
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12063
|
+
|
12064
|
+
|
12065
|
+
# Lists the maintenance updates that can be applied to the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
|
12066
|
+
#
|
12067
|
+
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12068
|
+
# @param [Hash] opts the optional parameters
|
12069
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
12070
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
12071
|
+
# @option opts [String] :update_type A filter to return only resources that match the given update type exactly.
|
12072
|
+
# Allowed values are: GI_UPGRADE, GI_PATCH, OS_UPDATE
|
12073
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
|
12074
|
+
# @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
|
12075
|
+
# @option opts [String] :page The pagination token to continue listing from.
|
12076
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12077
|
+
#
|
12078
|
+
# @return [Response] A Response object with data of type Array<{OCI::Database::Models::VmClusterUpdateSummary VmClusterUpdateSummary}>
|
12079
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_cluster_updates.rb.html) to see an example of how to use list_vm_cluster_updates API.
|
12080
|
+
def list_vm_cluster_updates(vm_cluster_id, opts = {})
|
12081
|
+
logger.debug 'Calling operation DatabaseClient#list_vm_cluster_updates.' if logger
|
12082
|
+
|
12083
|
+
raise "Missing the required parameter 'vm_cluster_id' when calling list_vm_cluster_updates." if vm_cluster_id.nil?
|
12084
|
+
|
12085
|
+
if opts[:update_type] && !%w[GI_UPGRADE GI_PATCH OS_UPDATE].include?(opts[:update_type])
|
12086
|
+
raise 'Invalid value for "update_type", must be one of GI_UPGRADE, GI_PATCH, OS_UPDATE.'
|
12087
|
+
end
|
12088
|
+
|
12089
|
+
if opts[:lifecycle_state] && !OCI::Database::Models::VmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
12090
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::VmClusterUpdateSummary::LIFECYCLE_STATE_ENUM.'
|
12091
|
+
end
|
12092
|
+
raise "Parameter value for 'vm_cluster_id' must not be blank" if OCI::Internal::Util.blank_string?(vm_cluster_id)
|
12093
|
+
|
12094
|
+
path = '/vmClusters/{vmClusterId}/updates'.sub('{vmClusterId}', vm_cluster_id.to_s)
|
12095
|
+
operation_signing_strategy = :standard
|
12096
|
+
|
12097
|
+
# rubocop:disable Style/NegatedIf
|
12098
|
+
# Query Params
|
12099
|
+
query_params = {}
|
12100
|
+
query_params[:updateType] = opts[:update_type] if opts[:update_type]
|
12101
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
12102
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
12103
|
+
query_params[:page] = opts[:page] if opts[:page]
|
12104
|
+
|
12105
|
+
# Header Params
|
12106
|
+
header_params = {}
|
12107
|
+
header_params[:accept] = 'application/json'
|
12108
|
+
header_params[:'content-type'] = 'application/json'
|
12109
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
12110
|
+
# rubocop:enable Style/NegatedIf
|
12111
|
+
|
12112
|
+
post_body = nil
|
12113
|
+
|
12114
|
+
# rubocop:disable Metrics/BlockLength
|
12115
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_vm_cluster_updates') do
|
12116
|
+
@api_client.call_api(
|
12117
|
+
:GET,
|
12118
|
+
path,
|
12119
|
+
endpoint,
|
12120
|
+
header_params: header_params,
|
12121
|
+
query_params: query_params,
|
12122
|
+
operation_signing_strategy: operation_signing_strategy,
|
12123
|
+
body: post_body,
|
12124
|
+
return_type: 'Array<OCI::Database::Models::VmClusterUpdateSummary>'
|
12125
|
+
)
|
12126
|
+
end
|
12127
|
+
# rubocop:enable Metrics/BlockLength
|
12128
|
+
end
|
12129
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12130
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12131
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12132
|
+
|
12133
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12134
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12135
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12136
|
+
|
12137
|
+
|
11361
12138
|
# Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only.
|
11362
12139
|
# To list the cloud VM clusters in an Exadata Cloud Service instance, use the {#list_cloud_vm_clusters list_cloud_vm_clusters} operation.
|
11363
12140
|
#
|
@@ -11444,6 +12221,77 @@ module OCI
|
|
11444
12221
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11445
12222
|
|
11446
12223
|
|
12224
|
+
# Clones and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the `READ_WRITE` openMode to perform the clone operation.
|
12225
|
+
#
|
12226
|
+
# @param [OCI::Database::Models::LocalClonePluggableDatabaseDetails] local_clone_pluggable_database_details Request to clone a pluggable database locally.
|
12227
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12228
|
+
# @param [Hash] opts the optional parameters
|
12229
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
12230
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
12231
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
12232
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
12233
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
12234
|
+
#
|
12235
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12236
|
+
#
|
12237
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
12238
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
12239
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
12240
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
12241
|
+
# may be rejected).
|
12242
|
+
#
|
12243
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
12244
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/local_clone_pluggable_database.rb.html) to see an example of how to use local_clone_pluggable_database API.
|
12245
|
+
def local_clone_pluggable_database(local_clone_pluggable_database_details, pluggable_database_id, opts = {})
|
12246
|
+
logger.debug 'Calling operation DatabaseClient#local_clone_pluggable_database.' if logger
|
12247
|
+
|
12248
|
+
raise "Missing the required parameter 'local_clone_pluggable_database_details' when calling local_clone_pluggable_database." if local_clone_pluggable_database_details.nil?
|
12249
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling local_clone_pluggable_database." if pluggable_database_id.nil?
|
12250
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
12251
|
+
|
12252
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}/actions/localClone'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
12253
|
+
operation_signing_strategy = :standard
|
12254
|
+
|
12255
|
+
# rubocop:disable Style/NegatedIf
|
12256
|
+
# Query Params
|
12257
|
+
query_params = {}
|
12258
|
+
|
12259
|
+
# Header Params
|
12260
|
+
header_params = {}
|
12261
|
+
header_params[:accept] = 'application/json'
|
12262
|
+
header_params[:'content-type'] = 'application/json'
|
12263
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
12264
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
12265
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
12266
|
+
# rubocop:enable Style/NegatedIf
|
12267
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
12268
|
+
|
12269
|
+
post_body = @api_client.object_to_http_body(local_clone_pluggable_database_details)
|
12270
|
+
|
12271
|
+
# rubocop:disable Metrics/BlockLength
|
12272
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#local_clone_pluggable_database') do
|
12273
|
+
@api_client.call_api(
|
12274
|
+
:POST,
|
12275
|
+
path,
|
12276
|
+
endpoint,
|
12277
|
+
header_params: header_params,
|
12278
|
+
query_params: query_params,
|
12279
|
+
operation_signing_strategy: operation_signing_strategy,
|
12280
|
+
body: post_body,
|
12281
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
12282
|
+
)
|
12283
|
+
end
|
12284
|
+
# rubocop:enable Metrics/BlockLength
|
12285
|
+
end
|
12286
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12287
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12288
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12289
|
+
|
12290
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12291
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12292
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12293
|
+
|
12294
|
+
|
11447
12295
|
# Migrates the Exadata DB system to the new [Exadata resource model](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model).
|
11448
12296
|
# All related resources will be migrated.
|
11449
12297
|
#
|
@@ -11661,7 +12509,70 @@ module OCI
|
|
11661
12509
|
raise "Parameter value for 'autonomous_container_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_container_database_id)
|
11662
12510
|
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)
|
11663
12511
|
|
11664
|
-
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)
|
12512
|
+
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)
|
12513
|
+
operation_signing_strategy = :standard
|
12514
|
+
|
12515
|
+
# rubocop:disable Style/NegatedIf
|
12516
|
+
# Query Params
|
12517
|
+
query_params = {}
|
12518
|
+
|
12519
|
+
# Header Params
|
12520
|
+
header_params = {}
|
12521
|
+
header_params[:accept] = 'application/json'
|
12522
|
+
header_params[:'content-type'] = 'application/json'
|
12523
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
12524
|
+
# rubocop:enable Style/NegatedIf
|
12525
|
+
|
12526
|
+
post_body = nil
|
12527
|
+
|
12528
|
+
# rubocop:disable Metrics/BlockLength
|
12529
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_autonomous_container_database_dataguard_association') do
|
12530
|
+
@api_client.call_api(
|
12531
|
+
:POST,
|
12532
|
+
path,
|
12533
|
+
endpoint,
|
12534
|
+
header_params: header_params,
|
12535
|
+
query_params: query_params,
|
12536
|
+
operation_signing_strategy: operation_signing_strategy,
|
12537
|
+
body: post_body,
|
12538
|
+
return_type: 'OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation'
|
12539
|
+
)
|
12540
|
+
end
|
12541
|
+
# rubocop:enable Metrics/BlockLength
|
12542
|
+
end
|
12543
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12544
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
12545
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
12546
|
+
|
12547
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
12548
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
12549
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12550
|
+
|
12551
|
+
|
12552
|
+
# Reinstates the database identified by the `databaseId` parameter into the standby role in a Data Guard association.
|
12553
|
+
#
|
12554
|
+
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12555
|
+
# @param [String] data_guard_association_id The Data Guard association's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12556
|
+
# @param [OCI::Database::Models::ReinstateDataGuardAssociationDetails] reinstate_data_guard_association_details A request to reinstate a database in a standby role.
|
12557
|
+
# @param [Hash] opts the optional parameters
|
12558
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
12559
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
12560
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
12561
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
12562
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
12563
|
+
#
|
12564
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
|
12565
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/reinstate_data_guard_association.rb.html) to see an example of how to use reinstate_data_guard_association API.
|
12566
|
+
def reinstate_data_guard_association(database_id, data_guard_association_id, reinstate_data_guard_association_details, opts = {})
|
12567
|
+
logger.debug 'Calling operation DatabaseClient#reinstate_data_guard_association.' if logger
|
12568
|
+
|
12569
|
+
raise "Missing the required parameter 'database_id' when calling reinstate_data_guard_association." if database_id.nil?
|
12570
|
+
raise "Missing the required parameter 'data_guard_association_id' when calling reinstate_data_guard_association." if data_guard_association_id.nil?
|
12571
|
+
raise "Missing the required parameter 'reinstate_data_guard_association_details' when calling reinstate_data_guard_association." if reinstate_data_guard_association_details.nil?
|
12572
|
+
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
12573
|
+
raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id)
|
12574
|
+
|
12575
|
+
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/reinstate'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
11665
12576
|
operation_signing_strategy = :standard
|
11666
12577
|
|
11667
12578
|
# rubocop:disable Style/NegatedIf
|
@@ -11675,10 +12586,10 @@ module OCI
|
|
11675
12586
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
11676
12587
|
# rubocop:enable Style/NegatedIf
|
11677
12588
|
|
11678
|
-
post_body =
|
12589
|
+
post_body = @api_client.object_to_http_body(reinstate_data_guard_association_details)
|
11679
12590
|
|
11680
12591
|
# rubocop:disable Metrics/BlockLength
|
11681
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
12592
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#reinstate_data_guard_association') do
|
11682
12593
|
@api_client.call_api(
|
11683
12594
|
:POST,
|
11684
12595
|
path,
|
@@ -11687,7 +12598,7 @@ module OCI
|
|
11687
12598
|
query_params: query_params,
|
11688
12599
|
operation_signing_strategy: operation_signing_strategy,
|
11689
12600
|
body: post_body,
|
11690
|
-
return_type: 'OCI::Database::Models::
|
12601
|
+
return_type: 'OCI::Database::Models::DataGuardAssociation'
|
11691
12602
|
)
|
11692
12603
|
end
|
11693
12604
|
# rubocop:enable Metrics/BlockLength
|
@@ -11701,11 +12612,10 @@ module OCI
|
|
11701
12612
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
11702
12613
|
|
11703
12614
|
|
11704
|
-
#
|
12615
|
+
# Clones a pluggable database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone operation. The source PDB must be in the `READ_WRITE` openMode when performing the clone.
|
11705
12616
|
#
|
11706
|
-
# @param [
|
11707
|
-
# @param [String]
|
11708
|
-
# @param [OCI::Database::Models::ReinstateDataGuardAssociationDetails] reinstate_data_guard_association_details A request to reinstate a database in a standby role.
|
12617
|
+
# @param [OCI::Database::Models::RemoteClonePluggableDatabaseDetails] remote_clone_pluggable_database_details Request to clone a pluggable database (PDB) to a different database (CDB) from the source PDB.
|
12618
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
11709
12619
|
# @param [Hash] opts the optional parameters
|
11710
12620
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
11711
12621
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
@@ -11713,18 +12623,24 @@ module OCI
|
|
11713
12623
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
11714
12624
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
11715
12625
|
#
|
11716
|
-
# @
|
11717
|
-
#
|
11718
|
-
|
11719
|
-
|
12626
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12627
|
+
#
|
12628
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
12629
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
12630
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
12631
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
12632
|
+
# may be rejected).
|
12633
|
+
#
|
12634
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
12635
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/remote_clone_pluggable_database.rb.html) to see an example of how to use remote_clone_pluggable_database API.
|
12636
|
+
def remote_clone_pluggable_database(remote_clone_pluggable_database_details, pluggable_database_id, opts = {})
|
12637
|
+
logger.debug 'Calling operation DatabaseClient#remote_clone_pluggable_database.' if logger
|
11720
12638
|
|
11721
|
-
raise "Missing the required parameter '
|
11722
|
-
raise "Missing the required parameter '
|
11723
|
-
raise "
|
11724
|
-
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
11725
|
-
raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id)
|
12639
|
+
raise "Missing the required parameter 'remote_clone_pluggable_database_details' when calling remote_clone_pluggable_database." if remote_clone_pluggable_database_details.nil?
|
12640
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling remote_clone_pluggable_database." if pluggable_database_id.nil?
|
12641
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
11726
12642
|
|
11727
|
-
path = '/
|
12643
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}/actions/remoteClone'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
11728
12644
|
operation_signing_strategy = :standard
|
11729
12645
|
|
11730
12646
|
# rubocop:disable Style/NegatedIf
|
@@ -11736,12 +12652,15 @@ module OCI
|
|
11736
12652
|
header_params[:accept] = 'application/json'
|
11737
12653
|
header_params[:'content-type'] = 'application/json'
|
11738
12654
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
12655
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
12656
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
11739
12657
|
# rubocop:enable Style/NegatedIf
|
12658
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
11740
12659
|
|
11741
|
-
post_body = @api_client.object_to_http_body(
|
12660
|
+
post_body = @api_client.object_to_http_body(remote_clone_pluggable_database_details)
|
11742
12661
|
|
11743
12662
|
# rubocop:disable Metrics/BlockLength
|
11744
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#
|
12663
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#remote_clone_pluggable_database') do
|
11745
12664
|
@api_client.call_api(
|
11746
12665
|
:POST,
|
11747
12666
|
path,
|
@@ -11750,7 +12669,7 @@ module OCI
|
|
11750
12669
|
query_params: query_params,
|
11751
12670
|
operation_signing_strategy: operation_signing_strategy,
|
11752
12671
|
body: post_body,
|
11753
|
-
return_type: 'OCI::Database::Models::
|
12672
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
11754
12673
|
)
|
11755
12674
|
end
|
11756
12675
|
# rubocop:enable Metrics/BlockLength
|
@@ -12470,6 +13389,74 @@ module OCI
|
|
12470
13389
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12471
13390
|
|
12472
13391
|
|
13392
|
+
# Starts a stopped pluggable database. The `openMode` value of the pluggable database will be `READ_WRITE` upon completion.
|
13393
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
13394
|
+
# @param [Hash] opts the optional parameters
|
13395
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
13396
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
13397
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
13398
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
13399
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
13400
|
+
#
|
13401
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
13402
|
+
#
|
13403
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
13404
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
13405
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
13406
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
13407
|
+
# may be rejected).
|
13408
|
+
#
|
13409
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
13410
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/start_pluggable_database.rb.html) to see an example of how to use start_pluggable_database API.
|
13411
|
+
def start_pluggable_database(pluggable_database_id, opts = {})
|
13412
|
+
logger.debug 'Calling operation DatabaseClient#start_pluggable_database.' if logger
|
13413
|
+
|
13414
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling start_pluggable_database." if pluggable_database_id.nil?
|
13415
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
13416
|
+
|
13417
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}/actions/start'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
13418
|
+
operation_signing_strategy = :standard
|
13419
|
+
|
13420
|
+
# rubocop:disable Style/NegatedIf
|
13421
|
+
# Query Params
|
13422
|
+
query_params = {}
|
13423
|
+
|
13424
|
+
# Header Params
|
13425
|
+
header_params = {}
|
13426
|
+
header_params[:accept] = 'application/json'
|
13427
|
+
header_params[:'content-type'] = 'application/json'
|
13428
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
13429
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
13430
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
13431
|
+
# rubocop:enable Style/NegatedIf
|
13432
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
13433
|
+
|
13434
|
+
post_body = nil
|
13435
|
+
|
13436
|
+
# rubocop:disable Metrics/BlockLength
|
13437
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#start_pluggable_database') do
|
13438
|
+
@api_client.call_api(
|
13439
|
+
:POST,
|
13440
|
+
path,
|
13441
|
+
endpoint,
|
13442
|
+
header_params: header_params,
|
13443
|
+
query_params: query_params,
|
13444
|
+
operation_signing_strategy: operation_signing_strategy,
|
13445
|
+
body: post_body,
|
13446
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
13447
|
+
)
|
13448
|
+
end
|
13449
|
+
# rubocop:enable Metrics/BlockLength
|
13450
|
+
end
|
13451
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
13452
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
13453
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
13454
|
+
|
13455
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
13456
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
13457
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
13458
|
+
|
13459
|
+
|
12473
13460
|
# Stops the specified Autonomous Database.
|
12474
13461
|
#
|
12475
13462
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -12531,6 +13518,74 @@ module OCI
|
|
12531
13518
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12532
13519
|
|
12533
13520
|
|
13521
|
+
# Stops a pluggable database. The `openMode` value of the pluggable database will be `MOUNTED` upon completion.
|
13522
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
13523
|
+
# @param [Hash] opts the optional parameters
|
13524
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
13525
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
13526
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
13527
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
13528
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
13529
|
+
#
|
13530
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
13531
|
+
#
|
13532
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
13533
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
13534
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
13535
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
13536
|
+
# may be rejected).
|
13537
|
+
#
|
13538
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
13539
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/stop_pluggable_database.rb.html) to see an example of how to use stop_pluggable_database API.
|
13540
|
+
def stop_pluggable_database(pluggable_database_id, opts = {})
|
13541
|
+
logger.debug 'Calling operation DatabaseClient#stop_pluggable_database.' if logger
|
13542
|
+
|
13543
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling stop_pluggable_database." if pluggable_database_id.nil?
|
13544
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
13545
|
+
|
13546
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}/actions/stop'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
13547
|
+
operation_signing_strategy = :standard
|
13548
|
+
|
13549
|
+
# rubocop:disable Style/NegatedIf
|
13550
|
+
# Query Params
|
13551
|
+
query_params = {}
|
13552
|
+
|
13553
|
+
# Header Params
|
13554
|
+
header_params = {}
|
13555
|
+
header_params[:accept] = 'application/json'
|
13556
|
+
header_params[:'content-type'] = 'application/json'
|
13557
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
13558
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
13559
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
13560
|
+
# rubocop:enable Style/NegatedIf
|
13561
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
13562
|
+
|
13563
|
+
post_body = nil
|
13564
|
+
|
13565
|
+
# rubocop:disable Metrics/BlockLength
|
13566
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#stop_pluggable_database') do
|
13567
|
+
@api_client.call_api(
|
13568
|
+
:POST,
|
13569
|
+
path,
|
13570
|
+
endpoint,
|
13571
|
+
header_params: header_params,
|
13572
|
+
query_params: query_params,
|
13573
|
+
operation_signing_strategy: operation_signing_strategy,
|
13574
|
+
body: post_body,
|
13575
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
13576
|
+
)
|
13577
|
+
end
|
13578
|
+
# rubocop:enable Metrics/BlockLength
|
13579
|
+
end
|
13580
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
13581
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
13582
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
13583
|
+
|
13584
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
13585
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
13586
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
13587
|
+
|
13588
|
+
|
12534
13589
|
# Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.
|
12535
13590
|
#
|
12536
13591
|
# A switchover incurs no data loss.
|
@@ -12594,7 +13649,7 @@ module OCI
|
|
12594
13649
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
12595
13650
|
|
12596
13651
|
|
12597
|
-
# Initiates a switchover of the specified Autonomous Database to the associated standby database. Applicable only to databases with Autonomous Data Guard enabled.
|
13652
|
+
# Initiates a switchover of the specified Autonomous Database to the associated standby database. Applicable only to databases with Autonomous Data Guard enabled. To perform a switchover to a standby located in a remote region, specify the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote standby using the `peerDbId` parameter.
|
12598
13653
|
#
|
12599
13654
|
# @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
12600
13655
|
# @param [Hash] opts the optional parameters
|
@@ -12612,6 +13667,7 @@ module OCI
|
|
12612
13667
|
#
|
12613
13668
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
12614
13669
|
#
|
13670
|
+
# @option opts [String] :peer_db_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Guard standby database located in a different (remote) region from the source primary Autonomous Database.
|
12615
13671
|
# @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
|
12616
13672
|
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/switchover_autonomous_database.rb.html) to see an example of how to use switchover_autonomous_database API.
|
12617
13673
|
def switchover_autonomous_database(autonomous_database_id, opts = {})
|
@@ -12626,6 +13682,7 @@ module OCI
|
|
12626
13682
|
# rubocop:disable Style/NegatedIf
|
12627
13683
|
# Query Params
|
12628
13684
|
query_params = {}
|
13685
|
+
query_params[:peerDbId] = opts[:peer_db_id] if opts[:peer_db_id]
|
12629
13686
|
|
12630
13687
|
# Header Params
|
12631
13688
|
header_params = {}
|
@@ -13513,6 +14570,72 @@ module OCI
|
|
13513
14570
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
13514
14571
|
|
13515
14572
|
|
14573
|
+
# Updates the Data Guard association the specified database. This API can be used to change the `protectionMode` and `transportType` of the Data Guard association.
|
14574
|
+
#
|
14575
|
+
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
14576
|
+
# @param [String] data_guard_association_id The Data Guard association's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
14577
|
+
# @param [OCI::Database::Models::UpdateDataGuardAssociationDetails] update_data_guard_association_details A request to update Data Guard association of a database.
|
14578
|
+
# @param [Hash] opts the optional parameters
|
14579
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
14580
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
14581
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
14582
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
14583
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
14584
|
+
#
|
14585
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
14586
|
+
#
|
14587
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
|
14588
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_data_guard_association.rb.html) to see an example of how to use update_data_guard_association API.
|
14589
|
+
def update_data_guard_association(database_id, data_guard_association_id, update_data_guard_association_details, opts = {})
|
14590
|
+
logger.debug 'Calling operation DatabaseClient#update_data_guard_association.' if logger
|
14591
|
+
|
14592
|
+
raise "Missing the required parameter 'database_id' when calling update_data_guard_association." if database_id.nil?
|
14593
|
+
raise "Missing the required parameter 'data_guard_association_id' when calling update_data_guard_association." if data_guard_association_id.nil?
|
14594
|
+
raise "Missing the required parameter 'update_data_guard_association_details' when calling update_data_guard_association." if update_data_guard_association_details.nil?
|
14595
|
+
raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
|
14596
|
+
raise "Parameter value for 'data_guard_association_id' must not be blank" if OCI::Internal::Util.blank_string?(data_guard_association_id)
|
14597
|
+
|
14598
|
+
path = '/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}'.sub('{databaseId}', database_id.to_s).sub('{dataGuardAssociationId}', data_guard_association_id.to_s)
|
14599
|
+
operation_signing_strategy = :standard
|
14600
|
+
|
14601
|
+
# rubocop:disable Style/NegatedIf
|
14602
|
+
# Query Params
|
14603
|
+
query_params = {}
|
14604
|
+
|
14605
|
+
# Header Params
|
14606
|
+
header_params = {}
|
14607
|
+
header_params[:accept] = 'application/json'
|
14608
|
+
header_params[:'content-type'] = 'application/json'
|
14609
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
14610
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
14611
|
+
# rubocop:enable Style/NegatedIf
|
14612
|
+
|
14613
|
+
post_body = @api_client.object_to_http_body(update_data_guard_association_details)
|
14614
|
+
|
14615
|
+
# rubocop:disable Metrics/BlockLength
|
14616
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#update_data_guard_association') do
|
14617
|
+
@api_client.call_api(
|
14618
|
+
:PUT,
|
14619
|
+
path,
|
14620
|
+
endpoint,
|
14621
|
+
header_params: header_params,
|
14622
|
+
query_params: query_params,
|
14623
|
+
operation_signing_strategy: operation_signing_strategy,
|
14624
|
+
body: post_body,
|
14625
|
+
return_type: 'OCI::Database::Models::DataGuardAssociation'
|
14626
|
+
)
|
14627
|
+
end
|
14628
|
+
# rubocop:enable Metrics/BlockLength
|
14629
|
+
end
|
14630
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
14631
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
14632
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
14633
|
+
|
14634
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
14635
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
14636
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
14637
|
+
|
14638
|
+
|
13516
14639
|
# Update the specified database based on the request parameters provided.
|
13517
14640
|
#
|
13518
14641
|
# @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
@@ -14270,6 +15393,65 @@ module OCI
|
|
14270
15393
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
14271
15394
|
|
14272
15395
|
|
15396
|
+
# Updates the specified pluggable database.
|
15397
|
+
# @param [String] pluggable_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
15398
|
+
# @param [OCI::Database::Models::UpdatePluggableDatabaseDetails] update_pluggable_database_details Request to perform pluggable database update.
|
15399
|
+
# @param [Hash] opts the optional parameters
|
15400
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
15401
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
15402
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
15403
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
15404
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
15405
|
+
#
|
15406
|
+
# @return [Response] A Response object with data of type {OCI::Database::Models::PluggableDatabase PluggableDatabase}
|
15407
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_pluggable_database.rb.html) to see an example of how to use update_pluggable_database API.
|
15408
|
+
def update_pluggable_database(pluggable_database_id, update_pluggable_database_details, opts = {})
|
15409
|
+
logger.debug 'Calling operation DatabaseClient#update_pluggable_database.' if logger
|
15410
|
+
|
15411
|
+
raise "Missing the required parameter 'pluggable_database_id' when calling update_pluggable_database." if pluggable_database_id.nil?
|
15412
|
+
raise "Missing the required parameter 'update_pluggable_database_details' when calling update_pluggable_database." if update_pluggable_database_details.nil?
|
15413
|
+
raise "Parameter value for 'pluggable_database_id' must not be blank" if OCI::Internal::Util.blank_string?(pluggable_database_id)
|
15414
|
+
|
15415
|
+
path = '/pluggableDatabases/{pluggableDatabaseId}'.sub('{pluggableDatabaseId}', pluggable_database_id.to_s)
|
15416
|
+
operation_signing_strategy = :standard
|
15417
|
+
|
15418
|
+
# rubocop:disable Style/NegatedIf
|
15419
|
+
# Query Params
|
15420
|
+
query_params = {}
|
15421
|
+
|
15422
|
+
# Header Params
|
15423
|
+
header_params = {}
|
15424
|
+
header_params[:accept] = 'application/json'
|
15425
|
+
header_params[:'content-type'] = 'application/json'
|
15426
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
15427
|
+
# rubocop:enable Style/NegatedIf
|
15428
|
+
|
15429
|
+
post_body = @api_client.object_to_http_body(update_pluggable_database_details)
|
15430
|
+
|
15431
|
+
# rubocop:disable Metrics/BlockLength
|
15432
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#update_pluggable_database') do
|
15433
|
+
@api_client.call_api(
|
15434
|
+
:PUT,
|
15435
|
+
path,
|
15436
|
+
endpoint,
|
15437
|
+
header_params: header_params,
|
15438
|
+
query_params: query_params,
|
15439
|
+
operation_signing_strategy: operation_signing_strategy,
|
15440
|
+
body: post_body,
|
15441
|
+
return_type: 'OCI::Database::Models::PluggableDatabase'
|
15442
|
+
)
|
15443
|
+
end
|
15444
|
+
# rubocop:enable Metrics/BlockLength
|
15445
|
+
end
|
15446
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
15447
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
15448
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
15449
|
+
|
15450
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
15451
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
15452
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
15453
|
+
|
15454
|
+
|
14273
15455
|
# Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
|
14274
15456
|
#
|
14275
15457
|
# @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|