Enum Scheduling.OnHostMaintenance (0.11.0)

public enum Scheduling.OnHostMaintenance extends Enum<Scheduling.OnHostMaintenance> implements ProtocolMessageEnum

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()