oci 2.23.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/oci/analytics/analytics.rb +5 -0
- data/lib/oci/analytics/analytics_client.rb +422 -52
- data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
- data/lib/oci/analytics/models/analytics_instance.rb +32 -15
- data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
- data/lib/oci/analytics/models/capacity.rb +2 -2
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
- data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/feature_bundle.rb +1 -0
- data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
- data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
- data/lib/oci/analytics/models/private_access_channel.rb +13 -13
- data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
- data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
- data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
- data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
- data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
- data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
- data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/work_request.rb +4 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -2
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
- data/lib/oci/analytics/models/work_request_resource.rb +4 -1
- data/lib/oci/analytics/models/work_request_summary.rb +4 -0
- data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
- data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
- data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
- data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
- data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
- data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
- data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
- data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
- data/lib/oci/core/core.rb +5 -0
- data/lib/oci/core/models/boot_volume_backup.rb +87 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/cross_connect.rb +43 -1
- data/lib/oci/core/models/cross_connect_group.rb +63 -4
- data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
- data/lib/oci/core/models/instances.rb +140 -0
- data/lib/oci/core/models/letter_of_authority.rb +31 -4
- data/lib/oci/core/models/loa_extension_data.rb +170 -0
- data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
- data/lib/oci/core/models/retention_duration.rb +189 -0
- data/lib/oci/core/models/supported_capabilities.rb +21 -4
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
- data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/virtual_circuit.rb +80 -1
- data/lib/oci/core/models/volume_backup.rb +87 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
- data/lib/oci/core/models/volume_group_backup.rb +73 -4
- data/lib/oci/core/virtual_network_client.rb +136 -2
- data/lib/oci/database/database.rb +13 -0
- data/lib/oci/database/database_client.rb +923 -111
- data/lib/oci/database/database_client_composite_operations.rb +283 -0
- data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
- data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
- data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +1 -0
- data/lib/oci/database/models/database_software_image_summary.rb +1 -0
- data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
- data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
- data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
- data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/update.rb +94 -1
- data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
- data/lib/oci/database/models/update_details.rb +33 -1
- data/lib/oci/database/models/update_history_entry.rb +39 -1
- data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/update_summary.rb +94 -1
- data/lib/oci/database/models/vm_cluster.rb +28 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/vm_cluster_update.rb +94 -1
- data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
- data/lib/oci/file_storage/models/file_system.rb +37 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
- data/lib/oci/file_storage/models/snapshot.rb +19 -4
- data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
- data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
- data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
- data/lib/oci/golden_gate/golden_gate.rb +29 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
- data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
- data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
- data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
- data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
- data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
- data/lib/oci/golden_gate/models/connection.rb +43 -6
- data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
- data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
- data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
- data/lib/oci/golden_gate/models/connection_type.rb +2 -1
- data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
- data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
- data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
- data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/technology_type.rb +6 -1
- data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/version.rb +1 -1
- metadata +55 -2
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
|
5
|
+
require 'date'
|
|
6
|
+
require_relative 'ai_model_auth_details_summary'
|
|
7
|
+
|
|
8
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
9
|
+
module OCI
|
|
10
|
+
# Summary of API key authentication details for an AI Model connection.
|
|
11
|
+
#
|
|
12
|
+
class GoldenGate::Models::ApiKeyAiModelAuthDetailsSummary < GoldenGate::Models::AiModelAuthDetailsSummary
|
|
13
|
+
# Base URL of the AI model endpoint.
|
|
14
|
+
# If not specified, the default base URL for the selected AI provider will be used.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :base_url
|
|
18
|
+
|
|
19
|
+
# API key secret OCID for the AI model connection.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :api_key_secret_id
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
# rubocop:disable Style/SymbolLiteral
|
|
28
|
+
'auth_type': :'authType',
|
|
29
|
+
'base_url': :'baseUrl',
|
|
30
|
+
'api_key_secret_id': :'apiKeySecretId'
|
|
31
|
+
# rubocop:enable Style/SymbolLiteral
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.swagger_types
|
|
37
|
+
{
|
|
38
|
+
# rubocop:disable Style/SymbolLiteral
|
|
39
|
+
'auth_type': :'String',
|
|
40
|
+
'base_url': :'String',
|
|
41
|
+
'api_key_secret_id': :'String'
|
|
42
|
+
# rubocop:enable Style/SymbolLiteral
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
47
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
# @option attributes [String] :base_url The value to assign to the {#base_url} property
|
|
53
|
+
# @option attributes [String] :api_key_secret_id The value to assign to the {#api_key_secret_id} property
|
|
54
|
+
def initialize(attributes = {})
|
|
55
|
+
return unless attributes.is_a?(Hash)
|
|
56
|
+
|
|
57
|
+
attributes['authType'] = 'API_KEY'
|
|
58
|
+
|
|
59
|
+
super(attributes)
|
|
60
|
+
|
|
61
|
+
# convert string to symbol for hash key
|
|
62
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
63
|
+
|
|
64
|
+
self.base_url = attributes[:'baseUrl'] if attributes[:'baseUrl']
|
|
65
|
+
|
|
66
|
+
raise 'You cannot provide both :baseUrl and :base_url' if attributes.key?(:'baseUrl') && attributes.key?(:'base_url')
|
|
67
|
+
|
|
68
|
+
self.base_url = attributes[:'base_url'] if attributes[:'base_url']
|
|
69
|
+
|
|
70
|
+
self.api_key_secret_id = attributes[:'apiKeySecretId'] if attributes[:'apiKeySecretId']
|
|
71
|
+
|
|
72
|
+
raise 'You cannot provide both :apiKeySecretId and :api_key_secret_id' if attributes.key?(:'apiKeySecretId') && attributes.key?(:'api_key_secret_id')
|
|
73
|
+
|
|
74
|
+
self.api_key_secret_id = attributes[:'api_key_secret_id'] if attributes[:'api_key_secret_id']
|
|
75
|
+
end
|
|
76
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
77
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
78
|
+
|
|
79
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Checks equality by comparing each attribute.
|
|
83
|
+
# @param [Object] other the other object to be compared
|
|
84
|
+
def ==(other)
|
|
85
|
+
return true if equal?(other)
|
|
86
|
+
|
|
87
|
+
self.class == other.class &&
|
|
88
|
+
auth_type == other.auth_type &&
|
|
89
|
+
base_url == other.base_url &&
|
|
90
|
+
api_key_secret_id == other.api_key_secret_id
|
|
91
|
+
end
|
|
92
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
93
|
+
|
|
94
|
+
# @see the `==` method
|
|
95
|
+
# @param [Object] other the other object to be compared
|
|
96
|
+
def eql?(other)
|
|
97
|
+
self == other
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Fixnum] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[auth_type, base_url, api_key_secret_id].hash
|
|
107
|
+
end
|
|
108
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
109
|
+
|
|
110
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# Builds the object from hash
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
# @return [Object] Returns the model itself
|
|
116
|
+
def build_from_hash(attributes)
|
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
|
118
|
+
|
|
119
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
120
|
+
if type =~ /^Array<(.*)>/i
|
|
121
|
+
# check to ensure the input is an array given that the the attribute
|
|
122
|
+
# is documented as an array but the input is not
|
|
123
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
124
|
+
public_method("#{key}=").call(
|
|
125
|
+
attributes[self.class.attribute_map[key]]
|
|
126
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
127
|
+
)
|
|
128
|
+
end
|
|
129
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
130
|
+
public_method("#{key}=").call(
|
|
131
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
132
|
+
)
|
|
133
|
+
end
|
|
134
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
self
|
|
138
|
+
end
|
|
139
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
140
|
+
|
|
141
|
+
# Returns the string representation of the object
|
|
142
|
+
# @return [String] String presentation of the object
|
|
143
|
+
def to_s
|
|
144
|
+
to_hash.to_s
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Returns the object in the form of hash
|
|
148
|
+
# @return [Hash] Returns the object in the form of hash
|
|
149
|
+
def to_hash
|
|
150
|
+
hash = {}
|
|
151
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
152
|
+
value = public_method(attr).call
|
|
153
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
154
|
+
|
|
155
|
+
hash[param] = _to_hash(value)
|
|
156
|
+
end
|
|
157
|
+
hash
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
private
|
|
161
|
+
|
|
162
|
+
# Outputs non-array value in the form of hash
|
|
163
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
164
|
+
# @param [Object] value Any valid value
|
|
165
|
+
# @return [Hash] Returns the value in the form of hash
|
|
166
|
+
def _to_hash(value)
|
|
167
|
+
if value.is_a?(Array)
|
|
168
|
+
value.compact.map { |v| _to_hash(v) }
|
|
169
|
+
elsif value.is_a?(Hash)
|
|
170
|
+
{}.tap do |hash|
|
|
171
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
172
|
+
end
|
|
173
|
+
elsif value.respond_to? :to_hash
|
|
174
|
+
value.to_hash
|
|
175
|
+
else
|
|
176
|
+
value
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -41,6 +41,7 @@ module OCI
|
|
|
41
41
|
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
42
42
|
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
43
43
|
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
44
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze,
|
|
44
45
|
CONNECTION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
45
46
|
].freeze
|
|
46
47
|
|
|
@@ -51,6 +52,7 @@ module OCI
|
|
|
51
52
|
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
|
52
53
|
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
|
53
54
|
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
|
|
55
|
+
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'.freeze,
|
|
54
56
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
55
57
|
].freeze
|
|
56
58
|
|
|
@@ -138,15 +140,30 @@ module OCI
|
|
|
138
140
|
# @return [Array<OCI::GoldenGate::Models::ResourceLock>]
|
|
139
141
|
attr_accessor :locks
|
|
140
142
|
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
#
|
|
143
|
+
# References the OCI Vault that contains the customer-managed encryption key identified by `keyId`.
|
|
144
|
+
#
|
|
145
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
146
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
147
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
148
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
149
|
+
#
|
|
150
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`.
|
|
151
|
+
# If `vaultId` is provided, `keyId` must also be provided.
|
|
144
152
|
#
|
|
145
153
|
# @return [String]
|
|
146
154
|
attr_accessor :vault_id
|
|
147
155
|
|
|
148
|
-
#
|
|
149
|
-
#
|
|
156
|
+
# References the OCI Vault key in the OCI Vault identified by `vaultId`.
|
|
157
|
+
#
|
|
158
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
159
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
160
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
161
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
162
|
+
#
|
|
163
|
+
# The GoldenGate service uses this key to encrypt sensitive information (for example, `password`) that is provided in plain-text connection attributes through the API.
|
|
164
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`. If both `vaultId` and `keyId` are provided,
|
|
165
|
+
# the GoldenGate service uses the specified customer-managed key to encrypt the sensitive data.
|
|
166
|
+
# If neither `vaultId` nor `keyId` is provided, the GoldenGate service uses Oracle-managed encryption keys.
|
|
150
167
|
#
|
|
151
168
|
# @return [String]
|
|
152
169
|
attr_accessor :key_id
|
|
@@ -168,15 +185,34 @@ module OCI
|
|
|
168
185
|
attr_accessor :subnet_id
|
|
169
186
|
|
|
170
187
|
# Controls the network traffic direction to the target:
|
|
171
|
-
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
172
188
|
# SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet.
|
|
173
189
|
# DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected.
|
|
190
|
+
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
191
|
+
#
|
|
192
|
+
# Deprecated: SHARED_SERVICE_ENDPOINT is deprecated. Use another supported routingMethod value, or update existing connections to use a supported routing method.
|
|
193
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
194
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
174
195
|
#
|
|
175
196
|
# @return [String]
|
|
176
197
|
attr_reader :routing_method
|
|
177
198
|
|
|
178
199
|
# Indicates that sensitive attributes are provided via Secrets.
|
|
179
200
|
#
|
|
201
|
+
# Deprecated: This field is deprecated. Sensitive attributes should be provided using the corresponding Secret OCID
|
|
202
|
+
# attributes of the connection (for example, `passwordSecretId`) instead of plain-text attributes. This change follows
|
|
203
|
+
# the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
204
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
205
|
+
#
|
|
206
|
+
# When set to `true`, all sensitive information must be provided as OCI Vault secrets using the corresponding
|
|
207
|
+
# `*SecretId` attributes of the connection (for example, `passwordSecretId`). Plain-text sensitive attributes (for example, `password`) must not be used.
|
|
208
|
+
# This ensures that sensitive information remains stored and managed in the customer's OCI Vault rather than by the GoldenGate service.
|
|
209
|
+
#
|
|
210
|
+
# When set to false, sensitive information must be provided in the corresponding plain-text attributes (for example, `password`) rather than in secret OCID attributes.
|
|
211
|
+
# In this mode, the sensitive information is stored by the GoldenGate service. If `vaultId` and `keyId` are not specified,
|
|
212
|
+
# the GoldenGate service uses Oracle-managed encryption keys to encrypt the stored data.
|
|
213
|
+
#
|
|
214
|
+
# If `vaultId` and `keyId` are provided, the specified customer-managed key is used.
|
|
215
|
+
#
|
|
180
216
|
# @return [BOOLEAN]
|
|
181
217
|
attr_accessor :does_use_secret_ids
|
|
182
218
|
|
|
@@ -274,6 +310,7 @@ module OCI
|
|
|
274
310
|
return 'OCI::GoldenGate::Models::Db2Connection' if type == 'DB2'
|
|
275
311
|
return 'OCI::GoldenGate::Models::ElasticsearchConnection' if type == 'ELASTICSEARCH'
|
|
276
312
|
return 'OCI::GoldenGate::Models::AmazonRedshiftConnection' if type == 'AMAZON_REDSHIFT'
|
|
313
|
+
return 'OCI::GoldenGate::Models::AiModelConnection' if type == 'AI_MODEL'
|
|
277
314
|
return 'OCI::GoldenGate::Models::AmazonS3Connection' if type == 'AMAZON_S3'
|
|
278
315
|
return 'OCI::GoldenGate::Models::MongoDbConnection' if type == 'MONGODB'
|
|
279
316
|
return 'OCI::GoldenGate::Models::HdfsConnection' if type == 'HDFS'
|
|
@@ -11,6 +11,40 @@ module OCI
|
|
|
11
11
|
# Before you can use a connection as a GoldenGate source or target, you must assign it to a deployment.
|
|
12
12
|
#
|
|
13
13
|
class GoldenGate::Models::ConnectionAssignment
|
|
14
|
+
CONNECTION_TYPE_ENUM = [
|
|
15
|
+
CONNECTION_TYPE_GOLDENGATE = 'GOLDENGATE'.freeze,
|
|
16
|
+
CONNECTION_TYPE_KAFKA = 'KAFKA'.freeze,
|
|
17
|
+
CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRY = 'KAFKA_SCHEMA_REGISTRY'.freeze,
|
|
18
|
+
CONNECTION_TYPE_MYSQL = 'MYSQL'.freeze,
|
|
19
|
+
CONNECTION_TYPE_JAVA_MESSAGE_SERVICE = 'JAVA_MESSAGE_SERVICE'.freeze,
|
|
20
|
+
CONNECTION_TYPE_MICROSOFT_SQLSERVER = 'MICROSOFT_SQLSERVER'.freeze,
|
|
21
|
+
CONNECTION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'.freeze,
|
|
22
|
+
CONNECTION_TYPE_ORACLE = 'ORACLE'.freeze,
|
|
23
|
+
CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGE = 'AZURE_DATA_LAKE_STORAGE'.freeze,
|
|
24
|
+
CONNECTION_TYPE_POSTGRESQL = 'POSTGRESQL'.freeze,
|
|
25
|
+
CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICS = 'AZURE_SYNAPSE_ANALYTICS'.freeze,
|
|
26
|
+
CONNECTION_TYPE_SNOWFLAKE = 'SNOWFLAKE'.freeze,
|
|
27
|
+
CONNECTION_TYPE_AMAZON_S3 = 'AMAZON_S3'.freeze,
|
|
28
|
+
CONNECTION_TYPE_HDFS = 'HDFS'.freeze,
|
|
29
|
+
CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORM = 'ORACLE_AI_DATA_PLATFORM'.freeze,
|
|
30
|
+
CONNECTION_TYPE_ORACLE_NOSQL = 'ORACLE_NOSQL'.freeze,
|
|
31
|
+
CONNECTION_TYPE_MONGODB = 'MONGODB'.freeze,
|
|
32
|
+
CONNECTION_TYPE_AMAZON_KINESIS = 'AMAZON_KINESIS'.freeze,
|
|
33
|
+
CONNECTION_TYPE_AMAZON_REDSHIFT = 'AMAZON_REDSHIFT'.freeze,
|
|
34
|
+
CONNECTION_TYPE_DB2 = 'DB2'.freeze,
|
|
35
|
+
CONNECTION_TYPE_REDIS = 'REDIS'.freeze,
|
|
36
|
+
CONNECTION_TYPE_ELASTICSEARCH = 'ELASTICSEARCH'.freeze,
|
|
37
|
+
CONNECTION_TYPE_GENERIC = 'GENERIC'.freeze,
|
|
38
|
+
CONNECTION_TYPE_GOOGLE_CLOUD_STORAGE = 'GOOGLE_CLOUD_STORAGE'.freeze,
|
|
39
|
+
CONNECTION_TYPE_GOOGLE_BIGQUERY = 'GOOGLE_BIGQUERY'.freeze,
|
|
40
|
+
CONNECTION_TYPE_DATABRICKS = 'DATABRICKS'.freeze,
|
|
41
|
+
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
42
|
+
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
43
|
+
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
44
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze,
|
|
45
|
+
CONNECTION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
46
|
+
].freeze
|
|
47
|
+
|
|
14
48
|
LIFECYCLE_STATE_ENUM = [
|
|
15
49
|
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
16
50
|
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
|
|
@@ -32,6 +66,11 @@ module OCI
|
|
|
32
66
|
# @return [String]
|
|
33
67
|
attr_accessor :connection_id
|
|
34
68
|
|
|
69
|
+
# **[Required]** The connection type.
|
|
70
|
+
#
|
|
71
|
+
# @return [String]
|
|
72
|
+
attr_reader :connection_type
|
|
73
|
+
|
|
35
74
|
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced.
|
|
36
75
|
#
|
|
37
76
|
# @return [String]
|
|
@@ -69,6 +108,7 @@ module OCI
|
|
|
69
108
|
# rubocop:disable Style/SymbolLiteral
|
|
70
109
|
'id': :'id',
|
|
71
110
|
'connection_id': :'connectionId',
|
|
111
|
+
'connection_type': :'connectionType',
|
|
72
112
|
'deployment_id': :'deploymentId',
|
|
73
113
|
'alias_name': :'aliasName',
|
|
74
114
|
'compartment_id': :'compartmentId',
|
|
@@ -85,6 +125,7 @@ module OCI
|
|
|
85
125
|
# rubocop:disable Style/SymbolLiteral
|
|
86
126
|
'id': :'String',
|
|
87
127
|
'connection_id': :'String',
|
|
128
|
+
'connection_type': :'String',
|
|
88
129
|
'deployment_id': :'String',
|
|
89
130
|
'alias_name': :'String',
|
|
90
131
|
'compartment_id': :'String',
|
|
@@ -103,6 +144,7 @@ module OCI
|
|
|
103
144
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
104
145
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
105
146
|
# @option attributes [String] :connection_id The value to assign to the {#connection_id} property
|
|
147
|
+
# @option attributes [String] :connection_type The value to assign to the {#connection_type} property
|
|
106
148
|
# @option attributes [String] :deployment_id The value to assign to the {#deployment_id} property
|
|
107
149
|
# @option attributes [String] :alias_name The value to assign to the {#alias_name} property
|
|
108
150
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
@@ -123,6 +165,12 @@ module OCI
|
|
|
123
165
|
|
|
124
166
|
self.connection_id = attributes[:'connection_id'] if attributes[:'connection_id']
|
|
125
167
|
|
|
168
|
+
self.connection_type = attributes[:'connectionType'] if attributes[:'connectionType']
|
|
169
|
+
|
|
170
|
+
raise 'You cannot provide both :connectionType and :connection_type' if attributes.key?(:'connectionType') && attributes.key?(:'connection_type')
|
|
171
|
+
|
|
172
|
+
self.connection_type = attributes[:'connection_type'] if attributes[:'connection_type']
|
|
173
|
+
|
|
126
174
|
self.deployment_id = attributes[:'deploymentId'] if attributes[:'deploymentId']
|
|
127
175
|
|
|
128
176
|
raise 'You cannot provide both :deploymentId and :deployment_id' if attributes.key?(:'deploymentId') && attributes.key?(:'deployment_id')
|
|
@@ -162,6 +210,19 @@ module OCI
|
|
|
162
210
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
163
211
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
164
212
|
|
|
213
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
214
|
+
# @param [Object] connection_type Object to be assigned
|
|
215
|
+
def connection_type=(connection_type)
|
|
216
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
217
|
+
if connection_type && !CONNECTION_TYPE_ENUM.include?(connection_type)
|
|
218
|
+
OCI.logger.debug("Unknown value for 'connection_type' [" + connection_type + "]. Mapping to 'CONNECTION_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
219
|
+
@connection_type = CONNECTION_TYPE_UNKNOWN_ENUM_VALUE
|
|
220
|
+
else
|
|
221
|
+
@connection_type = connection_type
|
|
222
|
+
end
|
|
223
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
224
|
+
end
|
|
225
|
+
|
|
165
226
|
# Custom attribute writer method checking allowed values (enum).
|
|
166
227
|
# @param [Object] lifecycle_state Object to be assigned
|
|
167
228
|
def lifecycle_state=(lifecycle_state)
|
|
@@ -186,6 +247,7 @@ module OCI
|
|
|
186
247
|
self.class == other.class &&
|
|
187
248
|
id == other.id &&
|
|
188
249
|
connection_id == other.connection_id &&
|
|
250
|
+
connection_type == other.connection_type &&
|
|
189
251
|
deployment_id == other.deployment_id &&
|
|
190
252
|
alias_name == other.alias_name &&
|
|
191
253
|
compartment_id == other.compartment_id &&
|
|
@@ -207,7 +269,7 @@ module OCI
|
|
|
207
269
|
# Calculates hash code according to all attributes.
|
|
208
270
|
# @return [Fixnum] Hash code
|
|
209
271
|
def hash
|
|
210
|
-
[id, connection_id, deployment_id, alias_name, compartment_id, lifecycle_state, time_created, time_updated].hash
|
|
272
|
+
[id, connection_id, connection_type, deployment_id, alias_name, compartment_id, lifecycle_state, time_created, time_updated].hash
|
|
211
273
|
end
|
|
212
274
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
213
275
|
|
|
@@ -3,11 +3,46 @@
|
|
|
3
3
|
|
|
4
4
|
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
|
5
5
|
require 'date'
|
|
6
|
+
require 'logger'
|
|
6
7
|
|
|
7
8
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
9
|
module OCI
|
|
9
10
|
# Summary of the Connection Assignment.
|
|
10
11
|
class GoldenGate::Models::ConnectionAssignmentSummary
|
|
12
|
+
CONNECTION_TYPE_ENUM = [
|
|
13
|
+
CONNECTION_TYPE_GOLDENGATE = 'GOLDENGATE'.freeze,
|
|
14
|
+
CONNECTION_TYPE_KAFKA = 'KAFKA'.freeze,
|
|
15
|
+
CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRY = 'KAFKA_SCHEMA_REGISTRY'.freeze,
|
|
16
|
+
CONNECTION_TYPE_MYSQL = 'MYSQL'.freeze,
|
|
17
|
+
CONNECTION_TYPE_JAVA_MESSAGE_SERVICE = 'JAVA_MESSAGE_SERVICE'.freeze,
|
|
18
|
+
CONNECTION_TYPE_MICROSOFT_SQLSERVER = 'MICROSOFT_SQLSERVER'.freeze,
|
|
19
|
+
CONNECTION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'.freeze,
|
|
20
|
+
CONNECTION_TYPE_ORACLE = 'ORACLE'.freeze,
|
|
21
|
+
CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGE = 'AZURE_DATA_LAKE_STORAGE'.freeze,
|
|
22
|
+
CONNECTION_TYPE_POSTGRESQL = 'POSTGRESQL'.freeze,
|
|
23
|
+
CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICS = 'AZURE_SYNAPSE_ANALYTICS'.freeze,
|
|
24
|
+
CONNECTION_TYPE_SNOWFLAKE = 'SNOWFLAKE'.freeze,
|
|
25
|
+
CONNECTION_TYPE_AMAZON_S3 = 'AMAZON_S3'.freeze,
|
|
26
|
+
CONNECTION_TYPE_HDFS = 'HDFS'.freeze,
|
|
27
|
+
CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORM = 'ORACLE_AI_DATA_PLATFORM'.freeze,
|
|
28
|
+
CONNECTION_TYPE_ORACLE_NOSQL = 'ORACLE_NOSQL'.freeze,
|
|
29
|
+
CONNECTION_TYPE_MONGODB = 'MONGODB'.freeze,
|
|
30
|
+
CONNECTION_TYPE_AMAZON_KINESIS = 'AMAZON_KINESIS'.freeze,
|
|
31
|
+
CONNECTION_TYPE_AMAZON_REDSHIFT = 'AMAZON_REDSHIFT'.freeze,
|
|
32
|
+
CONNECTION_TYPE_DB2 = 'DB2'.freeze,
|
|
33
|
+
CONNECTION_TYPE_REDIS = 'REDIS'.freeze,
|
|
34
|
+
CONNECTION_TYPE_ELASTICSEARCH = 'ELASTICSEARCH'.freeze,
|
|
35
|
+
CONNECTION_TYPE_GENERIC = 'GENERIC'.freeze,
|
|
36
|
+
CONNECTION_TYPE_GOOGLE_CLOUD_STORAGE = 'GOOGLE_CLOUD_STORAGE'.freeze,
|
|
37
|
+
CONNECTION_TYPE_GOOGLE_BIGQUERY = 'GOOGLE_BIGQUERY'.freeze,
|
|
38
|
+
CONNECTION_TYPE_DATABRICKS = 'DATABRICKS'.freeze,
|
|
39
|
+
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
40
|
+
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
41
|
+
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
42
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze,
|
|
43
|
+
CONNECTION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
44
|
+
].freeze
|
|
45
|
+
|
|
11
46
|
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being
|
|
12
47
|
# referenced.
|
|
13
48
|
#
|
|
@@ -25,6 +60,11 @@ module OCI
|
|
|
25
60
|
# @return [String]
|
|
26
61
|
attr_accessor :connection_id
|
|
27
62
|
|
|
63
|
+
# **[Required]** The connection type.
|
|
64
|
+
#
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_reader :connection_type
|
|
67
|
+
|
|
28
68
|
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the deployment being referenced.
|
|
29
69
|
#
|
|
30
70
|
# @return [String]
|
|
@@ -58,6 +98,7 @@ module OCI
|
|
|
58
98
|
'id': :'id',
|
|
59
99
|
'compartment_id': :'compartmentId',
|
|
60
100
|
'connection_id': :'connectionId',
|
|
101
|
+
'connection_type': :'connectionType',
|
|
61
102
|
'deployment_id': :'deploymentId',
|
|
62
103
|
'alias_name': :'aliasName',
|
|
63
104
|
'lifecycle_state': :'lifecycleState',
|
|
@@ -74,6 +115,7 @@ module OCI
|
|
|
74
115
|
'id': :'String',
|
|
75
116
|
'compartment_id': :'String',
|
|
76
117
|
'connection_id': :'String',
|
|
118
|
+
'connection_type': :'String',
|
|
77
119
|
'deployment_id': :'String',
|
|
78
120
|
'alias_name': :'String',
|
|
79
121
|
'lifecycle_state': :'String',
|
|
@@ -92,6 +134,7 @@ module OCI
|
|
|
92
134
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
93
135
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
94
136
|
# @option attributes [String] :connection_id The value to assign to the {#connection_id} property
|
|
137
|
+
# @option attributes [String] :connection_type The value to assign to the {#connection_type} property
|
|
95
138
|
# @option attributes [String] :deployment_id The value to assign to the {#deployment_id} property
|
|
96
139
|
# @option attributes [String] :alias_name The value to assign to the {#alias_name} property
|
|
97
140
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
@@ -117,6 +160,12 @@ module OCI
|
|
|
117
160
|
|
|
118
161
|
self.connection_id = attributes[:'connection_id'] if attributes[:'connection_id']
|
|
119
162
|
|
|
163
|
+
self.connection_type = attributes[:'connectionType'] if attributes[:'connectionType']
|
|
164
|
+
|
|
165
|
+
raise 'You cannot provide both :connectionType and :connection_type' if attributes.key?(:'connectionType') && attributes.key?(:'connection_type')
|
|
166
|
+
|
|
167
|
+
self.connection_type = attributes[:'connection_type'] if attributes[:'connection_type']
|
|
168
|
+
|
|
120
169
|
self.deployment_id = attributes[:'deploymentId'] if attributes[:'deploymentId']
|
|
121
170
|
|
|
122
171
|
raise 'You cannot provide both :deploymentId and :deployment_id' if attributes.key?(:'deploymentId') && attributes.key?(:'deployment_id')
|
|
@@ -150,6 +199,19 @@ module OCI
|
|
|
150
199
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
151
200
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
152
201
|
|
|
202
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
203
|
+
# @param [Object] connection_type Object to be assigned
|
|
204
|
+
def connection_type=(connection_type)
|
|
205
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
206
|
+
if connection_type && !CONNECTION_TYPE_ENUM.include?(connection_type)
|
|
207
|
+
OCI.logger.debug("Unknown value for 'connection_type' [" + connection_type + "]. Mapping to 'CONNECTION_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
208
|
+
@connection_type = CONNECTION_TYPE_UNKNOWN_ENUM_VALUE
|
|
209
|
+
else
|
|
210
|
+
@connection_type = connection_type
|
|
211
|
+
end
|
|
212
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
213
|
+
end
|
|
214
|
+
|
|
153
215
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
154
216
|
|
|
155
217
|
|
|
@@ -162,6 +224,7 @@ module OCI
|
|
|
162
224
|
id == other.id &&
|
|
163
225
|
compartment_id == other.compartment_id &&
|
|
164
226
|
connection_id == other.connection_id &&
|
|
227
|
+
connection_type == other.connection_type &&
|
|
165
228
|
deployment_id == other.deployment_id &&
|
|
166
229
|
alias_name == other.alias_name &&
|
|
167
230
|
lifecycle_state == other.lifecycle_state &&
|
|
@@ -182,7 +245,7 @@ module OCI
|
|
|
182
245
|
# Calculates hash code according to all attributes.
|
|
183
246
|
# @return [Fixnum] Hash code
|
|
184
247
|
def hash
|
|
185
|
-
[id, compartment_id, connection_id, deployment_id, alias_name, lifecycle_state, time_created, time_updated].hash
|
|
248
|
+
[id, compartment_id, connection_id, connection_type, deployment_id, alias_name, lifecycle_state, time_created, time_updated].hash
|
|
186
249
|
end
|
|
187
250
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
188
251
|
|
|
@@ -41,6 +41,7 @@ module OCI
|
|
|
41
41
|
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
42
42
|
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
43
43
|
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
44
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze,
|
|
44
45
|
CONNECTION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
45
46
|
].freeze
|
|
46
47
|
|
|
@@ -124,15 +125,30 @@ module OCI
|
|
|
124
125
|
# @return [DateTime]
|
|
125
126
|
attr_accessor :time_updated
|
|
126
127
|
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
128
|
+
# References the OCI Vault that contains the customer-managed encryption key identified by `keyId`.
|
|
129
|
+
#
|
|
130
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
131
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
132
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
133
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
134
|
+
#
|
|
135
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`.
|
|
136
|
+
# If `vaultId` is provided, `keyId` must also be provided.
|
|
130
137
|
#
|
|
131
138
|
# @return [String]
|
|
132
139
|
attr_accessor :vault_id
|
|
133
140
|
|
|
134
|
-
#
|
|
135
|
-
#
|
|
141
|
+
# References the OCI Vault key in the OCI Vault identified by `vaultId`.
|
|
142
|
+
#
|
|
143
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
144
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
145
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
146
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
147
|
+
#
|
|
148
|
+
# The GoldenGate service uses this key to encrypt sensitive information (for example, `password`) that is provided in plain-text connection attributes through the API.
|
|
149
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`. If both `vaultId` and `keyId` are provided,
|
|
150
|
+
# the GoldenGate service uses the specified customer-managed key to encrypt the sensitive data.
|
|
151
|
+
# If neither `vaultId` nor `keyId` is provided, the GoldenGate service uses Oracle-managed encryption keys.
|
|
136
152
|
#
|
|
137
153
|
# @return [String]
|
|
138
154
|
attr_accessor :key_id
|
|
@@ -154,9 +170,13 @@ module OCI
|
|
|
154
170
|
attr_accessor :subnet_id
|
|
155
171
|
|
|
156
172
|
# Controls the network traffic direction to the target:
|
|
157
|
-
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
158
173
|
# SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet.
|
|
159
174
|
# DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected.
|
|
175
|
+
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
176
|
+
#
|
|
177
|
+
# Deprecated: SHARED_SERVICE_ENDPOINT is deprecated. Use another supported routingMethod value, or update existing connections to use a supported routing method.
|
|
178
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
179
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
160
180
|
#
|
|
161
181
|
# @return [String]
|
|
162
182
|
attr_reader :routing_method
|
|
@@ -167,6 +187,21 @@ module OCI
|
|
|
167
187
|
|
|
168
188
|
# Indicates that sensitive attributes are provided via Secrets.
|
|
169
189
|
#
|
|
190
|
+
# Deprecated: This field is deprecated. Sensitive attributes should be provided using the corresponding Secret OCID
|
|
191
|
+
# attributes of the connection (for example, `passwordSecretId`) instead of plain-text attributes. This change follows
|
|
192
|
+
# the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
193
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
194
|
+
#
|
|
195
|
+
# When set to `true`, all sensitive information must be provided as OCI Vault secrets using the corresponding
|
|
196
|
+
# `*SecretId` attributes of the connection (for example, `passwordSecretId`). Plain-text sensitive attributes (for example, `password`) must not be used.
|
|
197
|
+
# This ensures that sensitive information remains stored and managed in the customer's OCI Vault rather than by the GoldenGate service.
|
|
198
|
+
#
|
|
199
|
+
# When set to false, sensitive information must be provided in the corresponding plain-text attributes (for example, `password`) rather than in secret OCID attributes.
|
|
200
|
+
# In this mode, the sensitive information is stored by the GoldenGate service. If `vaultId` and `keyId` are not specified,
|
|
201
|
+
# the GoldenGate service uses Oracle-managed encryption keys to encrypt the stored data.
|
|
202
|
+
#
|
|
203
|
+
# If `vaultId` and `keyId` are provided, the specified customer-managed key is used.
|
|
204
|
+
#
|
|
170
205
|
# @return [BOOLEAN]
|
|
171
206
|
attr_accessor :does_use_secret_ids
|
|
172
207
|
|
|
@@ -284,6 +319,7 @@ module OCI
|
|
|
284
319
|
return 'OCI::GoldenGate::Models::PostgresqlConnectionSummary' if type == 'POSTGRESQL'
|
|
285
320
|
return 'OCI::GoldenGate::Models::GenericConnectionSummary' if type == 'GENERIC'
|
|
286
321
|
return 'OCI::GoldenGate::Models::KafkaConnectionSummary' if type == 'KAFKA'
|
|
322
|
+
return 'OCI::GoldenGate::Models::AiModelConnectionSummary' if type == 'AI_MODEL'
|
|
287
323
|
return 'OCI::GoldenGate::Models::Db2ConnectionSummary' if type == 'DB2'
|
|
288
324
|
return 'OCI::GoldenGate::Models::AmazonRedshiftConnectionSummary' if type == 'AMAZON_REDSHIFT'
|
|
289
325
|
return 'OCI::GoldenGate::Models::DatabricksConnectionSummary' if type == 'DATABRICKS'
|
|
@@ -34,7 +34,8 @@ module OCI
|
|
|
34
34
|
CONNECTION_TYPE_DATABRICKS = 'DATABRICKS'.freeze,
|
|
35
35
|
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
36
36
|
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
37
|
-
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze
|
|
37
|
+
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
38
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze
|
|
38
39
|
].freeze
|
|
39
40
|
end
|
|
40
41
|
end
|