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.
Inherited Members
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.
|
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.
|
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.
|
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.
|