AddDrgNatRulesDetails

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

Bases: object

Details request to add rules to a DRG NAT policy.

Methods:

__init__(**kwargs)

Initializes a new AddDrgNatRulesDetails object with values from keyword arguments.

Attributes:

rules

[Required] Gets the rules of this AddDrgNatRulesDetails.

__init__(**kwargs)

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

Parameters

rules (list[oci.core.models.AddDrgNatRuleDetails]) – The value to assign to the rules property of this AddDrgNatRulesDetails.

property rules

[Required] Gets the rules of this AddDrgNatRulesDetails. The collection of DRG NAT rules to insert into the DRG NAT policy.

Returns

The rules of this AddDrgNatRulesDetails.

Return type

list[oci.core.models.AddDrgNatRuleDetails]