OperationResponse Class

Response for long running operation.

All required parameters must be populated in order to send to Azure.

Inheritance
OperationResponse

Constructor

OperationResponse(*, status: typing.Union[str, _ForwardRef('Status')], end_time: typing.Union[datetime.datetime, NoneType] = None, error: typing.Union[_ForwardRef('DataShareErrorInfo'), NoneType] = None, start_time: typing.Union[datetime.datetime, NoneType] = None, **kwargs)

Parameters

end_time
datetime
Required

start time.

error
DataShareErrorInfo
Required

The error property when status is failed.

start_time
datetime
Required

start time.

status
str or Status
Required

Required. Operation state of the long running operation. Possible values include: "Accepted", "InProgress", "TransientFailure", "Succeeded", "Failed", "Canceled".