OperationStatus interface
包含 User-induced作的 OperationId、OperationState 和 OperationType。
属性
| operation |
标识对此 API 的调用的 GUID。 这也会传递到相应的 GetProgress API 中。 |
| state | 作的状态。 可能的值包括:“Invalid”、“Running”、“RollingBack”、“Completed”、“Faulted”、“Cancelled”、“ForceCancelled” |
| type | 作的类型。 可能的值包括:“Invalid”、“PartitionDataLoss”、“PartitionQuorumLoss”、“PartitionRestart”、“NodeTransition” |
属性详细信息
operationId
标识对此 API 的调用的 GUID。 这也会传递到相应的 GetProgress API 中。
operationId?: string
属性值
string
state
作的状态。 可能的值包括:“Invalid”、“Running”、“RollingBack”、“Completed”、“Faulted”、“Cancelled”、“ForceCancelled”
state?: OperationState
属性值
type
作的类型。 可能的值包括:“Invalid”、“PartitionDataLoss”、“PartitionQuorumLoss”、“PartitionRestart”、“NodeTransition”
type?: OperationType