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