UpdateConnectionDetails¶
-
class
oci.database_migration.models.
UpdateConnectionDetails
(**kwargs)¶ Bases:
object
The information to update a Connection.
Attributes
CONNECTION_TYPE_MYSQL
A constant which can be used with the connection_type property of a UpdateConnectionDetails. CONNECTION_TYPE_ORACLE
A constant which can be used with the connection_type property of a UpdateConnectionDetails. connection_type
Gets the connection_type of this UpdateConnectionDetails. defined_tags
Gets the defined_tags of this UpdateConnectionDetails. description
Gets the description of this UpdateConnectionDetails. display_name
Gets the display_name of this UpdateConnectionDetails. freeform_tags
Gets the freeform_tags of this UpdateConnectionDetails. key_id
Gets the key_id of this UpdateConnectionDetails. nsg_ids
Gets the nsg_ids of this UpdateConnectionDetails. password
Gets the password of this UpdateConnectionDetails. replication_password
Gets the replication_password of this UpdateConnectionDetails. replication_username
Gets the replication_username of this UpdateConnectionDetails. subnet_id
Gets the subnet_id of this UpdateConnectionDetails. username
Gets the username of this UpdateConnectionDetails. vault_id
Gets the vault_id of this UpdateConnectionDetails. Methods
__init__
(**kwargs)Initializes a new UpdateConnectionDetails 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_MYSQL
= 'MYSQL'¶ A constant which can be used with the connection_type property of a UpdateConnectionDetails. This constant has a value of “MYSQL”
-
CONNECTION_TYPE_ORACLE
= 'ORACLE'¶ A constant which can be used with the connection_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE”
-
__init__
(**kwargs)¶ Initializes a new UpdateConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 UpdateConnectionDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
- display_name (str) – The value to assign to the display_name property of this UpdateConnectionDetails.
- description (str) – The value to assign to the description property of this UpdateConnectionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateConnectionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateConnectionDetails.
- vault_id (str) – The value to assign to the vault_id property of this UpdateConnectionDetails.
- key_id (str) – The value to assign to the key_id property of this UpdateConnectionDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this UpdateConnectionDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateConnectionDetails.
- username (str) – The value to assign to the username property of this UpdateConnectionDetails.
- password (str) – The value to assign to the password property of this UpdateConnectionDetails.
- replication_username (str) – The value to assign to the replication_username property of this UpdateConnectionDetails.
- replication_password (str) – The value to assign to the replication_password property of this UpdateConnectionDetails.
-
connection_type
¶ Gets the connection_type of this UpdateConnectionDetails. Defines the type of connection. For example, ORACLE.
Allowed values for this property are: “MYSQL”, “ORACLE”
Returns: The connection_type of this UpdateConnectionDetails. Return type: str
Gets the defined_tags of this UpdateConnectionDetails. Defined tags 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. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The description of this UpdateConnectionDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateConnectionDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this UpdateConnectionDetails. Return type: str
Gets the freeform_tags of this UpdateConnectionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
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. The OCID of the key used in cryptographic operations.
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 Connections.
Returns: The nsg_ids of this UpdateConnectionDetails. Return type: list[str]
-
password
¶ Gets the password of this UpdateConnectionDetails. The password (credential) used when creating or updating this resource.
Returns: The password of this UpdateConnectionDetails. Return type: str
-
replication_password
¶ Gets the replication_password of this UpdateConnectionDetails. The password (credential) used when creating or updating this resource.
Returns: The replication_password of this UpdateConnectionDetails. Return type: str
-
replication_username
¶ Gets the replication_username of this UpdateConnectionDetails. The username (credential) used when creating or updating this resource.
Returns: The replication_username of this UpdateConnectionDetails. Return type: str
-
subnet_id
¶ Gets the subnet_id of this UpdateConnectionDetails. OCI resource ID.
Returns: The subnet_id of this UpdateConnectionDetails. Return type: str
-
username
¶ Gets the username of this UpdateConnectionDetails. The username (credential) used when creating or updating this resource.
Returns: The username of this UpdateConnectionDetails. Return type: str
-
vault_id
¶ Gets the vault_id of this UpdateConnectionDetails. OCI resource ID.
Returns: The vault_id of this UpdateConnectionDetails. Return type: str
-