InternalRangeAllocationOptions class
Constructors
-
InternalRangeAllocationOptions({Input<String?>? allocationStrategy, Input<int?>? firstAvailableRangesLookupSize})
-
Creates a new InternalRangeAllocationOptions.
allocationStrategy Optional. Sets the strategy used to automatically find a free range of a size given by prefixLength. Can be set only when trying to create a reservation that automatically finds the free range to reserve.
firstAvailableRangesLookupSize Must be set when allocationStrategy is RANDOM_FIRST_N_AVAILABLE, otherwise must remain unset. Defines the size of the set of free ranges from which RANDOM_FIRST_N_AVAILABLE strategy randomy selects one,
const
-
InternalRangeAllocationOptions.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
allocationStrategy
→ Input<String?>?
-
Optional. Sets the strategy used to automatically find a free range of a size given by prefixLength. Can be set only when trying to create a reservation that automatically finds the free range to reserve.
Possible values are:
RANDOM, FIRST_AVAILABLE, RANDOM_FIRST_N_AVAILABLE, FIRST_SMALLEST_FITTING.
final
-
firstAvailableRangesLookupSize
→ Input<int?>?
-
Must be set when allocationStrategy is RANDOM_FIRST_N_AVAILABLE, otherwise must remain unset. Defines the size of the set of free ranges from which RANDOM_FIRST_N_AVAILABLE strategy randomy selects one,
in other words it sets the N in the RANDOM_FIRST_N_AVAILABLE.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited