Network Connectivity v1 API - Class InternalRange.Types.AllocationOptions (2.11.0)

public sealed class InternalRange.Types.AllocationOptions : IMessage<InternalRange.Types.AllocationOptions>, IEquatable<InternalRange.Types.AllocationOptions>, IDeepCloneable<InternalRange.Types.AllocationOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Connectivity v1 API class InternalRange.Types.AllocationOptions.

Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.

Inheritance

object > InternalRange.Types.AllocationOptions

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

AllocationOptions()

public AllocationOptions()

AllocationOptions(AllocationOptions)

public AllocationOptions(InternalRange.Types.AllocationOptions other)
Parameter
Name Description
other InternalRangeTypesAllocationOptions

Properties

AllocationStrategy

public InternalRange.Types.AllocationStrategy AllocationStrategy { get; set; }

Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.

Property Value
Type Description
InternalRangeTypesAllocationStrategy

FirstAvailableRangesLookupSize

public int FirstAvailableRangesLookupSize { get; set; }

Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.

Property Value
Type Description
int