RaiEgressRuleAction 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 action an egress rule takes when it matches.
- Allow/Deny: no additional fields needed; headers and rewrite must not be set.
- Transform: headers is required with at least one entry; rewrite must not be set.
- Rewrite: rewrite is required with at least one of scheme/host/path;
public class RaiEgressRuleAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.RaiEgressRuleAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.RaiEgressRuleAction>
type RaiEgressRuleAction = class
interface IJsonModel<RaiEgressRuleAction>
interface IPersistableModel<RaiEgressRuleAction>
Public Class RaiEgressRuleAction
Implements IJsonModel(Of RaiEgressRuleAction), IPersistableModel(Of RaiEgressRuleAction)
- Inheritance
-
RaiEgressRuleAction
- Implements
Constructors
| Name | Description |
|---|---|
| RaiEgressRuleAction(RaiEgressRuleActionType) |
Initializes a new instance of RaiEgressRuleAction. |
Properties
| Name | Description |
|---|---|
| ActionType |
The kind of action. |
| Headers |
Header transforms to apply. Required for Transform; optional for Rewrite; not allowed for Allow or Deny. |
| Rewrite |
Destination override. Required for Rewrite; not allowed otherwise. |