UpdateNatRuleDetails

class oci.network_firewall.models.UpdateNatRuleDetails(**kwargs)

Bases: object

Request for updating a NAT rule used in the firewall policy. A NAT rule defines which traffic NAT should be applied to by the firewall, and how it should do so.

Attributes:

TYPE_NATV4

A constant which can be used with the type property of a UpdateNatRuleDetails.

description

Gets the description of this UpdateNatRuleDetails.

position

Gets the position of this UpdateNatRuleDetails.

type

[Required] Gets the type of this UpdateNatRuleDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateNatRuleDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

TYPE_NATV4 = 'NATV4'

A constant which can be used with the type property of a UpdateNatRuleDetails. This constant has a value of “NATV4”

__init__(**kwargs)

Initializes a new UpdateNatRuleDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this UpdateNatRuleDetails. Allowed values for this property are: “NATV4”

  • description (str) – The value to assign to the description property of this UpdateNatRuleDetails.

  • position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this UpdateNatRuleDetails.

property description

Gets the description of this UpdateNatRuleDetails. Description of a NAT rule. This field can be used to add additional info.

Returns

The description of this UpdateNatRuleDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property position

Gets the position of this UpdateNatRuleDetails.

Returns

The position of this UpdateNatRuleDetails.

Return type

oci.network_firewall.models.RulePosition

property type

[Required] Gets the type of this UpdateNatRuleDetails. NAT type:

  • NATV4 - NATV4 type NAT.

Allowed values for this property are: “NATV4”

Returns

The type of this UpdateNatRuleDetails.

Return type

str