AiPersistentResourceResourcePoolAutoscalingSpec class
Constructors
-
AiPersistentResourceResourcePoolAutoscalingSpec({Input<
String?> ? maxReplicaCount, Input<String?> ? minReplicaCount}) -
Creates a new AiPersistentResourceResourcePoolAutoscalingSpec.
maxReplicaCountmax replicas in the node pool,minReplicaCountmin replicas in the node pool,const -
AiPersistentResourceResourcePoolAutoscalingSpec.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxReplicaCount
→ Input<
String?> ? -
max replicas in the node pool,
must be ≥ replicaCount and > minReplicaCount or will throw error
final
-
minReplicaCount
→ Input<
String?> ? -
min replicas in the node pool,
must be ≤ replicaCount and < maxReplicaCount or will throw error.
For autoscaling enabled Ray-on-Vertex, we allow minReplicaCount of a
resourcePool to be 0 to match the OSS Ray
behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters).
As for Persistent Resource, the minReplicaCount must be > 0, we added
a corresponding validation inside
CreatePersistentResourceRequestValidator.java.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited