Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getTransportRoutePolicyFeature
Explore with Pulumi AI
This data source can read the Transport Route Policy Feature.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getTransportRoutePolicyFeature({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_transport_route_policy_feature(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
    feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
package main
import (
	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sdwan.LookupTransportRoutePolicyFeature(ctx, &sdwan.LookupTransportRoutePolicyFeatureArgs{
			Id:               "f6b2c44c-693c-4763-b010-895aa3d236bd",
			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() => 
{
    var example = Sdwan.GetTransportRoutePolicyFeature.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetTransportRoutePolicyFeatureArgs;
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) {
        final var example = SdwanFunctions.getTransportRoutePolicyFeature(GetTransportRoutePolicyFeatureArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getTransportRoutePolicyFeature
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
        featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
Using getTransportRoutePolicyFeature
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTransportRoutePolicyFeature(args: GetTransportRoutePolicyFeatureArgs, opts?: InvokeOptions): Promise<GetTransportRoutePolicyFeatureResult>
function getTransportRoutePolicyFeatureOutput(args: GetTransportRoutePolicyFeatureOutputArgs, opts?: InvokeOptions): Output<GetTransportRoutePolicyFeatureResult>def get_transport_route_policy_feature(feature_profile_id: Optional[str] = None,
                                       id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetTransportRoutePolicyFeatureResult
def get_transport_route_policy_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetTransportRoutePolicyFeatureResult]func LookupTransportRoutePolicyFeature(ctx *Context, args *LookupTransportRoutePolicyFeatureArgs, opts ...InvokeOption) (*LookupTransportRoutePolicyFeatureResult, error)
func LookupTransportRoutePolicyFeatureOutput(ctx *Context, args *LookupTransportRoutePolicyFeatureOutputArgs, opts ...InvokeOption) LookupTransportRoutePolicyFeatureResultOutput> Note: This function is named LookupTransportRoutePolicyFeature in the Go SDK.
public static class GetTransportRoutePolicyFeature 
{
    public static Task<GetTransportRoutePolicyFeatureResult> InvokeAsync(GetTransportRoutePolicyFeatureArgs args, InvokeOptions? opts = null)
    public static Output<GetTransportRoutePolicyFeatureResult> Invoke(GetTransportRoutePolicyFeatureInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTransportRoutePolicyFeatureResult> getTransportRoutePolicyFeature(GetTransportRoutePolicyFeatureArgs args, InvokeOptions options)
public static Output<GetTransportRoutePolicyFeatureResult> getTransportRoutePolicyFeature(GetTransportRoutePolicyFeatureArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getTransportRoutePolicyFeature:getTransportRoutePolicyFeature
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- featureProfile stringId 
- Feature Profile ID
- id string
- The id of the Feature
- feature_profile_ strid 
- Feature Profile ID
- id str
- The id of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
getTransportRoutePolicyFeature Result
The following output properties are available:
- DefaultAction string
- Default Action
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Sequences
List<GetTransport Route Policy Feature Sequence> 
- Route Policy List
- Version int
- The version of the Feature
- DefaultAction string
- Default Action
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Sequences
[]GetTransport Route Policy Feature Sequence 
- Route Policy List
- Version int
- The version of the Feature
- defaultAction String
- Default Action
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- sequences
List<GetTransport Route Policy Feature Sequence> 
- Route Policy List
- version Integer
- The version of the Feature
- defaultAction string
- Default Action
- description string
- The description of the Feature
- featureProfile stringId 
- Feature Profile ID
- id string
- The id of the Feature
- name string
- The name of the Feature
- sequences
GetTransport Route Policy Feature Sequence[] 
- Route Policy List
- version number
- The version of the Feature
- default_action str
- Default Action
- description str
- The description of the Feature
- feature_profile_ strid 
- Feature Profile ID
- id str
- The id of the Feature
- name str
- The name of the Feature
- sequences
Sequence[GetTransport Route Policy Feature Sequence] 
- Route Policy List
- version int
- The version of the Feature
- defaultAction String
- Default Action
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- sequences List<Property Map>
- Route Policy List
- version Number
- The version of the Feature
Supporting Types
GetTransportRoutePolicyFeatureSequence     
- Actions
List<GetTransport Route Policy Feature Sequence Action> 
- Define list of actions
- BaseAction string
- Base Action
- Id int
- Sequence Id
- MatchEntries List<GetTransport Route Policy Feature Sequence Match Entry> 
- Define match conditions
- Name string
- Sequence Name
- Protocol string
- protocol such as IPV4, IPV6, or BOTH
- Actions
[]GetTransport Route Policy Feature Sequence Action 
- Define list of actions
- BaseAction string
- Base Action
- Id int
- Sequence Id
- MatchEntries []GetTransport Route Policy Feature Sequence Match Entry 
- Define match conditions
- Name string
- Sequence Name
- Protocol string
- protocol such as IPV4, IPV6, or BOTH
- actions
List<GetTransport Route Policy Feature Sequence Action> 
- Define list of actions
- baseAction String
- Base Action
- id Integer
- Sequence Id
- matchEntries List<GetTransport Route Policy Feature Sequence Match Entry> 
- Define match conditions
- name String
- Sequence Name
- protocol String
- protocol such as IPV4, IPV6, or BOTH
- actions
GetTransport Route Policy Feature Sequence Action[] 
- Define list of actions
- baseAction string
- Base Action
- id number
- Sequence Id
- matchEntries GetTransport Route Policy Feature Sequence Match Entry[] 
- Define match conditions
- name string
- Sequence Name
- protocol string
- protocol such as IPV4, IPV6, or BOTH
- actions
Sequence[GetTransport Route Policy Feature Sequence Action] 
- Define list of actions
- base_action str
- Base Action
- id int
- Sequence Id
- match_entries Sequence[GetTransport Route Policy Feature Sequence Match Entry] 
- Define match conditions
- name str
- Sequence Name
- protocol str
- protocol such as IPV4, IPV6, or BOTH
- actions List<Property Map>
- Define list of actions
- baseAction String
- Base Action
- id Number
- Sequence Id
- matchEntries List<Property Map>
- Define match conditions
- name String
- Sequence Name
- protocol String
- protocol such as IPV4, IPV6, or BOTH
GetTransportRoutePolicyFeatureSequenceAction      
- AsPath List<int>Prepends 
- Communities List<string>
- CommunityAdditive bool
- CommunityVariable string
- Variable name
- Ipv4NextHop string
- Set Ipv4 Next Hop
- Ipv6NextHop string
- Set Ipv6 Next Hop
- LocalPreference int
- Set Local Preference
- Metric int
- Set Metric
- MetricType string
- Set Metric Type
- OmpTag int
- Set OMP Tag
- Origin string
- Set Origin
- OspfTag int
- Set OSPF Tag
- Weight int
- Set Weight
- AsPath []intPrepends 
- Communities []string
- CommunityAdditive bool
- CommunityVariable string
- Variable name
- Ipv4NextHop string
- Set Ipv4 Next Hop
- Ipv6NextHop string
- Set Ipv6 Next Hop
- LocalPreference int
- Set Local Preference
- Metric int
- Set Metric
- MetricType string
- Set Metric Type
- OmpTag int
- Set OMP Tag
- Origin string
- Set Origin
- OspfTag int
- Set OSPF Tag
- Weight int
- Set Weight
- asPath List<Integer>Prepends 
- communities List<String>
- communityAdditive Boolean
- communityVariable String
- Variable name
- ipv4NextHop String
- Set Ipv4 Next Hop
- ipv6NextHop String
- Set Ipv6 Next Hop
- localPreference Integer
- Set Local Preference
- metric Integer
- Set Metric
- metricType String
- Set Metric Type
- ompTag Integer
- Set OMP Tag
- origin String
- Set Origin
- ospfTag Integer
- Set OSPF Tag
- weight Integer
- Set Weight
- asPath number[]Prepends 
- communities string[]
- communityAdditive boolean
- communityVariable string
- Variable name
- ipv4NextHop string
- Set Ipv4 Next Hop
- ipv6NextHop string
- Set Ipv6 Next Hop
- localPreference number
- Set Local Preference
- metric number
- Set Metric
- metricType string
- Set Metric Type
- ompTag number
- Set OMP Tag
- origin string
- Set Origin
- ospfTag number
- Set OSPF Tag
- weight number
- Set Weight
- as_path_ Sequence[int]prepends 
- communities Sequence[str]
- community_additive bool
- community_variable str
- Variable name
- ipv4_next_ strhop 
- Set Ipv4 Next Hop
- ipv6_next_ strhop 
- Set Ipv6 Next Hop
- local_preference int
- Set Local Preference
- metric int
- Set Metric
- metric_type str
- Set Metric Type
- omp_tag int
- Set OMP Tag
- origin str
- Set Origin
- ospf_tag int
- Set OSPF Tag
- weight int
- Set Weight
- asPath List<Number>Prepends 
- communities List<String>
- communityAdditive Boolean
- communityVariable String
- Variable name
- ipv4NextHop String
- Set Ipv4 Next Hop
- ipv6NextHop String
- Set Ipv6 Next Hop
- localPreference Number
- Set Local Preference
- metric Number
- Set Metric
- metricType String
- Set Metric Type
- ompTag Number
- Set OMP Tag
- origin String
- Set Origin
- ospfTag Number
- Set OSPF Tag
- weight Number
- Set Weight
GetTransportRoutePolicyFeatureSequenceMatchEntry       
- AsPath stringList Id 
- BgpLocal intPreference 
- BGP Local Preference
- ExpandedCommunity stringList Id 
- ExtendedCommunity stringList Id 
- Ipv4AddressPrefix stringList Id 
- Ipv4NextHop stringPrefix List Id 
- Ipv6AddressPrefix stringList Id 
- Ipv6NextHop stringPrefix List Id 
- Metric int
- Select Metric
- OmpTag int
- Select OMP Tag
- OspfTag int
- Select OSPF Tag
- StandardCommunity stringList Criteria 
- Select a condition such as OR, AND or EXACT
- StandardCommunity List<GetLists Transport Route Policy Feature Sequence Match Entry Standard Community List> 
- Select a standard community list
- AsPath stringList Id 
- BgpLocal intPreference 
- BGP Local Preference
- ExpandedCommunity stringList Id 
- ExtendedCommunity stringList Id 
- Ipv4AddressPrefix stringList Id 
- Ipv4NextHop stringPrefix List Id 
- Ipv6AddressPrefix stringList Id 
- Ipv6NextHop stringPrefix List Id 
- Metric int
- Select Metric
- OmpTag int
- Select OMP Tag
- OspfTag int
- Select OSPF Tag
- StandardCommunity stringList Criteria 
- Select a condition such as OR, AND or EXACT
- StandardCommunity []GetLists Transport Route Policy Feature Sequence Match Entry Standard Community List 
- Select a standard community list
- asPath StringList Id 
- bgpLocal IntegerPreference 
- BGP Local Preference
- expandedCommunity StringList Id 
- extendedCommunity StringList Id 
- ipv4AddressPrefix StringList Id 
- ipv4NextHop StringPrefix List Id 
- ipv6AddressPrefix StringList Id 
- ipv6NextHop StringPrefix List Id 
- metric Integer
- Select Metric
- ompTag Integer
- Select OMP Tag
- ospfTag Integer
- Select OSPF Tag
- standardCommunity StringList Criteria 
- Select a condition such as OR, AND or EXACT
- standardCommunity List<GetLists Transport Route Policy Feature Sequence Match Entry Standard Community List> 
- Select a standard community list
- asPath stringList Id 
- bgpLocal numberPreference 
- BGP Local Preference
- expandedCommunity stringList Id 
- extendedCommunity stringList Id 
- ipv4AddressPrefix stringList Id 
- ipv4NextHop stringPrefix List Id 
- ipv6AddressPrefix stringList Id 
- ipv6NextHop stringPrefix List Id 
- metric number
- Select Metric
- ompTag number
- Select OMP Tag
- ospfTag number
- Select OSPF Tag
- standardCommunity stringList Criteria 
- Select a condition such as OR, AND or EXACT
- standardCommunity GetLists Transport Route Policy Feature Sequence Match Entry Standard Community List[] 
- Select a standard community list
- as_path_ strlist_ id 
- bgp_local_ intpreference 
- BGP Local Preference
- expanded_community_ strlist_ id 
- extended_community_ strlist_ id 
- ipv4_address_ strprefix_ list_ id 
- ipv4_next_ strhop_ prefix_ list_ id 
- ipv6_address_ strprefix_ list_ id 
- ipv6_next_ strhop_ prefix_ list_ id 
- metric int
- Select Metric
- omp_tag int
- Select OMP Tag
- ospf_tag int
- Select OSPF Tag
- standard_community_ strlist_ criteria 
- Select a condition such as OR, AND or EXACT
- standard_community_ Sequence[Getlists Transport Route Policy Feature Sequence Match Entry Standard Community List] 
- Select a standard community list
- asPath StringList Id 
- bgpLocal NumberPreference 
- BGP Local Preference
- expandedCommunity StringList Id 
- extendedCommunity StringList Id 
- ipv4AddressPrefix StringList Id 
- ipv4NextHop StringPrefix List Id 
- ipv6AddressPrefix StringList Id 
- ipv6NextHop StringPrefix List Id 
- metric Number
- Select Metric
- ompTag Number
- Select OMP Tag
- ospfTag Number
- Select OSPF Tag
- standardCommunity StringList Criteria 
- Select a condition such as OR, AND or EXACT
- standardCommunity List<Property Map>Lists 
- Select a standard community list
GetTransportRoutePolicyFeatureSequenceMatchEntryStandardCommunityList          
- Id string
- Id string
- id String
- id string
- id str
- id String
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
