TestConnectionAssignmentResult

class oci.golden_gate.models.TestConnectionAssignmentResult(**kwargs)

Bases: object

The result of the connectivity test performed between the GoldenGate deployment and the associated database / service. The ‘error’ property is deprecated and will not contain values in the future. So, the error(s) will be returned in just the ‘errors’ property.

Attributes:

RESULT_TYPE_FAILED

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

RESULT_TYPE_SUCCEEDED

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

RESULT_TYPE_TIMED_OUT

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

error

Gets the error of this TestConnectionAssignmentResult.

errors

Gets the errors of this TestConnectionAssignmentResult.

result_type

[Required] Gets the result_type of this TestConnectionAssignmentResult.

Methods:

__init__(**kwargs)

Initializes a new TestConnectionAssignmentResult object with values from keyword arguments.

RESULT_TYPE_FAILED = 'FAILED'

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

RESULT_TYPE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the result_type property of a TestConnectionAssignmentResult. 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 TestConnectionAssignmentResult. This constant has a value of “TIMED_OUT”

__init__(**kwargs)

Initializes a new TestConnectionAssignmentResult 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 TestConnectionAssignmentResult. 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.golden_gate.models.TestConnectionAssignmentError) – The value to assign to the error property of this TestConnectionAssignmentResult.

  • errors (list[oci.golden_gate.models.TestConnectionAssignmentError]) – The value to assign to the errors property of this TestConnectionAssignmentResult.

property error

Gets the error of this TestConnectionAssignmentResult.

Returns

The error of this TestConnectionAssignmentResult.

Return type

oci.golden_gate.models.TestConnectionAssignmentError

property errors

Gets the errors of this TestConnectionAssignmentResult. List of test connection assignment error objects.

Returns

The errors of this TestConnectionAssignmentResult.

Return type

list[oci.golden_gate.models.TestConnectionAssignmentError]

property result_type

[Required] Gets the result_type of this TestConnectionAssignmentResult. Type of the result (i.e. Success, Failure or Timeout).

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

Return type

str