共用方式為


ServerOperation Class

A server operation.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
ServerOperation

Constructor

ServerOperation(**kwargs)

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

operation
str

The name of operation.

operation_friendly_name
str

The friendly name of operation.

percent_complete
int

The percentage of the operation completed.

server_name
str

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
int

The operation error code.

error_description
str

The operation error description.

error_severity
int

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
str

The operation description.

is_cancellable

Whether the operation can be cancelled.