UpdateDrgNatRuleDetails

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

Bases: object

DRG NAT rules to update in the DRG NAT policy.

Methods:

__init__(**kwargs)

Initializes a new UpdateDrgNatRuleDetails object with values from keyword arguments.

Attributes:

drg_nat_rule_priority

Gets the drg_nat_rule_priority of this UpdateDrgNatRuleDetails.

id

[Required] Gets the id of this UpdateDrgNatRuleDetails.

original_destination

Gets the original_destination of this UpdateDrgNatRuleDetails.

original_source

Gets the original_source of this UpdateDrgNatRuleDetails.

translated_destination

Gets the translated_destination of this UpdateDrgNatRuleDetails.

translated_source

Gets the translated_source of this UpdateDrgNatRuleDetails.

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this UpdateDrgNatRuleDetails.

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

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

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

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

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

property drg_nat_rule_priority

Gets the drg_nat_rule_priority of this UpdateDrgNatRuleDetails. The priority associated with each DRG NAT rule.

Returns

The drg_nat_rule_priority of this UpdateDrgNatRuleDetails.

Return type

int

property id

[Required] Gets the id of this UpdateDrgNatRuleDetails. The Oracle-assigned ID of the DRG NAT rule.

Returns

The id of this UpdateDrgNatRuleDetails.

Return type

str

property original_destination

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

Return type

str

property original_source

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

Return type

str

property translated_destination

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

Return type

str

property translated_source

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

Return type

str