CosmosDBIPAddressOrRange Class

Definition

IpAddressOrRange object.

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

Constructors

CosmosDBIPAddressOrRange()

Initializes a new instance of CosmosDBIPAddressOrRange.

Properties

IPAddressOrRange

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”.

Explicit Interface Implementations

IJsonModel<CosmosDBIPAddressOrRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBIPAddressOrRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBIPAddressOrRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBIPAddressOrRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBIPAddressOrRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to