public static enum AutoscalerStatusDetails.Type extends Enum<AutoscalerStatusDetails.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.Protobuf enum
google.cloud.compute.v1.AutoscalerStatusDetails.Type| Enum Constant and Description |
|---|
ALL_INSTANCES_UNHEALTHY
All instances in the instance group are unhealthy (not in RUNNING state).
|
BACKEND_SERVICE_DOES_NOT_EXIST
There is no backend service attached to the instance group.
|
CAPPED_AT_MAX_NUM_REPLICAS
Autoscaler recommends a size greater than maxNumReplicas.
|
CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE
The custom metric samples are not exported often enough to be a credible base for autoscaling.
|
CUSTOM_METRIC_INVALID
The custom metric that was specified does not exist or does not have the necessary labels.
|
MIN_EQUALS_MAX
The minNumReplicas is equal to maxNumReplicas.
|
MISSING_CUSTOM_METRIC_DATA_POINTS
The autoscaler did not receive any data from the custom metric configured for autoscaling.
|
MISSING_LOAD_BALANCING_DATA_POINTS
The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.
|
MODE_OFF
Autoscaling is turned off.
|
MODE_ONLY_SCALE_OUT
Autoscaling is in the "Autoscale only scale out" mode.
|
MODE_ONLY_UP
Autoscaling is in the "Autoscale only out" mode.
|
MORE_THAN_ONE_BACKEND_SERVICE
The instance group cannot be autoscaled because it has more than one backend service attached to it.
|
NOT_ENOUGH_QUOTA_AVAILABLE
There is insufficient quota for the necessary resources, such as CPU or number of instances.
|
REGION_RESOURCE_STOCKOUT
Showed only for regional autoscalers: there is a resource stockout in the chosen region.
|
SCALING_TARGET_DOES_NOT_EXIST
The target to be scaled does not exist.
|
SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX
For some scaling schedules minRequiredReplicas is greater than maxNumReplicas.
|
SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN
For some scaling schedules minRequiredReplicas is less than minNumReplicas.
|
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNKNOWN
UNKNOWN = 433141802; |
UNRECOGNIZED |
UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.
|
ZONE_RESOURCE_STOCKOUT
For zonal autoscalers: there is a resource stockout in the chosen zone.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_INSTANCES_UNHEALTHY_VALUE
All instances in the instance group are unhealthy (not in RUNNING state).
|
static int |
BACKEND_SERVICE_DOES_NOT_EXIST_VALUE
There is no backend service attached to the instance group.
|
static int |
CAPPED_AT_MAX_NUM_REPLICAS_VALUE
Autoscaler recommends a size greater than maxNumReplicas.
|
static int |
CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE_VALUE
The custom metric samples are not exported often enough to be a credible base for autoscaling.
|
static int |
CUSTOM_METRIC_INVALID_VALUE
The custom metric that was specified does not exist or does not have the necessary labels.
|
static int |
MIN_EQUALS_MAX_VALUE
The minNumReplicas is equal to maxNumReplicas.
|
static int |
MISSING_CUSTOM_METRIC_DATA_POINTS_VALUE
The autoscaler did not receive any data from the custom metric configured for autoscaling.
|
static int |
MISSING_LOAD_BALANCING_DATA_POINTS_VALUE
The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.
|
static int |
MODE_OFF_VALUE
Autoscaling is turned off.
|
static int |
MODE_ONLY_SCALE_OUT_VALUE
Autoscaling is in the "Autoscale only scale out" mode.
|
static int |
MODE_ONLY_UP_VALUE
Autoscaling is in the "Autoscale only out" mode.
|
static int |
MORE_THAN_ONE_BACKEND_SERVICE_VALUE
The instance group cannot be autoscaled because it has more than one backend service attached to it.
|
static int |
NOT_ENOUGH_QUOTA_AVAILABLE_VALUE
There is insufficient quota for the necessary resources, such as CPU or number of instances.
|
static int |
REGION_RESOURCE_STOCKOUT_VALUE
Showed only for regional autoscalers: there is a resource stockout in the chosen region.
|
static int |
SCALING_TARGET_DOES_NOT_EXIST_VALUE
The target to be scaled does not exist.
|
static int |
SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX_VALUE
For some scaling schedules minRequiredReplicas is greater than maxNumReplicas.
|
static int |
SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN_VALUE
For some scaling schedules minRequiredReplicas is less than minNumReplicas.
|
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 433141802; |
static int |
UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUE
Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.
|
static int |
ZONE_RESOURCE_STOCKOUT_VALUE
For zonal autoscalers: there is a resource stockout in the chosen zone.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoscalerStatusDetails.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AutoscalerStatusDetails.Type> |
internalGetValueMap() |
static AutoscalerStatusDetails.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AutoscalerStatusDetails.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AutoscalerStatusDetails.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoscalerStatusDetails.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoscalerStatusDetails.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final AutoscalerStatusDetails.Type ALL_INSTANCES_UNHEALTHY
All instances in the instance group are unhealthy (not in RUNNING state).
ALL_INSTANCES_UNHEALTHY = 404965477;public static final AutoscalerStatusDetails.Type BACKEND_SERVICE_DOES_NOT_EXIST
There is no backend service attached to the instance group.
BACKEND_SERVICE_DOES_NOT_EXIST = 191417626;public static final AutoscalerStatusDetails.Type CAPPED_AT_MAX_NUM_REPLICAS
Autoscaler recommends a size greater than maxNumReplicas.
CAPPED_AT_MAX_NUM_REPLICAS = 518617;public static final AutoscalerStatusDetails.Type CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE
The custom metric samples are not exported often enough to be a credible base for autoscaling.
CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE = 328964659;public static final AutoscalerStatusDetails.Type CUSTOM_METRIC_INVALID
The custom metric that was specified does not exist or does not have the necessary labels.
CUSTOM_METRIC_INVALID = 204430550;public static final AutoscalerStatusDetails.Type MIN_EQUALS_MAX
The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group.
MIN_EQUALS_MAX = 2821361;public static final AutoscalerStatusDetails.Type MISSING_CUSTOM_METRIC_DATA_POINTS
The autoscaler did not receive any data from the custom metric configured for autoscaling.
MISSING_CUSTOM_METRIC_DATA_POINTS = 94885086;public static final AutoscalerStatusDetails.Type MISSING_LOAD_BALANCING_DATA_POINTS
The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.
MISSING_LOAD_BALANCING_DATA_POINTS = 509858898;public static final AutoscalerStatusDetails.Type MODE_OFF
Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved.
MODE_OFF = 164169907;public static final AutoscalerStatusDetails.Type MODE_ONLY_SCALE_OUT
Autoscaling is in the "Autoscale only scale out" mode. Instances in the group will be only added.
MODE_ONLY_SCALE_OUT = 3840994;public static final AutoscalerStatusDetails.Type MODE_ONLY_UP
Autoscaling is in the "Autoscale only out" mode. Instances in the group will be only added.
MODE_ONLY_UP = 100969842;public static final AutoscalerStatusDetails.Type MORE_THAN_ONE_BACKEND_SERVICE
The instance group cannot be autoscaled because it has more than one backend service attached to it.
MORE_THAN_ONE_BACKEND_SERVICE = 151922141;public static final AutoscalerStatusDetails.Type NOT_ENOUGH_QUOTA_AVAILABLE
There is insufficient quota for the necessary resources, such as CPU or number of instances.
NOT_ENOUGH_QUOTA_AVAILABLE = 403101631;public static final AutoscalerStatusDetails.Type REGION_RESOURCE_STOCKOUT
Showed only for regional autoscalers: there is a resource stockout in the chosen region.
REGION_RESOURCE_STOCKOUT = 528622846;public static final AutoscalerStatusDetails.Type SCALING_TARGET_DOES_NOT_EXIST
The target to be scaled does not exist.
SCALING_TARGET_DOES_NOT_EXIST = 122636699;public static final AutoscalerStatusDetails.Type SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX
For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances.
SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX = 29275586;public static final AutoscalerStatusDetails.Type SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN
For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances.
SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN = 398287669;public static final AutoscalerStatusDetails.Type UNKNOWN
UNKNOWN = 433141802;public static final AutoscalerStatusDetails.Type UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.
UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION = 330845009;public static final AutoscalerStatusDetails.Type ZONE_RESOURCE_STOCKOUT
For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout.
ZONE_RESOURCE_STOCKOUT = 210200502;public static final AutoscalerStatusDetails.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int ALL_INSTANCES_UNHEALTHY_VALUE
All instances in the instance group are unhealthy (not in RUNNING state).
ALL_INSTANCES_UNHEALTHY = 404965477;public static final int BACKEND_SERVICE_DOES_NOT_EXIST_VALUE
There is no backend service attached to the instance group.
BACKEND_SERVICE_DOES_NOT_EXIST = 191417626;public static final int CAPPED_AT_MAX_NUM_REPLICAS_VALUE
Autoscaler recommends a size greater than maxNumReplicas.
CAPPED_AT_MAX_NUM_REPLICAS = 518617;public static final int CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE_VALUE
The custom metric samples are not exported often enough to be a credible base for autoscaling.
CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE = 328964659;public static final int CUSTOM_METRIC_INVALID_VALUE
The custom metric that was specified does not exist or does not have the necessary labels.
CUSTOM_METRIC_INVALID = 204430550;public static final int MIN_EQUALS_MAX_VALUE
The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group.
MIN_EQUALS_MAX = 2821361;public static final int MISSING_CUSTOM_METRIC_DATA_POINTS_VALUE
The autoscaler did not receive any data from the custom metric configured for autoscaling.
MISSING_CUSTOM_METRIC_DATA_POINTS = 94885086;public static final int MISSING_LOAD_BALANCING_DATA_POINTS_VALUE
The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.
MISSING_LOAD_BALANCING_DATA_POINTS = 509858898;public static final int MODE_OFF_VALUE
Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved.
MODE_OFF = 164169907;public static final int MODE_ONLY_SCALE_OUT_VALUE
Autoscaling is in the "Autoscale only scale out" mode. Instances in the group will be only added.
MODE_ONLY_SCALE_OUT = 3840994;public static final int MODE_ONLY_UP_VALUE
Autoscaling is in the "Autoscale only out" mode. Instances in the group will be only added.
MODE_ONLY_UP = 100969842;public static final int MORE_THAN_ONE_BACKEND_SERVICE_VALUE
The instance group cannot be autoscaled because it has more than one backend service attached to it.
MORE_THAN_ONE_BACKEND_SERVICE = 151922141;public static final int NOT_ENOUGH_QUOTA_AVAILABLE_VALUE
There is insufficient quota for the necessary resources, such as CPU or number of instances.
NOT_ENOUGH_QUOTA_AVAILABLE = 403101631;public static final int REGION_RESOURCE_STOCKOUT_VALUE
Showed only for regional autoscalers: there is a resource stockout in the chosen region.
REGION_RESOURCE_STOCKOUT = 528622846;public static final int SCALING_TARGET_DOES_NOT_EXIST_VALUE
The target to be scaled does not exist.
SCALING_TARGET_DOES_NOT_EXIST = 122636699;public static final int SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX_VALUE
For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances.
SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX = 29275586;public static final int SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN_VALUE
For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances.
SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN = 398287669;public static final int UNKNOWN_VALUE
UNKNOWN = 433141802;public static final int UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUE
Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.
UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION = 330845009;public static final int ZONE_RESOURCE_STOCKOUT_VALUE
For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout.
ZONE_RESOURCE_STOCKOUT = 210200502;public static AutoscalerStatusDetails.Type[] values()
for (AutoscalerStatusDetails.Type c : AutoscalerStatusDetails.Type.values()) System.out.println(c);
public static AutoscalerStatusDetails.Type 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 AutoscalerStatusDetails.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AutoscalerStatusDetails.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AutoscalerStatusDetails.Type> 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 AutoscalerStatusDetails.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.