1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. RouteMap
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.RouteMap

Explore with Pulumi AI

This resource can manage the Route Map configuration.

Example Usage

Coming soon!

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.RouteMap;
import com.pulumi.iosxe.RouteMapArgs;
import com.pulumi.iosxe.inputs.RouteMapEntryArgs;
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 RouteMap("example", RouteMapArgs.builder()        
            .entries(RouteMapEntryArgs.builder()
                .continue_(false)
                .description("Entry 10")
                .match_as_paths_legacy(10)
                .match_community_lists_legacy("COMM1")
                .match_extcommunity_lists_legacy("EXTCOMM1")
                .match_interfaces("Loopback1")
                .match_ip_address_access_lists("ACL1")
                .match_ip_next_hop_access_lists("ACL1")
                .match_ipv6_address_access_lists("ACL1")
                .match_ipv6_next_hop_access_lists("ACL1")
                .match_local_preferences_legacy(100)
                .match_route_type_external(true)
                .match_route_type_external_type_1(true)
                .match_route_type_external_type_2(true)
                .match_route_type_internal(true)
                .match_route_type_level_1(true)
                .match_route_type_level_2(true)
                .match_route_type_local(true)
                .match_source_protocol_bgp("65000")
                .match_source_protocol_connected(true)
                .match_source_protocol_eigrp("10")
                .match_source_protocol_isis(true)
                .match_source_protocol_lisp(true)
                .match_source_protocol_ospf("10")
                .match_source_protocol_ospfv3("10")
                .match_source_protocol_rip(true)
                .match_source_protocol_static(true)
                .match_tags(100)
                .match_track(1)
                .operation("permit")
                .seq(10)
                .set_as_path_prepend_as_legacy("65001 65001")
                .set_as_path_prepend_last_as_legacy(5)
                .set_as_path_tag_legacy(true)
                .set_communities_additive_legacy(true)
                .set_communities_legacy("1:2")
                .set_community_list_delete_legacy(true)
                .set_community_list_name_legacy("COMML1")
                .set_default_interfaces("Loopback1")
                .set_extcomunity_rt_legacy("10:10")
                .set_extcomunity_soo_legacy("10:10")
                .set_extcomunity_vpn_distinguisher_legacy("10:10")
                .set_global(false)
                .set_interfaces("Loopback1")
                .set_ip_address("PFL1")
                .set_ip_default_global_next_hop_address("1.2.3.4")
                .set_ip_default_next_hop_address("1.2.3.4")
                .set_ip_global_next_hop_address("1.2.3.4")
                .set_ip_next_hop_address("1.2.3.4")
                .set_ip_qos_group(1)
                .set_ipv6_address("PFL2")
                .set_ipv6_default_global_next_hop("2001::1")
                .set_ipv6_default_next_hop("2001::1")
                .set_ipv6_next_hop("2001::1")
                .set_level_1(true)
                .set_local_preference_legacy(110)
                .set_metric_delay("10")
                .set_metric_loading(10)
                .set_metric_mtu(1500)
                .set_metric_reliability(90)
                .set_metric_type("external")
                .set_metric_value(110)
                .set_tag(100)
                .set_weight_legacy(10000)
                .build())
            .build());

    }
}
Copy

Coming soon!

Coming soon!

resources:
  example:
    type: iosxe:RouteMap
    properties:
      entries:
        - continue: false
          description: Entry 10
          match_as_paths_legacy:
            - 10
          match_community_lists_legacy:
            - COMM1
          match_extcommunity_lists_legacy:
            - EXTCOMM1
          match_interfaces:
            - Loopback1
          match_ip_address_access_lists:
            - ACL1
          match_ip_next_hop_access_lists:
            - ACL1
          match_ipv6_address_access_lists: ACL1
          match_ipv6_next_hop_access_lists: ACL1
          match_local_preferences_legacy:
            - 100
          match_route_type_external: true
          match_route_type_external_type_1: true
          match_route_type_external_type_2: true
          match_route_type_internal: true
          match_route_type_level_1: true
          match_route_type_level_2: true
          match_route_type_local: true
          match_source_protocol_bgp:
            - '65000'
          match_source_protocol_connected: true
          match_source_protocol_eigrp:
            - '10'
          match_source_protocol_isis: true
          match_source_protocol_lisp: true
          match_source_protocol_ospf:
            - '10'
          match_source_protocol_ospfv3:
            - '10'
          match_source_protocol_rip: true
          match_source_protocol_static: true
          match_tags:
            - 100
          match_track: 1
          operation: permit
          seq: 10
          set_as_path_prepend_as_legacy: 65001 65001
          set_as_path_prepend_last_as_legacy: 5
          set_as_path_tag_legacy: true
          set_communities_additive_legacy: true
          set_communities_legacy:
            - 1:2
          set_community_list_delete_legacy: true
          set_community_list_name_legacy: COMML1
          set_default_interfaces:
            - Loopback1
          set_extcomunity_rt_legacy:
            - 10:10
          set_extcomunity_soo_legacy: 10:10
          set_extcomunity_vpn_distinguisher_legacy: 10:10
          set_global: false
          set_interfaces:
            - Loopback1
          set_ip_address: PFL1
          set_ip_default_global_next_hop_address:
            - 1.2.3.4
          set_ip_default_next_hop_address:
            - 1.2.3.4
          set_ip_global_next_hop_address:
            - 1.2.3.4
          set_ip_next_hop_address:
            - 1.2.3.4
          set_ip_qos_group: 1
          set_ipv6_address:
            - PFL2
          set_ipv6_default_global_next_hop: 2001::1
          set_ipv6_default_next_hop:
            - 2001::1
          set_ipv6_next_hop:
            - 2001::1
          set_level_1: true
          set_local_preference_legacy: 110
          set_metric_delay: '10'
          set_metric_loading: 10
          set_metric_mtu: 1500
          set_metric_reliability: 90
          set_metric_type: external
          set_metric_value: 110
          set_tag: 100
          set_weight_legacy: 10000
Copy

Create RouteMap Resource

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

Constructor syntax

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

@overload
def RouteMap(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             device: Optional[str] = None,
             entries: Optional[Sequence[RouteMapEntryArgs]] = None,
             name: Optional[str] = None)
func NewRouteMap(ctx *Context, name string, args *RouteMapArgs, opts ...ResourceOption) (*RouteMap, error)
public RouteMap(string name, RouteMapArgs? args = null, CustomResourceOptions? opts = null)
public RouteMap(String name, RouteMapArgs args)
public RouteMap(String name, RouteMapArgs args, CustomResourceOptions options)
type: iosxe:RouteMap
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 RouteMapArgs
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 RouteMapArgs
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 RouteMapArgs
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 RouteMapArgs
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. RouteMapArgs
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 routeMapResource = new Iosxe.RouteMap("routeMapResource", new()
{
    Device = "string",
    Entries = new[]
    {
        new Iosxe.Inputs.RouteMapEntryArgs
        {
            Seq = 0,
            Continue = false,
            ContinueSequenceNumber = 0,
            Description = "string",
            MatchAsPaths = new[]
            {
                0,
            },
            MatchAsPathsLegacies = new[]
            {
                0,
            },
            MatchCommunityListExactMatch = false,
            MatchCommunityLists = new[]
            {
                "string",
            },
            MatchCommunityListsLegacies = new[]
            {
                "string",
            },
            MatchExtcommunityLists = new[]
            {
                "string",
            },
            MatchExtcommunityListsLegacies = new[]
            {
                "string",
            },
            MatchInterfaces = new[]
            {
                "string",
            },
            MatchIpAddressAccessLists = new[]
            {
                "string",
            },
            MatchIpAddressPrefixLists = new[]
            {
                "string",
            },
            MatchIpNextHopAccessLists = new[]
            {
                "string",
            },
            MatchIpNextHopPrefixLists = new[]
            {
                "string",
            },
            MatchIpv6AddressAccessLists = "string",
            MatchIpv6AddressPrefixLists = "string",
            MatchIpv6NextHopAccessLists = "string",
            MatchIpv6NextHopPrefixLists = "string",
            MatchLocalPreferences = new[]
            {
                0,
            },
            MatchLocalPreferencesLegacies = new[]
            {
                0,
            },
            MatchRouteTypeExternal = false,
            MatchRouteTypeExternalType1 = false,
            MatchRouteTypeExternalType2 = false,
            MatchRouteTypeInternal = false,
            MatchRouteTypeLevel1 = false,
            MatchRouteTypeLevel2 = false,
            MatchRouteTypeLocal = false,
            MatchSourceProtocolBgps = new[]
            {
                "string",
            },
            MatchSourceProtocolConnected = false,
            MatchSourceProtocolEigrps = new[]
            {
                "string",
            },
            MatchSourceProtocolIsis = false,
            MatchSourceProtocolLisp = false,
            MatchSourceProtocolOspfs = new[]
            {
                "string",
            },
            MatchSourceProtocolOspfv3s = new[]
            {
                "string",
            },
            MatchSourceProtocolRip = false,
            MatchSourceProtocolStatic = false,
            MatchTags = new[]
            {
                0,
            },
            MatchTrack = 0,
            Operation = "string",
            SetAsPathPrependAs = "string",
            SetAsPathPrependAsLegacy = "string",
            SetAsPathPrependLastAs = 0,
            SetAsPathPrependLastAsLegacy = 0,
            SetAsPathTag = false,
            SetAsPathTagLegacy = false,
            SetCommunities = new[]
            {
                "string",
            },
            SetCommunitiesAdditive = false,
            SetCommunitiesAdditiveLegacy = false,
            SetCommunitiesLegacies = new[]
            {
                "string",
            },
            SetCommunityListDelete = false,
            SetCommunityListDeleteLegacy = false,
            SetCommunityListExpanded = 0,
            SetCommunityListExpandedLegacy = 0,
            SetCommunityListName = "string",
            SetCommunityListNameLegacy = "string",
            SetCommunityListStandard = 0,
            SetCommunityListStandardLegacy = 0,
            SetCommunityNone = false,
            SetCommunityNoneLegacy = false,
            SetDefaultInterfaces = new[]
            {
                "string",
            },
            SetExtcomunityRtLegacies = new[]
            {
                "string",
            },
            SetExtcomunityRts = new[]
            {
                "string",
            },
            SetExtcomunitySoo = "string",
            SetExtcomunitySooLegacy = "string",
            SetExtcomunityVpnDistinguisher = "string",
            SetExtcomunityVpnDistinguisherAdditive = false,
            SetExtcomunityVpnDistinguisherLegacy = "string",
            SetGlobal = false,
            SetInterfaces = new[]
            {
                "string",
            },
            SetIpAddress = "string",
            SetIpDefaultGlobalNextHopAddresses = new[]
            {
                "string",
            },
            SetIpDefaultNextHopAddresses = new[]
            {
                "string",
            },
            SetIpGlobalNextHopAddresses = new[]
            {
                "string",
            },
            SetIpNextHopAddresses = new[]
            {
                "string",
            },
            SetIpNextHopSelf = false,
            SetIpQosGroup = 0,
            SetIpv6Addresses = new[]
            {
                "string",
            },
            SetIpv6DefaultGlobalNextHop = "string",
            SetIpv6DefaultNextHops = new[]
            {
                "string",
            },
            SetIpv6NextHops = new[]
            {
                "string",
            },
            SetLevel1 = false,
            SetLevel12 = false,
            SetLevel2 = false,
            SetLocalPreference = 0,
            SetLocalPreferenceLegacy = 0,
            SetMetricChange = "string",
            SetMetricDelay = "string",
            SetMetricLoading = 0,
            SetMetricMtu = 0,
            SetMetricReliability = 0,
            SetMetricType = "string",
            SetMetricValue = 0,
            SetTag = 0,
            SetVrf = "string",
            SetWeight = 0,
            SetWeightLegacy = 0,
        },
    },
    Name = "string",
});
Copy
example, err := iosxe.NewRouteMap(ctx, "routeMapResource", &iosxe.RouteMapArgs{
	Device: pulumi.String("string"),
	Entries: iosxe.RouteMapEntryArray{
		&iosxe.RouteMapEntryArgs{
			Seq:                    pulumi.Int(0),
			Continue:               pulumi.Bool(false),
			ContinueSequenceNumber: pulumi.Int(0),
			Description:            pulumi.String("string"),
			MatchAsPaths: pulumi.IntArray{
				pulumi.Int(0),
			},
			MatchAsPathsLegacies: pulumi.IntArray{
				pulumi.Int(0),
			},
			MatchCommunityListExactMatch: pulumi.Bool(false),
			MatchCommunityLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchCommunityListsLegacies: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchExtcommunityLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchExtcommunityListsLegacies: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchInterfaces: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchIpAddressAccessLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchIpAddressPrefixLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchIpNextHopAccessLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchIpNextHopPrefixLists: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchIpv6AddressAccessLists: pulumi.String("string"),
			MatchIpv6AddressPrefixLists: pulumi.String("string"),
			MatchIpv6NextHopAccessLists: pulumi.String("string"),
			MatchIpv6NextHopPrefixLists: pulumi.String("string"),
			MatchLocalPreferences: pulumi.IntArray{
				pulumi.Int(0),
			},
			MatchLocalPreferencesLegacies: pulumi.IntArray{
				pulumi.Int(0),
			},
			MatchRouteTypeExternal:      pulumi.Bool(false),
			MatchRouteTypeExternalType1: pulumi.Bool(false),
			MatchRouteTypeExternalType2: pulumi.Bool(false),
			MatchRouteTypeInternal:      pulumi.Bool(false),
			MatchRouteTypeLevel1:        pulumi.Bool(false),
			MatchRouteTypeLevel2:        pulumi.Bool(false),
			MatchRouteTypeLocal:         pulumi.Bool(false),
			MatchSourceProtocolBgps: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchSourceProtocolConnected: pulumi.Bool(false),
			MatchSourceProtocolEigrps: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchSourceProtocolIsis: pulumi.Bool(false),
			MatchSourceProtocolLisp: pulumi.Bool(false),
			MatchSourceProtocolOspfs: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchSourceProtocolOspfv3s: pulumi.StringArray{
				pulumi.String("string"),
			},
			MatchSourceProtocolRip:    pulumi.Bool(false),
			MatchSourceProtocolStatic: pulumi.Bool(false),
			MatchTags: pulumi.IntArray{
				pulumi.Int(0),
			},
			MatchTrack:                   pulumi.Int(0),
			Operation:                    pulumi.String("string"),
			SetAsPathPrependAs:           pulumi.String("string"),
			SetAsPathPrependAsLegacy:     pulumi.String("string"),
			SetAsPathPrependLastAs:       pulumi.Int(0),
			SetAsPathPrependLastAsLegacy: pulumi.Int(0),
			SetAsPathTag:                 pulumi.Bool(false),
			SetAsPathTagLegacy:           pulumi.Bool(false),
			SetCommunities: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetCommunitiesAdditive:       pulumi.Bool(false),
			SetCommunitiesAdditiveLegacy: pulumi.Bool(false),
			SetCommunitiesLegacies: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetCommunityListDelete:         pulumi.Bool(false),
			SetCommunityListDeleteLegacy:   pulumi.Bool(false),
			SetCommunityListExpanded:       pulumi.Int(0),
			SetCommunityListExpandedLegacy: pulumi.Int(0),
			SetCommunityListName:           pulumi.String("string"),
			SetCommunityListNameLegacy:     pulumi.String("string"),
			SetCommunityListStandard:       pulumi.Int(0),
			SetCommunityListStandardLegacy: pulumi.Int(0),
			SetCommunityNone:               pulumi.Bool(false),
			SetCommunityNoneLegacy:         pulumi.Bool(false),
			SetDefaultInterfaces: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetExtcomunityRtLegacies: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetExtcomunityRts: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetExtcomunitySoo:                      pulumi.String("string"),
			SetExtcomunitySooLegacy:                pulumi.String("string"),
			SetExtcomunityVpnDistinguisher:         pulumi.String("string"),
			SetExtcomunityVpnDistinguisherAdditive: pulumi.Bool(false),
			SetExtcomunityVpnDistinguisherLegacy:   pulumi.String("string"),
			SetGlobal:                              pulumi.Bool(false),
			SetInterfaces: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpAddress: pulumi.String("string"),
			SetIpDefaultGlobalNextHopAddresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpDefaultNextHopAddresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpGlobalNextHopAddresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpNextHopAddresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpNextHopSelf: pulumi.Bool(false),
			SetIpQosGroup:    pulumi.Int(0),
			SetIpv6Addresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpv6DefaultGlobalNextHop: pulumi.String("string"),
			SetIpv6DefaultNextHops: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetIpv6NextHops: pulumi.StringArray{
				pulumi.String("string"),
			},
			SetLevel1:                pulumi.Bool(false),
			SetLevel12:               pulumi.Bool(false),
			SetLevel2:                pulumi.Bool(false),
			SetLocalPreference:       pulumi.Int(0),
			SetLocalPreferenceLegacy: pulumi.Int(0),
			SetMetricChange:          pulumi.String("string"),
			SetMetricDelay:           pulumi.String("string"),
			SetMetricLoading:         pulumi.Int(0),
			SetMetricMtu:             pulumi.Int(0),
			SetMetricReliability:     pulumi.Int(0),
			SetMetricType:            pulumi.String("string"),
			SetMetricValue:           pulumi.Int(0),
			SetTag:                   pulumi.Int(0),
			SetVrf:                   pulumi.String("string"),
			SetWeight:                pulumi.Int(0),
			SetWeightLegacy:          pulumi.Int(0),
		},
	},
	Name: pulumi.String("string"),
})
Copy
var routeMapResource = new RouteMap("routeMapResource", RouteMapArgs.builder()
    .device("string")
    .entries(RouteMapEntryArgs.builder()
        .seq(0)
        .continue_(false)
        .continueSequenceNumber(0)
        .description("string")
        .matchAsPaths(0)
        .matchAsPathsLegacies(0)
        .matchCommunityListExactMatch(false)
        .matchCommunityLists("string")
        .matchCommunityListsLegacies("string")
        .matchExtcommunityLists("string")
        .matchExtcommunityListsLegacies("string")
        .matchInterfaces("string")
        .matchIpAddressAccessLists("string")
        .matchIpAddressPrefixLists("string")
        .matchIpNextHopAccessLists("string")
        .matchIpNextHopPrefixLists("string")
        .matchIpv6AddressAccessLists("string")
        .matchIpv6AddressPrefixLists("string")
        .matchIpv6NextHopAccessLists("string")
        .matchIpv6NextHopPrefixLists("string")
        .matchLocalPreferences(0)
        .matchLocalPreferencesLegacies(0)
        .matchRouteTypeExternal(false)
        .matchRouteTypeExternalType1(false)
        .matchRouteTypeExternalType2(false)
        .matchRouteTypeInternal(false)
        .matchRouteTypeLevel1(false)
        .matchRouteTypeLevel2(false)
        .matchRouteTypeLocal(false)
        .matchSourceProtocolBgps("string")
        .matchSourceProtocolConnected(false)
        .matchSourceProtocolEigrps("string")
        .matchSourceProtocolIsis(false)
        .matchSourceProtocolLisp(false)
        .matchSourceProtocolOspfs("string")
        .matchSourceProtocolOspfv3s("string")
        .matchSourceProtocolRip(false)
        .matchSourceProtocolStatic(false)
        .matchTags(0)
        .matchTrack(0)
        .operation("string")
        .setAsPathPrependAs("string")
        .setAsPathPrependAsLegacy("string")
        .setAsPathPrependLastAs(0)
        .setAsPathPrependLastAsLegacy(0)
        .setAsPathTag(false)
        .setAsPathTagLegacy(false)
        .setCommunities("string")
        .setCommunitiesAdditive(false)
        .setCommunitiesAdditiveLegacy(false)
        .setCommunitiesLegacies("string")
        .setCommunityListDelete(false)
        .setCommunityListDeleteLegacy(false)
        .setCommunityListExpanded(0)
        .setCommunityListExpandedLegacy(0)
        .setCommunityListName("string")
        .setCommunityListNameLegacy("string")
        .setCommunityListStandard(0)
        .setCommunityListStandardLegacy(0)
        .setCommunityNone(false)
        .setCommunityNoneLegacy(false)
        .setDefaultInterfaces("string")
        .setExtcomunityRtLegacies("string")
        .setExtcomunityRts("string")
        .setExtcomunitySoo("string")
        .setExtcomunitySooLegacy("string")
        .setExtcomunityVpnDistinguisher("string")
        .setExtcomunityVpnDistinguisherAdditive(false)
        .setExtcomunityVpnDistinguisherLegacy("string")
        .setGlobal(false)
        .setInterfaces("string")
        .setIpAddress("string")
        .setIpDefaultGlobalNextHopAddresses("string")
        .setIpDefaultNextHopAddresses("string")
        .setIpGlobalNextHopAddresses("string")
        .setIpNextHopAddresses("string")
        .setIpNextHopSelf(false)
        .setIpQosGroup(0)
        .setIpv6Addresses("string")
        .setIpv6DefaultGlobalNextHop("string")
        .setIpv6DefaultNextHops("string")
        .setIpv6NextHops("string")
        .setLevel1(false)
        .setLevel12(false)
        .setLevel2(false)
        .setLocalPreference(0)
        .setLocalPreferenceLegacy(0)
        .setMetricChange("string")
        .setMetricDelay("string")
        .setMetricLoading(0)
        .setMetricMtu(0)
        .setMetricReliability(0)
        .setMetricType("string")
        .setMetricValue(0)
        .setTag(0)
        .setVrf("string")
        .setWeight(0)
        .setWeightLegacy(0)
        .build())
    .name("string")
    .build());
Copy
route_map_resource = iosxe.RouteMap("routeMapResource",
    device="string",
    entries=[{
        "seq": 0,
        "continue_": False,
        "continue_sequence_number": 0,
        "description": "string",
        "match_as_paths": [0],
        "match_as_paths_legacies": [0],
        "match_community_list_exact_match": False,
        "match_community_lists": ["string"],
        "match_community_lists_legacies": ["string"],
        "match_extcommunity_lists": ["string"],
        "match_extcommunity_lists_legacies": ["string"],
        "match_interfaces": ["string"],
        "match_ip_address_access_lists": ["string"],
        "match_ip_address_prefix_lists": ["string"],
        "match_ip_next_hop_access_lists": ["string"],
        "match_ip_next_hop_prefix_lists": ["string"],
        "match_ipv6_address_access_lists": "string",
        "match_ipv6_address_prefix_lists": "string",
        "match_ipv6_next_hop_access_lists": "string",
        "match_ipv6_next_hop_prefix_lists": "string",
        "match_local_preferences": [0],
        "match_local_preferences_legacies": [0],
        "match_route_type_external": False,
        "match_route_type_external_type1": False,
        "match_route_type_external_type2": False,
        "match_route_type_internal": False,
        "match_route_type_level1": False,
        "match_route_type_level2": False,
        "match_route_type_local": False,
        "match_source_protocol_bgps": ["string"],
        "match_source_protocol_connected": False,
        "match_source_protocol_eigrps": ["string"],
        "match_source_protocol_isis": False,
        "match_source_protocol_lisp": False,
        "match_source_protocol_ospfs": ["string"],
        "match_source_protocol_ospfv3s": ["string"],
        "match_source_protocol_rip": False,
        "match_source_protocol_static": False,
        "match_tags": [0],
        "match_track": 0,
        "operation": "string",
        "set_as_path_prepend_as": "string",
        "set_as_path_prepend_as_legacy": "string",
        "set_as_path_prepend_last_as": 0,
        "set_as_path_prepend_last_as_legacy": 0,
        "set_as_path_tag": False,
        "set_as_path_tag_legacy": False,
        "set_communities": ["string"],
        "set_communities_additive": False,
        "set_communities_additive_legacy": False,
        "set_communities_legacies": ["string"],
        "set_community_list_delete": False,
        "set_community_list_delete_legacy": False,
        "set_community_list_expanded": 0,
        "set_community_list_expanded_legacy": 0,
        "set_community_list_name": "string",
        "set_community_list_name_legacy": "string",
        "set_community_list_standard": 0,
        "set_community_list_standard_legacy": 0,
        "set_community_none": False,
        "set_community_none_legacy": False,
        "set_default_interfaces": ["string"],
        "set_extcomunity_rt_legacies": ["string"],
        "set_extcomunity_rts": ["string"],
        "set_extcomunity_soo": "string",
        "set_extcomunity_soo_legacy": "string",
        "set_extcomunity_vpn_distinguisher": "string",
        "set_extcomunity_vpn_distinguisher_additive": False,
        "set_extcomunity_vpn_distinguisher_legacy": "string",
        "set_global": False,
        "set_interfaces": ["string"],
        "set_ip_address": "string",
        "set_ip_default_global_next_hop_addresses": ["string"],
        "set_ip_default_next_hop_addresses": ["string"],
        "set_ip_global_next_hop_addresses": ["string"],
        "set_ip_next_hop_addresses": ["string"],
        "set_ip_next_hop_self": False,
        "set_ip_qos_group": 0,
        "set_ipv6_addresses": ["string"],
        "set_ipv6_default_global_next_hop": "string",
        "set_ipv6_default_next_hops": ["string"],
        "set_ipv6_next_hops": ["string"],
        "set_level1": False,
        "set_level12": False,
        "set_level2": False,
        "set_local_preference": 0,
        "set_local_preference_legacy": 0,
        "set_metric_change": "string",
        "set_metric_delay": "string",
        "set_metric_loading": 0,
        "set_metric_mtu": 0,
        "set_metric_reliability": 0,
        "set_metric_type": "string",
        "set_metric_value": 0,
        "set_tag": 0,
        "set_vrf": "string",
        "set_weight": 0,
        "set_weight_legacy": 0,
    }],
    name="string")
Copy
const routeMapResource = new iosxe.RouteMap("routeMapResource", {
    device: "string",
    entries: [{
        seq: 0,
        "continue": false,
        continueSequenceNumber: 0,
        description: "string",
        matchAsPaths: [0],
        matchAsPathsLegacies: [0],
        matchCommunityListExactMatch: false,
        matchCommunityLists: ["string"],
        matchCommunityListsLegacies: ["string"],
        matchExtcommunityLists: ["string"],
        matchExtcommunityListsLegacies: ["string"],
        matchInterfaces: ["string"],
        matchIpAddressAccessLists: ["string"],
        matchIpAddressPrefixLists: ["string"],
        matchIpNextHopAccessLists: ["string"],
        matchIpNextHopPrefixLists: ["string"],
        matchIpv6AddressAccessLists: "string",
        matchIpv6AddressPrefixLists: "string",
        matchIpv6NextHopAccessLists: "string",
        matchIpv6NextHopPrefixLists: "string",
        matchLocalPreferences: [0],
        matchLocalPreferencesLegacies: [0],
        matchRouteTypeExternal: false,
        matchRouteTypeExternalType1: false,
        matchRouteTypeExternalType2: false,
        matchRouteTypeInternal: false,
        matchRouteTypeLevel1: false,
        matchRouteTypeLevel2: false,
        matchRouteTypeLocal: false,
        matchSourceProtocolBgps: ["string"],
        matchSourceProtocolConnected: false,
        matchSourceProtocolEigrps: ["string"],
        matchSourceProtocolIsis: false,
        matchSourceProtocolLisp: false,
        matchSourceProtocolOspfs: ["string"],
        matchSourceProtocolOspfv3s: ["string"],
        matchSourceProtocolRip: false,
        matchSourceProtocolStatic: false,
        matchTags: [0],
        matchTrack: 0,
        operation: "string",
        setAsPathPrependAs: "string",
        setAsPathPrependAsLegacy: "string",
        setAsPathPrependLastAs: 0,
        setAsPathPrependLastAsLegacy: 0,
        setAsPathTag: false,
        setAsPathTagLegacy: false,
        setCommunities: ["string"],
        setCommunitiesAdditive: false,
        setCommunitiesAdditiveLegacy: false,
        setCommunitiesLegacies: ["string"],
        setCommunityListDelete: false,
        setCommunityListDeleteLegacy: false,
        setCommunityListExpanded: 0,
        setCommunityListExpandedLegacy: 0,
        setCommunityListName: "string",
        setCommunityListNameLegacy: "string",
        setCommunityListStandard: 0,
        setCommunityListStandardLegacy: 0,
        setCommunityNone: false,
        setCommunityNoneLegacy: false,
        setDefaultInterfaces: ["string"],
        setExtcomunityRtLegacies: ["string"],
        setExtcomunityRts: ["string"],
        setExtcomunitySoo: "string",
        setExtcomunitySooLegacy: "string",
        setExtcomunityVpnDistinguisher: "string",
        setExtcomunityVpnDistinguisherAdditive: false,
        setExtcomunityVpnDistinguisherLegacy: "string",
        setGlobal: false,
        setInterfaces: ["string"],
        setIpAddress: "string",
        setIpDefaultGlobalNextHopAddresses: ["string"],
        setIpDefaultNextHopAddresses: ["string"],
        setIpGlobalNextHopAddresses: ["string"],
        setIpNextHopAddresses: ["string"],
        setIpNextHopSelf: false,
        setIpQosGroup: 0,
        setIpv6Addresses: ["string"],
        setIpv6DefaultGlobalNextHop: "string",
        setIpv6DefaultNextHops: ["string"],
        setIpv6NextHops: ["string"],
        setLevel1: false,
        setLevel12: false,
        setLevel2: false,
        setLocalPreference: 0,
        setLocalPreferenceLegacy: 0,
        setMetricChange: "string",
        setMetricDelay: "string",
        setMetricLoading: 0,
        setMetricMtu: 0,
        setMetricReliability: 0,
        setMetricType: "string",
        setMetricValue: 0,
        setTag: 0,
        setVrf: "string",
        setWeight: 0,
        setWeightLegacy: 0,
    }],
    name: "string",
});
Copy
type: iosxe:RouteMap
properties:
    device: string
    entries:
        - continue: false
          continueSequenceNumber: 0
          description: string
          matchAsPaths:
            - 0
          matchAsPathsLegacies:
            - 0
          matchCommunityListExactMatch: false
          matchCommunityLists:
            - string
          matchCommunityListsLegacies:
            - string
          matchExtcommunityLists:
            - string
          matchExtcommunityListsLegacies:
            - string
          matchInterfaces:
            - string
          matchIpAddressAccessLists:
            - string
          matchIpAddressPrefixLists:
            - string
          matchIpNextHopAccessLists:
            - string
          matchIpNextHopPrefixLists:
            - string
          matchIpv6AddressAccessLists: string
          matchIpv6AddressPrefixLists: string
          matchIpv6NextHopAccessLists: string
          matchIpv6NextHopPrefixLists: string
          matchLocalPreferences:
            - 0
          matchLocalPreferencesLegacies:
            - 0
          matchRouteTypeExternal: false
          matchRouteTypeExternalType1: false
          matchRouteTypeExternalType2: false
          matchRouteTypeInternal: false
          matchRouteTypeLevel1: false
          matchRouteTypeLevel2: false
          matchRouteTypeLocal: false
          matchSourceProtocolBgps:
            - string
          matchSourceProtocolConnected: false
          matchSourceProtocolEigrps:
            - string
          matchSourceProtocolIsis: false
          matchSourceProtocolLisp: false
          matchSourceProtocolOspfs:
            - string
          matchSourceProtocolOspfv3s:
            - string
          matchSourceProtocolRip: false
          matchSourceProtocolStatic: false
          matchTags:
            - 0
          matchTrack: 0
          operation: string
          seq: 0
          setAsPathPrependAs: string
          setAsPathPrependAsLegacy: string
          setAsPathPrependLastAs: 0
          setAsPathPrependLastAsLegacy: 0
          setAsPathTag: false
          setAsPathTagLegacy: false
          setCommunities:
            - string
          setCommunitiesAdditive: false
          setCommunitiesAdditiveLegacy: false
          setCommunitiesLegacies:
            - string
          setCommunityListDelete: false
          setCommunityListDeleteLegacy: false
          setCommunityListExpanded: 0
          setCommunityListExpandedLegacy: 0
          setCommunityListName: string
          setCommunityListNameLegacy: string
          setCommunityListStandard: 0
          setCommunityListStandardLegacy: 0
          setCommunityNone: false
          setCommunityNoneLegacy: false
          setDefaultInterfaces:
            - string
          setExtcomunityRtLegacies:
            - string
          setExtcomunityRts:
            - string
          setExtcomunitySoo: string
          setExtcomunitySooLegacy: string
          setExtcomunityVpnDistinguisher: string
          setExtcomunityVpnDistinguisherAdditive: false
          setExtcomunityVpnDistinguisherLegacy: string
          setGlobal: false
          setInterfaces:
            - string
          setIpAddress: string
          setIpDefaultGlobalNextHopAddresses:
            - string
          setIpDefaultNextHopAddresses:
            - string
          setIpGlobalNextHopAddresses:
            - string
          setIpNextHopAddresses:
            - string
          setIpNextHopSelf: false
          setIpQosGroup: 0
          setIpv6Addresses:
            - string
          setIpv6DefaultGlobalNextHop: string
          setIpv6DefaultNextHops:
            - string
          setIpv6NextHops:
            - string
          setLevel1: false
          setLevel2: false
          setLevel12: false
          setLocalPreference: 0
          setLocalPreferenceLegacy: 0
          setMetricChange: string
          setMetricDelay: string
          setMetricLoading: 0
          setMetricMtu: 0
          setMetricReliability: 0
          setMetricType: string
          setMetricValue: 0
          setTag: 0
          setVrf: string
          setWeight: 0
          setWeightLegacy: 0
    name: string
Copy

RouteMap 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 RouteMap resource accepts the following input properties:

Device string
A device name from the provider configuration.
Entries List<Lbrlabs.PulumiPackage.Iosxe.Inputs.RouteMapEntry>
Name string
WORD;;Route map tag
Device string
A device name from the provider configuration.
Entries []RouteMapEntryArgs
Name string
WORD;;Route map tag
device String
A device name from the provider configuration.
entries List<RouteMapEntry>
name String
WORD;;Route map tag
device string
A device name from the provider configuration.
entries RouteMapEntry[]
name string
WORD;;Route map tag
device str
A device name from the provider configuration.
entries Sequence[RouteMapEntryArgs]
name str
WORD;;Route map tag
device String
A device name from the provider configuration.
entries List<Property Map>
name String
WORD;;Route map tag

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing RouteMap Resource

Get an existing RouteMap 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?: RouteMapState, opts?: CustomResourceOptions): RouteMap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        device: Optional[str] = None,
        entries: Optional[Sequence[RouteMapEntryArgs]] = None,
        name: Optional[str] = None) -> RouteMap
func GetRouteMap(ctx *Context, name string, id IDInput, state *RouteMapState, opts ...ResourceOption) (*RouteMap, error)
public static RouteMap Get(string name, Input<string> id, RouteMapState? state, CustomResourceOptions? opts = null)
public static RouteMap get(String name, Output<String> id, RouteMapState state, CustomResourceOptions options)
resources:  _:    type: iosxe:RouteMap    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:
Device string
A device name from the provider configuration.
Entries List<Lbrlabs.PulumiPackage.Iosxe.Inputs.RouteMapEntry>
Name string
WORD;;Route map tag
Device string
A device name from the provider configuration.
Entries []RouteMapEntryArgs
Name string
WORD;;Route map tag
device String
A device name from the provider configuration.
entries List<RouteMapEntry>
name String
WORD;;Route map tag
device string
A device name from the provider configuration.
entries RouteMapEntry[]
name string
WORD;;Route map tag
device str
A device name from the provider configuration.
entries Sequence[RouteMapEntryArgs]
name str
WORD;;Route map tag
device String
A device name from the provider configuration.
entries List<Property Map>
name String
WORD;;Route map tag

Supporting Types

RouteMapEntry
, RouteMapEntryArgs

Seq This property is required. int
Continue bool
ContinueSequenceNumber int
Description string
MatchAsPaths List<int>
MatchAsPathsLegacies List<int>
MatchCommunityListExactMatch bool
MatchCommunityLists List<string>
MatchCommunityListsLegacies List<string>
MatchExtcommunityLists List<string>
MatchExtcommunityListsLegacies List<string>
MatchInterfaces List<string>
MatchIpAddressAccessLists List<string>
MatchIpAddressPrefixLists List<string>
MatchIpNextHopAccessLists List<string>
MatchIpNextHopPrefixLists List<string>
MatchIpv6AddressAccessLists string
MatchIpv6AddressPrefixLists string
MatchIpv6NextHopAccessLists string
MatchIpv6NextHopPrefixLists string
MatchLocalPreferences List<int>
MatchLocalPreferencesLegacies List<int>
MatchRouteTypeExternal bool
MatchRouteTypeExternalType1 bool
MatchRouteTypeExternalType2 bool
MatchRouteTypeInternal bool
MatchRouteTypeLevel1 bool
MatchRouteTypeLevel2 bool
MatchRouteTypeLocal bool
MatchSourceProtocolBgps List<string>
MatchSourceProtocolConnected bool
MatchSourceProtocolEigrps List<string>
MatchSourceProtocolIsis bool
MatchSourceProtocolLisp bool
MatchSourceProtocolOspfs List<string>
MatchSourceProtocolOspfv3s List<string>
MatchSourceProtocolRip bool
MatchSourceProtocolStatic bool
MatchTags List<int>
MatchTrack int
Operation string
SetAsPathPrependAs string
SetAsPathPrependAsLegacy string
SetAsPathPrependLastAs int
SetAsPathPrependLastAsLegacy int
SetAsPathTag bool
SetAsPathTagLegacy bool
SetCommunities List<string>
SetCommunitiesAdditive bool
SetCommunitiesAdditiveLegacy bool
SetCommunitiesLegacies List<string>
SetCommunityListDelete bool
SetCommunityListDeleteLegacy bool
SetCommunityListExpanded int
SetCommunityListExpandedLegacy int
SetCommunityListName string
SetCommunityListNameLegacy string
SetCommunityListStandard int
SetCommunityListStandardLegacy int
SetCommunityNone bool
SetCommunityNoneLegacy bool
SetDefaultInterfaces List<string>
SetExtcomunityRtLegacies List<string>
SetExtcomunityRts List<string>
SetExtcomunitySoo string
SetExtcomunitySooLegacy string
SetExtcomunityVpnDistinguisher string
SetExtcomunityVpnDistinguisherAdditive bool
SetExtcomunityVpnDistinguisherLegacy string
SetGlobal bool
SetInterfaces List<string>
SetIpAddress string
SetIpDefaultGlobalNextHopAddresses List<string>
SetIpDefaultNextHopAddresses List<string>
SetIpGlobalNextHopAddresses List<string>
SetIpNextHopAddresses List<string>
SetIpNextHopSelf bool
SetIpQosGroup int
SetIpv6Addresses List<string>
SetIpv6DefaultGlobalNextHop string
SetIpv6DefaultNextHops List<string>
SetIpv6NextHops List<string>
SetLevel1 bool
SetLevel12 bool
SetLevel2 bool
SetLocalPreference int
SetLocalPreferenceLegacy int
SetMetricChange string
SetMetricDelay string
SetMetricLoading int
SetMetricMtu int
SetMetricReliability int
SetMetricType string
SetMetricValue int
SetTag int
SetVrf string
SetWeight int
SetWeightLegacy int
Seq This property is required. int
Continue bool
ContinueSequenceNumber int
Description string
MatchAsPaths []int
MatchAsPathsLegacies []int
MatchCommunityListExactMatch bool
MatchCommunityLists []string
MatchCommunityListsLegacies []string
MatchExtcommunityLists []string
MatchExtcommunityListsLegacies []string
MatchInterfaces []string
MatchIpAddressAccessLists []string
MatchIpAddressPrefixLists []string
MatchIpNextHopAccessLists []string
MatchIpNextHopPrefixLists []string
MatchIpv6AddressAccessLists string
MatchIpv6AddressPrefixLists string
MatchIpv6NextHopAccessLists string
MatchIpv6NextHopPrefixLists string
MatchLocalPreferences []int
MatchLocalPreferencesLegacies []int
MatchRouteTypeExternal bool
MatchRouteTypeExternalType1 bool
MatchRouteTypeExternalType2 bool
MatchRouteTypeInternal bool
MatchRouteTypeLevel1 bool
MatchRouteTypeLevel2 bool
MatchRouteTypeLocal bool
MatchSourceProtocolBgps []string
MatchSourceProtocolConnected bool
MatchSourceProtocolEigrps []string
MatchSourceProtocolIsis bool
MatchSourceProtocolLisp bool
MatchSourceProtocolOspfs []string
MatchSourceProtocolOspfv3s []string
MatchSourceProtocolRip bool
MatchSourceProtocolStatic bool
MatchTags []int
MatchTrack int
Operation string
SetAsPathPrependAs string
SetAsPathPrependAsLegacy string
SetAsPathPrependLastAs int
SetAsPathPrependLastAsLegacy int
SetAsPathTag bool
SetAsPathTagLegacy bool
SetCommunities []string
SetCommunitiesAdditive bool
SetCommunitiesAdditiveLegacy bool
SetCommunitiesLegacies []string
SetCommunityListDelete bool
SetCommunityListDeleteLegacy bool
SetCommunityListExpanded int
SetCommunityListExpandedLegacy int
SetCommunityListName string
SetCommunityListNameLegacy string
SetCommunityListStandard int
SetCommunityListStandardLegacy int
SetCommunityNone bool
SetCommunityNoneLegacy bool
SetDefaultInterfaces []string
SetExtcomunityRtLegacies []string
SetExtcomunityRts []string
SetExtcomunitySoo string
SetExtcomunitySooLegacy string
SetExtcomunityVpnDistinguisher string
SetExtcomunityVpnDistinguisherAdditive bool
SetExtcomunityVpnDistinguisherLegacy string
SetGlobal bool
SetInterfaces []string
SetIpAddress string
SetIpDefaultGlobalNextHopAddresses []string
SetIpDefaultNextHopAddresses []string
SetIpGlobalNextHopAddresses []string
SetIpNextHopAddresses []string
SetIpNextHopSelf bool
SetIpQosGroup int
SetIpv6Addresses []string
SetIpv6DefaultGlobalNextHop string
SetIpv6DefaultNextHops []string
SetIpv6NextHops []string
SetLevel1 bool
SetLevel12 bool
SetLevel2 bool
SetLocalPreference int
SetLocalPreferenceLegacy int
SetMetricChange string
SetMetricDelay string
SetMetricLoading int
SetMetricMtu int
SetMetricReliability int
SetMetricType string
SetMetricValue int
SetTag int
SetVrf string
SetWeight int
SetWeightLegacy int
seq This property is required. Integer
continueSequenceNumber Integer
continue_ Boolean
description String
matchAsPaths List<Integer>
matchAsPathsLegacies List<Integer>
matchCommunityListExactMatch Boolean
matchCommunityLists List<String>
matchCommunityListsLegacies List<String>
matchExtcommunityLists List<String>
matchExtcommunityListsLegacies List<String>
matchInterfaces List<String>
matchIpAddressAccessLists List<String>
matchIpAddressPrefixLists List<String>
matchIpNextHopAccessLists List<String>
matchIpNextHopPrefixLists List<String>
matchIpv6AddressAccessLists String
matchIpv6AddressPrefixLists String
matchIpv6NextHopAccessLists String
matchIpv6NextHopPrefixLists String
matchLocalPreferences List<Integer>
matchLocalPreferencesLegacies List<Integer>
matchRouteTypeExternal Boolean
matchRouteTypeExternalType1 Boolean
matchRouteTypeExternalType2 Boolean
matchRouteTypeInternal Boolean
matchRouteTypeLevel1 Boolean
matchRouteTypeLevel2 Boolean
matchRouteTypeLocal Boolean
matchSourceProtocolBgps List<String>
matchSourceProtocolConnected Boolean
matchSourceProtocolEigrps List<String>
matchSourceProtocolIsis Boolean
matchSourceProtocolLisp Boolean
matchSourceProtocolOspfs List<String>
matchSourceProtocolOspfv3s List<String>
matchSourceProtocolRip Boolean
matchSourceProtocolStatic Boolean
matchTags List<Integer>
matchTrack Integer
operation String
setAsPathPrependAs String
setAsPathPrependAsLegacy String
setAsPathPrependLastAs Integer
setAsPathPrependLastAsLegacy Integer
setAsPathTag Boolean
setAsPathTagLegacy Boolean
setCommunities List<String>
setCommunitiesAdditive Boolean
setCommunitiesAdditiveLegacy Boolean
setCommunitiesLegacies List<String>
setCommunityListDelete Boolean
setCommunityListDeleteLegacy Boolean
setCommunityListExpanded Integer
setCommunityListExpandedLegacy Integer
setCommunityListName String
setCommunityListNameLegacy String
setCommunityListStandard Integer
setCommunityListStandardLegacy Integer
setCommunityNone Boolean
setCommunityNoneLegacy Boolean
setDefaultInterfaces List<String>
setExtcomunityRtLegacies List<String>
setExtcomunityRts List<String>
setExtcomunitySoo String
setExtcomunitySooLegacy String
setExtcomunityVpnDistinguisher String
setExtcomunityVpnDistinguisherAdditive Boolean
setExtcomunityVpnDistinguisherLegacy String
setGlobal Boolean
setInterfaces List<String>
setIpAddress String
setIpDefaultGlobalNextHopAddresses List<String>
setIpDefaultNextHopAddresses List<String>
setIpGlobalNextHopAddresses List<String>
setIpNextHopAddresses List<String>
setIpNextHopSelf Boolean
setIpQosGroup Integer
setIpv6Addresses List<String>
setIpv6DefaultGlobalNextHop String
setIpv6DefaultNextHops List<String>
setIpv6NextHops List<String>
setLevel1 Boolean
setLevel12 Boolean
setLevel2 Boolean
setLocalPreference Integer
setLocalPreferenceLegacy Integer
setMetricChange String
setMetricDelay String
setMetricLoading Integer
setMetricMtu Integer
setMetricReliability Integer
setMetricType String
setMetricValue Integer
setTag Integer
setVrf String
setWeight Integer
setWeightLegacy Integer
seq This property is required. number
continue boolean
continueSequenceNumber number
description string
matchAsPaths number[]
matchAsPathsLegacies number[]
matchCommunityListExactMatch boolean
matchCommunityLists string[]
matchCommunityListsLegacies string[]
matchExtcommunityLists string[]
matchExtcommunityListsLegacies string[]
matchInterfaces string[]
matchIpAddressAccessLists string[]
matchIpAddressPrefixLists string[]
matchIpNextHopAccessLists string[]
matchIpNextHopPrefixLists string[]
matchIpv6AddressAccessLists string
matchIpv6AddressPrefixLists string
matchIpv6NextHopAccessLists string
matchIpv6NextHopPrefixLists string
matchLocalPreferences number[]
matchLocalPreferencesLegacies number[]
matchRouteTypeExternal boolean
matchRouteTypeExternalType1 boolean
matchRouteTypeExternalType2 boolean
matchRouteTypeInternal boolean
matchRouteTypeLevel1 boolean
matchRouteTypeLevel2 boolean
matchRouteTypeLocal boolean
matchSourceProtocolBgps string[]
matchSourceProtocolConnected boolean
matchSourceProtocolEigrps string[]
matchSourceProtocolIsis boolean
matchSourceProtocolLisp boolean
matchSourceProtocolOspfs string[]
matchSourceProtocolOspfv3s string[]
matchSourceProtocolRip boolean
matchSourceProtocolStatic boolean
matchTags number[]
matchTrack number
operation string
setAsPathPrependAs string
setAsPathPrependAsLegacy string
setAsPathPrependLastAs number
setAsPathPrependLastAsLegacy number
setAsPathTag boolean
setAsPathTagLegacy boolean
setCommunities string[]
setCommunitiesAdditive boolean
setCommunitiesAdditiveLegacy boolean
setCommunitiesLegacies string[]
setCommunityListDelete boolean
setCommunityListDeleteLegacy boolean
setCommunityListExpanded number
setCommunityListExpandedLegacy number
setCommunityListName string
setCommunityListNameLegacy string
setCommunityListStandard number
setCommunityListStandardLegacy number
setCommunityNone boolean
setCommunityNoneLegacy boolean
setDefaultInterfaces string[]
setExtcomunityRtLegacies string[]
setExtcomunityRts string[]
setExtcomunitySoo string
setExtcomunitySooLegacy string
setExtcomunityVpnDistinguisher string
setExtcomunityVpnDistinguisherAdditive boolean
setExtcomunityVpnDistinguisherLegacy string
setGlobal boolean
setInterfaces string[]
setIpAddress string
setIpDefaultGlobalNextHopAddresses string[]
setIpDefaultNextHopAddresses string[]
setIpGlobalNextHopAddresses string[]
setIpNextHopAddresses string[]
setIpNextHopSelf boolean
setIpQosGroup number
setIpv6Addresses string[]
setIpv6DefaultGlobalNextHop string
setIpv6DefaultNextHops string[]
setIpv6NextHops string[]
setLevel1 boolean
setLevel12 boolean
setLevel2 boolean
setLocalPreference number
setLocalPreferenceLegacy number
setMetricChange string
setMetricDelay string
setMetricLoading number
setMetricMtu number
setMetricReliability number
setMetricType string
setMetricValue number
setTag number
setVrf string
setWeight number
setWeightLegacy number
seq This property is required. int
continue_ bool
continue_sequence_number int
description str
match_as_paths Sequence[int]
match_as_paths_legacies Sequence[int]
match_community_list_exact_match bool
match_community_lists Sequence[str]
match_community_lists_legacies Sequence[str]
match_extcommunity_lists Sequence[str]
match_extcommunity_lists_legacies Sequence[str]
match_interfaces Sequence[str]
match_ip_address_access_lists Sequence[str]
match_ip_address_prefix_lists Sequence[str]
match_ip_next_hop_access_lists Sequence[str]
match_ip_next_hop_prefix_lists Sequence[str]
match_ipv6_address_access_lists str
match_ipv6_address_prefix_lists str
match_ipv6_next_hop_access_lists str
match_ipv6_next_hop_prefix_lists str
match_local_preferences Sequence[int]
match_local_preferences_legacies Sequence[int]
match_route_type_external bool
match_route_type_external_type1 bool
match_route_type_external_type2 bool
match_route_type_internal bool
match_route_type_level1 bool
match_route_type_level2 bool
match_route_type_local bool
match_source_protocol_bgps Sequence[str]
match_source_protocol_connected bool
match_source_protocol_eigrps Sequence[str]
match_source_protocol_isis bool
match_source_protocol_lisp bool
match_source_protocol_ospfs Sequence[str]
match_source_protocol_ospfv3s Sequence[str]
match_source_protocol_rip bool
match_source_protocol_static bool
match_tags Sequence[int]
match_track int
operation str
set_as_path_prepend_as str
set_as_path_prepend_as_legacy str
set_as_path_prepend_last_as int
set_as_path_prepend_last_as_legacy int
set_as_path_tag bool
set_as_path_tag_legacy bool
set_communities Sequence[str]
set_communities_additive bool
set_communities_additive_legacy bool
set_communities_legacies Sequence[str]
set_community_list_delete bool
set_community_list_delete_legacy bool
set_community_list_expanded int
set_community_list_expanded_legacy int
set_community_list_name str
set_community_list_name_legacy str
set_community_list_standard int
set_community_list_standard_legacy int
set_community_none bool
set_community_none_legacy bool
set_default_interfaces Sequence[str]
set_extcomunity_rt_legacies Sequence[str]
set_extcomunity_rts Sequence[str]
set_extcomunity_soo str
set_extcomunity_soo_legacy str
set_extcomunity_vpn_distinguisher str
set_extcomunity_vpn_distinguisher_additive bool
set_extcomunity_vpn_distinguisher_legacy str
set_global bool
set_interfaces Sequence[str]
set_ip_address str
set_ip_default_global_next_hop_addresses Sequence[str]
set_ip_default_next_hop_addresses Sequence[str]
set_ip_global_next_hop_addresses Sequence[str]
set_ip_next_hop_addresses Sequence[str]
set_ip_next_hop_self bool
set_ip_qos_group int
set_ipv6_addresses Sequence[str]
set_ipv6_default_global_next_hop str
set_ipv6_default_next_hops Sequence[str]
set_ipv6_next_hops Sequence[str]
set_level1 bool
set_level12 bool
set_level2 bool
set_local_preference int
set_local_preference_legacy int
set_metric_change str
set_metric_delay str
set_metric_loading int
set_metric_mtu int
set_metric_reliability int
set_metric_type str
set_metric_value int
set_tag int
set_vrf str
set_weight int
set_weight_legacy int
seq This property is required. Number
continue Boolean
continueSequenceNumber Number
description String
matchAsPaths List<Number>
matchAsPathsLegacies List<Number>
matchCommunityListExactMatch Boolean
matchCommunityLists List<String>
matchCommunityListsLegacies List<String>
matchExtcommunityLists List<String>
matchExtcommunityListsLegacies List<String>
matchInterfaces List<String>
matchIpAddressAccessLists List<String>
matchIpAddressPrefixLists List<String>
matchIpNextHopAccessLists List<String>
matchIpNextHopPrefixLists List<String>
matchIpv6AddressAccessLists String
matchIpv6AddressPrefixLists String
matchIpv6NextHopAccessLists String
matchIpv6NextHopPrefixLists String
matchLocalPreferences List<Number>
matchLocalPreferencesLegacies List<Number>
matchRouteTypeExternal Boolean
matchRouteTypeExternalType1 Boolean
matchRouteTypeExternalType2 Boolean
matchRouteTypeInternal Boolean
matchRouteTypeLevel1 Boolean
matchRouteTypeLevel2 Boolean
matchRouteTypeLocal Boolean
matchSourceProtocolBgps List<String>
matchSourceProtocolConnected Boolean
matchSourceProtocolEigrps List<String>
matchSourceProtocolIsis Boolean
matchSourceProtocolLisp Boolean
matchSourceProtocolOspfs List<String>
matchSourceProtocolOspfv3s List<String>
matchSourceProtocolRip Boolean
matchSourceProtocolStatic Boolean
matchTags List<Number>
matchTrack Number
operation String
setAsPathPrependAs String
setAsPathPrependAsLegacy String
setAsPathPrependLastAs Number
setAsPathPrependLastAsLegacy Number
setAsPathTag Boolean
setAsPathTagLegacy Boolean
setCommunities List<String>
setCommunitiesAdditive Boolean
setCommunitiesAdditiveLegacy Boolean
setCommunitiesLegacies List<String>
setCommunityListDelete Boolean
setCommunityListDeleteLegacy Boolean
setCommunityListExpanded Number
setCommunityListExpandedLegacy Number
setCommunityListName String
setCommunityListNameLegacy String
setCommunityListStandard Number
setCommunityListStandardLegacy Number
setCommunityNone Boolean
setCommunityNoneLegacy Boolean
setDefaultInterfaces List<String>
setExtcomunityRtLegacies List<String>
setExtcomunityRts List<String>
setExtcomunitySoo String
setExtcomunitySooLegacy String
setExtcomunityVpnDistinguisher String
setExtcomunityVpnDistinguisherAdditive Boolean
setExtcomunityVpnDistinguisherLegacy String
setGlobal Boolean
setInterfaces List<String>
setIpAddress String
setIpDefaultGlobalNextHopAddresses List<String>
setIpDefaultNextHopAddresses List<String>
setIpGlobalNextHopAddresses List<String>
setIpNextHopAddresses List<String>
setIpNextHopSelf Boolean
setIpQosGroup Number
setIpv6Addresses List<String>
setIpv6DefaultGlobalNextHop String
setIpv6DefaultNextHops List<String>
setIpv6NextHops List<String>
setLevel1 Boolean
setLevel12 Boolean
setLevel2 Boolean
setLocalPreference Number
setLocalPreferenceLegacy Number
setMetricChange String
setMetricDelay String
setMetricLoading Number
setMetricMtu Number
setMetricReliability Number
setMetricType String
setMetricValue Number
setTag Number
setVrf String
setWeight Number
setWeightLegacy Number

Import

 $ pulumi import iosxe:index/routeMap:RouteMap example "Cisco-IOS-XE-native:native/route-map=RM1"
Copy

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

Package Details

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