AddDrgNatRuleDetails

class oci.core.models.AddDrgNatRuleDetails(**kwargs)

Bases: object

Details used to add a DRG NAT rule.

Methods:

__init__(**kwargs)

Initializes a new AddDrgNatRuleDetails object with values from keyword arguments.

Attributes:

drg_nat_rule_priority

[Required] Gets the drg_nat_rule_priority of this AddDrgNatRuleDetails.

original_destination

Gets the original_destination of this AddDrgNatRuleDetails.

original_source

Gets the original_source of this AddDrgNatRuleDetails.

translated_destination

Gets the translated_destination of this AddDrgNatRuleDetails.

translated_source

Gets the translated_source of this AddDrgNatRuleDetails.

__init__(**kwargs)

Initializes a new AddDrgNatRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • drg_nat_rule_priority (int) – The value to assign to the drg_nat_rule_priority property of this AddDrgNatRuleDetails.

  • original_source (str) – The value to assign to the original_source property of this AddDrgNatRuleDetails.

  • translated_source (str) – The value to assign to the translated_source property of this AddDrgNatRuleDetails.

  • original_destination (str) – The value to assign to the original_destination property of this AddDrgNatRuleDetails.

  • translated_destination (str) – The value to assign to the translated_destination property of this AddDrgNatRuleDetails.

property drg_nat_rule_priority

[Required] Gets the drg_nat_rule_priority of this AddDrgNatRuleDetails. The priority associated with each DRG NAT rule.

Returns

The drg_nat_rule_priority of this AddDrgNatRuleDetails.

Return type

int

property original_destination

Gets the original_destination of this AddDrgNatRuleDetails. 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.

Returns

The original_destination of this AddDrgNatRuleDetails.

Return type

str

property original_source

Gets the original_source of this AddDrgNatRuleDetails. 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.

Returns

The original_source of this AddDrgNatRuleDetails.

Return type

str

property translated_destination

Gets the translated_destination of this AddDrgNatRuleDetails. 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.

Returns

The translated_destination of this AddDrgNatRuleDetails.

Return type

str

property translated_source

Gets the translated_source of this AddDrgNatRuleDetails. 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.

Returns

The translated_source of this AddDrgNatRuleDetails.

Return type

str