replication_cycles
Creates, updates, deletes, gets or lists a replication_cycles resource.
Overview
| Name | replication_cycles |
| Type | Resource |
| Id | google.vmmigration.replication_cycles |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | The identifier of the ReplicationCycle. |
cycleNumber | integer (int32) | The cycle's ordinal number. |
endTime | string (google-datetime) | The time the replication cycle has ended. |
error | object | Output only. Provides details on the state of the cycle in case of an error. (id: Status) |
progressPercent | integer (int32) | The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately. |
startTime | string (google-datetime) | 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 (google-duration) | The accumulated duration the replication cycle was paused. |
warnings | array | Output only. Warnings that occurred during the cycle. |
| Name | Datatype | Description |
|---|---|---|
name | string | The identifier of the ReplicationCycle. |
cycleNumber | integer (int32) | The cycle's ordinal number. |
endTime | string (google-datetime) | The time the replication cycle has ended. |
error | object | Output only. Provides details on the state of the cycle in case of an error. (id: Status) |
progressPercent | integer (int32) | The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately. |
startTime | string (google-datetime) | 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 (google-duration) | The accumulated duration the replication cycle was paused. |
warnings | array | Output only. Warnings that occurred during the cycle. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, sourcesId, migratingVmsId, replicationCyclesId | Gets details of a single ReplicationCycle. | |
list | select | projectsId, locationsId, sourcesId, migratingVmsId | pageSize, pageToken, filter, orderBy | Lists ReplicationCycles in a given MigratingVM. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
migratingVmsId | string | |
projectsId | string | |
replicationCyclesId | string | |
sourcesId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- get
- list
Gets details of a single ReplicationCycle.
SELECT
name,
cycleNumber,
endTime,
error,
progressPercent,
startTime,
state,
steps,
totalPauseDuration,
warnings
FROM google.vmmigration.replication_cycles
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND sourcesId = '{{ sourcesId }}' -- required
AND migratingVmsId = '{{ migratingVmsId }}' -- required
AND replicationCyclesId = '{{ replicationCyclesId }}' -- required
;
Lists ReplicationCycles in a given MigratingVM.
SELECT
name,
cycleNumber,
endTime,
error,
progressPercent,
startTime,
state,
steps,
totalPauseDuration,
warnings
FROM google.vmmigration.replication_cycles
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND sourcesId = '{{ sourcesId }}' -- required
AND migratingVmsId = '{{ migratingVmsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
;