Show / Hide Table of Contents

Class DrgNatRule

A DRG NAT rule specifies the mapping between an original source/destination IP and a translated source/destination IP. The source needs to be described in the context of packet entering the DRG.

Inheritance
object
DrgNatRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class DrgNatRule

Properties

DrgNatPolicyId

Declaration
[Required(ErrorMessage = "DrgNatPolicyId is required.")]
[JsonProperty(PropertyName = "drgNatPolicyId")]
public string DrgNatPolicyId { get; set; }
Property Value
Type Description
string

The DRG NAT policy's Oracle ID (OCID).

Remarks

Required

DrgNatRulePriority

Declaration
[Required(ErrorMessage = "DrgNatRulePriority is required.")]
[JsonProperty(PropertyName = "drgNatRulePriority")]
public long? DrgNatRulePriority { get; set; }
Property Value
Type Description
long?

The priority associated with each DRG NAT rule.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The Oracle-assigned ID of the DRG NAT rule.

Remarks

Required

OriginalDestination

Declaration
[JsonProperty(PropertyName = "originalDestination")]
public string OriginalDestination { get; set; }
Property Value
Type Description
string

Represents the range of IP addresses to match against when routing traffic. Original CIDR range for Destination NAT.
Potential values:

  • An IPv4 address range in CIDR notation. For Example: 192.168.1.0/24.

OriginalSource

Declaration
[JsonProperty(PropertyName = "originalSource")]
public string OriginalSource { get; set; }
Property Value
Type Description
string

Represents the range of IP addresses to match against when routing traffic. Original CIDR range for Source NAT.
Potential values:

  • An IPv4 address range in CIDR notation. For Example: 192.168.1.0/24.

TranslatedDestination

Declaration
[JsonProperty(PropertyName = "translatedDestination")]
public string TranslatedDestination { get; set; }
Property Value
Type Description
string

Represents the range of IP addresses to match against when routing traffic. Translated CIDR range for Destination NAT.
Potential values:

  • An IPv4 address range in CIDR notation. For Example: 192.168.1.0/24.

TranslatedSource

Declaration
[JsonProperty(PropertyName = "translatedSource")]
public string TranslatedSource { get; set; }
Property Value
Type Description
string

Represents the range of IP addresses to match against when routing traffic. Translated CIDR range for Source NAT.
Potential values:

  • An IPv4 address range in CIDR notation. For Example: 192.168.1.0/24.
In this article
Back to top