1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. RoutePolicyDefinition
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

sdwan.RoutePolicyDefinition

Explore with Pulumi AI

This resource can manage a Route Policy Definition .

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.RoutePolicyDefinition;
import com.pulumi.sdwan.RoutePolicyDefinitionArgs;
import com.pulumi.sdwan.inputs.RoutePolicyDefinitionSequenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new RoutePolicyDefinition("example", RoutePolicyDefinitionArgs.builder()
            .name("Example")
            .description("My description")
            .defaultAction("reject")
            .sequences(RoutePolicyDefinitionSequenceArgs.builder()
                .id(10)
                .ip_type("ipv4")
                .name("Sequence 10")
                .base_action("accept")
                .match_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .action_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: sdwan:RoutePolicyDefinition
    properties:
      name: Example
      description: My description
      defaultAction: reject
      sequences:
        - id: 10
          ip_type: ipv4
          name: Sequence 10
          base_action: accept
          match_entries:
            - type: metric
              metric: 100
          action_entries:
            - type: aggregator
              aggregator: 10
              aggregatorIpAddress: 10.1.2.3
Copy

Create RoutePolicyDefinition Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new RoutePolicyDefinition(name: string, args: RoutePolicyDefinitionArgs, opts?: CustomResourceOptions);
@overload
def RoutePolicyDefinition(resource_name: str,
                          args: RoutePolicyDefinitionArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def RoutePolicyDefinition(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          default_action: Optional[str] = None,
                          name: Optional[str] = None,
                          sequences: Optional[Sequence[RoutePolicyDefinitionSequenceArgs]] = None)
func NewRoutePolicyDefinition(ctx *Context, name string, args RoutePolicyDefinitionArgs, opts ...ResourceOption) (*RoutePolicyDefinition, error)
public RoutePolicyDefinition(string name, RoutePolicyDefinitionArgs args, CustomResourceOptions? opts = null)
public RoutePolicyDefinition(String name, RoutePolicyDefinitionArgs args)
public RoutePolicyDefinition(String name, RoutePolicyDefinitionArgs args, CustomResourceOptions options)
type: sdwan:RoutePolicyDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RoutePolicyDefinitionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RoutePolicyDefinitionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RoutePolicyDefinitionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RoutePolicyDefinitionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RoutePolicyDefinitionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var routePolicyDefinitionResource = new Sdwan.RoutePolicyDefinition("routePolicyDefinitionResource", new()
{
    Description = "string",
    DefaultAction = "string",
    Name = "string",
    Sequences = new[]
    {
        new Sdwan.Inputs.RoutePolicyDefinitionSequenceArgs
        {
            Id = 0,
            Name = "string",
            ActionEntries = new[]
            {
                new Sdwan.Inputs.RoutePolicyDefinitionSequenceActionEntryArgs
                {
                    Type = "string",
                    Metric = 0,
                    NextHop = "string",
                    AsPathPrepend = "string",
                    AtomicAggregate = false,
                    Community = "string",
                    CommunityAdditive = false,
                    AsPathExclude = "string",
                    LocalPreference = 0,
                    MetricType = "string",
                    Aggregator = 0,
                    OmpTag = 0,
                    Origin = "string",
                    Originator = "string",
                    OspfTag = 0,
                    AggregatorIpAddress = "string",
                    Weight = 0,
                },
            },
            BaseAction = "string",
            IpType = "string",
            MatchEntries = new[]
            {
                new Sdwan.Inputs.RoutePolicyDefinitionSequenceMatchEntryArgs
                {
                    Type = "string",
                    Metric = 0,
                    NextHopPrefixListId = "string",
                    CommunityListMatchFlag = "string",
                    AsPathListId = "string",
                    ExpandedCommunityListId = "string",
                    ExpandedCommunityListVersion = 0,
                    ExtendedCommunityListId = "string",
                    ExtendedCommunityListVersion = 0,
                    CommunityListIds = new[]
                    {
                        "string",
                    },
                    LocalPreference = 0,
                    CommunityListVersions = new[]
                    {
                        "string",
                    },
                    NextHopPrefixListVersion = 0,
                    OmpTag = 0,
                    Origin = "string",
                    OspfTag = 0,
                    Peer = "string",
                    PrefixListId = "string",
                    PrefixListVersion = 0,
                    AsPathListVersion = 0,
                },
            },
        },
    },
});
Copy
example, err := sdwan.NewRoutePolicyDefinition(ctx, "routePolicyDefinitionResource", &sdwan.RoutePolicyDefinitionArgs{
	Description:   pulumi.String("string"),
	DefaultAction: pulumi.String("string"),
	Name:          pulumi.String("string"),
	Sequences: sdwan.RoutePolicyDefinitionSequenceArray{
		&sdwan.RoutePolicyDefinitionSequenceArgs{
			Id:   pulumi.Int(0),
			Name: pulumi.String("string"),
			ActionEntries: sdwan.RoutePolicyDefinitionSequenceActionEntryArray{
				&sdwan.RoutePolicyDefinitionSequenceActionEntryArgs{
					Type:                pulumi.String("string"),
					Metric:              pulumi.Int(0),
					NextHop:             pulumi.String("string"),
					AsPathPrepend:       pulumi.String("string"),
					AtomicAggregate:     pulumi.Bool(false),
					Community:           pulumi.String("string"),
					CommunityAdditive:   pulumi.Bool(false),
					AsPathExclude:       pulumi.String("string"),
					LocalPreference:     pulumi.Int(0),
					MetricType:          pulumi.String("string"),
					Aggregator:          pulumi.Int(0),
					OmpTag:              pulumi.Int(0),
					Origin:              pulumi.String("string"),
					Originator:          pulumi.String("string"),
					OspfTag:             pulumi.Int(0),
					AggregatorIpAddress: pulumi.String("string"),
					Weight:              pulumi.Int(0),
				},
			},
			BaseAction: pulumi.String("string"),
			IpType:     pulumi.String("string"),
			MatchEntries: sdwan.RoutePolicyDefinitionSequenceMatchEntryArray{
				&sdwan.RoutePolicyDefinitionSequenceMatchEntryArgs{
					Type:                         pulumi.String("string"),
					Metric:                       pulumi.Int(0),
					NextHopPrefixListId:          pulumi.String("string"),
					CommunityListMatchFlag:       pulumi.String("string"),
					AsPathListId:                 pulumi.String("string"),
					ExpandedCommunityListId:      pulumi.String("string"),
					ExpandedCommunityListVersion: pulumi.Int(0),
					ExtendedCommunityListId:      pulumi.String("string"),
					ExtendedCommunityListVersion: pulumi.Int(0),
					CommunityListIds: pulumi.StringArray{
						pulumi.String("string"),
					},
					LocalPreference: pulumi.Int(0),
					CommunityListVersions: pulumi.StringArray{
						pulumi.String("string"),
					},
					NextHopPrefixListVersion: pulumi.Int(0),
					OmpTag:                   pulumi.Int(0),
					Origin:                   pulumi.String("string"),
					OspfTag:                  pulumi.Int(0),
					Peer:                     pulumi.String("string"),
					PrefixListId:             pulumi.String("string"),
					PrefixListVersion:        pulumi.Int(0),
					AsPathListVersion:        pulumi.Int(0),
				},
			},
		},
	},
})
Copy
var routePolicyDefinitionResource = new RoutePolicyDefinition("routePolicyDefinitionResource", RoutePolicyDefinitionArgs.builder()
    .description("string")
    .defaultAction("string")
    .name("string")
    .sequences(RoutePolicyDefinitionSequenceArgs.builder()
        .id(0)
        .name("string")
        .actionEntries(RoutePolicyDefinitionSequenceActionEntryArgs.builder()
            .type("string")
            .metric(0)
            .nextHop("string")
            .asPathPrepend("string")
            .atomicAggregate(false)
            .community("string")
            .communityAdditive(false)
            .asPathExclude("string")
            .localPreference(0)
            .metricType("string")
            .aggregator(0)
            .ompTag(0)
            .origin("string")
            .originator("string")
            .ospfTag(0)
            .aggregatorIpAddress("string")
            .weight(0)
            .build())
        .baseAction("string")
        .ipType("string")
        .matchEntries(RoutePolicyDefinitionSequenceMatchEntryArgs.builder()
            .type("string")
            .metric(0)
            .nextHopPrefixListId("string")
            .communityListMatchFlag("string")
            .asPathListId("string")
            .expandedCommunityListId("string")
            .expandedCommunityListVersion(0)
            .extendedCommunityListId("string")
            .extendedCommunityListVersion(0)
            .communityListIds("string")
            .localPreference(0)
            .communityListVersions("string")
            .nextHopPrefixListVersion(0)
            .ompTag(0)
            .origin("string")
            .ospfTag(0)
            .peer("string")
            .prefixListId("string")
            .prefixListVersion(0)
            .asPathListVersion(0)
            .build())
        .build())
    .build());
Copy
route_policy_definition_resource = sdwan.RoutePolicyDefinition("routePolicyDefinitionResource",
    description="string",
    default_action="string",
    name="string",
    sequences=[{
        "id": 0,
        "name": "string",
        "action_entries": [{
            "type": "string",
            "metric": 0,
            "next_hop": "string",
            "as_path_prepend": "string",
            "atomic_aggregate": False,
            "community": "string",
            "community_additive": False,
            "as_path_exclude": "string",
            "local_preference": 0,
            "metric_type": "string",
            "aggregator": 0,
            "omp_tag": 0,
            "origin": "string",
            "originator": "string",
            "ospf_tag": 0,
            "aggregator_ip_address": "string",
            "weight": 0,
        }],
        "base_action": "string",
        "ip_type": "string",
        "match_entries": [{
            "type": "string",
            "metric": 0,
            "next_hop_prefix_list_id": "string",
            "community_list_match_flag": "string",
            "as_path_list_id": "string",
            "expanded_community_list_id": "string",
            "expanded_community_list_version": 0,
            "extended_community_list_id": "string",
            "extended_community_list_version": 0,
            "community_list_ids": ["string"],
            "local_preference": 0,
            "community_list_versions": ["string"],
            "next_hop_prefix_list_version": 0,
            "omp_tag": 0,
            "origin": "string",
            "ospf_tag": 0,
            "peer": "string",
            "prefix_list_id": "string",
            "prefix_list_version": 0,
            "as_path_list_version": 0,
        }],
    }])
Copy
const routePolicyDefinitionResource = new sdwan.RoutePolicyDefinition("routePolicyDefinitionResource", {
    description: "string",
    defaultAction: "string",
    name: "string",
    sequences: [{
        id: 0,
        name: "string",
        actionEntries: [{
            type: "string",
            metric: 0,
            nextHop: "string",
            asPathPrepend: "string",
            atomicAggregate: false,
            community: "string",
            communityAdditive: false,
            asPathExclude: "string",
            localPreference: 0,
            metricType: "string",
            aggregator: 0,
            ompTag: 0,
            origin: "string",
            originator: "string",
            ospfTag: 0,
            aggregatorIpAddress: "string",
            weight: 0,
        }],
        baseAction: "string",
        ipType: "string",
        matchEntries: [{
            type: "string",
            metric: 0,
            nextHopPrefixListId: "string",
            communityListMatchFlag: "string",
            asPathListId: "string",
            expandedCommunityListId: "string",
            expandedCommunityListVersion: 0,
            extendedCommunityListId: "string",
            extendedCommunityListVersion: 0,
            communityListIds: ["string"],
            localPreference: 0,
            communityListVersions: ["string"],
            nextHopPrefixListVersion: 0,
            ompTag: 0,
            origin: "string",
            ospfTag: 0,
            peer: "string",
            prefixListId: "string",
            prefixListVersion: 0,
            asPathListVersion: 0,
        }],
    }],
});
Copy
type: sdwan:RoutePolicyDefinition
properties:
    defaultAction: string
    description: string
    name: string
    sequences:
        - actionEntries:
            - aggregator: 0
              aggregatorIpAddress: string
              asPathExclude: string
              asPathPrepend: string
              atomicAggregate: false
              community: string
              communityAdditive: false
              localPreference: 0
              metric: 0
              metricType: string
              nextHop: string
              ompTag: 0
              origin: string
              originator: string
              ospfTag: 0
              type: string
              weight: 0
          baseAction: string
          id: 0
          ipType: string
          matchEntries:
            - asPathListId: string
              asPathListVersion: 0
              communityListIds:
                - string
              communityListMatchFlag: string
              communityListVersions:
                - string
              expandedCommunityListId: string
              expandedCommunityListVersion: 0
              extendedCommunityListId: string
              extendedCommunityListVersion: 0
              localPreference: 0
              metric: 0
              nextHopPrefixListId: string
              nextHopPrefixListVersion: 0
              ompTag: 0
              origin: string
              ospfTag: 0
              peer: string
              prefixListId: string
              prefixListVersion: 0
              type: string
          name: string
Copy

RoutePolicyDefinition Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The RoutePolicyDefinition resource accepts the following input properties:

Description This property is required. string
The description of the policy definition
DefaultAction string
Default action, either accept or reject - Choices: accept, reject
Name string
The name of the policy definition
Sequences List<RoutePolicyDefinitionSequence>
List of ACL sequences
Description This property is required. string
The description of the policy definition
DefaultAction string
Default action, either accept or reject - Choices: accept, reject
Name string
The name of the policy definition
Sequences []RoutePolicyDefinitionSequenceArgs
List of ACL sequences
description This property is required. String
The description of the policy definition
defaultAction String
Default action, either accept or reject - Choices: accept, reject
name String
The name of the policy definition
sequences List<RoutePolicyDefinitionSequence>
List of ACL sequences
description This property is required. string
The description of the policy definition
defaultAction string
Default action, either accept or reject - Choices: accept, reject
name string
The name of the policy definition
sequences RoutePolicyDefinitionSequence[]
List of ACL sequences
description This property is required. str
The description of the policy definition
default_action str
Default action, either accept or reject - Choices: accept, reject
name str
The name of the policy definition
sequences Sequence[RoutePolicyDefinitionSequenceArgs]
List of ACL sequences
description This property is required. String
The description of the policy definition
defaultAction String
Default action, either accept or reject - Choices: accept, reject
name String
The name of the policy definition
sequences List<Property Map>
List of ACL sequences

Outputs

All input properties are implicitly available as output properties. Additionally, the RoutePolicyDefinition resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Type string
Type
Version int
The version of the object
Id string
The provider-assigned unique ID for this managed resource.
Type string
Type
Version int
The version of the object
id String
The provider-assigned unique ID for this managed resource.
type String
Type
version Integer
The version of the object
id string
The provider-assigned unique ID for this managed resource.
type string
Type
version number
The version of the object
id str
The provider-assigned unique ID for this managed resource.
type str
Type
version int
The version of the object
id String
The provider-assigned unique ID for this managed resource.
type String
Type
version Number
The version of the object

Look up Existing RoutePolicyDefinition Resource

Get an existing RoutePolicyDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: RoutePolicyDefinitionState, opts?: CustomResourceOptions): RoutePolicyDefinition
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_action: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        sequences: Optional[Sequence[RoutePolicyDefinitionSequenceArgs]] = None,
        type: Optional[str] = None,
        version: Optional[int] = None) -> RoutePolicyDefinition
func GetRoutePolicyDefinition(ctx *Context, name string, id IDInput, state *RoutePolicyDefinitionState, opts ...ResourceOption) (*RoutePolicyDefinition, error)
public static RoutePolicyDefinition Get(string name, Input<string> id, RoutePolicyDefinitionState? state, CustomResourceOptions? opts = null)
public static RoutePolicyDefinition get(String name, Output<String> id, RoutePolicyDefinitionState state, CustomResourceOptions options)
resources:  _:    type: sdwan:RoutePolicyDefinition    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DefaultAction string
Default action, either accept or reject - Choices: accept, reject
Description string
The description of the policy definition
Name string
The name of the policy definition
Sequences List<RoutePolicyDefinitionSequence>
List of ACL sequences
Type string
Type
Version int
The version of the object
DefaultAction string
Default action, either accept or reject - Choices: accept, reject
Description string
The description of the policy definition
Name string
The name of the policy definition
Sequences []RoutePolicyDefinitionSequenceArgs
List of ACL sequences
Type string
Type
Version int
The version of the object
defaultAction String
Default action, either accept or reject - Choices: accept, reject
description String
The description of the policy definition
name String
The name of the policy definition
sequences List<RoutePolicyDefinitionSequence>
List of ACL sequences
type String
Type
version Integer
The version of the object
defaultAction string
Default action, either accept or reject - Choices: accept, reject
description string
The description of the policy definition
name string
The name of the policy definition
sequences RoutePolicyDefinitionSequence[]
List of ACL sequences
type string
Type
version number
The version of the object
default_action str
Default action, either accept or reject - Choices: accept, reject
description str
The description of the policy definition
name str
The name of the policy definition
sequences Sequence[RoutePolicyDefinitionSequenceArgs]
List of ACL sequences
type str
Type
version int
The version of the object
defaultAction String
Default action, either accept or reject - Choices: accept, reject
description String
The description of the policy definition
name String
The name of the policy definition
sequences List<Property Map>
List of ACL sequences
type String
Type
version Number
The version of the object

Supporting Types

RoutePolicyDefinitionSequence
, RoutePolicyDefinitionSequenceArgs

Id This property is required. int
Sequence ID

  • Range: 1-65534
Name This property is required. string
Sequence name
ActionEntries List<RoutePolicyDefinitionSequenceActionEntry>
List of action entries
BaseAction string
Base action, either accept or reject

  • Choices: accept, reject
IpType string
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
MatchEntries List<RoutePolicyDefinitionSequenceMatchEntry>
List of match entries
Id This property is required. int
Sequence ID

  • Range: 1-65534
Name This property is required. string
Sequence name
ActionEntries []RoutePolicyDefinitionSequenceActionEntry
List of action entries
BaseAction string
Base action, either accept or reject

  • Choices: accept, reject
IpType string
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
MatchEntries []RoutePolicyDefinitionSequenceMatchEntry
List of match entries
id This property is required. Integer
Sequence ID

  • Range: 1-65534
name This property is required. String
Sequence name
actionEntries List<RoutePolicyDefinitionSequenceActionEntry>
List of action entries
baseAction String
Base action, either accept or reject

  • Choices: accept, reject
ipType String
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
matchEntries List<RoutePolicyDefinitionSequenceMatchEntry>
List of match entries
id This property is required. number
Sequence ID

  • Range: 1-65534
name This property is required. string
Sequence name
actionEntries RoutePolicyDefinitionSequenceActionEntry[]
List of action entries
baseAction string
Base action, either accept or reject

  • Choices: accept, reject
ipType string
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
matchEntries RoutePolicyDefinitionSequenceMatchEntry[]
List of match entries
id This property is required. int
Sequence ID

  • Range: 1-65534
name This property is required. str
Sequence name
action_entries Sequence[RoutePolicyDefinitionSequenceActionEntry]
List of action entries
base_action str
Base action, either accept or reject

  • Choices: accept, reject
ip_type str
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
match_entries Sequence[RoutePolicyDefinitionSequenceMatchEntry]
List of match entries
id This property is required. Number
Sequence ID

  • Range: 1-65534
name This property is required. String
Sequence name
actionEntries List<Property Map>
List of action entries
baseAction String
Base action, either accept or reject

  • Choices: accept, reject
ipType String
IP version, either ipv4 or ipv6

  • Choices: ipv4, ipv6
matchEntries List<Property Map>
List of match entries

RoutePolicyDefinitionSequenceActionEntry
, RoutePolicyDefinitionSequenceActionEntryArgs

Type This property is required. string
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
Aggregator int
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
AggregatorIpAddress string
IP address, Attribute conditional on type being equal to aggregator
AsPathExclude string
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
AsPathPrepend string
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
AtomicAggregate bool
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
Community string
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
CommunityAdditive bool
Community additive, Attribute conditional on type being equal to communityAdditive
LocalPreference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
Metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
MetricType string
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
NextHop string
Next hop IP, Attribute conditional on type being equal to nextHop
OmpTag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
Origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
Originator string
Originator IP, Attribute conditional on type being equal to originator
OspfTag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
Weight int
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295
Type This property is required. string
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
Aggregator int
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
AggregatorIpAddress string
IP address, Attribute conditional on type being equal to aggregator
AsPathExclude string
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
AsPathPrepend string
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
AtomicAggregate bool
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
Community string
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
CommunityAdditive bool
Community additive, Attribute conditional on type being equal to communityAdditive
LocalPreference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
Metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
MetricType string
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
NextHop string
Next hop IP, Attribute conditional on type being equal to nextHop
OmpTag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
Origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
Originator string
Originator IP, Attribute conditional on type being equal to originator
OspfTag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
Weight int
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295
type This property is required. String
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
aggregator Integer
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
aggregatorIpAddress String
IP address, Attribute conditional on type being equal to aggregator
asPathExclude String
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
asPathPrepend String
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
atomicAggregate Boolean
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
community String
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
communityAdditive Boolean
Community additive, Attribute conditional on type being equal to communityAdditive
localPreference Integer
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric Integer
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
metricType String
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
nextHop String
Next hop IP, Attribute conditional on type being equal to nextHop
ompTag Integer
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin String
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
originator String
Originator IP, Attribute conditional on type being equal to originator
ospfTag Integer
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
weight Integer
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295
type This property is required. string
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
aggregator number
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
aggregatorIpAddress string
IP address, Attribute conditional on type being equal to aggregator
asPathExclude string
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
asPathPrepend string
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
atomicAggregate boolean
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
community string
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
communityAdditive boolean
Community additive, Attribute conditional on type being equal to communityAdditive
localPreference number
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric number
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
metricType string
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
nextHop string
Next hop IP, Attribute conditional on type being equal to nextHop
ompTag number
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
originator string
Originator IP, Attribute conditional on type being equal to originator
ospfTag number
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
weight number
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295
type This property is required. str
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
aggregator int
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
aggregator_ip_address str
IP address, Attribute conditional on type being equal to aggregator
as_path_exclude str
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
as_path_prepend str
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
atomic_aggregate bool
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
community str
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
community_additive bool
Community additive, Attribute conditional on type being equal to communityAdditive
local_preference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
metric_type str
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
next_hop str
Next hop IP, Attribute conditional on type being equal to nextHop
omp_tag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin str
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
originator str
Originator IP, Attribute conditional on type being equal to originator
ospf_tag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
weight int
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295
type This property is required. String
Type of action entry

  • Choices: aggregator, asPath, atomicAggregate, community, communityAdditive, localPreference, metric, weight, metricType, nextHop, ompTag, ospfTag, origin, originator
aggregator Number
Aggregator, Attribute conditional on type being equal to aggregator

  • Range: 0-4294967295
aggregatorIpAddress String
IP address, Attribute conditional on type being equal to aggregator
asPathExclude String
Space separated list of ASN to exclude, Attribute conditional on type being equal to asPath
asPathPrepend String
Space separated list of ASN to prepend, Attribute conditional on type being equal to asPath
atomicAggregate Boolean
Atomic aggregate, Attribute conditional on type being equal to atomicAggregate
community String
Community value, e.g. 1000:10000 or internet or local-AS, Attribute conditional on type being equal to community
communityAdditive Boolean
Community additive, Attribute conditional on type being equal to communityAdditive
localPreference Number
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric Number
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
metricType String
Metric type, Attribute conditional on type being equal to metricType

  • Choices: type1, type2
nextHop String
Next hop IP, Attribute conditional on type being equal to nextHop
ompTag Number
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin String
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
originator String
Originator IP, Attribute conditional on type being equal to originator
ospfTag Number
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
weight Number
Weight, Attribute conditional on type being equal to weight

  • Range: 0-4294967295

RoutePolicyDefinitionSequenceMatchEntry
, RoutePolicyDefinitionSequenceMatchEntryArgs

Type This property is required. string
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
AsPathListId string
AS path list ID, Attribute conditional on type being equal to asPath
AsPathListVersion int
AS path list version
CommunityListIds List<string>
Community list IDs, Attribute conditional on type being equal to advancedCommunity
CommunityListMatchFlag string
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
CommunityListVersions List<string>
Community list versions
ExpandedCommunityListId string
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
ExpandedCommunityListVersion int
Expanded community list version
ExtendedCommunityListId string
Extended community list ID, Attribute conditional on type being equal to extCommunity
ExtendedCommunityListVersion int
Extended community list version
LocalPreference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
Metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
NextHopPrefixListId string
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
NextHopPrefixListVersion int
Next hop prefix list version
OmpTag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
Origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
OspfTag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
Peer string
Peer IP, Attribute conditional on type being equal to peer
PrefixListId string
Prefix list ID, Attribute conditional on type being equal to address
PrefixListVersion int
Prefix list version
Type This property is required. string
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
AsPathListId string
AS path list ID, Attribute conditional on type being equal to asPath
AsPathListVersion int
AS path list version
CommunityListIds []string
Community list IDs, Attribute conditional on type being equal to advancedCommunity
CommunityListMatchFlag string
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
CommunityListVersions []string
Community list versions
ExpandedCommunityListId string
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
ExpandedCommunityListVersion int
Expanded community list version
ExtendedCommunityListId string
Extended community list ID, Attribute conditional on type being equal to extCommunity
ExtendedCommunityListVersion int
Extended community list version
LocalPreference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
Metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
NextHopPrefixListId string
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
NextHopPrefixListVersion int
Next hop prefix list version
OmpTag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
Origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
OspfTag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
Peer string
Peer IP, Attribute conditional on type being equal to peer
PrefixListId string
Prefix list ID, Attribute conditional on type being equal to address
PrefixListVersion int
Prefix list version
type This property is required. String
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
asPathListId String
AS path list ID, Attribute conditional on type being equal to asPath
asPathListVersion Integer
AS path list version
communityListIds List<String>
Community list IDs, Attribute conditional on type being equal to advancedCommunity
communityListMatchFlag String
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
communityListVersions List<String>
Community list versions
expandedCommunityListId String
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
expandedCommunityListVersion Integer
Expanded community list version
extendedCommunityListId String
Extended community list ID, Attribute conditional on type being equal to extCommunity
extendedCommunityListVersion Integer
Extended community list version
localPreference Integer
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric Integer
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
nextHopPrefixListId String
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
nextHopPrefixListVersion Integer
Next hop prefix list version
ompTag Integer
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin String
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
ospfTag Integer
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
peer String
Peer IP, Attribute conditional on type being equal to peer
prefixListId String
Prefix list ID, Attribute conditional on type being equal to address
prefixListVersion Integer
Prefix list version
type This property is required. string
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
asPathListId string
AS path list ID, Attribute conditional on type being equal to asPath
asPathListVersion number
AS path list version
communityListIds string[]
Community list IDs, Attribute conditional on type being equal to advancedCommunity
communityListMatchFlag string
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
communityListVersions string[]
Community list versions
expandedCommunityListId string
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
expandedCommunityListVersion number
Expanded community list version
extendedCommunityListId string
Extended community list ID, Attribute conditional on type being equal to extCommunity
extendedCommunityListVersion number
Extended community list version
localPreference number
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric number
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
nextHopPrefixListId string
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
nextHopPrefixListVersion number
Next hop prefix list version
ompTag number
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin string
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
ospfTag number
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
peer string
Peer IP, Attribute conditional on type being equal to peer
prefixListId string
Prefix list ID, Attribute conditional on type being equal to address
prefixListVersion number
Prefix list version
type This property is required. str
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
as_path_list_id str
AS path list ID, Attribute conditional on type being equal to asPath
as_path_list_version int
AS path list version
community_list_ids Sequence[str]
Community list IDs, Attribute conditional on type being equal to advancedCommunity
community_list_match_flag str
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
community_list_versions Sequence[str]
Community list versions
expanded_community_list_id str
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
expanded_community_list_version int
Expanded community list version
extended_community_list_id str
Extended community list ID, Attribute conditional on type being equal to extCommunity
extended_community_list_version int
Extended community list version
local_preference int
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric int
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
next_hop_prefix_list_id str
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
next_hop_prefix_list_version int
Next hop prefix list version
omp_tag int
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin str
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
ospf_tag int
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
peer str
Peer IP, Attribute conditional on type being equal to peer
prefix_list_id str
Prefix list ID, Attribute conditional on type being equal to address
prefix_list_version int
Prefix list version
type This property is required. String
Type of match entry

  • Choices: address, asPath, advancedCommunity, expandedCommunity, extCommunity, localPreference, metric, nextHop, origin, peer, ompTag, ospfTag
asPathListId String
AS path list ID, Attribute conditional on type being equal to asPath
asPathListVersion Number
AS path list version
communityListIds List<String>
Community list IDs, Attribute conditional on type being equal to advancedCommunity
communityListMatchFlag String
Community list match flag, Attribute conditional on type being equal to advancedCommunity

  • Choices: and, or, exact
communityListVersions List<String>
Community list versions
expandedCommunityListId String
Expanded community list ID, Attribute conditional on type being equal to expandedCommunity
expandedCommunityListVersion Number
Expanded community list version
extendedCommunityListId String
Extended community list ID, Attribute conditional on type being equal to extCommunity
extendedCommunityListVersion Number
Extended community list version
localPreference Number
Local preference, Attribute conditional on type being equal to localPreference

  • Range: 0-4294967295
metric Number
Metric, Attribute conditional on type being equal to metric

  • Range: 0-4294967295
nextHopPrefixListId String
Next hop prefix list ID, Attribute conditional on type being equal to nextHop
nextHopPrefixListVersion Number
Next hop prefix list version
ompTag Number
OMP tag, Attribute conditional on type being equal to ompTag

  • Range: 0-4294967295
origin String
Origin, Attribute conditional on type being equal to origin

  • Choices: igp, egp, incomplete
ospfTag Number
OSPF tag, Attribute conditional on type being equal to ospfTag

  • Range: 0-4294967295
peer String
Peer IP, Attribute conditional on type being equal to peer
prefixListId String
Prefix list ID, Attribute conditional on type being equal to address
prefixListVersion Number
Prefix list version

Import

$ pulumi import sdwan:index/routePolicyDefinition:RoutePolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
sdwan pulumi/pulumi-sdwan
License
Apache-2.0
Notes
This Pulumi package is based on the sdwan Terraform Provider.