1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getServiceRoutePolicyFeature
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getServiceRoutePolicyFeature

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This data source can read the Service Route Policy Feature.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getServiceRoutePolicyFeature({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_service_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.LookupServiceRoutePolicyFeature(ctx, &sdwan.LookupServiceRoutePolicyFeatureArgs{
    			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.GetServiceRoutePolicyFeature.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.GetServiceRoutePolicyFeatureArgs;
    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.getServiceRoutePolicyFeature(GetServiceRoutePolicyFeatureArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getServiceRoutePolicyFeature
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
            featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
    

    Using getServiceRoutePolicyFeature

    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 getServiceRoutePolicyFeature(args: GetServiceRoutePolicyFeatureArgs, opts?: InvokeOptions): Promise<GetServiceRoutePolicyFeatureResult>
    function getServiceRoutePolicyFeatureOutput(args: GetServiceRoutePolicyFeatureOutputArgs, opts?: InvokeOptions): Output<GetServiceRoutePolicyFeatureResult>
    def get_service_route_policy_feature(feature_profile_id: Optional[str] = None,
                                         id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetServiceRoutePolicyFeatureResult
    def get_service_route_policy_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                                         id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetServiceRoutePolicyFeatureResult]
    func LookupServiceRoutePolicyFeature(ctx *Context, args *LookupServiceRoutePolicyFeatureArgs, opts ...InvokeOption) (*LookupServiceRoutePolicyFeatureResult, error)
    func LookupServiceRoutePolicyFeatureOutput(ctx *Context, args *LookupServiceRoutePolicyFeatureOutputArgs, opts ...InvokeOption) LookupServiceRoutePolicyFeatureResultOutput

    > Note: This function is named LookupServiceRoutePolicyFeature in the Go SDK.

    public static class GetServiceRoutePolicyFeature 
    {
        public static Task<GetServiceRoutePolicyFeatureResult> InvokeAsync(GetServiceRoutePolicyFeatureArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceRoutePolicyFeatureResult> Invoke(GetServiceRoutePolicyFeatureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceRoutePolicyFeatureResult> getServiceRoutePolicyFeature(GetServiceRoutePolicyFeatureArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getServiceRoutePolicyFeature:getServiceRoutePolicyFeature
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature

    getServiceRoutePolicyFeature Result

    The following output properties are available:

    DefaultAction string
    Default Action
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    Sequences List<GetServiceRoutePolicyFeatureSequence>
    Route Policy List
    Version int
    The version of the Feature
    DefaultAction string
    Default Action
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    Sequences []GetServiceRoutePolicyFeatureSequence
    Route Policy List
    Version int
    The version of the Feature
    defaultAction String
    Default Action
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    name String
    The name of the Feature
    sequences List<GetServiceRoutePolicyFeatureSequence>
    Route Policy List
    version Integer
    The version of the Feature
    defaultAction string
    Default Action
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    name string
    The name of the Feature
    sequences GetServiceRoutePolicyFeatureSequence[]
    Route Policy List
    version number
    The version of the Feature
    default_action str
    Default Action
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    name str
    The name of the Feature
    sequences Sequence[GetServiceRoutePolicyFeatureSequence]
    Route Policy List
    version int
    The version of the Feature
    defaultAction String
    Default Action
    description String
    The description of the Feature
    featureProfileId String
    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

    GetServiceRoutePolicyFeatureSequence

    Actions List<GetServiceRoutePolicyFeatureSequenceAction>
    Define list of actions
    BaseAction string
    Base Action
    Id int
    Sequence Id
    MatchEntries List<GetServiceRoutePolicyFeatureSequenceMatchEntry>
    Define match conditions
    Name string
    Sequence Name
    Protocol string
    protocol such as IPV4, IPV6, or BOTH
    Actions []GetServiceRoutePolicyFeatureSequenceAction
    Define list of actions
    BaseAction string
    Base Action
    Id int
    Sequence Id
    MatchEntries []GetServiceRoutePolicyFeatureSequenceMatchEntry
    Define match conditions
    Name string
    Sequence Name
    Protocol string
    protocol such as IPV4, IPV6, or BOTH
    actions List<GetServiceRoutePolicyFeatureSequenceAction>
    Define list of actions
    baseAction String
    Base Action
    id Integer
    Sequence Id
    matchEntries List<GetServiceRoutePolicyFeatureSequenceMatchEntry>
    Define match conditions
    name String
    Sequence Name
    protocol String
    protocol such as IPV4, IPV6, or BOTH
    actions GetServiceRoutePolicyFeatureSequenceAction[]
    Define list of actions
    baseAction string
    Base Action
    id number
    Sequence Id
    matchEntries GetServiceRoutePolicyFeatureSequenceMatchEntry[]
    Define match conditions
    name string
    Sequence Name
    protocol string
    protocol such as IPV4, IPV6, or BOTH
    actions Sequence[GetServiceRoutePolicyFeatureSequenceAction]
    Define list of actions
    base_action str
    Base Action
    id int
    Sequence Id
    match_entries Sequence[GetServiceRoutePolicyFeatureSequenceMatchEntry]
    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

    GetServiceRoutePolicyFeatureSequenceAction

    AsPathPrepends List<int>
    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
    AsPathPrepends []int
    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
    asPathPrepends List<Integer>
    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
    asPathPrepends number[]
    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_prepends Sequence[int]
    communities Sequence[str]
    community_additive bool
    community_variable str
    Variable name
    ipv4_next_hop str
    Set Ipv4 Next Hop
    ipv6_next_hop str
    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
    asPathPrepends List<Number>
    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

    GetServiceRoutePolicyFeatureSequenceMatchEntry

    AsPathListId string
    BgpLocalPreference int
    BGP Local Preference
    ExpandedCommunityListId string
    ExtendedCommunityListId string
    Ipv4AddressPrefixListId string
    Ipv4NextHopPrefixListId string
    Ipv6AddressPrefixListId string
    Ipv6NextHopPrefixListId string
    Metric int
    Select Metric
    OmpTag int
    Select OMP Tag
    OspfTag int
    Select OSPF Tag
    StandardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT
    StandardCommunityLists List<GetServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList>
    Select a standard community list
    AsPathListId string
    BgpLocalPreference int
    BGP Local Preference
    ExpandedCommunityListId string
    ExtendedCommunityListId string
    Ipv4AddressPrefixListId string
    Ipv4NextHopPrefixListId string
    Ipv6AddressPrefixListId string
    Ipv6NextHopPrefixListId string
    Metric int
    Select Metric
    OmpTag int
    Select OMP Tag
    OspfTag int
    Select OSPF Tag
    StandardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT
    StandardCommunityLists []GetServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList
    Select a standard community list
    asPathListId String
    bgpLocalPreference Integer
    BGP Local Preference
    expandedCommunityListId String
    extendedCommunityListId String
    ipv4AddressPrefixListId String
    ipv4NextHopPrefixListId String
    ipv6AddressPrefixListId String
    ipv6NextHopPrefixListId String
    metric Integer
    Select Metric
    ompTag Integer
    Select OMP Tag
    ospfTag Integer
    Select OSPF Tag
    standardCommunityListCriteria String
    Select a condition such as OR, AND or EXACT
    standardCommunityLists List<GetServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList>
    Select a standard community list
    asPathListId string
    bgpLocalPreference number
    BGP Local Preference
    expandedCommunityListId string
    extendedCommunityListId string
    ipv4AddressPrefixListId string
    ipv4NextHopPrefixListId string
    ipv6AddressPrefixListId string
    ipv6NextHopPrefixListId string
    metric number
    Select Metric
    ompTag number
    Select OMP Tag
    ospfTag number
    Select OSPF Tag
    standardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT
    standardCommunityLists GetServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList[]
    Select a standard community list
    asPathListId String
    bgpLocalPreference Number
    BGP Local Preference
    expandedCommunityListId String
    extendedCommunityListId String
    ipv4AddressPrefixListId String
    ipv4NextHopPrefixListId String
    ipv6AddressPrefixListId String
    ipv6NextHopPrefixListId String
    metric Number
    Select Metric
    ompTag Number
    Select OMP Tag
    ospfTag Number
    Select OSPF Tag
    standardCommunityListCriteria String
    Select a condition such as OR, AND or EXACT
    standardCommunityLists List<Property Map>
    Select a standard community list

    GetServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList

    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi