UpdateConnectionFromMySQL

class oci.data_integration.models.UpdateConnectionFromMySQL(**kwargs)

Bases: oci.data_integration.models.update_connection_details.UpdateConnectionDetails

The details to update a MYSQL data asset connection.

Attributes

MODEL_TYPE_GENERIC_JDBC_CONNECTION str(object=’’) -> str
MODEL_TYPE_MYSQL_CONNECTION str(object=’’) -> str
MODEL_TYPE_ORACLEDB_CONNECTION str(object=’’) -> str
MODEL_TYPE_ORACLE_ADWC_CONNECTION str(object=’’) -> str
MODEL_TYPE_ORACLE_ATP_CONNECTION str(object=’’) -> str
MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION str(object=’’) -> str
connection_properties Gets the connection_properties of this UpdateConnectionDetails.
description Gets the description of this UpdateConnectionDetails.
identifier Gets the identifier of this UpdateConnectionDetails.
key [Required] Gets the key of this UpdateConnectionDetails.
model_type [Required] Gets the model_type of this UpdateConnectionDetails.
model_version Gets the model_version of this UpdateConnectionDetails.
name Gets the name of this UpdateConnectionDetails.
object_status Gets the object_status of this UpdateConnectionDetails.
object_version [Required] Gets the object_version of this UpdateConnectionDetails.
parent_ref Gets the parent_ref of this UpdateConnectionDetails.
password Gets the password of this UpdateConnectionFromMySQL.
password_secret Gets the password_secret of this UpdateConnectionFromMySQL.
registry_metadata Gets the registry_metadata of this UpdateConnectionDetails.
username Gets the username of this UpdateConnectionFromMySQL.

Methods

__init__(**kwargs) Initializes a new UpdateConnectionFromMySQL 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.
MODEL_TYPE_GENERIC_JDBC_CONNECTION = 'GENERIC_JDBC_CONNECTION'
MODEL_TYPE_MYSQL_CONNECTION = 'MYSQL_CONNECTION'
MODEL_TYPE_ORACLEDB_CONNECTION = 'ORACLEDB_CONNECTION'
MODEL_TYPE_ORACLE_ADWC_CONNECTION = 'ORACLE_ADWC_CONNECTION'
MODEL_TYPE_ORACLE_ATP_CONNECTION = 'ORACLE_ATP_CONNECTION'
MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION = 'ORACLE_OBJECT_STORAGE_CONNECTION'
__init__(**kwargs)

Initializes a new UpdateConnectionFromMySQL object with values from keyword arguments. The default value of the model_type attribute of this class is MYSQL_CONNECTION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_type (str) – The value to assign to the model_type property of this UpdateConnectionFromMySQL. Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”
  • key (str) – The value to assign to the key property of this UpdateConnectionFromMySQL.
  • model_version (str) – The value to assign to the model_version property of this UpdateConnectionFromMySQL.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this UpdateConnectionFromMySQL.
  • name (str) – The value to assign to the name property of this UpdateConnectionFromMySQL.
  • description (str) – The value to assign to the description property of this UpdateConnectionFromMySQL.
  • object_status (int) – The value to assign to the object_status property of this UpdateConnectionFromMySQL.
  • object_version (int) – The value to assign to the object_version property of this UpdateConnectionFromMySQL.
  • identifier (str) – The value to assign to the identifier property of this UpdateConnectionFromMySQL.
  • connection_properties (list[oci.data_integration.models.ConnectionProperty]) – The value to assign to the connection_properties property of this UpdateConnectionFromMySQL.
  • registry_metadata (oci.data_integration.models.RegistryMetadata) – The value to assign to the registry_metadata property of this UpdateConnectionFromMySQL.
  • username (str) – The value to assign to the username property of this UpdateConnectionFromMySQL.
  • password (str) – The value to assign to the password property of this UpdateConnectionFromMySQL.
  • password_secret (oci.data_integration.models.SensitiveAttribute) – The value to assign to the password_secret property of this UpdateConnectionFromMySQL.
connection_properties

Gets the connection_properties of this UpdateConnectionDetails. The properties for the connection.

Returns:The connection_properties of this UpdateConnectionDetails.
Return type:list[oci.data_integration.models.ConnectionProperty]
description

Gets the description of this UpdateConnectionDetails. User-defined description for the connection.

Returns:The description of this UpdateConnectionDetails.
Return type: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.

identifier

Gets the identifier of this UpdateConnectionDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.

Returns:The identifier of this UpdateConnectionDetails.
Return type:str
key

[Required] Gets the key of this UpdateConnectionDetails. Generated key that can be used in API calls to identify connection. On scenarios where reference to the connection is needed, a value can be passed in create.

Returns:The key of this UpdateConnectionDetails.
Return type:str
model_type

[Required] Gets the model_type of this UpdateConnectionDetails. The type of the connection.

Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”

Returns:The model_type of this UpdateConnectionDetails.
Return type:str
model_version

Gets the model_version of this UpdateConnectionDetails. The model version of an object.

Returns:The model_version of this UpdateConnectionDetails.
Return type:str
name

Gets the name of this UpdateConnectionDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.

Returns:The name of this UpdateConnectionDetails.
Return type:str
object_status

Gets the object_status of this UpdateConnectionDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns:The object_status of this UpdateConnectionDetails.
Return type:int
object_version

[Required] Gets the object_version of this UpdateConnectionDetails. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this UpdateConnectionDetails.
Return type:int
parent_ref

Gets the parent_ref of this UpdateConnectionDetails.

Returns:The parent_ref of this UpdateConnectionDetails.
Return type:oci.data_integration.models.ParentReference
password

Gets the password of this UpdateConnectionFromMySQL. The password for the connection.

Returns:The password of this UpdateConnectionFromMySQL.
Return type:str
password_secret

Gets the password_secret of this UpdateConnectionFromMySQL.

Returns:The password_secret of this UpdateConnectionFromMySQL.
Return type:oci.data_integration.models.SensitiveAttribute
registry_metadata

Gets the registry_metadata of this UpdateConnectionDetails.

Returns:The registry_metadata of this UpdateConnectionDetails.
Return type:oci.data_integration.models.RegistryMetadata
username

Gets the username of this UpdateConnectionFromMySQL. The user name for the connection.

Returns:The username of this UpdateConnectionFromMySQL.
Return type:str