public static interface DedicatedInfrastructure.AutoscalingSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMaxReplicaCount()
public abstract int getMaxReplicaCount() Optional. The maximum number of replicas. Must be >=
min_replica_count and <= 1000.
For the v1beta version, if not set or set to 0, defaults to
the greater of min_replica_count and 5.
For all other versions, if not set or set to 0, defaults to
the greater of min_replica_count and 2.
int32 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxReplicaCount. |
getMinReplicaCount()
public abstract int getMinReplicaCount() Optional. The minimum number of replicas. If not set or set to 0,
defaults to 2. Must be >= 1 and <= 1000.
int32 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minReplicaCount. |