Class AddDrgRouteDistributionStatementDetails
Details used to add a route distribution statement.
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.dll
Syntax
public class AddDrgRouteDistributionStatementDetails
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(StringEnumConverter))]
public AddDrgRouteDistributionStatementDetails.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
AddDrgRouteDistributionStatementDetails.ActionEnum? | Accept: import/export the route "as is" |
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. |
Remarks
Required
Priority
Declaration
[Required(ErrorMessage = "Priority is required.")]
[JsonProperty(PropertyName = "priority")]
public int? Priority { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
Remarks
Required