PlacementGroupArgs class
The set of arguments for PlacementGroup. The set of arguments for PlacementGroup.
Constructors
-
PlacementGroupArgs({Input<
String?> ? name, Input<int?> ? partitionCount, Input<String?> ? region, Input<String?> ? spreadLevel, required Input strategy, Input<Map< ? tags})String, String> ?> -
Creates a new PlacementGroupArgs.
nameThe name of the placement group.partitionCountThe number of partitions to create in theregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.spreadLevelDetermines how placement groups spread instances. Can only be usedstrategyThe placement strategy. Can becluster,partitionorspread.tagsKey-value map of resource tags. .If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
PlacementGroupArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the placement group.
final
-
partitionCount
→ Input<
int?> ? -
The number of partitions to create in the
placement group. Can only be specified when the
strategyis set topartition. Must be at least1. (default is2).final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spreadLevel
→ Input<
String?> ? -
Determines how placement groups spread instances. Can only be used
when the
strategyis set tospread. Can behostorrack.hostcan only be used for Outpost placement groups. Defaults torack.final - strategy → Input
-
The placement strategy. Can be
cluster,partitionorspread.final -
Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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