azure-native.network.RouteMap
Explore with Pulumi AI
The RouteMap child resource of a Virtual hub. Azure REST API version: 2023-02-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01.
Example Usage
RouteMapPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var routeMap = new AzureNative.Network.RouteMap("routeMap", new()
{
AssociatedInboundConnections = new[]
{
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1",
},
AssociatedOutboundConnections = new[] {},
ResourceGroupName = "rg1",
RouteMapName = "routeMap1",
Rules = new[]
{
new AzureNative.Network.Inputs.RouteMapRuleArgs
{
Actions = new[]
{
new AzureNative.Network.Inputs.ActionArgs
{
Parameters = new[]
{
new AzureNative.Network.Inputs.ParameterArgs
{
AsPath = new[]
{
"22334",
},
Community = new() { },
RoutePrefix = new() { },
},
},
Type = AzureNative.Network.RouteMapActionType.Add,
},
},
MatchCriteria = new[]
{
new AzureNative.Network.Inputs.CriterionArgs
{
AsPath = new() { },
Community = new() { },
MatchCondition = AzureNative.Network.RouteMapMatchCondition.Contains,
RoutePrefix = new[]
{
"10.0.0.0/8",
},
},
},
Name = "rule1",
NextStepIfMatched = AzureNative.Network.NextStep.Continue,
},
},
VirtualHubName = "virtualHub1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewRouteMap(ctx, "routeMap", &network.RouteMapArgs{
AssociatedInboundConnections: pulumi.StringArray{
pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1"),
},
AssociatedOutboundConnections: pulumi.StringArray{},
ResourceGroupName: pulumi.String("rg1"),
RouteMapName: pulumi.String("routeMap1"),
Rules: network.RouteMapRuleArray{
&network.RouteMapRuleArgs{
Actions: network.ActionArray{
&network.ActionArgs{
Parameters: network.ParameterArray{
&network.ParameterArgs{
AsPath: pulumi.StringArray{
pulumi.String("22334"),
},
Community: pulumi.StringArray{},
RoutePrefix: pulumi.StringArray{},
},
},
Type: pulumi.String(network.RouteMapActionTypeAdd),
},
},
MatchCriteria: network.CriterionArray{
&network.CriterionArgs{
AsPath: pulumi.StringArray{},
Community: pulumi.StringArray{},
MatchCondition: pulumi.String(network.RouteMapMatchConditionContains),
RoutePrefix: pulumi.StringArray{
pulumi.String("10.0.0.0/8"),
},
},
},
Name: pulumi.String("rule1"),
NextStepIfMatched: pulumi.String(network.NextStepContinue),
},
},
VirtualHubName: pulumi.String("virtualHub1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.RouteMap;
import com.pulumi.azurenative.network.RouteMapArgs;
import com.pulumi.azurenative.network.inputs.RouteMapRuleArgs;
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 routeMap = new RouteMap("routeMap", RouteMapArgs.builder()
.associatedInboundConnections("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1")
.associatedOutboundConnections()
.resourceGroupName("rg1")
.routeMapName("routeMap1")
.rules(RouteMapRuleArgs.builder()
.actions(ActionArgs.builder()
.parameters(ParameterArgs.builder()
.asPath("22334")
.community()
.routePrefix()
.build())
.type("Add")
.build())
.matchCriteria(CriterionArgs.builder()
.asPath()
.community()
.matchCondition("Contains")
.routePrefix("10.0.0.0/8")
.build())
.name("rule1")
.nextStepIfMatched("Continue")
.build())
.virtualHubName("virtualHub1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
route_map = azure_native.network.RouteMap("routeMap",
associated_inbound_connections=["/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1"],
associated_outbound_connections=[],
resource_group_name="rg1",
route_map_name="routeMap1",
rules=[{
"actions": [{
"parameters": [{
"as_path": ["22334"],
"community": [],
"route_prefix": [],
}],
"type": azure_native.network.RouteMapActionType.ADD,
}],
"match_criteria": [{
"as_path": [],
"community": [],
"match_condition": azure_native.network.RouteMapMatchCondition.CONTAINS,
"route_prefix": ["10.0.0.0/8"],
}],
"name": "rule1",
"next_step_if_matched": azure_native.network.NextStep.CONTINUE_,
}],
virtual_hub_name="virtualHub1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const routeMap = new azure_native.network.RouteMap("routeMap", {
associatedInboundConnections: ["/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1"],
associatedOutboundConnections: [],
resourceGroupName: "rg1",
routeMapName: "routeMap1",
rules: [{
actions: [{
parameters: [{
asPath: ["22334"],
community: [],
routePrefix: [],
}],
type: azure_native.network.RouteMapActionType.Add,
}],
matchCriteria: [{
asPath: [],
community: [],
matchCondition: azure_native.network.RouteMapMatchCondition.Contains,
routePrefix: ["10.0.0.0/8"],
}],
name: "rule1",
nextStepIfMatched: azure_native.network.NextStep.Continue,
}],
virtualHubName: "virtualHub1",
});
resources:
routeMap:
type: azure-native:network:RouteMap
properties:
associatedInboundConnections:
- /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1
associatedOutboundConnections: []
resourceGroupName: rg1
routeMapName: routeMap1
rules:
- actions:
- parameters:
- asPath:
- '22334'
community: []
routePrefix: []
type: Add
matchCriteria:
- asPath: []
community: []
matchCondition: Contains
routePrefix:
- 10.0.0.0/8
name: rule1
nextStepIfMatched: Continue
virtualHubName: virtualHub1
Create RouteMap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RouteMap(name: string, args: RouteMapArgs, opts?: CustomResourceOptions);
@overload
def RouteMap(resource_name: str,
args: RouteMapArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RouteMap(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
virtual_hub_name: Optional[str] = None,
associated_inbound_connections: Optional[Sequence[str]] = None,
associated_outbound_connections: Optional[Sequence[str]] = None,
id: Optional[str] = None,
route_map_name: Optional[str] = None,
rules: Optional[Sequence[RouteMapRuleArgs]] = None)
func NewRouteMap(ctx *Context, name string, args RouteMapArgs, opts ...ResourceOption) (*RouteMap, error)
public RouteMap(string name, RouteMapArgs args, CustomResourceOptions? opts = null)
public RouteMap(String name, RouteMapArgs args)
public RouteMap(String name, RouteMapArgs args, CustomResourceOptions options)
type: azure-native:network:RouteMap
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 RouteMapArgs
- 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 RouteMapArgs
- 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 RouteMapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouteMapArgs
- 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 routeMapResource = new AzureNative.Network.RouteMap("routeMapResource", new()
{
ResourceGroupName = "string",
VirtualHubName = "string",
AssociatedInboundConnections = new[]
{
"string",
},
AssociatedOutboundConnections = new[]
{
"string",
},
Id = "string",
RouteMapName = "string",
Rules = new[]
{
new AzureNative.Network.Inputs.RouteMapRuleArgs
{
Actions = new[]
{
new AzureNative.Network.Inputs.ActionArgs
{
Parameters = new[]
{
new AzureNative.Network.Inputs.ParameterArgs
{
AsPath = new[]
{
"string",
},
Community = new[]
{
"string",
},
RoutePrefix = new[]
{
"string",
},
},
},
Type = "string",
},
},
MatchCriteria = new[]
{
new AzureNative.Network.Inputs.CriterionArgs
{
AsPath = new[]
{
"string",
},
Community = new[]
{
"string",
},
MatchCondition = "string",
RoutePrefix = new[]
{
"string",
},
},
},
Name = "string",
NextStepIfMatched = "string",
},
},
});
example, err := network.NewRouteMap(ctx, "routeMapResource", &network.RouteMapArgs{
ResourceGroupName: pulumi.String("string"),
VirtualHubName: pulumi.String("string"),
AssociatedInboundConnections: pulumi.StringArray{
pulumi.String("string"),
},
AssociatedOutboundConnections: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.String("string"),
RouteMapName: pulumi.String("string"),
Rules: network.RouteMapRuleArray{
&network.RouteMapRuleArgs{
Actions: network.ActionArray{
&network.ActionArgs{
Parameters: network.ParameterArray{
&network.ParameterArgs{
AsPath: pulumi.StringArray{
pulumi.String("string"),
},
Community: pulumi.StringArray{
pulumi.String("string"),
},
RoutePrefix: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
},
},
MatchCriteria: network.CriterionArray{
&network.CriterionArgs{
AsPath: pulumi.StringArray{
pulumi.String("string"),
},
Community: pulumi.StringArray{
pulumi.String("string"),
},
MatchCondition: pulumi.String("string"),
RoutePrefix: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
NextStepIfMatched: pulumi.String("string"),
},
},
})
var routeMapResource = new RouteMap("routeMapResource", RouteMapArgs.builder()
.resourceGroupName("string")
.virtualHubName("string")
.associatedInboundConnections("string")
.associatedOutboundConnections("string")
.id("string")
.routeMapName("string")
.rules(RouteMapRuleArgs.builder()
.actions(ActionArgs.builder()
.parameters(ParameterArgs.builder()
.asPath("string")
.community("string")
.routePrefix("string")
.build())
.type("string")
.build())
.matchCriteria(CriterionArgs.builder()
.asPath("string")
.community("string")
.matchCondition("string")
.routePrefix("string")
.build())
.name("string")
.nextStepIfMatched("string")
.build())
.build());
route_map_resource = azure_native.network.RouteMap("routeMapResource",
resource_group_name="string",
virtual_hub_name="string",
associated_inbound_connections=["string"],
associated_outbound_connections=["string"],
id="string",
route_map_name="string",
rules=[{
"actions": [{
"parameters": [{
"asPath": ["string"],
"community": ["string"],
"routePrefix": ["string"],
}],
"type": "string",
}],
"matchCriteria": [{
"asPath": ["string"],
"community": ["string"],
"matchCondition": "string",
"routePrefix": ["string"],
}],
"name": "string",
"nextStepIfMatched": "string",
}])
const routeMapResource = new azure_native.network.RouteMap("routeMapResource", {
resourceGroupName: "string",
virtualHubName: "string",
associatedInboundConnections: ["string"],
associatedOutboundConnections: ["string"],
id: "string",
routeMapName: "string",
rules: [{
actions: [{
parameters: [{
asPath: ["string"],
community: ["string"],
routePrefix: ["string"],
}],
type: "string",
}],
matchCriteria: [{
asPath: ["string"],
community: ["string"],
matchCondition: "string",
routePrefix: ["string"],
}],
name: "string",
nextStepIfMatched: "string",
}],
});
type: azure-native:network:RouteMap
properties:
associatedInboundConnections:
- string
associatedOutboundConnections:
- string
id: string
resourceGroupName: string
routeMapName: string
rules:
- actions:
- parameters:
- asPath:
- string
community:
- string
routePrefix:
- string
type: string
matchCriteria:
- asPath:
- string
community:
- string
matchCondition: string
routePrefix:
- string
name: string
nextStepIfMatched: string
virtualHubName: string
RouteMap Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RouteMap resource accepts the following input properties:
- Resource
Group stringName - The resource group name of the RouteMap's resource group.
- Virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- Associated
Inbound List<string>Connections - List of connections which have this RoutMap associated for inbound traffic.
- Associated
Outbound List<string>Connections - List of connections which have this RoutMap associated for outbound traffic.
- Id string
- Resource ID.
- Route
Map stringName - The name of the RouteMap.
- Rules
List<Pulumi.
Azure Native. Network. Inputs. Route Map Rule> - List of RouteMap rules to be applied.
- Resource
Group stringName - The resource group name of the RouteMap's resource group.
- Virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- Associated
Inbound []stringConnections - List of connections which have this RoutMap associated for inbound traffic.
- Associated
Outbound []stringConnections - List of connections which have this RoutMap associated for outbound traffic.
- Id string
- Resource ID.
- Route
Map stringName - The name of the RouteMap.
- Rules
[]Route
Map Rule Args - List of RouteMap rules to be applied.
- resource
Group StringName - The resource group name of the RouteMap's resource group.
- virtual
Hub StringName - The name of the VirtualHub containing the RouteMap.
- associated
Inbound List<String>Connections - List of connections which have this RoutMap associated for inbound traffic.
- associated
Outbound List<String>Connections - List of connections which have this RoutMap associated for outbound traffic.
- id String
- Resource ID.
- route
Map StringName - The name of the RouteMap.
- rules
List<Route
Map Rule> - List of RouteMap rules to be applied.
- resource
Group stringName - The resource group name of the RouteMap's resource group.
- virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- associated
Inbound string[]Connections - List of connections which have this RoutMap associated for inbound traffic.
- associated
Outbound string[]Connections - List of connections which have this RoutMap associated for outbound traffic.
- id string
- Resource ID.
- route
Map stringName - The name of the RouteMap.
- rules
Route
Map Rule[] - List of RouteMap rules to be applied.
- resource_
group_ strname - The resource group name of the RouteMap's resource group.
- virtual_
hub_ strname - The name of the VirtualHub containing the RouteMap.
- associated_
inbound_ Sequence[str]connections - List of connections which have this RoutMap associated for inbound traffic.
- associated_
outbound_ Sequence[str]connections - List of connections which have this RoutMap associated for outbound traffic.
- id str
- Resource ID.
- route_
map_ strname - The name of the RouteMap.
- rules
Sequence[Route
Map Rule Args] - List of RouteMap rules to be applied.
- resource
Group StringName - The resource group name of the RouteMap's resource group.
- virtual
Hub StringName - The name of the VirtualHub containing the RouteMap.
- associated
Inbound List<String>Connections - List of connections which have this RoutMap associated for inbound traffic.
- associated
Outbound List<String>Connections - List of connections which have this RoutMap associated for outbound traffic.
- id String
- Resource ID.
- route
Map StringName - The name of the RouteMap.
- rules List<Property Map>
- List of RouteMap rules to be applied.
Outputs
All input properties are implicitly available as output properties. Additionally, the RouteMap resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Provisioning
State string - The provisioning state of the RouteMap resource.
- Type string
- Resource type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Provisioning
State string - The provisioning state of the RouteMap resource.
- Type string
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- provisioning
State String - The provisioning state of the RouteMap resource.
- type String
- Resource type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- provisioning
State string - The provisioning state of the RouteMap resource.
- type string
- Resource type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- provisioning_
state str - The provisioning state of the RouteMap resource.
- type str
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- provisioning
State String - The provisioning state of the RouteMap resource.
- type String
- Resource type.
Supporting Types
Action, ActionArgs
- Parameters
List<Pulumi.
Azure Native. Network. Inputs. Parameter> - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- Type
string | Pulumi.
Azure Native. Network. Route Map Action Type - Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- Parameters []Parameter
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- Type
string | Route
Map Action Type - Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters List<Parameter>
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type
String | Route
Map Action Type - Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters Parameter[]
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type
string | Route
Map Action Type - Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters Sequence[Parameter]
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type
str | Route
Map Action Type - Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters List<Property Map>
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type String | "Unknown" | "Remove" | "Add" | "Replace" | "Drop"
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
ActionResponse, ActionResponseArgs
- Parameters
List<Pulumi.
Azure Native. Network. Inputs. Parameter Response> - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- Type string
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- Parameters
[]Parameter
Response - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- Type string
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters
List<Parameter
Response> - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type String
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters
Parameter
Response[] - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type string
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters
Sequence[Parameter
Response] - List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type str
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
- parameters List<Property Map>
- List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added
- type String
- Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'
Criterion, CriterionArgs
- As
Path List<string> - List of AS paths which this criteria matches.
- Community List<string>
- List of BGP communities which this criteria matches.
- Match
Condition string | Pulumi.Azure Native. Network. Route Map Match Condition - Match condition to apply RouteMap rules.
- Route
Prefix List<string> - List of route prefixes which this criteria matches.
- As
Path []string - List of AS paths which this criteria matches.
- Community []string
- List of BGP communities which this criteria matches.
- Match
Condition string | RouteMap Match Condition - Match condition to apply RouteMap rules.
- Route
Prefix []string - List of route prefixes which this criteria matches.
- as
Path List<String> - List of AS paths which this criteria matches.
- community List<String>
- List of BGP communities which this criteria matches.
- match
Condition String | RouteMap Match Condition - Match condition to apply RouteMap rules.
- route
Prefix List<String> - List of route prefixes which this criteria matches.
- as
Path string[] - List of AS paths which this criteria matches.
- community string[]
- List of BGP communities which this criteria matches.
- match
Condition string | RouteMap Match Condition - Match condition to apply RouteMap rules.
- route
Prefix string[] - List of route prefixes which this criteria matches.
- as_
path Sequence[str] - List of AS paths which this criteria matches.
- community Sequence[str]
- List of BGP communities which this criteria matches.
- match_
condition str | RouteMap Match Condition - Match condition to apply RouteMap rules.
- route_
prefix Sequence[str] - List of route prefixes which this criteria matches.
- as
Path List<String> - List of AS paths which this criteria matches.
- community List<String>
- List of BGP communities which this criteria matches.
- match
Condition String | "Unknown" | "Contains" | "Equals" | "NotContains" | "Not Equals" - Match condition to apply RouteMap rules.
- route
Prefix List<String> - List of route prefixes which this criteria matches.
CriterionResponse, CriterionResponseArgs
- As
Path List<string> - List of AS paths which this criteria matches.
- Community List<string>
- List of BGP communities which this criteria matches.
- Match
Condition string - Match condition to apply RouteMap rules.
- Route
Prefix List<string> - List of route prefixes which this criteria matches.
- As
Path []string - List of AS paths which this criteria matches.
- Community []string
- List of BGP communities which this criteria matches.
- Match
Condition string - Match condition to apply RouteMap rules.
- Route
Prefix []string - List of route prefixes which this criteria matches.
- as
Path List<String> - List of AS paths which this criteria matches.
- community List<String>
- List of BGP communities which this criteria matches.
- match
Condition String - Match condition to apply RouteMap rules.
- route
Prefix List<String> - List of route prefixes which this criteria matches.
- as
Path string[] - List of AS paths which this criteria matches.
- community string[]
- List of BGP communities which this criteria matches.
- match
Condition string - Match condition to apply RouteMap rules.
- route
Prefix string[] - List of route prefixes which this criteria matches.
- as_
path Sequence[str] - List of AS paths which this criteria matches.
- community Sequence[str]
- List of BGP communities which this criteria matches.
- match_
condition str - Match condition to apply RouteMap rules.
- route_
prefix Sequence[str] - List of route prefixes which this criteria matches.
- as
Path List<String> - List of AS paths which this criteria matches.
- community List<String>
- List of BGP communities which this criteria matches.
- match
Condition String - Match condition to apply RouteMap rules.
- route
Prefix List<String> - List of route prefixes which this criteria matches.
NextStep, NextStepArgs
- Unknown
- Unknown
- Continue
- Continue
- Terminate
- Terminate
- Next
Step Unknown - Unknown
- Next
Step Continue - Continue
- Next
Step Terminate - Terminate
- Unknown
- Unknown
- Continue
- Continue
- Terminate
- Terminate
- Unknown
- Unknown
- Continue
- Continue
- Terminate
- Terminate
- UNKNOWN
- Unknown
- CONTINUE_
- Continue
- TERMINATE
- Terminate
- "Unknown"
- Unknown
- "Continue"
- Continue
- "Terminate"
- Terminate
Parameter, ParameterArgs
- As
Path List<string> - List of AS paths.
- Community List<string>
- List of BGP communities.
- Route
Prefix List<string> - List of route prefixes.
- As
Path []string - List of AS paths.
- Community []string
- List of BGP communities.
- Route
Prefix []string - List of route prefixes.
- as
Path List<String> - List of AS paths.
- community List<String>
- List of BGP communities.
- route
Prefix List<String> - List of route prefixes.
- as
Path string[] - List of AS paths.
- community string[]
- List of BGP communities.
- route
Prefix string[] - List of route prefixes.
- as_
path Sequence[str] - List of AS paths.
- community Sequence[str]
- List of BGP communities.
- route_
prefix Sequence[str] - List of route prefixes.
- as
Path List<String> - List of AS paths.
- community List<String>
- List of BGP communities.
- route
Prefix List<String> - List of route prefixes.
ParameterResponse, ParameterResponseArgs
- As
Path List<string> - List of AS paths.
- Community List<string>
- List of BGP communities.
- Route
Prefix List<string> - List of route prefixes.
- As
Path []string - List of AS paths.
- Community []string
- List of BGP communities.
- Route
Prefix []string - List of route prefixes.
- as
Path List<String> - List of AS paths.
- community List<String>
- List of BGP communities.
- route
Prefix List<String> - List of route prefixes.
- as
Path string[] - List of AS paths.
- community string[]
- List of BGP communities.
- route
Prefix string[] - List of route prefixes.
- as_
path Sequence[str] - List of AS paths.
- community Sequence[str]
- List of BGP communities.
- route_
prefix Sequence[str] - List of route prefixes.
- as
Path List<String> - List of AS paths.
- community List<String>
- List of BGP communities.
- route
Prefix List<String> - List of route prefixes.
RouteMapActionType, RouteMapActionTypeArgs
- Unknown
- Unknown
- Remove
- Remove
- Add
- Add
- Replace
- Replace
- Drop
- Drop
- Route
Map Action Type Unknown - Unknown
- Route
Map Action Type Remove - Remove
- Route
Map Action Type Add - Add
- Route
Map Action Type Replace - Replace
- Route
Map Action Type Drop - Drop
- Unknown
- Unknown
- Remove
- Remove
- Add
- Add
- Replace
- Replace
- Drop
- Drop
- Unknown
- Unknown
- Remove
- Remove
- Add
- Add
- Replace
- Replace
- Drop
- Drop
- UNKNOWN
- Unknown
- REMOVE
- Remove
- ADD
- Add
- REPLACE
- Replace
- DROP
- Drop
- "Unknown"
- Unknown
- "Remove"
- Remove
- "Add"
- Add
- "Replace"
- Replace
- "Drop"
- Drop
RouteMapMatchCondition, RouteMapMatchConditionArgs
- Unknown
- Unknown
- Contains
- Contains
- Equals
Value - Equals
- Not
Contains - NotContains
- Not
Equals - NotEquals
- Route
Map Match Condition Unknown - Unknown
- Route
Map Match Condition Contains - Contains
- Route
Map Match Condition Equals - Equals
- Route
Map Match Condition Not Contains - NotContains
- Route
Map Match Condition Not Equals - NotEquals
- Unknown
- Unknown
- Contains
- Contains
- Equals
- Equals
- Not
Contains - NotContains
- Not
Equals - NotEquals
- Unknown
- Unknown
- Contains
- Contains
- Equals
- Equals
- Not
Contains - NotContains
- Not
Equals - NotEquals
- UNKNOWN
- Unknown
- CONTAINS
- Contains
- EQUALS
- Equals
- NOT_CONTAINS
- NotContains
- NOT_EQUALS
- NotEquals
- "Unknown"
- Unknown
- "Contains"
- Contains
- "Equals"
- Equals
- "Not
Contains" - NotContains
- "Not
Equals" - NotEquals
RouteMapRule, RouteMapRuleArgs
- Actions
List<Pulumi.
Azure Native. Network. Inputs. Action> - List of actions which will be applied on a match.
- Match
Criteria List<Pulumi.Azure Native. Network. Inputs. Criterion> - List of matching criterion which will be applied to traffic.
- Name string
- The unique name for the rule.
- Next
Step string | Pulumi.If Matched Azure Native. Network. Next Step - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- Actions []Action
- List of actions which will be applied on a match.
- Match
Criteria []Criterion - List of matching criterion which will be applied to traffic.
- Name string
- The unique name for the rule.
- Next
Step string | NextIf Matched Step - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions List<Action>
- List of actions which will be applied on a match.
- match
Criteria List<Criterion> - List of matching criterion which will be applied to traffic.
- name String
- The unique name for the rule.
- next
Step String | NextIf Matched Step - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions Action[]
- List of actions which will be applied on a match.
- match
Criteria Criterion[] - List of matching criterion which will be applied to traffic.
- name string
- The unique name for the rule.
- next
Step string | NextIf Matched Step - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions Sequence[Action]
- List of actions which will be applied on a match.
- match_
criteria Sequence[Criterion] - List of matching criterion which will be applied to traffic.
- name str
- The unique name for the rule.
- next_
step_ str | Nextif_ matched Step - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions List<Property Map>
- List of actions which will be applied on a match.
- match
Criteria List<Property Map> - List of matching criterion which will be applied to traffic.
- name String
- The unique name for the rule.
- next
Step String | "Unknown" | "Continue" | "Terminate"If Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
RouteMapRuleResponse, RouteMapRuleResponseArgs
- Actions
List<Pulumi.
Azure Native. Network. Inputs. Action Response> - List of actions which will be applied on a match.
- Match
Criteria List<Pulumi.Azure Native. Network. Inputs. Criterion Response> - List of matching criterion which will be applied to traffic.
- Name string
- The unique name for the rule.
- Next
Step stringIf Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- Actions
[]Action
Response - List of actions which will be applied on a match.
- Match
Criteria []CriterionResponse - List of matching criterion which will be applied to traffic.
- Name string
- The unique name for the rule.
- Next
Step stringIf Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions
List<Action
Response> - List of actions which will be applied on a match.
- match
Criteria List<CriterionResponse> - List of matching criterion which will be applied to traffic.
- name String
- The unique name for the rule.
- next
Step StringIf Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions
Action
Response[] - List of actions which will be applied on a match.
- match
Criteria CriterionResponse[] - List of matching criterion which will be applied to traffic.
- name string
- The unique name for the rule.
- next
Step stringIf Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions
Sequence[Action
Response] - List of actions which will be applied on a match.
- match_
criteria Sequence[CriterionResponse] - List of matching criterion which will be applied to traffic.
- name str
- The unique name for the rule.
- next_
step_ strif_ matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- actions List<Property Map>
- List of actions which will be applied on a match.
- match
Criteria List<Property Map> - List of matching criterion which will be applied to traffic.
- name String
- The unique name for the rule.
- next
Step StringIf Matched - Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:RouteMap routeMap1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0