Share via


OperationStatus Class

Asynchronous operation status.

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

Constructor

OperationStatus(*, status: str, id: str | None = None, name: str | None = None, percent_complete: float | None = None, start_time: datetime | None = None, end_time: datetime | None = None, operations: List[_models.OperationStatusResult] | None = None, error: _models.ErrorDetail | None = None, properties: Dict[str, Any] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Fully qualified ID for the async operation.

Default value: None
name
str

Name of the async operation.

Default value: None
status
str

Operation status. Required.

percent_complete

Percent of the operation that is complete.

Default value: None
start_time

The start time of the operation.

Default value: None
end_time

The end time of the operation.

Default value: None
operations

The operations list.

Default value: None
error

If present, details of the operation error.

Default value: None
properties

Additional properties from RP, only when operation is successful.

Default value: None

Variables

Name Description
id
str

Fully qualified ID for the async operation.

name
str

Name of the async operation.

status
str

Operation status. Required.

percent_complete

Percent of the operation that is complete.

start_time

The start time of the operation.

end_time

The end time of the operation.

operations

The operations list.

error

If present, details of the operation error.

properties

Additional properties from RP, only when operation is successful.