NodePoolPlacementPolicy class
Constructors
-
NodePoolPlacementPolicy({Input<
String?> ? policyName, Input<String?> ? tpuTopology, required Input<String> type}) -
Creates a new NodePoolPlacementPolicy.
policyNameIf set, refers to the name of a custom resource policy supplied by the user.tpuTopologyThe TPU topology like"2x4"or"2x2x2".typeThe type of the policy. Supports a single value: COMPACT.const -
NodePoolPlacementPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policyName
→ Input<
String?> ? -
If set, refers to the name of a custom resource policy supplied by the user.
The resource policy must be in the same project and region as the node pool.
If not found, InvalidArgument error is returned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tpuTopology
→ Input<
String?> ? -
The TPU topology like
"2x4"or"2x2x2".final -
type
→ Input<
String> -
The type of the policy. Supports a single value: COMPACT.
Specifying COMPACT placement policy type places node pool's nodes in a closer
physical proximity in order to reduce network latency between nodes.
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