Operation Class

Record to track long running operation.

Inheritance
Operation

Constructor

Operation(**kwargs)

Parameters

operation_state
str or OperationStateType
Required

Operation state. Possible values include: 'Failed', 'NotStarted', 'Running', 'Succeeded'

created_timestamp
str
Required

Timestamp when the operation was created.

last_action_timestamp
str
Required

Timestamp when the current state was entered.

resource_location
str
Required

Relative URI to the target resource location for completed resources.

user_id
str
Required

User Id

operation_id
str
Required

Operation Id.

error_response
ErrorResponse
Required

Error details in case of failures.