RaiEgressRule Class

Definition

A single egress rule. Rules are evaluated in order; first match wins.

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

Constructors

Name Description
RaiEgressRule(String, RaiEgressRuleType, RaiEgressRuleAction)

Initializes a new instance of RaiEgressRule.

Properties

Name Description
Action

The action to take when this rule matches, including the action type and any type-specific configuration (headers for Transform, rewrite target for Rewrite).

Description

Description of the rule.

Match

The match criteria for this rule.

Name

Name of the rule. Must be unique within the policy.

RuleType

The type of rule (e.g., Fqdn). Determines how match criteria are interpreted.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RaiEgressRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<RaiEgressRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<RaiEgressRule>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<RaiEgressRule>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<RaiEgressRule>.Write(ModelReaderWriterOptions)

Applies to