OperationStatus Class

Contains the OperationId, OperationState, and OperationType for user-induced operations.

Inheritance
OperationStatus

Constructor

OperationStatus(*, operation_id: Optional[str] = None, state=None, type=None, **kwargs)

Parameters

operation_id
str
Required

A GUID that identifies a call to this API. This is also passed into the corresponding GetProgress API.

state
str or OperationState
Required

The state of the operation. Possible values include: 'Invalid', 'Running', 'RollingBack', 'Completed', 'Faulted', 'Cancelled', 'ForceCancelled'

type
str or OperationType
Required

The type of the operation. Possible values include: 'Invalid', 'PartitionDataLoss', 'PartitionQuorumLoss', 'PartitionRestart', 'NodeTransition'