Show / Hide Table of Contents

Class DrgRouteDistributionStatement

A single statement within a route distribution. All match criteria in a statement must be met for the action to take place.

Inheritance
object
DrgRouteDistributionStatement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class DrgRouteDistributionStatement

Properties

Action

Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrgRouteDistributionStatement.ActionEnum? Action { get; set; }
Property Value
Type Description
DrgRouteDistributionStatement.ActionEnum?

ACCEPT indicates the route should be imported or exported as-is.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The Oracle-assigned ID of the route distribution statement.

Remarks

Required

MatchCriteria

Declaration
[Required(ErrorMessage = "MatchCriteria is required.")]
[JsonProperty(PropertyName = "matchCriteria")]
public List<DrgRouteDistributionMatchCriteria> MatchCriteria { get; set; }
Property Value
Type Description
List<DrgRouteDistributionMatchCriteria>

The action is applied only if all of the match criteria is met. If there are no match criteria in a statement, any input is considered a match and the action is applied.

Remarks

Required

Priority

Declaration
[Required(ErrorMessage = "Priority is required.")]
[JsonProperty(PropertyName = "priority")]
public int? Priority { get; set; }
Property Value
Type Description
int?

This field specifies the priority of each statement in a route distribution. Priorities must be unique within a particular 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.

Remarks

Required

In this article
Back to top