ArmNetworkCloudModelFactory.IPAddressPool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NetworkCloud.Models.IPAddressPool IPAddressPool(System.Collections.Generic.IEnumerable<string> addresses = default, Azure.ResourceManager.NetworkCloud.Models.BfdEnabled? autoAssign = default, string name = default, Azure.ResourceManager.NetworkCloud.Models.BfdEnabled? onlyUseHostIPs = default);
static member IPAddressPool : seq<string> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BfdEnabled> * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.BfdEnabled> -> Azure.ResourceManager.NetworkCloud.Models.IPAddressPool
Public Shared Function IPAddressPool (Optional addresses As IEnumerable(Of String) = Nothing, Optional autoAssign As Nullable(Of BfdEnabled) = Nothing, Optional name As String = Nothing, Optional onlyUseHostIPs As Nullable(Of BfdEnabled) = Nothing) As IPAddressPool
Parameters
- addresses
- IEnumerable<String>
The list of IP address ranges. Each range can be a either a subnet in CIDR format or an explicit start-end range of IP addresses. For a BGP service load balancer configuration, only CIDR format is supported and excludes /32 (IPv4) and /128 (IPv6) prefixes.
- autoAssign
- Nullable<BfdEnabled>
The indicator to determine if automatic allocation from the pool should occur.
- name
- String
The name used to identify this IP address pool for association with a BGP advertisement.
- onlyUseHostIPs
- Nullable<BfdEnabled>
The indicator to prevent the use of IP addresses ending with .0 and .255 for this pool. Enabling this option will only use IP addresses between .1 and .254 inclusive.
Returns
A new IPAddressPool instance for mocking.