ValidateDatabaseToolsConnectionOracleDatabaseResult¶
-
class
oci.database_tools.models.ValidateDatabaseToolsConnectionOracleDatabaseResult(**kwargs)¶ Bases:
oci.database_tools.models.validate_database_tools_connection_result.ValidateDatabaseToolsConnectionResultConnection validaton result for the Oracle Database.
Attributes
DBMS_CLOUD_STATUS_AVAILABLEA constant which can be used with the dbms_cloud_status property of a ValidateDatabaseToolsConnectionOracleDatabaseResult. DBMS_CLOUD_STATUS_UNAVAILABLEA constant which can be used with the dbms_cloud_status property of a ValidateDatabaseToolsConnectionOracleDatabaseResult. TYPE_GENERIC_JDBCstr(object=’’) -> str TYPE_MYSQLstr(object=’’) -> str TYPE_ORACLE_DATABASEstr(object=’’) -> str TYPE_POSTGRESQLstr(object=’’) -> str actionGets the action of this ValidateDatabaseToolsConnectionResult. causeGets the cause of this ValidateDatabaseToolsConnectionResult. code[Required] Gets the code of this ValidateDatabaseToolsConnectionResult. database_nameGets the database_name of this ValidateDatabaseToolsConnectionOracleDatabaseResult. database_version[Required] Gets the database_version of this ValidateDatabaseToolsConnectionOracleDatabaseResult. dbms_cloud_status[Required] Gets the dbms_cloud_status of this ValidateDatabaseToolsConnectionOracleDatabaseResult. message[Required] Gets the message of this ValidateDatabaseToolsConnectionResult. type[Required] Gets the type of this ValidateDatabaseToolsConnectionResult. Methods
__init__(**kwargs)Initializes a new ValidateDatabaseToolsConnectionOracleDatabaseResult 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. -
DBMS_CLOUD_STATUS_AVAILABLE= 'AVAILABLE'¶ A constant which can be used with the dbms_cloud_status property of a ValidateDatabaseToolsConnectionOracleDatabaseResult. This constant has a value of “AVAILABLE”
-
DBMS_CLOUD_STATUS_UNAVAILABLE= 'UNAVAILABLE'¶ A constant which can be used with the dbms_cloud_status property of a ValidateDatabaseToolsConnectionOracleDatabaseResult. This constant has a value of “UNAVAILABLE”
-
TYPE_GENERIC_JDBC= 'GENERIC_JDBC'¶
-
TYPE_MYSQL= 'MYSQL'¶
-
TYPE_ORACLE_DATABASE= 'ORACLE_DATABASE'¶
-
TYPE_POSTGRESQL= 'POSTGRESQL'¶
-
__init__(**kwargs)¶ Initializes a new ValidateDatabaseToolsConnectionOracleDatabaseResult object with values from keyword arguments. The default value of the
typeattribute of this class isORACLE_DATABASEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this ValidateDatabaseToolsConnectionOracleDatabaseResult. Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- code (str) – The value to assign to the code property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- message (str) – The value to assign to the message property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- cause (str) – The value to assign to the cause property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- action (str) – The value to assign to the action property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- database_name (str) – The value to assign to the database_name property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- database_version (str) – The value to assign to the database_version property of this ValidateDatabaseToolsConnectionOracleDatabaseResult.
- dbms_cloud_status (str) – The value to assign to the dbms_cloud_status property of this ValidateDatabaseToolsConnectionOracleDatabaseResult. Allowed values for this property are: “AVAILABLE”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
action¶ Gets the action of this ValidateDatabaseToolsConnectionResult. A human-readable message that suggests a remedial action to resolve the validation error.
Returns: The action of this ValidateDatabaseToolsConnectionResult. Return type: str
-
cause¶ Gets the cause of this ValidateDatabaseToolsConnectionResult. A human-readable message that describes possible causes for the validation error.
Returns: The cause of this ValidateDatabaseToolsConnectionResult. Return type: str
-
code¶ [Required] Gets the code of this ValidateDatabaseToolsConnectionResult. A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
Returns: The code of this ValidateDatabaseToolsConnectionResult. Return type: str
-
database_name¶ Gets the database_name of this ValidateDatabaseToolsConnectionOracleDatabaseResult. The database name.
Returns: The database_name of this ValidateDatabaseToolsConnectionOracleDatabaseResult. Return type: str
-
database_version¶ [Required] Gets the database_version of this ValidateDatabaseToolsConnectionOracleDatabaseResult. The database version.
Returns: The database_version of this ValidateDatabaseToolsConnectionOracleDatabaseResult. Return type: str
-
dbms_cloud_status¶ [Required] Gets the dbms_cloud_status of this ValidateDatabaseToolsConnectionOracleDatabaseResult. The DBMS_CLOUD package installation status.
Allowed values for this property are: “AVAILABLE”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The dbms_cloud_status of this ValidateDatabaseToolsConnectionOracleDatabaseResult. 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.
-
message¶ [Required] Gets the message of this ValidateDatabaseToolsConnectionResult. A human-readable message that describes the result of the validation.
Returns: The message of this ValidateDatabaseToolsConnectionResult. Return type: str
-
type¶ [Required] Gets the type of this ValidateDatabaseToolsConnectionResult. The Database Tools connection type.
Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this ValidateDatabaseToolsConnectionResult. Return type: str
-