Enum PreservedStatePreservedDisk.AutoDelete (1.38.0)

public enum PreservedStatePreservedDisk.AutoDelete extends Enum<PreservedStatePreservedDisk.AutoDelete> implements ProtocolMessageEnum

These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.

Protobuf enum google.cloud.compute.v1.PreservedStatePreservedDisk.AutoDelete

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NEVER

NEVER = 74175084;

NEVER_VALUE

NEVER = 74175084;

ON_PERMANENT_INSTANCE_DELETION

ON_PERMANENT_INSTANCE_DELETION = 95727719;

ON_PERMANENT_INSTANCE_DELETION_VALUE

ON_PERMANENT_INSTANCE_DELETION = 95727719;

UNDEFINED_AUTO_DELETE

A value indicating that the enum field is not set.

UNDEFINED_AUTO_DELETE = 0;

UNDEFINED_AUTO_DELETE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_AUTO_DELETE = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()