replication_cycles
Creates, updates, deletes, gets or lists a replication_cycles
resource.
Overview
Name | replication_cycles |
Type | Resource |
Id | google.vmmigration.replication_cycles |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The identifier of the ReplicationCycle. |
cycleNumber | integer | The cycle's ordinal number. |
endTime | string | The time the replication cycle has ended. |
error | object | The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. |
progressPercent | integer | The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately. |
startTime | string | The time the replication cycle has started. |
state | string | State of the ReplicationCycle. |
steps | array | The cycle's steps list representing its progress. |
totalPauseDuration | string | The accumulated duration the replication cycle was paused. |
warnings | array | Output only. Warnings that occurred during the cycle. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, migratingVmsId, projectsId, replicationCyclesId, sourcesId | Gets details of a single ReplicationCycle. |
list | SELECT | locationsId, migratingVmsId, projectsId, sourcesId | Lists ReplicationCycles in a given MigratingVM. |
SELECT
examples
Lists ReplicationCycles in a given MigratingVM.
SELECT
name,
cycleNumber,
endTime,
error,
progressPercent,
startTime,
state,
steps,
totalPauseDuration,
warnings
FROM google.vmmigration.replication_cycles
WHERE locationsId = '{{ locationsId }}'
AND migratingVmsId = '{{ migratingVmsId }}'
AND projectsId = '{{ projectsId }}'
AND sourcesId = '{{ sourcesId }}';