Condividi tramite


CognitiveServicesIPRule Class

Definition

A rule governing the accessibility from a specific ip address or ip range.

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

Constructors

CognitiveServicesIPRule(String)

Initializes a new instance of CognitiveServicesIPRule.

Properties

Value

An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to