DiagnosticsResult

class oci.database_migration.models.DiagnosticsResult(**kwargs)

Bases: object

Result from Database Connection Diagnostic action.

Attributes:

RESULT_TYPE_FAILED

A constant which can be used with the result_type property of a DiagnosticsResult.

RESULT_TYPE_SUCCEEDED

A constant which can be used with the result_type property of a DiagnosticsResult.

RESULT_TYPE_TIMED_OUT

A constant which can be used with the result_type property of a DiagnosticsResult.

RESULT_TYPE_WARNING

A constant which can be used with the result_type property of a DiagnosticsResult.

database_information

Gets the database_information of this DiagnosticsResult.

error

Gets the error of this DiagnosticsResult.

result_type

[Required] Gets the result_type of this DiagnosticsResult.

Methods:

__init__(**kwargs)

Initializes a new DiagnosticsResult object with values from keyword arguments.

RESULT_TYPE_FAILED = 'FAILED'

A constant which can be used with the result_type property of a DiagnosticsResult. This constant has a value of “FAILED”

RESULT_TYPE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the result_type property of a DiagnosticsResult. This constant has a value of “SUCCEEDED”

RESULT_TYPE_TIMED_OUT = 'TIMED_OUT'

A constant which can be used with the result_type property of a DiagnosticsResult. This constant has a value of “TIMED_OUT”

RESULT_TYPE_WARNING = 'WARNING'

A constant which can be used with the result_type property of a DiagnosticsResult. This constant has a value of “WARNING”

__init__(**kwargs)

Initializes a new DiagnosticsResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • result_type (str) – The value to assign to the result_type property of this DiagnosticsResult. Allowed values for this property are: “SUCCEEDED”, “FAILED”, “WARNING”, “TIMED_OUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • error (oci.database_migration.models.ResultError) – The value to assign to the error property of this DiagnosticsResult.

  • database_information (oci.database_migration.models.DatabaseInformation) – The value to assign to the database_information property of this DiagnosticsResult.

property database_information

Gets the database_information of this DiagnosticsResult.

Returns

The database_information of this DiagnosticsResult.

Return type

oci.database_migration.models.DatabaseInformation

property error

Gets the error of this DiagnosticsResult.

Returns

The error of this DiagnosticsResult.

Return type

oci.database_migration.models.ResultError

property result_type

[Required] Gets the result_type of this DiagnosticsResult. Type of the Result (i.e. Success or Failure).

Allowed values for this property are: “SUCCEEDED”, “FAILED”, “WARNING”, “TIMED_OUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The result_type of this DiagnosticsResult.

Return type

str