AddDrgRouteDistributionStatementDetails¶
-
class
oci.vn_monitoring.models.AddDrgRouteDistributionStatementDetails(**kwargs)¶ Bases:
objectDetails used to add a route distribution statement.
Attributes
ACTION_ACCEPTA constant which can be used with the action property of a AddDrgRouteDistributionStatementDetails. action[Required] Gets the action of this AddDrgRouteDistributionStatementDetails. match_criteria[Required] Gets the match_criteria of this AddDrgRouteDistributionStatementDetails. priority[Required] Gets the priority of this AddDrgRouteDistributionStatementDetails. Methods
__init__(**kwargs)Initializes a new AddDrgRouteDistributionStatementDetails object with values from keyword arguments. -
ACTION_ACCEPT= 'ACCEPT'¶ A constant which can be used with the action property of a AddDrgRouteDistributionStatementDetails. This constant has a value of “ACCEPT”
-
__init__(**kwargs)¶ Initializes a new AddDrgRouteDistributionStatementDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - match_criteria (list[oci.vn_monitoring.models.DrgRouteDistributionMatchCriteria]) – The value to assign to the match_criteria property of this AddDrgRouteDistributionStatementDetails.
- action (str) – The value to assign to the action property of this AddDrgRouteDistributionStatementDetails. Allowed values for this property are: “ACCEPT”
- priority (int) – The value to assign to the priority property of this AddDrgRouteDistributionStatementDetails.
-
action¶ [Required] Gets the action of this AddDrgRouteDistributionStatementDetails. Accept: import/export the route “as is”
Allowed values for this property are: “ACCEPT”
Returns: The action of this AddDrgRouteDistributionStatementDetails. Return type: str
-
match_criteria¶ [Required] Gets the match_criteria of this AddDrgRouteDistributionStatementDetails. The action is applied only if all of the match criteria is met.
Returns: The match_criteria of this AddDrgRouteDistributionStatementDetails. Return type: list[oci.vn_monitoring.models.DrgRouteDistributionMatchCriteria]
-
priority¶ [Required] Gets the priority of this AddDrgRouteDistributionStatementDetails. This field is used to specify the priority of each statement in a route distribution. The priority will be represented as a number between 0 and 65535 where a lower number indicates a higher priority. When a route is processed, statements are applied in the order defined by their priority. The first matching rule dictates the action that will be taken on the route.
Returns: The priority of this AddDrgRouteDistributionStatementDetails. Return type: int
-