AdditionalEgressRule¶
- class oci.fusion_apps.models.AdditionalEgressRule(**kwargs)¶
Bases:
objectAdditional egress rule.
Methods:
__init__(**kwargs)Initializes a new AdditionalEgressRule object with values from keyword arguments.
Attributes:
[Required] Gets the description of this AdditionalEgressRule.
[Required] Gets the destination_cidr of this AdditionalEgressRule.
[Required] Gets the max_destination_port of this AdditionalEgressRule.
[Required] Gets the min_destination_port of this AdditionalEgressRule.
- __init__(**kwargs)¶
Initializes a new AdditionalEgressRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
description (str) – The value to assign to the description property of this AdditionalEgressRule.
destination_cidr (str) – The value to assign to the destination_cidr property of this AdditionalEgressRule.
max_destination_port (int) – The value to assign to the max_destination_port property of this AdditionalEgressRule.
min_destination_port (int) – The value to assign to the min_destination_port property of this AdditionalEgressRule.
- property description¶
[Required] Gets the description of this AdditionalEgressRule. Rule description.
- Returns
The description of this AdditionalEgressRule.
- Return type
str
- property destination_cidr¶
[Required] Gets the destination_cidr of this AdditionalEgressRule. Specifies the destination CIDR block the port should be opened for. Must be IPv4 only, and cannot be part of any private range from RFC 1918.
- Returns
The destination_cidr of this AdditionalEgressRule.
- Return type
str
- property max_destination_port¶
[Required] Gets the max_destination_port of this AdditionalEgressRule. The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Returns
The max_destination_port of this AdditionalEgressRule.
- Return type
int
- property min_destination_port¶
[Required] Gets the min_destination_port of this AdditionalEgressRule. The minimum port number, which must not be greater than the maximum port number.
- Returns
The min_destination_port of this AdditionalEgressRule.
- Return type
int