Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getServiceRoutePolicyFeature
Explore with Pulumi AI
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:
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
getServiceRoutePolicyFeature Result
The following output properties are available:
- Default
Action string - Default Action
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Sequences
List<Get
Service Route Policy Feature Sequence> - Route Policy List
- Version int
- The version of the Feature
- Default
Action string - Default Action
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Sequences
[]Get
Service Route Policy Feature Sequence - Route Policy List
- Version int
- The version of the Feature
- default
Action String - Default Action
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- sequences
List<Get
Service Route Policy Feature Sequence> - Route Policy List
- version Integer
- The version of the Feature
- default
Action string - Default Action
- description string
- The description of the Feature
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- name string
- The name of the Feature
- sequences
Get
Service 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[Get
Service Route Policy Feature Sequence] - Route Policy List
- version int
- The version of the Feature
- default
Action String - Default Action
- description String
- The description of the Feature
- feature
Profile 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
GetServiceRoutePolicyFeatureSequence
- Actions
List<Get
Service Route Policy Feature Sequence Action> - Define list of actions
- Base
Action string - Base Action
- Id int
- Sequence Id
- Match
Entries List<GetService Route Policy Feature Sequence Match Entry> - Define match conditions
- Name string
- Sequence Name
- Protocol string
- protocol such as IPV4, IPV6, or BOTH
- Actions
[]Get
Service Route Policy Feature Sequence Action - Define list of actions
- Base
Action string - Base Action
- Id int
- Sequence Id
- Match
Entries []GetService Route Policy Feature Sequence Match Entry - Define match conditions
- Name string
- Sequence Name
- Protocol string
- protocol such as IPV4, IPV6, or BOTH
- actions
List<Get
Service Route Policy Feature Sequence Action> - Define list of actions
- base
Action String - Base Action
- id Integer
- Sequence Id
- match
Entries List<GetService Route Policy Feature Sequence Match Entry> - Define match conditions
- name String
- Sequence Name
- protocol String
- protocol such as IPV4, IPV6, or BOTH
- actions
Get
Service Route Policy Feature Sequence Action[] - Define list of actions
- base
Action string - Base Action
- id number
- Sequence Id
- match
Entries GetService Route Policy Feature Sequence Match Entry[] - Define match conditions
- name string
- Sequence Name
- protocol string
- protocol such as IPV4, IPV6, or BOTH
- actions
Sequence[Get
Service Route Policy Feature Sequence Action] - Define list of actions
- base_
action str - Base Action
- id int
- Sequence Id
- match_
entries Sequence[GetService 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
- base
Action String - Base Action
- id Number
- Sequence Id
- match
Entries List<Property Map> - Define match conditions
- name String
- Sequence Name
- protocol String
- protocol such as IPV4, IPV6, or BOTH
GetServiceRoutePolicyFeatureSequenceAction
- As
Path List<int>Prepends - Communities List<string>
- Community
Additive bool - Community
Variable string - Variable name
- Ipv4Next
Hop string - Set Ipv4 Next Hop
- Ipv6Next
Hop string - Set Ipv6 Next Hop
- Local
Preference int - Set Local Preference
- Metric int
- Set Metric
- Metric
Type string - Set Metric Type
- Omp
Tag int - Set OMP Tag
- Origin string
- Set Origin
- Ospf
Tag int - Set OSPF Tag
- Weight int
- Set Weight
- As
Path []intPrepends - Communities []string
- Community
Additive bool - Community
Variable string - Variable name
- Ipv4Next
Hop string - Set Ipv4 Next Hop
- Ipv6Next
Hop string - Set Ipv6 Next Hop
- Local
Preference int - Set Local Preference
- Metric int
- Set Metric
- Metric
Type string - Set Metric Type
- Omp
Tag int - Set OMP Tag
- Origin string
- Set Origin
- Ospf
Tag int - Set OSPF Tag
- Weight int
- Set Weight
- as
Path List<Integer>Prepends - communities List<String>
- community
Additive Boolean - community
Variable String - Variable name
- ipv4Next
Hop String - Set Ipv4 Next Hop
- ipv6Next
Hop String - Set Ipv6 Next Hop
- local
Preference Integer - Set Local Preference
- metric Integer
- Set Metric
- metric
Type String - Set Metric Type
- omp
Tag Integer - Set OMP Tag
- origin String
- Set Origin
- ospf
Tag Integer - Set OSPF Tag
- weight Integer
- Set Weight
- as
Path number[]Prepends - communities string[]
- community
Additive boolean - community
Variable string - Variable name
- ipv4Next
Hop string - Set Ipv4 Next Hop
- ipv6Next
Hop string - Set Ipv6 Next Hop
- local
Preference number - Set Local Preference
- metric number
- Set Metric
- metric
Type string - Set Metric Type
- omp
Tag number - Set OMP Tag
- origin string
- Set Origin
- ospf
Tag 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
- as
Path List<Number>Prepends - communities List<String>
- community
Additive Boolean - community
Variable String - Variable name
- ipv4Next
Hop String - Set Ipv4 Next Hop
- ipv6Next
Hop String - Set Ipv6 Next Hop
- local
Preference Number - Set Local Preference
- metric Number
- Set Metric
- metric
Type String - Set Metric Type
- omp
Tag Number - Set OMP Tag
- origin String
- Set Origin
- ospf
Tag Number - Set OSPF Tag
- weight Number
- Set Weight
GetServiceRoutePolicyFeatureSequenceMatchEntry
- As
Path stringList Id - Bgp
Local intPreference - BGP Local Preference
- Expanded
Community stringList Id - Extended
Community stringList Id - Ipv4Address
Prefix stringList Id - Ipv4Next
Hop stringPrefix List Id - Ipv6Address
Prefix stringList Id - Ipv6Next
Hop stringPrefix List Id - Metric int
- Select Metric
- Omp
Tag int - Select OMP Tag
- Ospf
Tag int - Select OSPF Tag
- Standard
Community stringList Criteria - Select a condition such as OR, AND or EXACT
- Standard
Community List<GetLists Service Route Policy Feature Sequence Match Entry Standard Community List> - Select a standard community list
- As
Path stringList Id - Bgp
Local intPreference - BGP Local Preference
- Expanded
Community stringList Id - Extended
Community stringList Id - Ipv4Address
Prefix stringList Id - Ipv4Next
Hop stringPrefix List Id - Ipv6Address
Prefix stringList Id - Ipv6Next
Hop stringPrefix List Id - Metric int
- Select Metric
- Omp
Tag int - Select OMP Tag
- Ospf
Tag int - Select OSPF Tag
- Standard
Community stringList Criteria - Select a condition such as OR, AND or EXACT
- Standard
Community []GetLists Service Route Policy Feature Sequence Match Entry Standard Community List - Select a standard community list
- as
Path StringList Id - bgp
Local IntegerPreference - BGP Local Preference
- expanded
Community StringList Id - extended
Community StringList Id - ipv4Address
Prefix StringList Id - ipv4Next
Hop StringPrefix List Id - ipv6Address
Prefix StringList Id - ipv6Next
Hop StringPrefix List Id - metric Integer
- Select Metric
- omp
Tag Integer - Select OMP Tag
- ospf
Tag Integer - Select OSPF Tag
- standard
Community StringList Criteria - Select a condition such as OR, AND or EXACT
- standard
Community List<GetLists Service Route Policy Feature Sequence Match Entry Standard Community List> - Select a standard community list
- as
Path stringList Id - bgp
Local numberPreference - BGP Local Preference
- expanded
Community stringList Id - extended
Community stringList Id - ipv4Address
Prefix stringList Id - ipv4Next
Hop stringPrefix List Id - ipv6Address
Prefix stringList Id - ipv6Next
Hop stringPrefix List Id - metric number
- Select Metric
- omp
Tag number - Select OMP Tag
- ospf
Tag number - Select OSPF Tag
- standard
Community stringList Criteria - Select a condition such as OR, AND or EXACT
- standard
Community GetLists Service 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 Service Route Policy Feature Sequence Match Entry Standard Community List] - Select a standard community list
- as
Path StringList Id - bgp
Local NumberPreference - BGP Local Preference
- expanded
Community StringList Id - extended
Community StringList Id - ipv4Address
Prefix StringList Id - ipv4Next
Hop StringPrefix List Id - ipv6Address
Prefix StringList Id - ipv6Next
Hop StringPrefix List Id - metric Number
- Select Metric
- omp
Tag Number - Select OMP Tag
- ospf
Tag Number - Select OSPF Tag
- standard
Community StringList Criteria - Select a condition such as OR, AND or EXACT
- standard
Community List<Property Map>Lists - 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.