AiPersistentResourceResourcePool class
Constructors
-
AiPersistentResourceResourcePool({Input<
AiPersistentResourceResourcePoolAutoscalingSpec?> ? autoscalingSpec, Input<AiPersistentResourceResourcePoolDiskSpec?> ? diskSpec, Input<String?> ? id, required Input<AiPersistentResourceResourcePoolMachineSpec> machineSpec, Input<String?> ? replicaCount, Input<String?> ? usedReplicaCount}) -
Creates a new AiPersistentResourceResourcePool.
autoscalingSpecThe min/max number of replicas allowed if enabling autoscalingdiskSpecRepresents the spec of disk options.idThe unique ID in a PersistentResource for referring to this resource pool.machineSpecSpecification of a single machine.replicaCountThe total number of machines to use for this resource pool.usedReplicaCount(Output)const -
AiPersistentResourceResourcePool.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscalingSpec
→ Input<
AiPersistentResourceResourcePoolAutoscalingSpec?> ? -
The min/max number of replicas allowed if enabling autoscaling
Structure is documented below.
final
-
diskSpec
→ Input<
AiPersistentResourceResourcePoolDiskSpec?> ? -
Represents the spec of disk options.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Input<
String?> ? -
The unique ID in a PersistentResource for referring to this resource pool.
User can specify it if necessary. Otherwise, it's generated
automatically.
final
-
machineSpec
→ Input<
AiPersistentResourceResourcePoolMachineSpec> -
Specification of a single machine.
Structure is documented below.
final
-
replicaCount
→ Input<
String?> ? -
The total number of machines to use for this resource pool.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
usedReplicaCount
→ Input<
String?> ? -
(Output)
The number of machines currently in use by training jobs for this resource
pool. Will replace idle_replica_count.
final
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