ActionArgs

data class ActionArgs(val parameters: Output<List<ParameterArgs>>? = null, val type: Output<Either<String, RouteMapActionType>>? = null) : ConvertibleToJava<ActionArgs>

Action to be taken on a route matching a RouteMap criterion.

Constructors

Link copied to clipboard
constructor(parameters: Output<List<ParameterArgs>>? = null, type: Output<Either<String, RouteMapActionType>>? = null)

Properties

Link copied to clipboard
val parameters: Output<List<ParameterArgs>>? = null

List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added

Link copied to clipboard
val type: Output<Either<String, RouteMapActionType>>? = null

Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'

Functions

Link copied to clipboard
open override fun toJava(): ActionArgs