ConnectionValidationResult¶
- class oci.devops.models.ConnectionValidationResult(**kwargs)¶
Bases:
objectThe result of validating the credentials of a connection.
Attributes:
A constant which can be used with the result property of a ConnectionValidationResult.
A constant which can be used with the result property of a ConnectionValidationResult.
Gets the message of this ConnectionValidationResult.
Gets the result of this ConnectionValidationResult.
Gets the time_validated of this ConnectionValidationResult.
Methods:
__init__(**kwargs)Initializes a new ConnectionValidationResult object with values from keyword arguments.
- RESULT_FAIL = 'FAIL'¶
A constant which can be used with the result property of a ConnectionValidationResult. This constant has a value of “FAIL”
- RESULT_PASS = 'PASS'¶
A constant which can be used with the result property of a ConnectionValidationResult. This constant has a value of “PASS”
- __init__(**kwargs)¶
Initializes a new ConnectionValidationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
result (str) – The value to assign to the result property of this ConnectionValidationResult. Allowed values for this property are: “PASS”, “FAIL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_validated (datetime) – The value to assign to the time_validated property of this ConnectionValidationResult.
message (str) – The value to assign to the message property of this ConnectionValidationResult.
- property message¶
Gets the message of this ConnectionValidationResult. A message describing the result of connection validation in more detail.
- Returns
The message of this ConnectionValidationResult.
- Return type
str
- property result¶
Gets the result of this ConnectionValidationResult. The latest result of whether the credentials pass the validation.
Allowed values for this property are: “PASS”, “FAIL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The result of this ConnectionValidationResult.
- Return type
str