public static enum InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction extends Enum<InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction> implements com.google.protobuf.ProtocolMessageEnum
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTARTProtobuf enum
google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction| Enum Constant and Description |
|---|
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_VALUE
A value indicating that the enum field is not set.
|
public static final InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION
A value indicating that the enum field is not set.
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0;public static final InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction UNRECOGNIZED
public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0;public static InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction[] values()
for (InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction c : InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction.values()) System.out.println(c);
public static InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.