DatabaseParameterUpdateStatus¶
- class oci.database_management.models.DatabaseParameterUpdateStatus(**kwargs)¶
Bases:
objectThe result of database parameter update.
Attributes:
A constant which can be used with the status property of a DatabaseParameterUpdateStatus.
A constant which can be used with the status property of a DatabaseParameterUpdateStatus.
Gets the error_code of this DatabaseParameterUpdateStatus.
Gets the error_message of this DatabaseParameterUpdateStatus.
Gets the status of this DatabaseParameterUpdateStatus.
Methods:
__init__(**kwargs)Initializes a new DatabaseParameterUpdateStatus object with values from keyword arguments.
- STATUS_FAILED = 'FAILED'¶
A constant which can be used with the status property of a DatabaseParameterUpdateStatus. This constant has a value of “FAILED”
- STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the status property of a DatabaseParameterUpdateStatus. This constant has a value of “SUCCEEDED”
- __init__(**kwargs)¶
Initializes a new DatabaseParameterUpdateStatus 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 DatabaseParameterUpdateStatus. 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 DatabaseParameterUpdateStatus.
error_message (str) – The value to assign to the error_message property of this DatabaseParameterUpdateStatus.
- property error_code¶
Gets the error_code of this DatabaseParameterUpdateStatus. An error code that defines the failure or null if the parameter was updated successfully.
- Returns
The error_code of this DatabaseParameterUpdateStatus.
- Return type
str
- property error_message¶
Gets the error_message of this DatabaseParameterUpdateStatus. The error message indicating the reason for failure or null if the parameter was updated successfully.
- Returns
The error_message of this DatabaseParameterUpdateStatus.
- Return type
str
- property status¶
Gets the status of this DatabaseParameterUpdateStatus. The status of the parameter update.
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 DatabaseParameterUpdateStatus.
- Return type
str