TestNamedCredentialStatus¶
-
class
oci.database_management.models.
TestNamedCredentialStatus
(**kwargs)¶ Bases:
object
The status of the named credential test. The status is ‘SUCCEEDED’ if the named credential is working or else the status is ‘FAILED’.
Attributes
STATUS_FAILED
A constant which can be used with the status property of a TestNamedCredentialStatus. STATUS_SUCCEEDED
A constant which can be used with the status property of a TestNamedCredentialStatus. error_code
Gets the error_code of this TestNamedCredentialStatus. error_message
Gets the error_message of this TestNamedCredentialStatus. status
[Required] Gets the status of this TestNamedCredentialStatus. Methods
__init__
(**kwargs)Initializes a new TestNamedCredentialStatus object with values from keyword arguments. -
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a TestNamedCredentialStatus. This constant has a value of “FAILED”
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the status property of a TestNamedCredentialStatus. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new TestNamedCredentialStatus 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 TestNamedCredentialStatus. 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 TestNamedCredentialStatus.
- error_message (str) – The value to assign to the error_message property of this TestNamedCredentialStatus.
-
error_code
¶ Gets the error_code of this TestNamedCredentialStatus. An error code that defines the failure of the named credential test. The response is ‘null’ if the named credential test was successful.
Returns: The error_code of this TestNamedCredentialStatus. Return type: str
-
error_message
¶ Gets the error_message of this TestNamedCredentialStatus. The error message that indicates the reason for the failure of the named credential test. The response is ‘null’ if the named credential test was successful.
Returns: The error_message of this TestNamedCredentialStatus. Return type: str
-
status
¶ [Required] Gets the status of this TestNamedCredentialStatus. The status of the named credential test. The status is ‘SUCCEEDED’ if the named credential is working or 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 TestNamedCredentialStatus. Return type: str
-