1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. ServiceRoutePolicyFeature
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.ServiceRoutePolicyFeature

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This resource can manage a Service Route Policy Feature.

    • Minimum SD-WAN Manager version: 20.12.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.ServiceRoutePolicyFeature;
    import com.pulumi.sdwan.ServiceRoutePolicyFeatureArgs;
    import com.pulumi.sdwan.inputs.ServiceRoutePolicyFeatureSequenceArgs;
    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 ServiceRoutePolicyFeature("example", ServiceRoutePolicyFeatureArgs.builder()
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .defaultAction("accept")
                .sequences(ServiceRoutePolicyFeatureSequenceArgs.builder()
                    .id(1)
                    .name("SEQ_1")
                    .base_action("reject")
                    .protocol("IPV4")
                    .actions(ServiceRoutePolicyFeatureSequenceActionArgs.builder()
                        .asPathPrepend(65521)
                        .communityAdditive(false)
                        .community("internet")
                        .localPreference(100)
                        .metric(20)
                        .metricType("type1")
                        .ompTag(200)
                        .origin("EGP")
                        .ospfTag(1200)
                        .weight(2200)
                        .ipv4NextHop("10.0.0.1")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:ServiceRoutePolicyFeature
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          defaultAction: accept
          sequences:
            - id: 1
              name: SEQ_1
              base_action: reject
              protocol: IPV4
              actions:
                - asPathPrepend:
                    - 65521
                  communityAdditive: false
                  community:
                    - internet
                  localPreference: 100
                  metric: 20
                  metricType: type1
                  ompTag: 200
                  origin: EGP
                  ospfTag: 1200
                  weight: 2200
                  ipv4NextHop: 10.0.0.1
    

    Create ServiceRoutePolicyFeature Resource

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

    Constructor syntax

    new ServiceRoutePolicyFeature(name: string, args: ServiceRoutePolicyFeatureArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceRoutePolicyFeature(resource_name: str,
                                  args: ServiceRoutePolicyFeatureArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceRoutePolicyFeature(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  feature_profile_id: Optional[str] = None,
                                  default_action: Optional[str] = None,
                                  description: Optional[str] = None,
                                  name: Optional[str] = None,
                                  sequences: Optional[Sequence[ServiceRoutePolicyFeatureSequenceArgs]] = None)
    func NewServiceRoutePolicyFeature(ctx *Context, name string, args ServiceRoutePolicyFeatureArgs, opts ...ResourceOption) (*ServiceRoutePolicyFeature, error)
    public ServiceRoutePolicyFeature(string name, ServiceRoutePolicyFeatureArgs args, CustomResourceOptions? opts = null)
    public ServiceRoutePolicyFeature(String name, ServiceRoutePolicyFeatureArgs args)
    public ServiceRoutePolicyFeature(String name, ServiceRoutePolicyFeatureArgs args, CustomResourceOptions options)
    
    type: sdwan:ServiceRoutePolicyFeature
    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 ServiceRoutePolicyFeatureArgs
    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 ServiceRoutePolicyFeatureArgs
    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 ServiceRoutePolicyFeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceRoutePolicyFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceRoutePolicyFeatureArgs
    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 serviceRoutePolicyFeatureResource = new Sdwan.ServiceRoutePolicyFeature("serviceRoutePolicyFeatureResource", new()
    {
        FeatureProfileId = "string",
        DefaultAction = "string",
        Description = "string",
        Name = "string",
        Sequences = new[]
        {
            new Sdwan.Inputs.ServiceRoutePolicyFeatureSequenceArgs
            {
                Actions = new[]
                {
                    new Sdwan.Inputs.ServiceRoutePolicyFeatureSequenceActionArgs
                    {
                        AsPathPrepends = new[]
                        {
                            0,
                        },
                        Communities = new[]
                        {
                            "string",
                        },
                        CommunityAdditive = false,
                        CommunityVariable = "string",
                        Ipv4NextHop = "string",
                        Ipv6NextHop = "string",
                        LocalPreference = 0,
                        Metric = 0,
                        MetricType = "string",
                        OmpTag = 0,
                        Origin = "string",
                        OspfTag = 0,
                        Weight = 0,
                    },
                },
                BaseAction = "string",
                Id = 0,
                MatchEntries = new[]
                {
                    new Sdwan.Inputs.ServiceRoutePolicyFeatureSequenceMatchEntryArgs
                    {
                        AsPathListId = "string",
                        BgpLocalPreference = 0,
                        ExpandedCommunityListId = "string",
                        ExtendedCommunityListId = "string",
                        Ipv4AddressPrefixListId = "string",
                        Ipv4NextHopPrefixListId = "string",
                        Ipv6AddressPrefixListId = "string",
                        Ipv6NextHopPrefixListId = "string",
                        Metric = 0,
                        OmpTag = 0,
                        OspfTag = 0,
                        StandardCommunityListCriteria = "string",
                        StandardCommunityLists = new[]
                        {
                            new Sdwan.Inputs.ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityListArgs
                            {
                                Id = "string",
                            },
                        },
                    },
                },
                Name = "string",
                Protocol = "string",
            },
        },
    });
    
    example, err := sdwan.NewServiceRoutePolicyFeature(ctx, "serviceRoutePolicyFeatureResource", &sdwan.ServiceRoutePolicyFeatureArgs{
    	FeatureProfileId: pulumi.String("string"),
    	DefaultAction:    pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Sequences: sdwan.ServiceRoutePolicyFeatureSequenceArray{
    		&sdwan.ServiceRoutePolicyFeatureSequenceArgs{
    			Actions: sdwan.ServiceRoutePolicyFeatureSequenceActionArray{
    				&sdwan.ServiceRoutePolicyFeatureSequenceActionArgs{
    					AsPathPrepends: pulumi.IntArray{
    						pulumi.Int(0),
    					},
    					Communities: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					CommunityAdditive: pulumi.Bool(false),
    					CommunityVariable: pulumi.String("string"),
    					Ipv4NextHop:       pulumi.String("string"),
    					Ipv6NextHop:       pulumi.String("string"),
    					LocalPreference:   pulumi.Int(0),
    					Metric:            pulumi.Int(0),
    					MetricType:        pulumi.String("string"),
    					OmpTag:            pulumi.Int(0),
    					Origin:            pulumi.String("string"),
    					OspfTag:           pulumi.Int(0),
    					Weight:            pulumi.Int(0),
    				},
    			},
    			BaseAction: pulumi.String("string"),
    			Id:         pulumi.Int(0),
    			MatchEntries: sdwan.ServiceRoutePolicyFeatureSequenceMatchEntryArray{
    				&sdwan.ServiceRoutePolicyFeatureSequenceMatchEntryArgs{
    					AsPathListId:                  pulumi.String("string"),
    					BgpLocalPreference:            pulumi.Int(0),
    					ExpandedCommunityListId:       pulumi.String("string"),
    					ExtendedCommunityListId:       pulumi.String("string"),
    					Ipv4AddressPrefixListId:       pulumi.String("string"),
    					Ipv4NextHopPrefixListId:       pulumi.String("string"),
    					Ipv6AddressPrefixListId:       pulumi.String("string"),
    					Ipv6NextHopPrefixListId:       pulumi.String("string"),
    					Metric:                        pulumi.Int(0),
    					OmpTag:                        pulumi.Int(0),
    					OspfTag:                       pulumi.Int(0),
    					StandardCommunityListCriteria: pulumi.String("string"),
    					StandardCommunityLists: sdwan.ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityListArray{
    						&sdwan.ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityListArgs{
    							Id: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			Name:     pulumi.String("string"),
    			Protocol: pulumi.String("string"),
    		},
    	},
    })
    
    var serviceRoutePolicyFeatureResource = new ServiceRoutePolicyFeature("serviceRoutePolicyFeatureResource", ServiceRoutePolicyFeatureArgs.builder()
        .featureProfileId("string")
        .defaultAction("string")
        .description("string")
        .name("string")
        .sequences(ServiceRoutePolicyFeatureSequenceArgs.builder()
            .actions(ServiceRoutePolicyFeatureSequenceActionArgs.builder()
                .asPathPrepends(0)
                .communities("string")
                .communityAdditive(false)
                .communityVariable("string")
                .ipv4NextHop("string")
                .ipv6NextHop("string")
                .localPreference(0)
                .metric(0)
                .metricType("string")
                .ompTag(0)
                .origin("string")
                .ospfTag(0)
                .weight(0)
                .build())
            .baseAction("string")
            .id(0)
            .matchEntries(ServiceRoutePolicyFeatureSequenceMatchEntryArgs.builder()
                .asPathListId("string")
                .bgpLocalPreference(0)
                .expandedCommunityListId("string")
                .extendedCommunityListId("string")
                .ipv4AddressPrefixListId("string")
                .ipv4NextHopPrefixListId("string")
                .ipv6AddressPrefixListId("string")
                .ipv6NextHopPrefixListId("string")
                .metric(0)
                .ompTag(0)
                .ospfTag(0)
                .standardCommunityListCriteria("string")
                .standardCommunityLists(ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityListArgs.builder()
                    .id("string")
                    .build())
                .build())
            .name("string")
            .protocol("string")
            .build())
        .build());
    
    service_route_policy_feature_resource = sdwan.ServiceRoutePolicyFeature("serviceRoutePolicyFeatureResource",
        feature_profile_id="string",
        default_action="string",
        description="string",
        name="string",
        sequences=[{
            "actions": [{
                "as_path_prepends": [0],
                "communities": ["string"],
                "community_additive": False,
                "community_variable": "string",
                "ipv4_next_hop": "string",
                "ipv6_next_hop": "string",
                "local_preference": 0,
                "metric": 0,
                "metric_type": "string",
                "omp_tag": 0,
                "origin": "string",
                "ospf_tag": 0,
                "weight": 0,
            }],
            "base_action": "string",
            "id": 0,
            "match_entries": [{
                "as_path_list_id": "string",
                "bgp_local_preference": 0,
                "expanded_community_list_id": "string",
                "extended_community_list_id": "string",
                "ipv4_address_prefix_list_id": "string",
                "ipv4_next_hop_prefix_list_id": "string",
                "ipv6_address_prefix_list_id": "string",
                "ipv6_next_hop_prefix_list_id": "string",
                "metric": 0,
                "omp_tag": 0,
                "ospf_tag": 0,
                "standard_community_list_criteria": "string",
                "standard_community_lists": [{
                    "id": "string",
                }],
            }],
            "name": "string",
            "protocol": "string",
        }])
    
    const serviceRoutePolicyFeatureResource = new sdwan.ServiceRoutePolicyFeature("serviceRoutePolicyFeatureResource", {
        featureProfileId: "string",
        defaultAction: "string",
        description: "string",
        name: "string",
        sequences: [{
            actions: [{
                asPathPrepends: [0],
                communities: ["string"],
                communityAdditive: false,
                communityVariable: "string",
                ipv4NextHop: "string",
                ipv6NextHop: "string",
                localPreference: 0,
                metric: 0,
                metricType: "string",
                ompTag: 0,
                origin: "string",
                ospfTag: 0,
                weight: 0,
            }],
            baseAction: "string",
            id: 0,
            matchEntries: [{
                asPathListId: "string",
                bgpLocalPreference: 0,
                expandedCommunityListId: "string",
                extendedCommunityListId: "string",
                ipv4AddressPrefixListId: "string",
                ipv4NextHopPrefixListId: "string",
                ipv6AddressPrefixListId: "string",
                ipv6NextHopPrefixListId: "string",
                metric: 0,
                ompTag: 0,
                ospfTag: 0,
                standardCommunityListCriteria: "string",
                standardCommunityLists: [{
                    id: "string",
                }],
            }],
            name: "string",
            protocol: "string",
        }],
    });
    
    type: sdwan:ServiceRoutePolicyFeature
    properties:
        defaultAction: string
        description: string
        featureProfileId: string
        name: string
        sequences:
            - actions:
                - asPathPrepends:
                    - 0
                  communities:
                    - string
                  communityAdditive: false
                  communityVariable: string
                  ipv4NextHop: string
                  ipv6NextHop: string
                  localPreference: 0
                  metric: 0
                  metricType: string
                  ompTag: 0
                  origin: string
                  ospfTag: 0
                  weight: 0
              baseAction: string
              id: 0
              matchEntries:
                - asPathListId: string
                  bgpLocalPreference: 0
                  expandedCommunityListId: string
                  extendedCommunityListId: string
                  ipv4AddressPrefixListId: string
                  ipv4NextHopPrefixListId: string
                  ipv6AddressPrefixListId: string
                  ipv6NextHopPrefixListId: string
                  metric: 0
                  ompTag: 0
                  ospfTag: 0
                  standardCommunityListCriteria: string
                  standardCommunityLists:
                    - id: string
              name: string
              protocol: string
    

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

    FeatureProfileId string
    Feature Profile ID
    DefaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    Description string
    The description of the Feature
    Name string
    The name of the Feature
    Sequences List<ServiceRoutePolicyFeatureSequence>
    Route Policy List
    FeatureProfileId string
    Feature Profile ID
    DefaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    Description string
    The description of the Feature
    Name string
    The name of the Feature
    Sequences []ServiceRoutePolicyFeatureSequenceArgs
    Route Policy List
    featureProfileId String
    Feature Profile ID
    defaultAction String
    Default Action - Choices: reject, accept - Default value: reject
    description String
    The description of the Feature
    name String
    The name of the Feature
    sequences List<ServiceRoutePolicyFeatureSequence>
    Route Policy List
    featureProfileId string
    Feature Profile ID
    defaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    description string
    The description of the Feature
    name string
    The name of the Feature
    sequences ServiceRoutePolicyFeatureSequence[]
    Route Policy List
    feature_profile_id str
    Feature Profile ID
    default_action str
    Default Action - Choices: reject, accept - Default value: reject
    description str
    The description of the Feature
    name str
    The name of the Feature
    sequences Sequence[ServiceRoutePolicyFeatureSequenceArgs]
    Route Policy List
    featureProfileId String
    Feature Profile ID
    defaultAction String
    Default Action - Choices: reject, accept - Default value: reject
    description String
    The description of the Feature
    name String
    The name of the Feature
    sequences List<Property Map>
    Route Policy List

    Outputs

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

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

    Look up Existing ServiceRoutePolicyFeature Resource

    Get an existing ServiceRoutePolicyFeature 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?: ServiceRoutePolicyFeatureState, opts?: CustomResourceOptions): ServiceRoutePolicyFeature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_action: Optional[str] = None,
            description: Optional[str] = None,
            feature_profile_id: Optional[str] = None,
            name: Optional[str] = None,
            sequences: Optional[Sequence[ServiceRoutePolicyFeatureSequenceArgs]] = None,
            version: Optional[int] = None) -> ServiceRoutePolicyFeature
    func GetServiceRoutePolicyFeature(ctx *Context, name string, id IDInput, state *ServiceRoutePolicyFeatureState, opts ...ResourceOption) (*ServiceRoutePolicyFeature, error)
    public static ServiceRoutePolicyFeature Get(string name, Input<string> id, ServiceRoutePolicyFeatureState? state, CustomResourceOptions? opts = null)
    public static ServiceRoutePolicyFeature get(String name, Output<String> id, ServiceRoutePolicyFeatureState 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.
    The following state arguments are supported:
    DefaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    Sequences List<ServiceRoutePolicyFeatureSequence>
    Route Policy List
    Version int
    The version of the Feature
    DefaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    Sequences []ServiceRoutePolicyFeatureSequenceArgs
    Route Policy List
    Version int
    The version of the Feature
    defaultAction String
    Default Action - Choices: reject, accept - Default value: reject
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    sequences List<ServiceRoutePolicyFeatureSequence>
    Route Policy List
    version Integer
    The version of the Feature
    defaultAction string
    Default Action - Choices: reject, accept - Default value: reject
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    name string
    The name of the Feature
    sequences ServiceRoutePolicyFeatureSequence[]
    Route Policy List
    version number
    The version of the Feature
    default_action str
    Default Action - Choices: reject, accept - Default value: reject
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    name str
    The name of the Feature
    sequences Sequence[ServiceRoutePolicyFeatureSequenceArgs]
    Route Policy List
    version int
    The version of the Feature
    defaultAction String
    Default Action - Choices: reject, accept - Default value: reject
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    sequences List<Property Map>
    Route Policy List
    version Number
    The version of the Feature

    Supporting Types

    ServiceRoutePolicyFeatureSequence, ServiceRoutePolicyFeatureSequenceArgs

    Actions List<ServiceRoutePolicyFeatureSequenceAction>
    Define list of actions
    BaseAction string
    Base Action

    • Choices: reject, accept
    • Default value: reject
    Id int
    Sequence Id

    • Range: 1-65536
    MatchEntries List<ServiceRoutePolicyFeatureSequenceMatchEntry>
    Define match conditions
    Name string
    Sequence Name
    Protocol string
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4
    Actions []ServiceRoutePolicyFeatureSequenceAction
    Define list of actions
    BaseAction string
    Base Action

    • Choices: reject, accept
    • Default value: reject
    Id int
    Sequence Id

    • Range: 1-65536
    MatchEntries []ServiceRoutePolicyFeatureSequenceMatchEntry
    Define match conditions
    Name string
    Sequence Name
    Protocol string
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4
    actions List<ServiceRoutePolicyFeatureSequenceAction>
    Define list of actions
    baseAction String
    Base Action

    • Choices: reject, accept
    • Default value: reject
    id Integer
    Sequence Id

    • Range: 1-65536
    matchEntries List<ServiceRoutePolicyFeatureSequenceMatchEntry>
    Define match conditions
    name String
    Sequence Name
    protocol String
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4
    actions ServiceRoutePolicyFeatureSequenceAction[]
    Define list of actions
    baseAction string
    Base Action

    • Choices: reject, accept
    • Default value: reject
    id number
    Sequence Id

    • Range: 1-65536
    matchEntries ServiceRoutePolicyFeatureSequenceMatchEntry[]
    Define match conditions
    name string
    Sequence Name
    protocol string
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4
    actions Sequence[ServiceRoutePolicyFeatureSequenceAction]
    Define list of actions
    base_action str
    Base Action

    • Choices: reject, accept
    • Default value: reject
    id int
    Sequence Id

    • Range: 1-65536
    match_entries Sequence[ServiceRoutePolicyFeatureSequenceMatchEntry]
    Define match conditions
    name str
    Sequence Name
    protocol str
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4
    actions List<Property Map>
    Define list of actions
    baseAction String
    Base Action

    • Choices: reject, accept
    • Default value: reject
    id Number
    Sequence Id

    • Range: 1-65536
    matchEntries List<Property Map>
    Define match conditions
    name String
    Sequence Name
    protocol String
    protocol such as IPV4, IPV6, or BOTH

    • Choices: IPV4, IPV6, BOTH
    • Default value: IPV4

    ServiceRoutePolicyFeatureSequenceAction, ServiceRoutePolicyFeatureSequenceActionArgs

    AsPathPrepends List<int>
    Communities List<string>
    CommunityAdditive bool
    • Default value: false
    CommunityVariable string
    Variable name
    Ipv4NextHop string
    Set Ipv4 Next Hop
    Ipv6NextHop string
    Set Ipv6 Next Hop
    LocalPreference int
    Set Local Preference

    • Range: 0-4294967295
    Metric int
    Set Metric

    • Range: 0-4294967295
    MetricType string
    Set Metric Type

    • Choices: type1, type2
    OmpTag int
    Set OMP Tag

    • Range: 0-4294967295
    Origin string
    Set Origin

    • Choices: EGP, IGP, Incomplete
    OspfTag int
    Set OSPF Tag

    • Range: 0-4294967295
    Weight int
    Set Weight

    • Range: 0-65535
    AsPathPrepends []int
    Communities []string
    CommunityAdditive bool
    • Default value: false
    CommunityVariable string
    Variable name
    Ipv4NextHop string
    Set Ipv4 Next Hop
    Ipv6NextHop string
    Set Ipv6 Next Hop
    LocalPreference int
    Set Local Preference

    • Range: 0-4294967295
    Metric int
    Set Metric

    • Range: 0-4294967295
    MetricType string
    Set Metric Type

    • Choices: type1, type2
    OmpTag int
    Set OMP Tag

    • Range: 0-4294967295
    Origin string
    Set Origin

    • Choices: EGP, IGP, Incomplete
    OspfTag int
    Set OSPF Tag

    • Range: 0-4294967295
    Weight int
    Set Weight

    • Range: 0-65535
    asPathPrepends List<Integer>
    communities List<String>
    communityAdditive Boolean
    • Default value: false
    communityVariable String
    Variable name
    ipv4NextHop String
    Set Ipv4 Next Hop
    ipv6NextHop String
    Set Ipv6 Next Hop
    localPreference Integer
    Set Local Preference

    • Range: 0-4294967295
    metric Integer
    Set Metric

    • Range: 0-4294967295
    metricType String
    Set Metric Type

    • Choices: type1, type2
    ompTag Integer
    Set OMP Tag

    • Range: 0-4294967295
    origin String
    Set Origin

    • Choices: EGP, IGP, Incomplete
    ospfTag Integer
    Set OSPF Tag

    • Range: 0-4294967295
    weight Integer
    Set Weight

    • Range: 0-65535
    asPathPrepends number[]
    communities string[]
    communityAdditive boolean
    • Default value: false
    communityVariable string
    Variable name
    ipv4NextHop string
    Set Ipv4 Next Hop
    ipv6NextHop string
    Set Ipv6 Next Hop
    localPreference number
    Set Local Preference

    • Range: 0-4294967295
    metric number
    Set Metric

    • Range: 0-4294967295
    metricType string
    Set Metric Type

    • Choices: type1, type2
    ompTag number
    Set OMP Tag

    • Range: 0-4294967295
    origin string
    Set Origin

    • Choices: EGP, IGP, Incomplete
    ospfTag number
    Set OSPF Tag

    • Range: 0-4294967295
    weight number
    Set Weight

    • Range: 0-65535
    as_path_prepends Sequence[int]
    communities Sequence[str]
    community_additive bool
    • Default value: false
    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

    • Range: 0-4294967295
    metric int
    Set Metric

    • Range: 0-4294967295
    metric_type str
    Set Metric Type

    • Choices: type1, type2
    omp_tag int
    Set OMP Tag

    • Range: 0-4294967295
    origin str
    Set Origin

    • Choices: EGP, IGP, Incomplete
    ospf_tag int
    Set OSPF Tag

    • Range: 0-4294967295
    weight int
    Set Weight

    • Range: 0-65535
    asPathPrepends List<Number>
    communities List<String>
    communityAdditive Boolean
    • Default value: false
    communityVariable String
    Variable name
    ipv4NextHop String
    Set Ipv4 Next Hop
    ipv6NextHop String
    Set Ipv6 Next Hop
    localPreference Number
    Set Local Preference

    • Range: 0-4294967295
    metric Number
    Set Metric

    • Range: 0-4294967295
    metricType String
    Set Metric Type

    • Choices: type1, type2
    ompTag Number
    Set OMP Tag

    • Range: 0-4294967295
    origin String
    Set Origin

    • Choices: EGP, IGP, Incomplete
    ospfTag Number
    Set OSPF Tag

    • Range: 0-4294967295
    weight Number
    Set Weight

    • Range: 0-65535

    ServiceRoutePolicyFeatureSequenceMatchEntry, ServiceRoutePolicyFeatureSequenceMatchEntryArgs

    AsPathListId string
    BgpLocalPreference int
    BGP Local Preference

    • Range: 0-4294967295
    ExpandedCommunityListId string
    ExtendedCommunityListId string
    Ipv4AddressPrefixListId string
    Ipv4NextHopPrefixListId string
    Ipv6AddressPrefixListId string
    Ipv6NextHopPrefixListId string
    Metric int
    Select Metric

    • Range: 0-4294967295
    OmpTag int
    Select OMP Tag

    • Range: 0-4294967295
    OspfTag int
    Select OSPF Tag

    • Range: 0-4294967295
    StandardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    StandardCommunityLists List<ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList>
    Select a standard community list
    AsPathListId string
    BgpLocalPreference int
    BGP Local Preference

    • Range: 0-4294967295
    ExpandedCommunityListId string
    ExtendedCommunityListId string
    Ipv4AddressPrefixListId string
    Ipv4NextHopPrefixListId string
    Ipv6AddressPrefixListId string
    Ipv6NextHopPrefixListId string
    Metric int
    Select Metric

    • Range: 0-4294967295
    OmpTag int
    Select OMP Tag

    • Range: 0-4294967295
    OspfTag int
    Select OSPF Tag

    • Range: 0-4294967295
    StandardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    StandardCommunityLists []ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList
    Select a standard community list
    asPathListId String
    bgpLocalPreference Integer
    BGP Local Preference

    • Range: 0-4294967295
    expandedCommunityListId String
    extendedCommunityListId String
    ipv4AddressPrefixListId String
    ipv4NextHopPrefixListId String
    ipv6AddressPrefixListId String
    ipv6NextHopPrefixListId String
    metric Integer
    Select Metric

    • Range: 0-4294967295
    ompTag Integer
    Select OMP Tag

    • Range: 0-4294967295
    ospfTag Integer
    Select OSPF Tag

    • Range: 0-4294967295
    standardCommunityListCriteria String
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    standardCommunityLists List<ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList>
    Select a standard community list
    asPathListId string
    bgpLocalPreference number
    BGP Local Preference

    • Range: 0-4294967295
    expandedCommunityListId string
    extendedCommunityListId string
    ipv4AddressPrefixListId string
    ipv4NextHopPrefixListId string
    ipv6AddressPrefixListId string
    ipv6NextHopPrefixListId string
    metric number
    Select Metric

    • Range: 0-4294967295
    ompTag number
    Select OMP Tag

    • Range: 0-4294967295
    ospfTag number
    Select OSPF Tag

    • Range: 0-4294967295
    standardCommunityListCriteria string
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    standardCommunityLists ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList[]
    Select a standard community list
    as_path_list_id str
    bgp_local_preference int
    BGP Local Preference

    • Range: 0-4294967295
    expanded_community_list_id str
    extended_community_list_id str
    ipv4_address_prefix_list_id str
    ipv4_next_hop_prefix_list_id str
    ipv6_address_prefix_list_id str
    ipv6_next_hop_prefix_list_id str
    metric int
    Select Metric

    • Range: 0-4294967295
    omp_tag int
    Select OMP Tag

    • Range: 0-4294967295
    ospf_tag int
    Select OSPF Tag

    • Range: 0-4294967295
    standard_community_list_criteria str
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    standard_community_lists Sequence[ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList]
    Select a standard community list
    asPathListId String
    bgpLocalPreference Number
    BGP Local Preference

    • Range: 0-4294967295
    expandedCommunityListId String
    extendedCommunityListId String
    ipv4AddressPrefixListId String
    ipv4NextHopPrefixListId String
    ipv6AddressPrefixListId String
    ipv6NextHopPrefixListId String
    metric Number
    Select Metric

    • Range: 0-4294967295
    ompTag Number
    Select OMP Tag

    • Range: 0-4294967295
    ospfTag Number
    Select OSPF Tag

    • Range: 0-4294967295
    standardCommunityListCriteria String
    Select a condition such as OR, AND or EXACT

    • Choices: OR, AND, EXACT
    standardCommunityLists List<Property Map>
    Select a standard community list

    ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityList, ServiceRoutePolicyFeatureSequenceMatchEntryStandardCommunityListArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    Import

    Expected import identifier with the format: “service_route_policy_feature_id,feature_profile_id”

    $ pulumi import sdwan:index/serviceRoutePolicyFeature:ServiceRoutePolicyFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    

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

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi