# Migrate for Compute Engine V1 API - Module Google::Cloud::VMMigration::V1::ComputeScheduling::OnHostMaintenance (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API module Google::Cloud::VMMigration::V1::ComputeScheduling::OnHostMaintenance.

## Constants

### ON_HOST_MAINTENANCE_UNSPECIFIED

**value:** 0  
An unknown, unexpected behavior.

### TERMINATE

**value:** 1  
Terminate the instance when the host machine undergoes maintenance.

### MIGRATE

**value:** 2  
Migrate the instance when the host machine undergoes maintenance.