Class NatRule
A Nat Rule is used to define to which traffic NAT should be applied by the firewall.
Inherited Members
Namespace: Oci.NetworkfirewallService.Models
Assembly: OCI.DotNetSDK.Networkfirewall.dll
Syntax
[JsonConverter(typeof(NatRuleModelConverter))]
public class NatRuleProperties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Description of a NAT rule. This field can be used to add additional info. | 
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Name for the NAT rule, must be unique within the policy. | 
Remarks
Required
ParentResourceId
Declaration
[Required(ErrorMessage = "ParentResourceId is required.")]
[JsonProperty(PropertyName = "parentResourceId")]
public string ParentResourceId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | OCID of the Network Firewall Policy this decryption profile belongs to. | 
Remarks
Required
Position
Declaration
[JsonProperty(PropertyName = "position")]
public RulePosition Position { get; set; }Property Value
| Type | Description | 
|---|---|
| RulePosition | 
PriorityOrder
Declaration
[JsonProperty(PropertyName = "priorityOrder")]
public long? PriorityOrder { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | The priority order in which this rule should be evaluated |