Share via


IPAddressPool Class

Definition

IpAddressPool represents a pool of IP addresses that can be allocated to a service.

public class IPAddressPool
public class IPAddressPool : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.IPAddressPool>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.IPAddressPool>
type IPAddressPool = class
type IPAddressPool = class
    interface IJsonModel<IPAddressPool>
    interface IPersistableModel<IPAddressPool>
Public Class IPAddressPool
Public Class IPAddressPool
Implements IJsonModel(Of IPAddressPool), IPersistableModel(Of IPAddressPool)
Inheritance
IPAddressPool
Implements

Constructors

IPAddressPool(IEnumerable<String>, String)

Initializes a new instance of IPAddressPool.

Properties

Addresses

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

The indicator to determine if automatic allocation from the pool should occur.

Name

The name used to identify this IP address pool for association with a BGP advertisement.

OnlyUseHostIPs

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IPAddressPool>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<IPAddressPool>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IPAddressPool>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IPAddressPool>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<IPAddressPool>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to