RaiEgressRuleMatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The match criteria for an egress rule. If both host and path are omitted, the rule matches all traffic. Host uses DNS wildcard syntax (e.g., "*.openai.com" matches "api.openai.com"). Path uses URI prefix matching with an asterisk as a single-segment wildcard. For example, "/v1/*" matches "/v1/chat".
public class RaiEgressRuleMatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.RaiEgressRuleMatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.RaiEgressRuleMatch>
type RaiEgressRuleMatch = class
interface IJsonModel<RaiEgressRuleMatch>
interface IPersistableModel<RaiEgressRuleMatch>
Public Class RaiEgressRuleMatch
Implements IJsonModel(Of RaiEgressRuleMatch), IPersistableModel(Of RaiEgressRuleMatch)
- Inheritance
-
RaiEgressRuleMatch
- Implements
Constructors
| Name | Description |
|---|---|
| RaiEgressRuleMatch() |
Initializes a new instance of RaiEgressRuleMatch. |
Properties
| Name | Description |
|---|---|
| Host |
Host pattern to match using DNS wildcard syntax (e.g., "*.openai.com"). A leading "*." matches any subdomain. Omit to match all hosts. |
| Path |
Path pattern to match using URI prefix matching. An asterisk serves as a single-segment wildcard. For example, "/v1/*" matches "/v1/chat". Omit to match all paths. |