sdwan.RoutePolicyDefinition
Explore with Pulumi AI
This resource can manage a Route Policy Definition .
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.RoutePolicyDefinition;
import com.pulumi.sdwan.RoutePolicyDefinitionArgs;
import com.pulumi.sdwan.inputs.RoutePolicyDefinitionSequenceArgs;
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 RoutePolicyDefinition("example", RoutePolicyDefinitionArgs.builder()
.name("Example")
.description("My description")
.defaultAction("reject")
.sequences(RoutePolicyDefinitionSequenceArgs.builder()
.id(10)
.ip_type("ipv4")
.name("Sequence 10")
.base_action("accept")
.match_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.action_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
}
}
resources:
example:
type: sdwan:RoutePolicyDefinition
properties:
name: Example
description: My description
defaultAction: reject
sequences:
- id: 10
ip_type: ipv4
name: Sequence 10
base_action: accept
match_entries:
- type: metric
metric: 100
action_entries:
- type: aggregator
aggregator: 10
aggregatorIpAddress: 10.1.2.3
Create RoutePolicyDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutePolicyDefinition(name: string, args: RoutePolicyDefinitionArgs, opts?: CustomResourceOptions);
@overload
def RoutePolicyDefinition(resource_name: str,
args: RoutePolicyDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutePolicyDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
default_action: Optional[str] = None,
name: Optional[str] = None,
sequences: Optional[Sequence[RoutePolicyDefinitionSequenceArgs]] = None)
func NewRoutePolicyDefinition(ctx *Context, name string, args RoutePolicyDefinitionArgs, opts ...ResourceOption) (*RoutePolicyDefinition, error)
public RoutePolicyDefinition(string name, RoutePolicyDefinitionArgs args, CustomResourceOptions? opts = null)
public RoutePolicyDefinition(String name, RoutePolicyDefinitionArgs args)
public RoutePolicyDefinition(String name, RoutePolicyDefinitionArgs args, CustomResourceOptions options)
type: sdwan:RoutePolicyDefinition
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 RoutePolicyDefinitionArgs
- 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 RoutePolicyDefinitionArgs
- 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 RoutePolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutePolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutePolicyDefinitionArgs
- 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 routePolicyDefinitionResource = new Sdwan.RoutePolicyDefinition("routePolicyDefinitionResource", new()
{
Description = "string",
DefaultAction = "string",
Name = "string",
Sequences = new[]
{
new Sdwan.Inputs.RoutePolicyDefinitionSequenceArgs
{
Id = 0,
Name = "string",
ActionEntries = new[]
{
new Sdwan.Inputs.RoutePolicyDefinitionSequenceActionEntryArgs
{
Type = "string",
Metric = 0,
LocalPreference = 0,
AsPathPrepend = "string",
AtomicAggregate = false,
MetricType = "string",
CommunityAdditive = false,
AsPathExclude = "string",
Aggregator = 0,
Community = "string",
NextHop = "string",
OmpTag = 0,
Origin = "string",
Originator = "string",
OspfTag = 0,
AggregatorIpAddress = "string",
Weight = 0,
},
},
BaseAction = "string",
IpType = "string",
MatchEntries = new[]
{
new Sdwan.Inputs.RoutePolicyDefinitionSequenceMatchEntryArgs
{
Type = "string",
Metric = 0,
AsPathListVersion = 0,
LocalPreference = 0,
CommunityListVersions = new[]
{
"string",
},
ExpandedCommunityListId = "string",
ExpandedCommunityListVersion = 0,
ExtendedCommunityListId = "string",
ExtendedCommunityListVersion = 0,
CommunityListMatchFlag = "string",
CommunityListIds = new[]
{
"string",
},
NextHopPrefixListVersion = 0,
NextHopPrefixListId = "string",
OmpTag = 0,
Origin = "string",
OspfTag = 0,
Peer = "string",
PrefixListId = "string",
PrefixListVersion = 0,
AsPathListId = "string",
},
},
},
},
});
example, err := sdwan.NewRoutePolicyDefinition(ctx, "routePolicyDefinitionResource", &sdwan.RoutePolicyDefinitionArgs{
Description: pulumi.String("string"),
DefaultAction: pulumi.String("string"),
Name: pulumi.String("string"),
Sequences: sdwan.RoutePolicyDefinitionSequenceArray{
&sdwan.RoutePolicyDefinitionSequenceArgs{
Id: pulumi.Int(0),
Name: pulumi.String("string"),
ActionEntries: sdwan.RoutePolicyDefinitionSequenceActionEntryArray{
&sdwan.RoutePolicyDefinitionSequenceActionEntryArgs{
Type: pulumi.String("string"),
Metric: pulumi.Int(0),
LocalPreference: pulumi.Int(0),
AsPathPrepend: pulumi.String("string"),
AtomicAggregate: pulumi.Bool(false),
MetricType: pulumi.String("string"),
CommunityAdditive: pulumi.Bool(false),
AsPathExclude: pulumi.String("string"),
Aggregator: pulumi.Int(0),
Community: pulumi.String("string"),
NextHop: pulumi.String("string"),
OmpTag: pulumi.Int(0),
Origin: pulumi.String("string"),
Originator: pulumi.String("string"),
OspfTag: pulumi.Int(0),
AggregatorIpAddress: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
BaseAction: pulumi.String("string"),
IpType: pulumi.String("string"),
MatchEntries: sdwan.RoutePolicyDefinitionSequenceMatchEntryArray{
&sdwan.RoutePolicyDefinitionSequenceMatchEntryArgs{
Type: pulumi.String("string"),
Metric: pulumi.Int(0),
AsPathListVersion: pulumi.Int(0),
LocalPreference: pulumi.Int(0),
CommunityListVersions: pulumi.StringArray{
pulumi.String("string"),
},
ExpandedCommunityListId: pulumi.String("string"),
ExpandedCommunityListVersion: pulumi.Int(0),
ExtendedCommunityListId: pulumi.String("string"),
ExtendedCommunityListVersion: pulumi.Int(0),
CommunityListMatchFlag: pulumi.String("string"),
CommunityListIds: pulumi.StringArray{
pulumi.String("string"),
},
NextHopPrefixListVersion: pulumi.Int(0),
NextHopPrefixListId: pulumi.String("string"),
OmpTag: pulumi.Int(0),
Origin: pulumi.String("string"),
OspfTag: pulumi.Int(0),
Peer: pulumi.String("string"),
PrefixListId: pulumi.String("string"),
PrefixListVersion: pulumi.Int(0),
AsPathListId: pulumi.String("string"),
},
},
},
},
})
var routePolicyDefinitionResource = new RoutePolicyDefinition("routePolicyDefinitionResource", RoutePolicyDefinitionArgs.builder()
.description("string")
.defaultAction("string")
.name("string")
.sequences(RoutePolicyDefinitionSequenceArgs.builder()
.id(0)
.name("string")
.actionEntries(RoutePolicyDefinitionSequenceActionEntryArgs.builder()
.type("string")
.metric(0)
.localPreference(0)
.asPathPrepend("string")
.atomicAggregate(false)
.metricType("string")
.communityAdditive(false)
.asPathExclude("string")
.aggregator(0)
.community("string")
.nextHop("string")
.ompTag(0)
.origin("string")
.originator("string")
.ospfTag(0)
.aggregatorIpAddress("string")
.weight(0)
.build())
.baseAction("string")
.ipType("string")
.matchEntries(RoutePolicyDefinitionSequenceMatchEntryArgs.builder()
.type("string")
.metric(0)
.asPathListVersion(0)
.localPreference(0)
.communityListVersions("string")
.expandedCommunityListId("string")
.expandedCommunityListVersion(0)
.extendedCommunityListId("string")
.extendedCommunityListVersion(0)
.communityListMatchFlag("string")
.communityListIds("string")
.nextHopPrefixListVersion(0)
.nextHopPrefixListId("string")
.ompTag(0)
.origin("string")
.ospfTag(0)
.peer("string")
.prefixListId("string")
.prefixListVersion(0)
.asPathListId("string")
.build())
.build())
.build());
route_policy_definition_resource = sdwan.RoutePolicyDefinition("routePolicyDefinitionResource",
description="string",
default_action="string",
name="string",
sequences=[{
"id": 0,
"name": "string",
"action_entries": [{
"type": "string",
"metric": 0,
"local_preference": 0,
"as_path_prepend": "string",
"atomic_aggregate": False,
"metric_type": "string",
"community_additive": False,
"as_path_exclude": "string",
"aggregator": 0,
"community": "string",
"next_hop": "string",
"omp_tag": 0,
"origin": "string",
"originator": "string",
"ospf_tag": 0,
"aggregator_ip_address": "string",
"weight": 0,
}],
"base_action": "string",
"ip_type": "string",
"match_entries": [{
"type": "string",
"metric": 0,
"as_path_list_version": 0,
"local_preference": 0,
"community_list_versions": ["string"],
"expanded_community_list_id": "string",
"expanded_community_list_version": 0,
"extended_community_list_id": "string",
"extended_community_list_version": 0,
"community_list_match_flag": "string",
"community_list_ids": ["string"],
"next_hop_prefix_list_version": 0,
"next_hop_prefix_list_id": "string",
"omp_tag": 0,
"origin": "string",
"ospf_tag": 0,
"peer": "string",
"prefix_list_id": "string",
"prefix_list_version": 0,
"as_path_list_id": "string",
}],
}])
const routePolicyDefinitionResource = new sdwan.RoutePolicyDefinition("routePolicyDefinitionResource", {
description: "string",
defaultAction: "string",
name: "string",
sequences: [{
id: 0,
name: "string",
actionEntries: [{
type: "string",
metric: 0,
localPreference: 0,
asPathPrepend: "string",
atomicAggregate: false,
metricType: "string",
communityAdditive: false,
asPathExclude: "string",
aggregator: 0,
community: "string",
nextHop: "string",
ompTag: 0,
origin: "string",
originator: "string",
ospfTag: 0,
aggregatorIpAddress: "string",
weight: 0,
}],
baseAction: "string",
ipType: "string",
matchEntries: [{
type: "string",
metric: 0,
asPathListVersion: 0,
localPreference: 0,
communityListVersions: ["string"],
expandedCommunityListId: "string",
expandedCommunityListVersion: 0,
extendedCommunityListId: "string",
extendedCommunityListVersion: 0,
communityListMatchFlag: "string",
communityListIds: ["string"],
nextHopPrefixListVersion: 0,
nextHopPrefixListId: "string",
ompTag: 0,
origin: "string",
ospfTag: 0,
peer: "string",
prefixListId: "string",
prefixListVersion: 0,
asPathListId: "string",
}],
}],
});
type: sdwan:RoutePolicyDefinition
properties:
defaultAction: string
description: string
name: string
sequences:
- actionEntries:
- aggregator: 0
aggregatorIpAddress: string
asPathExclude: string
asPathPrepend: string
atomicAggregate: false
community: string
communityAdditive: false
localPreference: 0
metric: 0
metricType: string
nextHop: string
ompTag: 0
origin: string
originator: string
ospfTag: 0
type: string
weight: 0
baseAction: string
id: 0
ipType: string
matchEntries:
- asPathListId: string
asPathListVersion: 0
communityListIds:
- string
communityListMatchFlag: string
communityListVersions:
- string
expandedCommunityListId: string
expandedCommunityListVersion: 0
extendedCommunityListId: string
extendedCommunityListVersion: 0
localPreference: 0
metric: 0
nextHopPrefixListId: string
nextHopPrefixListVersion: 0
ompTag: 0
origin: string
ospfTag: 0
peer: string
prefixListId: string
prefixListVersion: 0
type: string
name: string
RoutePolicyDefinition 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 RoutePolicyDefinition resource accepts the following input properties:
- Description string
- The description of the policy definition
- Default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- Name string
- The name of the policy definition
- Sequences
List<Route
Policy Definition Sequence> - List of ACL sequences
- Description string
- The description of the policy definition
- Default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- Name string
- The name of the policy definition
- Sequences
[]Route
Policy Definition Sequence Args - List of ACL sequences
- description String
- The description of the policy definition
- default
Action String - Default action, either
accept
orreject
- Choices:accept
,reject
- name String
- The name of the policy definition
- sequences
List<Route
Policy Definition Sequence> - List of ACL sequences
- description string
- The description of the policy definition
- default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- name string
- The name of the policy definition
- sequences
Route
Policy Definition Sequence[] - List of ACL sequences
- description str
- The description of the policy definition
- default_
action str - Default action, either
accept
orreject
- Choices:accept
,reject
- name str
- The name of the policy definition
- sequences
Sequence[Route
Policy Definition Sequence Args] - List of ACL sequences
- description String
- The description of the policy definition
- default
Action String - Default action, either
accept
orreject
- Choices:accept
,reject
- name String
- The name of the policy definition
- sequences List<Property Map>
- List of ACL sequences
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutePolicyDefinition resource produces the following output properties:
Look up Existing RoutePolicyDefinition Resource
Get an existing RoutePolicyDefinition 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?: RoutePolicyDefinitionState, opts?: CustomResourceOptions): RoutePolicyDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_action: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
sequences: Optional[Sequence[RoutePolicyDefinitionSequenceArgs]] = None,
type: Optional[str] = None,
version: Optional[int] = None) -> RoutePolicyDefinition
func GetRoutePolicyDefinition(ctx *Context, name string, id IDInput, state *RoutePolicyDefinitionState, opts ...ResourceOption) (*RoutePolicyDefinition, error)
public static RoutePolicyDefinition Get(string name, Input<string> id, RoutePolicyDefinitionState? state, CustomResourceOptions? opts = null)
public static RoutePolicyDefinition get(String name, Output<String> id, RoutePolicyDefinitionState 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.
- Default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- Description string
- The description of the policy definition
- Name string
- The name of the policy definition
- Sequences
List<Route
Policy Definition Sequence> - List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- Default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- Description string
- The description of the policy definition
- Name string
- The name of the policy definition
- Sequences
[]Route
Policy Definition Sequence Args - List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- default
Action String - Default action, either
accept
orreject
- Choices:accept
,reject
- description String
- The description of the policy definition
- name String
- The name of the policy definition
- sequences
List<Route
Policy Definition Sequence> - List of ACL sequences
- type String
- Type
- version Integer
- The version of the object
- default
Action string - Default action, either
accept
orreject
- Choices:accept
,reject
- description string
- The description of the policy definition
- name string
- The name of the policy definition
- sequences
Route
Policy Definition Sequence[] - List of ACL sequences
- type string
- Type
- version number
- The version of the object
- default_
action str - Default action, either
accept
orreject
- Choices:accept
,reject
- description str
- The description of the policy definition
- name str
- The name of the policy definition
- sequences
Sequence[Route
Policy Definition Sequence Args] - List of ACL sequences
- type str
- Type
- version int
- The version of the object
- default
Action String - Default action, either
accept
orreject
- Choices:accept
,reject
- description String
- The description of the policy definition
- name String
- The name of the policy definition
- sequences List<Property Map>
- List of ACL sequences
- type String
- Type
- version Number
- The version of the object
Supporting Types
RoutePolicyDefinitionSequence, RoutePolicyDefinitionSequenceArgs
- Id int
- Sequence ID
- Range:
1
-65534
- Range:
- Name string
- Sequence name
- Action
Entries List<RoutePolicy Definition Sequence Action Entry> - List of action entries
- Base
Action string - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- Ip
Type string - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- Match
Entries List<RoutePolicy Definition Sequence Match Entry> - List of match entries
- Id int
- Sequence ID
- Range:
1
-65534
- Range:
- Name string
- Sequence name
- Action
Entries []RoutePolicy Definition Sequence Action Entry - List of action entries
- Base
Action string - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- Ip
Type string - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- Match
Entries []RoutePolicy Definition Sequence Match Entry - List of match entries
- id Integer
- Sequence ID
- Range:
1
-65534
- Range:
- name String
- Sequence name
- action
Entries List<RoutePolicy Definition Sequence Action Entry> - List of action entries
- base
Action String - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- ip
Type String - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- match
Entries List<RoutePolicy Definition Sequence Match Entry> - List of match entries
- id number
- Sequence ID
- Range:
1
-65534
- Range:
- name string
- Sequence name
- action
Entries RoutePolicy Definition Sequence Action Entry[] - List of action entries
- base
Action string - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- ip
Type string - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- match
Entries RoutePolicy Definition Sequence Match Entry[] - List of match entries
- id int
- Sequence ID
- Range:
1
-65534
- Range:
- name str
- Sequence name
- action_
entries Sequence[RoutePolicy Definition Sequence Action Entry] - List of action entries
- base_
action str - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- ip_
type str - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- match_
entries Sequence[RoutePolicy Definition Sequence Match Entry] - List of match entries
- id Number
- Sequence ID
- Range:
1
-65534
- Range:
- name String
- Sequence name
- action
Entries List<Property Map> - List of action entries
- base
Action String - Base action, either
accept
orreject
- Choices:
accept
,reject
- Choices:
- ip
Type String - IP version, either
ipv4
oripv6
- Choices:
ipv4
,ipv6
- Choices:
- match
Entries List<Property Map> - List of match entries
RoutePolicyDefinitionSequenceActionEntry, RoutePolicyDefinitionSequenceActionEntryArgs
- Type string
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- Aggregator int
- Aggregator
- Range:
0
-4294967295
- Range:
- Aggregator
Ip stringAddress - IP address
- As
Path stringExclude - Space separated list of ASN to exclude
- As
Path stringPrepend - Space separated list of ASN to prepend
- Atomic
Aggregate bool - Atomic aggregate
- Community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- Community
Additive bool - Community additive
- Local
Preference int - Local preference
- Range:
0
-4294967295
- Range:
- Metric int
- Metric
- Range:
0
-4294967295
- Range:
- Metric
Type string - Metric type
- Choices:
type1
,type2
- Choices:
- Next
Hop string - Next hop IP
- Omp
Tag int - OMP tag
- Range:
0
-4294967295
- Range:
- Origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- Originator string
- Originator IP
- Ospf
Tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- Weight int
- Weight
- Range:
0
-4294967295
- Range:
- Type string
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- Aggregator int
- Aggregator
- Range:
0
-4294967295
- Range:
- Aggregator
Ip stringAddress - IP address
- As
Path stringExclude - Space separated list of ASN to exclude
- As
Path stringPrepend - Space separated list of ASN to prepend
- Atomic
Aggregate bool - Atomic aggregate
- Community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- Community
Additive bool - Community additive
- Local
Preference int - Local preference
- Range:
0
-4294967295
- Range:
- Metric int
- Metric
- Range:
0
-4294967295
- Range:
- Metric
Type string - Metric type
- Choices:
type1
,type2
- Choices:
- Next
Hop string - Next hop IP
- Omp
Tag int - OMP tag
- Range:
0
-4294967295
- Range:
- Origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- Originator string
- Originator IP
- Ospf
Tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- Weight int
- Weight
- Range:
0
-4294967295
- Range:
- type String
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- aggregator Integer
- Aggregator
- Range:
0
-4294967295
- Range:
- aggregator
Ip StringAddress - IP address
- as
Path StringExclude - Space separated list of ASN to exclude
- as
Path StringPrepend - Space separated list of ASN to prepend
- atomic
Aggregate Boolean - Atomic aggregate
- community String
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community
Additive Boolean - Community additive
- local
Preference Integer - Local preference
- Range:
0
-4294967295
- Range:
- metric Integer
- Metric
- Range:
0
-4294967295
- Range:
- metric
Type String - Metric type
- Choices:
type1
,type2
- Choices:
- next
Hop String - Next hop IP
- omp
Tag Integer - OMP tag
- Range:
0
-4294967295
- Range:
- origin String
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- originator String
- Originator IP
- ospf
Tag Integer - OSPF tag
- Range:
0
-4294967295
- Range:
- weight Integer
- Weight
- Range:
0
-4294967295
- Range:
- type string
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- aggregator number
- Aggregator
- Range:
0
-4294967295
- Range:
- aggregator
Ip stringAddress - IP address
- as
Path stringExclude - Space separated list of ASN to exclude
- as
Path stringPrepend - Space separated list of ASN to prepend
- atomic
Aggregate boolean - Atomic aggregate
- community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community
Additive boolean - Community additive
- local
Preference number - Local preference
- Range:
0
-4294967295
- Range:
- metric number
- Metric
- Range:
0
-4294967295
- Range:
- metric
Type string - Metric type
- Choices:
type1
,type2
- Choices:
- next
Hop string - Next hop IP
- omp
Tag number - OMP tag
- Range:
0
-4294967295
- Range:
- origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- originator string
- Originator IP
- ospf
Tag number - OSPF tag
- Range:
0
-4294967295
- Range:
- weight number
- Weight
- Range:
0
-4294967295
- Range:
- type str
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- aggregator int
- Aggregator
- Range:
0
-4294967295
- Range:
- aggregator_
ip_ straddress - IP address
- as_
path_ strexclude - Space separated list of ASN to exclude
- as_
path_ strprepend - Space separated list of ASN to prepend
- atomic_
aggregate bool - Atomic aggregate
- community str
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community_
additive bool - Community additive
- local_
preference int - Local preference
- Range:
0
-4294967295
- Range:
- metric int
- Metric
- Range:
0
-4294967295
- Range:
- metric_
type str - Metric type
- Choices:
type1
,type2
- Choices:
- next_
hop str - Next hop IP
- omp_
tag int - OMP tag
- Range:
0
-4294967295
- Range:
- origin str
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- originator str
- Originator IP
- ospf_
tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- weight int
- Weight
- Range:
0
-4294967295
- Range:
- type String
- Type of action entry
- Choices:
aggregator
,asPath
,atomicAggregate
,community
,communityAdditive
,localPreference
,metric
,weight
,metricType
,nextHop
,ompTag
,ospfTag
,origin
,originator
- Choices:
- aggregator Number
- Aggregator
- Range:
0
-4294967295
- Range:
- aggregator
Ip StringAddress - IP address
- as
Path StringExclude - Space separated list of ASN to exclude
- as
Path StringPrepend - Space separated list of ASN to prepend
- atomic
Aggregate Boolean - Atomic aggregate
- community String
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community
Additive Boolean - Community additive
- local
Preference Number - Local preference
- Range:
0
-4294967295
- Range:
- metric Number
- Metric
- Range:
0
-4294967295
- Range:
- metric
Type String - Metric type
- Choices:
type1
,type2
- Choices:
- next
Hop String - Next hop IP
- omp
Tag Number - OMP tag
- Range:
0
-4294967295
- Range:
- origin String
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- originator String
- Originator IP
- ospf
Tag Number - OSPF tag
- Range:
0
-4294967295
- Range:
- weight Number
- Weight
- Range:
0
-4294967295
- Range:
RoutePolicyDefinitionSequenceMatchEntry, RoutePolicyDefinitionSequenceMatchEntryArgs
- Type string
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- As
Path stringList Id - AS path list ID
- As
Path intList Version - AS path list version
- Community
List List<string>Ids - Community list IDs
- Community
List stringMatch Flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- Community
List List<string>Versions - Community list versions
- Expanded
Community stringList Id - Expanded community list ID
- Expanded
Community intList Version - Expanded community list version
- Extended
Community stringList Id - Extended community list ID
- Extended
Community intList Version - Extended community list version
- Local
Preference int - Local preference
- Range:
0
-4294967295
- Range:
- Metric int
- Metric
- Range:
0
-4294967295
- Range:
- Next
Hop stringPrefix List Id - Next hop prefix list ID
- Next
Hop intPrefix List Version - Next hop prefix list version
- Omp
Tag int - OMP tag
- Range:
0
-4294967295
- Range:
- Origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- Ospf
Tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- Peer string
- Peer IP
- Prefix
List stringId - Prefix list ID
- Prefix
List intVersion - Prefix list version
- Type string
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- As
Path stringList Id - AS path list ID
- As
Path intList Version - AS path list version
- Community
List []stringIds - Community list IDs
- Community
List stringMatch Flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- Community
List []stringVersions - Community list versions
- Expanded
Community stringList Id - Expanded community list ID
- Expanded
Community intList Version - Expanded community list version
- Extended
Community stringList Id - Extended community list ID
- Extended
Community intList Version - Extended community list version
- Local
Preference int - Local preference
- Range:
0
-4294967295
- Range:
- Metric int
- Metric
- Range:
0
-4294967295
- Range:
- Next
Hop stringPrefix List Id - Next hop prefix list ID
- Next
Hop intPrefix List Version - Next hop prefix list version
- Omp
Tag int - OMP tag
- Range:
0
-4294967295
- Range:
- Origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- Ospf
Tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- Peer string
- Peer IP
- Prefix
List stringId - Prefix list ID
- Prefix
List intVersion - Prefix list version
- type String
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- as
Path StringList Id - AS path list ID
- as
Path IntegerList Version - AS path list version
- community
List List<String>Ids - Community list IDs
- community
List StringMatch Flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- community
List List<String>Versions - Community list versions
- expanded
Community StringList Id - Expanded community list ID
- expanded
Community IntegerList Version - Expanded community list version
- extended
Community StringList Id - Extended community list ID
- extended
Community IntegerList Version - Extended community list version
- local
Preference Integer - Local preference
- Range:
0
-4294967295
- Range:
- metric Integer
- Metric
- Range:
0
-4294967295
- Range:
- next
Hop StringPrefix List Id - Next hop prefix list ID
- next
Hop IntegerPrefix List Version - Next hop prefix list version
- omp
Tag Integer - OMP tag
- Range:
0
-4294967295
- Range:
- origin String
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- ospf
Tag Integer - OSPF tag
- Range:
0
-4294967295
- Range:
- peer String
- Peer IP
- prefix
List StringId - Prefix list ID
- prefix
List IntegerVersion - Prefix list version
- type string
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- as
Path stringList Id - AS path list ID
- as
Path numberList Version - AS path list version
- community
List string[]Ids - Community list IDs
- community
List stringMatch Flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- community
List string[]Versions - Community list versions
- expanded
Community stringList Id - Expanded community list ID
- expanded
Community numberList Version - Expanded community list version
- extended
Community stringList Id - Extended community list ID
- extended
Community numberList Version - Extended community list version
- local
Preference number - Local preference
- Range:
0
-4294967295
- Range:
- metric number
- Metric
- Range:
0
-4294967295
- Range:
- next
Hop stringPrefix List Id - Next hop prefix list ID
- next
Hop numberPrefix List Version - Next hop prefix list version
- omp
Tag number - OMP tag
- Range:
0
-4294967295
- Range:
- origin string
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- ospf
Tag number - OSPF tag
- Range:
0
-4294967295
- Range:
- peer string
- Peer IP
- prefix
List stringId - Prefix list ID
- prefix
List numberVersion - Prefix list version
- type str
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- as_
path_ strlist_ id - AS path list ID
- as_
path_ intlist_ version - AS path list version
- community_
list_ Sequence[str]ids - Community list IDs
- community_
list_ strmatch_ flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- community_
list_ Sequence[str]versions - Community list versions
- expanded_
community_ strlist_ id - Expanded community list ID
- expanded_
community_ intlist_ version - Expanded community list version
- extended_
community_ strlist_ id - Extended community list ID
- extended_
community_ intlist_ version - Extended community list version
- local_
preference int - Local preference
- Range:
0
-4294967295
- Range:
- metric int
- Metric
- Range:
0
-4294967295
- Range:
- next_
hop_ strprefix_ list_ id - Next hop prefix list ID
- next_
hop_ intprefix_ list_ version - Next hop prefix list version
- omp_
tag int - OMP tag
- Range:
0
-4294967295
- Range:
- origin str
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- ospf_
tag int - OSPF tag
- Range:
0
-4294967295
- Range:
- peer str
- Peer IP
- prefix_
list_ strid - Prefix list ID
- prefix_
list_ intversion - Prefix list version
- type String
- Type of match entry
- Choices:
address
,asPath
,advancedCommunity
,expandedCommunity
,extCommunity
,localPreference
,metric
,nextHop
,origin
,peer
,ompTag
,ospfTag
- Choices:
- as
Path StringList Id - AS path list ID
- as
Path NumberList Version - AS path list version
- community
List List<String>Ids - Community list IDs
- community
List StringMatch Flag - Community list match flag
- Choices:
and
,or
,exact
- Choices:
- community
List List<String>Versions - Community list versions
- expanded
Community StringList Id - Expanded community list ID
- expanded
Community NumberList Version - Expanded community list version
- extended
Community StringList Id - Extended community list ID
- extended
Community NumberList Version - Extended community list version
- local
Preference Number - Local preference
- Range:
0
-4294967295
- Range:
- metric Number
- Metric
- Range:
0
-4294967295
- Range:
- next
Hop StringPrefix List Id - Next hop prefix list ID
- next
Hop NumberPrefix List Version - Next hop prefix list version
- omp
Tag Number - OMP tag
- Range:
0
-4294967295
- Range:
- origin String
- Origin
- Choices:
igp
,egp
,incomplete
- Choices:
- ospf
Tag Number - OSPF tag
- Range:
0
-4294967295
- Range:
- peer String
- Peer IP
- prefix
List StringId - Prefix list ID
- prefix
List NumberVersion - Prefix list version
Import
$ pulumi import sdwan:index/routePolicyDefinition:RoutePolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
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.