SchedulingNodeAffinityResponse class
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
Constructors
-
SchedulingNodeAffinityResponse({required Input<
String> key, required Input<String> operator, required Input<List< values})String> > -
Creates a new SchedulingNodeAffinityResponse.
keyCorresponds to the label key of Node resource.operatorDefines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.valuesCorresponds to the label values of Node resource.const -
SchedulingNodeAffinityResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> -
Corresponds to the label key of Node resource.
final
-
operator
→ Input<
String> -
Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Input<
List< String> > -
Corresponds to the label values of Node resource.
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