public enum InternalRange.Types.AllocationStrategy
Reference documentation and code samples for the Network Connectivity v1 API enum InternalRange.Types.AllocationStrategy.
Enumeration of range auto-allocation strategies
Namespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Fields |
|
---|---|
Name | Description |
FirstAvailable |
Pick the first available address range. This strategy is deterministic and the result is easy to predict. |
FirstSmallestFitting |
Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space. |
Random |
Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space. |
RandomFirstNAvailable |
Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced. |
Unspecified |
Unspecified is the only valid option when the range is specified explicitly by ip_cidr_range field. Otherwise unspefified means using the default strategy. |