Enum Scheduling.OnHostMaintenance (0.19.0)

publicenumScheduling.OnHostMaintenanceextendsEnum<Scheduling.OnHostMaintenance>implementsProtocolMessageEnum

Defines the maintenance behavior for this instance=

Protobuf enum google.cloud.backupdr.v1.Scheduling.OnHostMaintenance

Implements

ProtocolMessageEnum

Static Fields

Name Description
MIGRATE

Default, Allows Compute Engine to automatically migrate instances out of the way of maintenance events.

MIGRATE = 1000;

MIGRATE_VALUE

Default, Allows Compute Engine to automatically migrate instances out of the way of maintenance events.

MIGRATE = 1000;

ON_HOST_MAINTENANCE_UNSPECIFIED

Default value. This value is unused.

ON_HOST_MAINTENANCE_UNSPECIFIED = 0;

ON_HOST_MAINTENANCE_UNSPECIFIED_VALUE

Default value. This value is unused.

ON_HOST_MAINTENANCE_UNSPECIFIED = 0;

TERMINATE

Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity.

TERMINATE = 1;

TERMINATE_VALUE

Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity.

TERMINATE = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.