Udostępnij za pośrednictwem


SearchServiceIPRule Class

Definition

The IP restriction rule of the Azure AI Search service.

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

Constructors

SearchServiceIPRule()

Initializes a new instance of SearchServiceIPRule.

Properties

Value

Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed.

Explicit Interface Implementations

IJsonModel<SearchServiceIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchServiceIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchServiceIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchServiceIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchServiceIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to