Share via


IpAddressOrRange Constructors

Definition

Overloads

IpAddressOrRange()

Initializes a new instance of the IpAddressOrRange class.

IpAddressOrRange(String)

Initializes a new instance of the IpAddressOrRange class.

IpAddressOrRange()

Initializes a new instance of the IpAddressOrRange class.

public IpAddressOrRange ();
Public Sub New ()

Applies to

IpAddressOrRange(String)

Initializes a new instance of the IpAddressOrRange class.

public IpAddressOrRange (string ipAddressOrRangeProperty = default);
new Microsoft.Azure.Management.CosmosDB.Models.IpAddressOrRange : string -> Microsoft.Azure.Management.CosmosDB.Models.IpAddressOrRange
Public Sub New (Optional ipAddressOrRangeProperty As String = Nothing)

Parameters

ipAddressOrRangeProperty
String

A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.

Applies to