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());
}
}
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
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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.
Pulumi Package. Iosxe. Inputs. Route Map Entry> - Name string
- WORD;;Route map tag
- Device string
- A device name from the provider configuration.
- Entries
[]Route
Map Entry Args - Name string
- WORD;;Route map tag
- device String
- A device name from the provider configuration.
- entries
List<Route
Map Entry> - name String
- WORD;;Route map tag
- device string
- A device name from the provider configuration.
- entries
Route
Map Entry[] - name string
- WORD;;Route map tag
- device str
- A device name from the provider configuration.
- entries
Sequence[Route
Map Entry Args] - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Device string
- A device name from the provider configuration.
- Entries
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Route Map Entry> - Name string
- WORD;;Route map tag
- Device string
- A device name from the provider configuration.
- Entries
[]Route
Map Entry Args - Name string
- WORD;;Route map tag
- device String
- A device name from the provider configuration.
- entries
List<Route
Map Entry> - name String
- WORD;;Route map tag
- device string
- A device name from the provider configuration.
- entries
Route
Map Entry[] - name string
- WORD;;Route map tag
- device str
- A device name from the provider configuration.
- entries
Sequence[Route
Map Entry Args] - 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 int
- Continue bool
- Continue
Sequence intNumber - Description string
- Match
As List<int>Paths - Match
As List<int>Paths Legacies - Match
Community boolList Exact Match - Match
Community List<string>Lists - Match
Community List<string>Lists Legacies - Match
Extcommunity List<string>Lists - Match
Extcommunity List<string>Lists Legacies - Match
Interfaces List<string> - Match
Ip List<string>Address Access Lists - Match
Ip List<string>Address Prefix Lists - Match
Ip List<string>Next Hop Access Lists - Match
Ip List<string>Next Hop Prefix Lists - Match
Ipv6Address stringAccess Lists - Match
Ipv6Address stringPrefix Lists - Match
Ipv6Next stringHop Access Lists - Match
Ipv6Next stringHop Prefix Lists - Match
Local List<int>Preferences - Match
Local List<int>Preferences Legacies - Match
Route boolType External - Match
Route boolType External Type1 - Match
Route boolType External Type2 - Match
Route boolType Internal - Match
Route boolType Level1 - Match
Route boolType Level2 - Match
Route boolType Local - Match
Source List<string>Protocol Bgps - Match
Source boolProtocol Connected - Match
Source List<string>Protocol Eigrps - Match
Source boolProtocol Isis - Match
Source boolProtocol Lisp - Match
Source List<string>Protocol Ospfs - Match
Source List<string>Protocol Ospfv3s - Match
Source boolProtocol Rip - Match
Source boolProtocol Static - List<int>
- Match
Track int - Operation string
- Set
As stringPath Prepend As - Set
As stringPath Prepend As Legacy - Set
As intPath Prepend Last As - Set
As intPath Prepend Last As Legacy - Set
As boolPath Tag - Set
As boolPath Tag Legacy - Set
Communities List<string> - Set
Communities boolAdditive - Set
Communities boolAdditive Legacy - Set
Communities List<string>Legacies - Set
Community boolList Delete - Set
Community boolList Delete Legacy - Set
Community intList Expanded - Set
Community intList Expanded Legacy - Set
Community stringList Name - Set
Community stringList Name Legacy - Set
Community intList Standard - Set
Community intList Standard Legacy - Set
Community boolNone - Set
Community boolNone Legacy - Set
Default List<string>Interfaces - Set
Extcomunity List<string>Rt Legacies - Set
Extcomunity List<string>Rts - Set
Extcomunity stringSoo - Set
Extcomunity stringSoo Legacy - Set
Extcomunity stringVpn Distinguisher - Set
Extcomunity boolVpn Distinguisher Additive - Set
Extcomunity stringVpn Distinguisher Legacy - Set
Global bool - Set
Interfaces List<string> - Set
Ip stringAddress - Set
Ip List<string>Default Global Next Hop Addresses - Set
Ip List<string>Default Next Hop Addresses - Set
Ip List<string>Global Next Hop Addresses - Set
Ip List<string>Next Hop Addresses - Set
Ip boolNext Hop Self - Set
Ip intQos Group - Set
Ipv6Addresses List<string> - Set
Ipv6Default stringGlobal Next Hop - Set
Ipv6Default List<string>Next Hops - Set
Ipv6Next List<string>Hops - Set
Level1 bool - Set
Level12 bool - Set
Level2 bool - Set
Local intPreference - Set
Local intPreference Legacy - Set
Metric stringChange - Set
Metric stringDelay - Set
Metric intLoading - Set
Metric intMtu - Set
Metric intReliability - Set
Metric stringType - Set
Metric intValue - Set
Tag int - Set
Vrf string - Set
Weight int - Set
Weight intLegacy
- Seq int
- Continue bool
- Continue
Sequence intNumber - Description string
- Match
As []intPaths - Match
As []intPaths Legacies - Match
Community boolList Exact Match - Match
Community []stringLists - Match
Community []stringLists Legacies - Match
Extcommunity []stringLists - Match
Extcommunity []stringLists Legacies - Match
Interfaces []string - Match
Ip []stringAddress Access Lists - Match
Ip []stringAddress Prefix Lists - Match
Ip []stringNext Hop Access Lists - Match
Ip []stringNext Hop Prefix Lists - Match
Ipv6Address stringAccess Lists - Match
Ipv6Address stringPrefix Lists - Match
Ipv6Next stringHop Access Lists - Match
Ipv6Next stringHop Prefix Lists - Match
Local []intPreferences - Match
Local []intPreferences Legacies - Match
Route boolType External - Match
Route boolType External Type1 - Match
Route boolType External Type2 - Match
Route boolType Internal - Match
Route boolType Level1 - Match
Route boolType Level2 - Match
Route boolType Local - Match
Source []stringProtocol Bgps - Match
Source boolProtocol Connected - Match
Source []stringProtocol Eigrps - Match
Source boolProtocol Isis - Match
Source boolProtocol Lisp - Match
Source []stringProtocol Ospfs - Match
Source []stringProtocol Ospfv3s - Match
Source boolProtocol Rip - Match
Source boolProtocol Static - []int
- Match
Track int - Operation string
- Set
As stringPath Prepend As - Set
As stringPath Prepend As Legacy - Set
As intPath Prepend Last As - Set
As intPath Prepend Last As Legacy - Set
As boolPath Tag - Set
As boolPath Tag Legacy - Set
Communities []string - Set
Communities boolAdditive - Set
Communities boolAdditive Legacy - Set
Communities []stringLegacies - Set
Community boolList Delete - Set
Community boolList Delete Legacy - Set
Community intList Expanded - Set
Community intList Expanded Legacy - Set
Community stringList Name - Set
Community stringList Name Legacy - Set
Community intList Standard - Set
Community intList Standard Legacy - Set
Community boolNone - Set
Community boolNone Legacy - Set
Default []stringInterfaces - Set
Extcomunity []stringRt Legacies - Set
Extcomunity []stringRts - Set
Extcomunity stringSoo - Set
Extcomunity stringSoo Legacy - Set
Extcomunity stringVpn Distinguisher - Set
Extcomunity boolVpn Distinguisher Additive - Set
Extcomunity stringVpn Distinguisher Legacy - Set
Global bool - Set
Interfaces []string - Set
Ip stringAddress - Set
Ip []stringDefault Global Next Hop Addresses - Set
Ip []stringDefault Next Hop Addresses - Set
Ip []stringGlobal Next Hop Addresses - Set
Ip []stringNext Hop Addresses - Set
Ip boolNext Hop Self - Set
Ip intQos Group - Set
Ipv6Addresses []string - Set
Ipv6Default stringGlobal Next Hop - Set
Ipv6Default []stringNext Hops - Set
Ipv6Next []stringHops - Set
Level1 bool - Set
Level12 bool - Set
Level2 bool - Set
Local intPreference - Set
Local intPreference Legacy - Set
Metric stringChange - Set
Metric stringDelay - Set
Metric intLoading - Set
Metric intMtu - Set
Metric intReliability - Set
Metric stringType - Set
Metric intValue - Set
Tag int - Set
Vrf string - Set
Weight int - Set
Weight intLegacy
- seq Integer
- continue
Sequence IntegerNumber - continue_ Boolean
- description String
- match
As List<Integer>Paths - match
As List<Integer>Paths Legacies - match
Community BooleanList Exact Match - match
Community List<String>Lists - match
Community List<String>Lists Legacies - match
Extcommunity List<String>Lists - match
Extcommunity List<String>Lists Legacies - match
Interfaces List<String> - match
Ip List<String>Address Access Lists - match
Ip List<String>Address Prefix Lists - match
Ip List<String>Next Hop Access Lists - match
Ip List<String>Next Hop Prefix Lists - match
Ipv6Address StringAccess Lists - match
Ipv6Address StringPrefix Lists - match
Ipv6Next StringHop Access Lists - match
Ipv6Next StringHop Prefix Lists - match
Local List<Integer>Preferences - match
Local List<Integer>Preferences Legacies - match
Route BooleanType External - match
Route BooleanType External Type1 - match
Route BooleanType External Type2 - match
Route BooleanType Internal - match
Route BooleanType Level1 - match
Route BooleanType Level2 - match
Route BooleanType Local - match
Source List<String>Protocol Bgps - match
Source BooleanProtocol Connected - match
Source List<String>Protocol Eigrps - match
Source BooleanProtocol Isis - match
Source BooleanProtocol Lisp - match
Source List<String>Protocol Ospfs - match
Source List<String>Protocol Ospfv3s - match
Source BooleanProtocol Rip - match
Source BooleanProtocol Static - List<Integer>
- match
Track Integer - operation String
- set
As StringPath Prepend As - set
As StringPath Prepend As Legacy - set
As IntegerPath Prepend Last As - set
As IntegerPath Prepend Last As Legacy - set
As BooleanPath Tag - set
As BooleanPath Tag Legacy - set
Communities List<String> - set
Communities BooleanAdditive - set
Communities BooleanAdditive Legacy - set
Communities List<String>Legacies - set
Community BooleanList Delete - set
Community BooleanList Delete Legacy - set
Community IntegerList Expanded - set
Community IntegerList Expanded Legacy - set
Community StringList Name - set
Community StringList Name Legacy - set
Community IntegerList Standard - set
Community IntegerList Standard Legacy - set
Community BooleanNone - set
Community BooleanNone Legacy - set
Default List<String>Interfaces - set
Extcomunity List<String>Rt Legacies - set
Extcomunity List<String>Rts - set
Extcomunity StringSoo - set
Extcomunity StringSoo Legacy - set
Extcomunity StringVpn Distinguisher - set
Extcomunity BooleanVpn Distinguisher Additive - set
Extcomunity StringVpn Distinguisher Legacy - set
Global Boolean - set
Interfaces List<String> - set
Ip StringAddress - set
Ip List<String>Default Global Next Hop Addresses - set
Ip List<String>Default Next Hop Addresses - set
Ip List<String>Global Next Hop Addresses - set
Ip List<String>Next Hop Addresses - set
Ip BooleanNext Hop Self - set
Ip IntegerQos Group - set
Ipv6Addresses List<String> - set
Ipv6Default StringGlobal Next Hop - set
Ipv6Default List<String>Next Hops - set
Ipv6Next List<String>Hops - set
Level1 Boolean - set
Level12 Boolean - set
Level2 Boolean - set
Local IntegerPreference - set
Local IntegerPreference Legacy - set
Metric StringChange - set
Metric StringDelay - set
Metric IntegerLoading - set
Metric IntegerMtu - set
Metric IntegerReliability - set
Metric StringType - set
Metric IntegerValue - set
Tag Integer - set
Vrf String - set
Weight Integer - set
Weight IntegerLegacy
- seq number
- continue boolean
- continue
Sequence numberNumber - description string
- match
As number[]Paths - match
As number[]Paths Legacies - match
Community booleanList Exact Match - match
Community string[]Lists - match
Community string[]Lists Legacies - match
Extcommunity string[]Lists - match
Extcommunity string[]Lists Legacies - match
Interfaces string[] - match
Ip string[]Address Access Lists - match
Ip string[]Address Prefix Lists - match
Ip string[]Next Hop Access Lists - match
Ip string[]Next Hop Prefix Lists - match
Ipv6Address stringAccess Lists - match
Ipv6Address stringPrefix Lists - match
Ipv6Next stringHop Access Lists - match
Ipv6Next stringHop Prefix Lists - match
Local number[]Preferences - match
Local number[]Preferences Legacies - match
Route booleanType External - match
Route booleanType External Type1 - match
Route booleanType External Type2 - match
Route booleanType Internal - match
Route booleanType Level1 - match
Route booleanType Level2 - match
Route booleanType Local - match
Source string[]Protocol Bgps - match
Source booleanProtocol Connected - match
Source string[]Protocol Eigrps - match
Source booleanProtocol Isis - match
Source booleanProtocol Lisp - match
Source string[]Protocol Ospfs - match
Source string[]Protocol Ospfv3s - match
Source booleanProtocol Rip - match
Source booleanProtocol Static - number[]
- match
Track number - operation string
- set
As stringPath Prepend As - set
As stringPath Prepend As Legacy - set
As numberPath Prepend Last As - set
As numberPath Prepend Last As Legacy - set
As booleanPath Tag - set
As booleanPath Tag Legacy - set
Communities string[] - set
Communities booleanAdditive - set
Communities booleanAdditive Legacy - set
Communities string[]Legacies - set
Community booleanList Delete - set
Community booleanList Delete Legacy - set
Community numberList Expanded - set
Community numberList Expanded Legacy - set
Community stringList Name - set
Community stringList Name Legacy - set
Community numberList Standard - set
Community numberList Standard Legacy - set
Community booleanNone - set
Community booleanNone Legacy - set
Default string[]Interfaces - set
Extcomunity string[]Rt Legacies - set
Extcomunity string[]Rts - set
Extcomunity stringSoo - set
Extcomunity stringSoo Legacy - set
Extcomunity stringVpn Distinguisher - set
Extcomunity booleanVpn Distinguisher Additive - set
Extcomunity stringVpn Distinguisher Legacy - set
Global boolean - set
Interfaces string[] - set
Ip stringAddress - set
Ip string[]Default Global Next Hop Addresses - set
Ip string[]Default Next Hop Addresses - set
Ip string[]Global Next Hop Addresses - set
Ip string[]Next Hop Addresses - set
Ip booleanNext Hop Self - set
Ip numberQos Group - set
Ipv6Addresses string[] - set
Ipv6Default stringGlobal Next Hop - set
Ipv6Default string[]Next Hops - set
Ipv6Next string[]Hops - set
Level1 boolean - set
Level12 boolean - set
Level2 boolean - set
Local numberPreference - set
Local numberPreference Legacy - set
Metric stringChange - set
Metric stringDelay - set
Metric numberLoading - set
Metric numberMtu - set
Metric numberReliability - set
Metric stringType - set
Metric numberValue - set
Tag number - set
Vrf string - set
Weight number - set
Weight numberLegacy
- seq int
- continue_ bool
- continue_
sequence_ intnumber - description str
- match_
as_ Sequence[int]paths - match_
as_ Sequence[int]paths_ legacies - match_
community_ boollist_ exact_ match - match_
community_ Sequence[str]lists - match_
community_ Sequence[str]lists_ legacies - match_
extcommunity_ Sequence[str]lists - match_
extcommunity_ Sequence[str]lists_ legacies - match_
interfaces Sequence[str] - match_
ip_ Sequence[str]address_ access_ lists - match_
ip_ Sequence[str]address_ prefix_ lists - match_
ip_ Sequence[str]next_ hop_ access_ lists - match_
ip_ Sequence[str]next_ hop_ prefix_ lists - match_
ipv6_ straddress_ access_ lists - match_
ipv6_ straddress_ prefix_ lists - match_
ipv6_ strnext_ hop_ access_ lists - match_
ipv6_ strnext_ hop_ prefix_ lists - match_
local_ Sequence[int]preferences - match_
local_ Sequence[int]preferences_ legacies - match_
route_ booltype_ external - match_
route_ booltype_ external_ type1 - match_
route_ booltype_ external_ type2 - match_
route_ booltype_ internal - match_
route_ booltype_ level1 - match_
route_ booltype_ level2 - match_
route_ booltype_ local - match_
source_ Sequence[str]protocol_ bgps - match_
source_ boolprotocol_ connected - match_
source_ Sequence[str]protocol_ eigrps - match_
source_ boolprotocol_ isis - match_
source_ boolprotocol_ lisp - match_
source_ Sequence[str]protocol_ ospfs - match_
source_ Sequence[str]protocol_ ospfv3s - match_
source_ boolprotocol_ rip - match_
source_ boolprotocol_ static - Sequence[int]
- match_
track int - operation str
- set_
as_ strpath_ prepend_ as - set_
as_ strpath_ prepend_ as_ legacy - set_
as_ intpath_ prepend_ last_ as - set_
as_ intpath_ prepend_ last_ as_ legacy - set_
as_ boolpath_ tag - set_
as_ boolpath_ tag_ legacy - set_
communities Sequence[str] - set_
communities_ booladditive - set_
communities_ booladditive_ legacy - set_
communities_ Sequence[str]legacies - set_
community_ boollist_ delete - set_
community_ boollist_ delete_ legacy - set_
community_ intlist_ expanded - set_
community_ intlist_ expanded_ legacy - set_
community_ strlist_ name - set_
community_ strlist_ name_ legacy - set_
community_ intlist_ standard - set_
community_ intlist_ standard_ legacy - set_
community_ boolnone - set_
community_ boolnone_ legacy - set_
default_ Sequence[str]interfaces - set_
extcomunity_ Sequence[str]rt_ legacies - set_
extcomunity_ Sequence[str]rts - set_
extcomunity_ strsoo - set_
extcomunity_ strsoo_ legacy - set_
extcomunity_ strvpn_ distinguisher - set_
extcomunity_ boolvpn_ distinguisher_ additive - set_
extcomunity_ strvpn_ distinguisher_ legacy - set_
global bool - set_
interfaces Sequence[str] - set_
ip_ straddress - set_
ip_ Sequence[str]default_ global_ next_ hop_ addresses - set_
ip_ Sequence[str]default_ next_ hop_ addresses - set_
ip_ Sequence[str]global_ next_ hop_ addresses - set_
ip_ Sequence[str]next_ hop_ addresses - set_
ip_ boolnext_ hop_ self - set_
ip_ intqos_ group - set_
ipv6_ Sequence[str]addresses - set_
ipv6_ strdefault_ global_ next_ hop - set_
ipv6_ Sequence[str]default_ next_ hops - set_
ipv6_ Sequence[str]next_ hops - set_
level1 bool - set_
level12 bool - set_
level2 bool - set_
local_ intpreference - set_
local_ intpreference_ legacy - set_
metric_ strchange - set_
metric_ strdelay - set_
metric_ intloading - set_
metric_ intmtu - set_
metric_ intreliability - set_
metric_ strtype - set_
metric_ intvalue - set_
tag int - set_
vrf str - set_
weight int - set_
weight_ intlegacy
- seq Number
- continue Boolean
- continue
Sequence NumberNumber - description String
- match
As List<Number>Paths - match
As List<Number>Paths Legacies - match
Community BooleanList Exact Match - match
Community List<String>Lists - match
Community List<String>Lists Legacies - match
Extcommunity List<String>Lists - match
Extcommunity List<String>Lists Legacies - match
Interfaces List<String> - match
Ip List<String>Address Access Lists - match
Ip List<String>Address Prefix Lists - match
Ip List<String>Next Hop Access Lists - match
Ip List<String>Next Hop Prefix Lists - match
Ipv6Address StringAccess Lists - match
Ipv6Address StringPrefix Lists - match
Ipv6Next StringHop Access Lists - match
Ipv6Next StringHop Prefix Lists - match
Local List<Number>Preferences - match
Local List<Number>Preferences Legacies - match
Route BooleanType External - match
Route BooleanType External Type1 - match
Route BooleanType External Type2 - match
Route BooleanType Internal - match
Route BooleanType Level1 - match
Route BooleanType Level2 - match
Route BooleanType Local - match
Source List<String>Protocol Bgps - match
Source BooleanProtocol Connected - match
Source List<String>Protocol Eigrps - match
Source BooleanProtocol Isis - match
Source BooleanProtocol Lisp - match
Source List<String>Protocol Ospfs - match
Source List<String>Protocol Ospfv3s - match
Source BooleanProtocol Rip - match
Source BooleanProtocol Static - List<Number>
- match
Track Number - operation String
- set
As StringPath Prepend As - set
As StringPath Prepend As Legacy - set
As NumberPath Prepend Last As - set
As NumberPath Prepend Last As Legacy - set
As BooleanPath Tag - set
As BooleanPath Tag Legacy - set
Communities List<String> - set
Communities BooleanAdditive - set
Communities BooleanAdditive Legacy - set
Communities List<String>Legacies - set
Community BooleanList Delete - set
Community BooleanList Delete Legacy - set
Community NumberList Expanded - set
Community NumberList Expanded Legacy - set
Community StringList Name - set
Community StringList Name Legacy - set
Community NumberList Standard - set
Community NumberList Standard Legacy - set
Community BooleanNone - set
Community BooleanNone Legacy - set
Default List<String>Interfaces - set
Extcomunity List<String>Rt Legacies - set
Extcomunity List<String>Rts - set
Extcomunity StringSoo - set
Extcomunity StringSoo Legacy - set
Extcomunity StringVpn Distinguisher - set
Extcomunity BooleanVpn Distinguisher Additive - set
Extcomunity StringVpn Distinguisher Legacy - set
Global Boolean - set
Interfaces List<String> - set
Ip StringAddress - set
Ip List<String>Default Global Next Hop Addresses - set
Ip List<String>Default Next Hop Addresses - set
Ip List<String>Global Next Hop Addresses - set
Ip List<String>Next Hop Addresses - set
Ip BooleanNext Hop Self - set
Ip NumberQos Group - set
Ipv6Addresses List<String> - set
Ipv6Default StringGlobal Next Hop - set
Ipv6Default List<String>Next Hops - set
Ipv6Next List<String>Hops - set
Level1 Boolean - set
Level12 Boolean - set
Level2 Boolean - set
Local NumberPreference - set
Local NumberPreference Legacy - set
Metric StringChange - set
Metric StringDelay - set
Metric NumberLoading - set
Metric NumberMtu - set
Metric NumberReliability - set
Metric StringType - set
Metric NumberValue - set
Tag Number - set
Vrf String - set
Weight Number - set
Weight NumberLegacy
Import
$ pulumi import iosxe:index/routeMap:RouteMap example "Cisco-IOS-XE-native:native/route-map=RM1"
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.