# Google Cloud Vm Migration V1 Client - Class State (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class State.

The possible values of the state/health of source VM.

Protobuf type `google.cloud.vmmigration.v1.MigratingVm.State`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ MigratingVm

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

The state was not sampled by the health checks yet.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### PENDING

    Value: 1

The VM in the source is being verified.

Generated from protobuf enum `PENDING = 1;`

### READY

    Value: 2

The source VM was verified, and it's ready to start replication.

Generated from protobuf enum `READY = 2;`

### FIRST_SYNC

    Value: 3

Migration is going through the first sync cycle.

Generated from protobuf enum `FIRST_SYNC = 3;`

### ACTIVE

    Value: 4

The replication is active, and it's running or scheduled to run.

Generated from protobuf enum `ACTIVE = 4;`

### CUTTING_OVER

    Value: 7

The source VM is being turned off, and a final replication is currently
running.

Generated from protobuf enum `CUTTING_OVER = 7;`

### CUTOVER

    Value: 8

The source VM was stopped and replicated. The replication is currently
paused.

Generated from protobuf enum `CUTOVER = 8;`

### FINAL_SYNC

    Value: 9

A cutover job is active and replication cycle is running the final sync.

Generated from protobuf enum `FINAL_SYNC = 9;`

### PAUSED

    Value: 10

The replication was paused by the user and no cycles are scheduled to
run.

Generated from protobuf enum `PAUSED = 10;`

### FINALIZING

    Value: 11

The migrating VM is being finalized and migration resources are being
removed.

Generated from protobuf enum `FINALIZING = 11;`

### FINALIZED

    Value: 12

The replication process is done. The migrating VM is finalized and no
longer consumes billable resources.

Generated from protobuf enum `FINALIZED = 12;`

### ERROR

    Value: 13

The replication process encountered an unrecoverable error and was
aborted.

Generated from protobuf enum `ERROR = 13;`

### EXPIRED

    Value: 14

The migrating VM has passed its expiration date. It might be possible to
bring it back to "Active" state by updating the TTL field. For more
information, see the documentation.

Generated from protobuf enum `EXPIRED = 14;`

### FINALIZED_EXPIRED

    Value: 17

The migrating VM's has been finalized and migration resources have been
removed.

Generated from protobuf enum `FINALIZED_EXPIRED = 17;`