Class CreateNatRuleDetails
Request for creating a NAT rule used in the firewall policy. A NAT rule defines which traffic NAT should be applied to by the firewall.
Inherited Members
Namespace: Oci.NetworkfirewallService.Models
Assembly: OCI.DotNetSDK.Networkfirewall.dll
Syntax
[JsonConverter(typeof(CreateNatRuleDetailsModelConverter))]
public class CreateNatRuleDetails
Properties
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
Position
Declaration
[JsonProperty(PropertyName = "position")]
public RulePosition Position { get; set; }
Property Value
| Type | Description |
|---|---|
| RulePosition |