Share via


CognitiveServicesNetworkRuleSet Class

Definition

A set of rules governing the network accessibility.

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

Constructors

CognitiveServicesNetworkRuleSet()

Initializes a new instance of CognitiveServicesNetworkRuleSet.

Properties

Bypass

Setting for trusted services.

DefaultAction

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.

IPRules

The list of IP address rules.

VirtualNetworkRules

The list of virtual network rules.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesNetworkRuleSet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesNetworkRuleSet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesNetworkRuleSet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesNetworkRuleSet>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesNetworkRuleSet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to