DatabaseOperation Class
A database operation.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
DatabaseOperation(**kwargs)
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
database_name
|
The name of the database the operation is being performed on. |
|
operation
|
The name of operation. |
|
operation_friendly_name
|
The friendly name of operation. |
|
percent_complete
|
The percentage of the operation completed. |
|
server_name
|
The name of the server. |
|
start_time
|
The operation start time. |
|
state
|
The operation state. Possible values include: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", "Cancelled". |
|
error_code
|
The operation error code. |
|
error_description
|
The operation error description. |
|
error_severity
|
The operation error severity. |
|
is_user_error
|
Whether or not the error is a user error. |
|
estimated_completion_time
|
The estimated completion time of the operation. |
|
description
|
The operation description. |
|
is_cancellable
|
Whether the operation can be cancelled. |