TestPreferredCredentialStatus

class oci.database_management.models.TestPreferredCredentialStatus(**kwargs)

Bases: object

The status of the preferred credential test. The status is ‘SUCCEEDED’ if the preferred credential is working else the status is ‘FAILED’.

Attributes

STATUS_FAILED A constant which can be used with the status property of a TestPreferredCredentialStatus.
STATUS_SUCCEEDED A constant which can be used with the status property of a TestPreferredCredentialStatus.
error_code Gets the error_code of this TestPreferredCredentialStatus.
error_message Gets the error_message of this TestPreferredCredentialStatus.
status Gets the status of this TestPreferredCredentialStatus.

Methods

__init__(**kwargs) Initializes a new TestPreferredCredentialStatus object with values from keyword arguments.
STATUS_FAILED = 'FAILED'

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

STATUS_SUCCEEDED = 'SUCCEEDED'

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

__init__(**kwargs)

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

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

Gets the error_code of this TestPreferredCredentialStatus. An error code that defines the failure of the preferred credential test. The response is ‘null’ if the preferred credential test was successful.

Returns:The error_code of this TestPreferredCredentialStatus.
Return type:str
error_message

Gets the error_message of this TestPreferredCredentialStatus. The error message that indicates the reason for the failure of the preferred credential test. The response is ‘null’ if the preferred credential test was successful.

Returns:The error_message of this TestPreferredCredentialStatus.
Return type:str
status

Gets the status of this TestPreferredCredentialStatus. The status of the preferred credential test. The status is ‘SUCCEEDED’ if the preferred credential is working else the status is ‘FAILED’.

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

Returns:The status of this TestPreferredCredentialStatus.
Return type:str