RestartPartitionResult Class

Represents information about an operation in a terminal state (Completed or Faulted).

Inheritance
RestartPartitionResult

Constructor

RestartPartitionResult(*, error_code: Optional[int] = None, selected_partition=None, **kwargs)

Parameters

error_code
int
Required

If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason.

selected_partition
SelectedPartition
Required

This class returns information about the partition that the user-induced operation acted upon.