UpdateNatV4RuleDetails¶
-
class
oci.network_firewall.models.
UpdateNatV4RuleDetails
(**kwargs)¶ Bases:
oci.network_firewall.models.update_nat_rule_details.UpdateNatRuleDetails
Request for updating NATV4 type Nat Rule used in the firewall policy.
Attributes
ACTION_DIPP_SRC_NAT
A constant which can be used with the action property of a UpdateNatV4RuleDetails. TYPE_NATV4
str(object=’’) -> str action
[Required] Gets the action of this UpdateNatV4RuleDetails. condition
[Required] Gets the condition of this UpdateNatV4RuleDetails. 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 UpdateNatV4RuleDetails 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. -
ACTION_DIPP_SRC_NAT
= 'DIPP_SRC_NAT'¶ A constant which can be used with the action property of a UpdateNatV4RuleDetails. This constant has a value of “DIPP_SRC_NAT”
-
TYPE_NATV4
= 'NATV4'¶
-
__init__
(**kwargs)¶ Initializes a new UpdateNatV4RuleDetails object with values from keyword arguments. The default value of the
type
attribute of this class isNATV4
and it should not be changed. 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 UpdateNatV4RuleDetails. Allowed values for this property are: “NATV4”
- description (str) – The value to assign to the description property of this UpdateNatV4RuleDetails.
- position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this UpdateNatV4RuleDetails.
- condition (oci.network_firewall.models.NatRuleMatchCriteria) – The value to assign to the condition property of this UpdateNatV4RuleDetails.
- action (str) – The value to assign to the action property of this UpdateNatV4RuleDetails. Allowed values for this property are: “DIPP_SRC_NAT”
-
action
¶ [Required] Gets the action of this UpdateNatV4RuleDetails. action:
- DIPP_SRC_NAT - Dynamic-ip-port source NAT.
Allowed values for this property are: “DIPP_SRC_NAT”
Returns: The action of this UpdateNatV4RuleDetails. Return type: str
-
condition
¶ [Required] Gets the condition of this UpdateNatV4RuleDetails.
Returns: The condition of this UpdateNatV4RuleDetails. Return type: oci.network_firewall.models.NatRuleMatchCriteria
-
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.
-
position
¶ Gets the position of this UpdateNatRuleDetails.
Returns: The position of this UpdateNatRuleDetails. Return type: oci.network_firewall.models.RulePosition
-
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
-