UpdateOciObjectStorageConnectionDetails¶
-
class
oci.golden_gate.models.UpdateOciObjectStorageConnectionDetails(**kwargs)¶ Bases:
oci.golden_gate.models.update_connection_details.UpdateConnectionDetailsThe information to update a OCI Object Storage Connection.
Attributes
CONNECTION_TYPE_AI_MODELstr(object=’’) -> str CONNECTION_TYPE_AMAZON_KINESISstr(object=’’) -> str CONNECTION_TYPE_AMAZON_REDSHIFTstr(object=’’) -> str CONNECTION_TYPE_AMAZON_S3str(object=’’) -> str CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGEstr(object=’’) -> str CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICSstr(object=’’) -> str CONNECTION_TYPE_DATABRICKSstr(object=’’) -> str CONNECTION_TYPE_DB2str(object=’’) -> str CONNECTION_TYPE_ELASTICSEARCHstr(object=’’) -> str CONNECTION_TYPE_GENERICstr(object=’’) -> str CONNECTION_TYPE_GOLDENGATEstr(object=’’) -> str CONNECTION_TYPE_GOOGLE_BIGQUERYstr(object=’’) -> str CONNECTION_TYPE_GOOGLE_CLOUD_STORAGEstr(object=’’) -> str CONNECTION_TYPE_GOOGLE_PUBSUBstr(object=’’) -> str CONNECTION_TYPE_HDFSstr(object=’’) -> str CONNECTION_TYPE_ICEBERGstr(object=’’) -> str CONNECTION_TYPE_JAVA_MESSAGE_SERVICEstr(object=’’) -> str CONNECTION_TYPE_KAFKAstr(object=’’) -> str CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRYstr(object=’’) -> str CONNECTION_TYPE_MICROSOFT_FABRICstr(object=’’) -> str CONNECTION_TYPE_MICROSOFT_SQLSERVERstr(object=’’) -> str CONNECTION_TYPE_MONGODBstr(object=’’) -> str CONNECTION_TYPE_MYSQLstr(object=’’) -> str CONNECTION_TYPE_OCI_OBJECT_STORAGEstr(object=’’) -> str CONNECTION_TYPE_ORACLEstr(object=’’) -> str CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORMstr(object=’’) -> str CONNECTION_TYPE_ORACLE_NOSQLstr(object=’’) -> str CONNECTION_TYPE_POSTGRESQLstr(object=’’) -> str CONNECTION_TYPE_REDISstr(object=’’) -> str CONNECTION_TYPE_SNOWFLAKEstr(object=’’) -> str ROUTING_METHOD_DEDICATED_ENDPOINTstr(object=’’) -> str ROUTING_METHOD_SHARED_DEPLOYMENT_ENDPOINTstr(object=’’) -> str ROUTING_METHOD_SHARED_SERVICE_ENDPOINTstr(object=’’) -> str connection_typeGets the connection_type of this UpdateConnectionDetails. defined_tagsGets the defined_tags of this UpdateConnectionDetails. descriptionGets the description of this UpdateConnectionDetails. display_nameGets the display_name of this UpdateConnectionDetails. does_use_secret_idsGets the does_use_secret_ids of this UpdateConnectionDetails. freeform_tagsGets the freeform_tags of this UpdateConnectionDetails. key_idGets the key_id of this UpdateConnectionDetails. nsg_idsGets the nsg_ids of this UpdateConnectionDetails. private_key_fileGets the private_key_file of this UpdateOciObjectStorageConnectionDetails. private_key_file_secret_idGets the private_key_file_secret_id of this UpdateOciObjectStorageConnectionDetails. private_key_passphraseGets the private_key_passphrase of this UpdateOciObjectStorageConnectionDetails. private_key_passphrase_secret_idGets the private_key_passphrase_secret_id of this UpdateOciObjectStorageConnectionDetails. public_key_fingerprintGets the public_key_fingerprint of this UpdateOciObjectStorageConnectionDetails. regionGets the region of this UpdateOciObjectStorageConnectionDetails. routing_methodGets the routing_method of this UpdateConnectionDetails. security_attributesGets the security_attributes of this UpdateConnectionDetails. should_use_resource_principalGets the should_use_resource_principal of this UpdateOciObjectStorageConnectionDetails. subnet_idGets the subnet_id of this UpdateConnectionDetails. tenancy_idGets the tenancy_id of this UpdateOciObjectStorageConnectionDetails. user_idGets the user_id of this UpdateOciObjectStorageConnectionDetails. vault_idGets the vault_id of this UpdateConnectionDetails. Methods
__init__(**kwargs)Initializes a new UpdateOciObjectStorageConnectionDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CONNECTION_TYPE_AI_MODEL= 'AI_MODEL'¶
-
CONNECTION_TYPE_AMAZON_KINESIS= 'AMAZON_KINESIS'¶
-
CONNECTION_TYPE_AMAZON_REDSHIFT= 'AMAZON_REDSHIFT'¶
-
CONNECTION_TYPE_AMAZON_S3= 'AMAZON_S3'¶
-
CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGE= 'AZURE_DATA_LAKE_STORAGE'¶
-
CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICS= 'AZURE_SYNAPSE_ANALYTICS'¶
-
CONNECTION_TYPE_DATABRICKS= 'DATABRICKS'¶
-
CONNECTION_TYPE_DB2= 'DB2'¶
-
CONNECTION_TYPE_ELASTICSEARCH= 'ELASTICSEARCH'¶
-
CONNECTION_TYPE_GENERIC= 'GENERIC'¶
-
CONNECTION_TYPE_GOLDENGATE= 'GOLDENGATE'¶
-
CONNECTION_TYPE_GOOGLE_BIGQUERY= 'GOOGLE_BIGQUERY'¶
-
CONNECTION_TYPE_GOOGLE_CLOUD_STORAGE= 'GOOGLE_CLOUD_STORAGE'¶
-
CONNECTION_TYPE_GOOGLE_PUBSUB= 'GOOGLE_PUBSUB'¶
-
CONNECTION_TYPE_HDFS= 'HDFS'¶
-
CONNECTION_TYPE_ICEBERG= 'ICEBERG'¶
-
CONNECTION_TYPE_JAVA_MESSAGE_SERVICE= 'JAVA_MESSAGE_SERVICE'¶
-
CONNECTION_TYPE_KAFKA= 'KAFKA'¶
-
CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRY= 'KAFKA_SCHEMA_REGISTRY'¶
-
CONNECTION_TYPE_MICROSOFT_FABRIC= 'MICROSOFT_FABRIC'¶
-
CONNECTION_TYPE_MICROSOFT_SQLSERVER= 'MICROSOFT_SQLSERVER'¶
-
CONNECTION_TYPE_MONGODB= 'MONGODB'¶
-
CONNECTION_TYPE_MYSQL= 'MYSQL'¶
-
CONNECTION_TYPE_OCI_OBJECT_STORAGE= 'OCI_OBJECT_STORAGE'¶
-
CONNECTION_TYPE_ORACLE= 'ORACLE'¶
-
CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORM= 'ORACLE_AI_DATA_PLATFORM'¶
-
CONNECTION_TYPE_ORACLE_NOSQL= 'ORACLE_NOSQL'¶
-
CONNECTION_TYPE_POSTGRESQL= 'POSTGRESQL'¶
-
CONNECTION_TYPE_REDIS= 'REDIS'¶
-
CONNECTION_TYPE_SNOWFLAKE= 'SNOWFLAKE'¶
-
ROUTING_METHOD_DEDICATED_ENDPOINT= 'DEDICATED_ENDPOINT'¶
-
ROUTING_METHOD_SHARED_DEPLOYMENT_ENDPOINT= 'SHARED_DEPLOYMENT_ENDPOINT'¶
-
ROUTING_METHOD_SHARED_SERVICE_ENDPOINT= 'SHARED_SERVICE_ENDPOINT'¶
-
__init__(**kwargs)¶ Initializes a new UpdateOciObjectStorageConnectionDetails object with values from keyword arguments. The default value of the
connection_typeattribute of this class isOCI_OBJECT_STORAGEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - connection_type (str) – The value to assign to the connection_type property of this UpdateOciObjectStorageConnectionDetails. Allowed values for this property are: “GOLDENGATE”, “KAFKA”, “KAFKA_SCHEMA_REGISTRY”, “MYSQL”, “JAVA_MESSAGE_SERVICE”, “MICROSOFT_SQLSERVER”, “OCI_OBJECT_STORAGE”, “ORACLE”, “AZURE_DATA_LAKE_STORAGE”, “POSTGRESQL”, “AZURE_SYNAPSE_ANALYTICS”, “SNOWFLAKE”, “AMAZON_S3”, “HDFS”, “ORACLE_AI_DATA_PLATFORM”, “ORACLE_NOSQL”, “MONGODB”, “AMAZON_KINESIS”, “AMAZON_REDSHIFT”, “DB2”, “REDIS”, “ELASTICSEARCH”, “GENERIC”, “GOOGLE_CLOUD_STORAGE”, “GOOGLE_BIGQUERY”, “DATABRICKS”, “GOOGLE_PUBSUB”, “MICROSOFT_FABRIC”, “ICEBERG”, “AI_MODEL”
- display_name (str) – The value to assign to the display_name property of this UpdateOciObjectStorageConnectionDetails.
- description (str) – The value to assign to the description property of this UpdateOciObjectStorageConnectionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOciObjectStorageConnectionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOciObjectStorageConnectionDetails.
- vault_id (str) – The value to assign to the vault_id property of this UpdateOciObjectStorageConnectionDetails.
- key_id (str) – The value to assign to the key_id property of this UpdateOciObjectStorageConnectionDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateOciObjectStorageConnectionDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this UpdateOciObjectStorageConnectionDetails.
- routing_method (str) – The value to assign to the routing_method property of this UpdateOciObjectStorageConnectionDetails. Allowed values for this property are: “SHARED_SERVICE_ENDPOINT”, “SHARED_DEPLOYMENT_ENDPOINT”, “DEDICATED_ENDPOINT”
- does_use_secret_ids (bool) – The value to assign to the does_use_secret_ids property of this UpdateOciObjectStorageConnectionDetails.
- security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this UpdateOciObjectStorageConnectionDetails.
- tenancy_id (str) – The value to assign to the tenancy_id property of this UpdateOciObjectStorageConnectionDetails.
- region (str) – The value to assign to the region property of this UpdateOciObjectStorageConnectionDetails.
- user_id (str) – The value to assign to the user_id property of this UpdateOciObjectStorageConnectionDetails.
- private_key_file (str) – The value to assign to the private_key_file property of this UpdateOciObjectStorageConnectionDetails.
- private_key_file_secret_id (str) – The value to assign to the private_key_file_secret_id property of this UpdateOciObjectStorageConnectionDetails.
- private_key_passphrase (str) – The value to assign to the private_key_passphrase property of this UpdateOciObjectStorageConnectionDetails.
- private_key_passphrase_secret_id (str) – The value to assign to the private_key_passphrase_secret_id property of this UpdateOciObjectStorageConnectionDetails.
- public_key_fingerprint (str) – The value to assign to the public_key_fingerprint property of this UpdateOciObjectStorageConnectionDetails.
- should_use_resource_principal (bool) – The value to assign to the should_use_resource_principal property of this UpdateOciObjectStorageConnectionDetails.
-
connection_type¶ Gets the connection_type of this UpdateConnectionDetails. The connection type.
Allowed values for this property are: “GOLDENGATE”, “KAFKA”, “KAFKA_SCHEMA_REGISTRY”, “MYSQL”, “JAVA_MESSAGE_SERVICE”, “MICROSOFT_SQLSERVER”, “OCI_OBJECT_STORAGE”, “ORACLE”, “AZURE_DATA_LAKE_STORAGE”, “POSTGRESQL”, “AZURE_SYNAPSE_ANALYTICS”, “SNOWFLAKE”, “AMAZON_S3”, “HDFS”, “ORACLE_AI_DATA_PLATFORM”, “ORACLE_NOSQL”, “MONGODB”, “AMAZON_KINESIS”, “AMAZON_REDSHIFT”, “DB2”, “REDIS”, “ELASTICSEARCH”, “GENERIC”, “GOOGLE_CLOUD_STORAGE”, “GOOGLE_BIGQUERY”, “DATABRICKS”, “GOOGLE_PUBSUB”, “MICROSOFT_FABRIC”, “ICEBERG”, “AI_MODEL”
Returns: The connection_type of this UpdateConnectionDetails. Return type: str
Gets the defined_tags of this UpdateConnectionDetails. Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateConnectionDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateConnectionDetails. Metadata about this specific object.
Returns: The description of this UpdateConnectionDetails. Return type: str
-
display_name¶ Gets the display_name of this UpdateConnectionDetails. An object’s Display Name.
Returns: The display_name of this UpdateConnectionDetails. Return type: str
-
does_use_secret_ids¶ Gets the does_use_secret_ids of this UpdateConnectionDetails. Indicates that sensitive attributes are provided via Secrets.
Deprecated: This field is deprecated. Sensitive attributes should be provided using the corresponding Secret OCID attributes of the connection (for example, passwordSecretId) instead of plain-text attributes. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
When set to true, all sensitive information must be provided as OCI Vault secrets using the corresponding *SecretId attributes of the connection (for example, passwordSecretId). Plain-text sensitive attributes (for example, password) must not be used. This ensures that sensitive information remains stored and managed in the customer’s OCI Vault rather than by the GoldenGate service.
When set to false, sensitive information must be provided in the corresponding plain-text attributes (for example, password) rather than in secret OCID attributes. In this mode, the sensitive information is stored by the GoldenGate service. If vaultId and keyId are not specified, the GoldenGate service uses Oracle-managed encryption keys to encrypt the stored data.
If vaultId and keyId are provided, the specified customer-managed key is used.
Returns: The does_use_secret_ids of this UpdateConnectionDetails. Return type: bool
Gets the freeform_tags of this UpdateConnectionDetails. A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateConnectionDetails. Return type: dict(str, str)
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
key_id¶ Gets the key_id of this UpdateConnectionDetails. References the OCI Vault key in the OCI Vault identified by vaultId.
Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the corresponding Secret OCID attributes of the connection (for example, passwordSecretId) instead of plain-text attributes encrypted with vaultId and keyId. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
The GoldenGate service uses this key to encrypt sensitive information (for example, password) that is provided in plain-text connection attributes through the API. This field is applicable only when doesUseSecretIds is set to false. If both vaultId and keyId are provided, the GoldenGate service uses the specified customer-managed key to encrypt the sensitive data. If neither vaultId nor keyId is provided, the GoldenGate service uses Oracle-managed encryption keys.
Returns: The key_id of this UpdateConnectionDetails. Return type: str
-
nsg_ids¶ Gets the nsg_ids of this UpdateConnectionDetails. An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
Returns: The nsg_ids of this UpdateConnectionDetails. Return type: list[str]
-
private_key_file¶ Gets the private_key_file of this UpdateOciObjectStorageConnectionDetails. The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by “privateKeyFileSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
Returns: The private_key_file of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
private_key_file_secret_id¶ Gets the private_key_file_secret_id of this UpdateOciObjectStorageConnectionDetails. The OCID of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, ‘privateKeyFile’ field must not be provided.
Returns: The private_key_file_secret_id of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
private_key_passphrase¶ Gets the private_key_passphrase of this UpdateOciObjectStorageConnectionDetails. The passphrase of the private key. Deprecated: This field is deprecated and replaced by “privateKeyPassphraseSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
Returns: The private_key_passphrase of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
private_key_passphrase_secret_id¶ Gets the private_key_passphrase_secret_id of this UpdateOciObjectStorageConnectionDetails. The OCID of the Secret that stores the passphrase of the private key. Note: When provided, ‘privateKeyPassphrase’ field must not be provided.
Returns: The private_key_passphrase_secret_id of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
public_key_fingerprint¶ Gets the public_key_fingerprint of this UpdateOciObjectStorageConnectionDetails. The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm
Returns: The public_key_fingerprint of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
region¶ Gets the region of this UpdateOciObjectStorageConnectionDetails. The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.
Returns: The region of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
routing_method¶ Gets the routing_method of this UpdateConnectionDetails. Controls the network traffic direction to the target: SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment’s private endpoint through the deployment’s subnet. 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. SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service’s network to public hosts. Cannot be used for private targets.
Deprecated: SHARED_SERVICE_ENDPOINT is deprecated. Use another supported routingMethod value, or update existing connections to use a supported routing method. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
Allowed values for this property are: “SHARED_SERVICE_ENDPOINT”, “SHARED_DEPLOYMENT_ENDPOINT”, “DEDICATED_ENDPOINT”
Returns: The routing_method of this UpdateConnectionDetails. Return type: str
-
security_attributes¶ Gets the security_attributes of this UpdateConnectionDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
Returns: The security_attributes of this UpdateConnectionDetails. Return type: dict(str, dict(str, object))
-
should_use_resource_principal¶ Gets the should_use_resource_principal of this UpdateOciObjectStorageConnectionDetails. Specifies that the user intends to authenticate to the instance using a resource principal. Default: false
Returns: The should_use_resource_principal of this UpdateOciObjectStorageConnectionDetails. Return type: bool
-
subnet_id¶ Gets the subnet_id of this UpdateConnectionDetails. The OCID of the target subnet of the dedicated connection.
Returns: The subnet_id of this UpdateConnectionDetails. Return type: str
-
tenancy_id¶ Gets the tenancy_id of this UpdateOciObjectStorageConnectionDetails. The OCID of the related OCI tenancy.
Returns: The tenancy_id of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
user_id¶ Gets the user_id of this UpdateOciObjectStorageConnectionDetails. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.
Returns: The user_id of this UpdateOciObjectStorageConnectionDetails. Return type: str
-
vault_id¶ Gets the vault_id of this UpdateConnectionDetails. References the OCI Vault that contains the customer-managed encryption key identified by keyId.
Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the corresponding Secret OCID attributes of the connection (for example, passwordSecretId) instead of plain-text attributes encrypted with vaultId and keyId. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
This field is applicable only when doesUseSecretIds is set to false. If vaultId is provided, keyId must also be provided.
Returns: The vault_id of this UpdateConnectionDetails. Return type: str
-