Class CreateNatRuleDetails
Request for creating Nat Rule used in the firewall policy. A Nat Rule is used to define to which traffic NAT should be applied by the firewall, and how it should do so.
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 |