onHostMaintenance property

String? onHostMaintenance
getter/setter pair

Defines the maintenance behavior for this instance.

Optional. Possible string values are:

  • "ON_HOST_MAINTENANCE_UNSPECIFIED" : Default value. This value is unused.
  • "TERMINATE" : Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity.
  • "MIGRATE" : Default, Allows Compute Engine to automatically migrate instances out of the way of maintenance events.

Implementation

core.String? onHostMaintenance;