ReplicationCycle(mapping=None, *, ignore_unknown_fields=False, **kwargs)
ReplicationCycle contains information about the current replication cycle status.
Attributes | |
---|---|
Name | Description |
name |
str
The identifier of the ReplicationCycle. |
cycle_number |
int
The cycle's ordinal number. |
start_time |
google.protobuf.timestamp_pb2.Timestamp
The time the replication cycle has started. |
end_time |
google.protobuf.timestamp_pb2.Timestamp
The time the replication cycle has ended. |
total_pause_duration |
google.protobuf.duration_pb2.Duration
The accumulated duration the replication cycle was paused. |
progress_percent |
int
The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately. |
steps |
MutableSequence[google.cloud.vmmigration_v1.types.CycleStep]
The cycle's steps list representing its progress. |
state |
google.cloud.vmmigration_v1.types.ReplicationCycle.State
State of the ReplicationCycle. |
error |
google.rpc.status_pb2.Status
Provides details on the state of the cycle in case of an error. |
Classes
State
State(value)
Possible states of a replication cycle.
Values: STATE_UNSPECIFIED (0): The state is unknown. This is used for API compatibility only and is not used by the system. RUNNING (1): The replication cycle is running. PAUSED (2): The replication cycle is paused. FAILED (3): The replication cycle finished with errors. SUCCEEDED (4): The replication cycle finished successfully.