你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DatabaseOperation 类

数据库操作。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.sql.models._models_py3.ProxyResource
DatabaseOperation

构造函数

DatabaseOperation(**kwargs)

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

database_name
str

正在其上执行操作的数据库的名称。

operation
str

操作的名称。

operation_friendly_name
str

操作的友好名称。

percent_complete
int

操作已完成的百分比。

server_name
str

服务器的名称。

start_time

操作开始时间。

state

操作状态。 可能的值包括:“Pending”、“InProgress”、“Succeeded”、“Failed”、“CancelInProgress”、“Canceled”。

error_code
int

操作错误代码。

error_description
str

操作错误说明。

error_severity
int

操作错误严重性。

is_user_error

错误是否为用户错误。

estimated_completion_time

操作的估计完成时间。

description
str

操作说明。

is_cancellable

是否可以取消操作。