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.
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”

__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”, “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.
error

Gets the error of this DiagnosticsResult.

Returns:The error of this DiagnosticsResult.
Return type:oci.database_migration.models.ResultError
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”, “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