Resource: ReplicationCycle
ReplicationCycle contains information about the current replication cycle status.
JSON representation |
---|
{ "name": string, "cycleNumber": integer, "startTime": string, "endTime": string, "totalPauseDuration": string, "progressPercent": integer, "steps": [ { object ( |
Fields | |
---|---|
name |
The identifier of the ReplicationCycle. |
cycleNumber |
The cycle's ordinal number. |
startTime |
The time the replication cycle has started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
The time the replication cycle has ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
totalPauseDuration |
The accumulated duration the replication cycle was paused. A duration in seconds with up to nine fractional digits, ending with ' |
progressPercent |
The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately. |
steps[] |
The cycle's steps list representing its progress. |
state |
State of the ReplicationCycle. |
error |
Provides details on the state of the cycle in case of an error. |
warnings[] |
Output only. Warnings that occurred during the cycle. |
CycleStep
CycleStep holds information about a step progress.
JSON representation |
---|
{ "startTime": string, "endTime": string, // Union field |
Fields | |
---|---|
startTime |
The time the cycle step has started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
The time the cycle step has ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field
|
|
initializingReplication |
Initializing replication step. |
replicating |
Replicating step. |
postProcessing |
Post processing step. |
InitializingReplicationStep
This type has no fields.
InitializingReplicationStep contains specific step details.
ReplicatingStep
ReplicatingStep contains specific step details.
JSON representation |
---|
{ "totalBytes": string, "replicatedBytes": string, "lastTwoMinutesAverageBytesPerSecond": string, "lastThirtyMinutesAverageBytesPerSecond": string } |
Fields | |
---|---|
totalBytes |
Total bytes to be handled in the step. |
replicatedBytes |
Replicated bytes in the step. |
lastTwoMinutesAverageBytesPerSecond |
The source disks replication rate for the last 2 minutes in bytes per second. |
lastThirtyMinutesAverageBytesPerSecond |
The source disks replication rate for the last 30 minutes in bytes per second. |
PostProcessingStep
This type has no fields.
PostProcessingStep contains specific step details.
State
Possible states of a replication cycle.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state is unknown. This is used for API compatibility only and is not used by the system. |
RUNNING |
The replication cycle is running. |
PAUSED |
The replication cycle is paused. |
FAILED |
The replication cycle finished with errors. |
SUCCEEDED |
The replication cycle finished successfully. |
MigrationWarning
Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
JSON representation |
---|
{ "code": enum ( |
Fields | |
---|---|
code |
The warning code. |
warningMessage |
The localized warning message. |
actionItem |
Suggested action for solving the warning. |
helpLinks[] |
URL(s) pointing to additional information on handling the current warning. |
warningTime |
The time the warning occurred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
WarningCode
Represents possible warning codes.
Enums | |
---|---|
WARNING_CODE_UNSPECIFIED |
Default value. This value is not used. |
ADAPTATION_WARNING |
A warning originated from OS Adaptation. |
LocalizedMessage
Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
JSON representation |
---|
{ "locale": string, "message": string } |
Fields | |
---|---|
locale |
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" |
message |
The localized error message in the above locale. |
Link
Describes a URL link.
JSON representation |
---|
{ "description": string, "url": string } |
Fields | |
---|---|
description |
Describes what the link offers. |
url |
The URL of the link. |
Methods |
|
---|---|
|
Gets details of a single ReplicationCycle. |
|
Lists ReplicationCycles in a given MigratingVM. |