This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.network.getRouteMap
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Retrieves the details of a RouteMap. 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.
Using getRouteMap
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 getRouteMap(args: GetRouteMapArgs, opts?: InvokeOptions): Promise<GetRouteMapResult>
function getRouteMapOutput(args: GetRouteMapOutputArgs, opts?: InvokeOptions): Output<GetRouteMapResult>
def get_route_map(resource_group_name: Optional[str] = None,
route_map_name: Optional[str] = None,
virtual_hub_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteMapResult
def get_route_map_output(resource_group_name: Optional[pulumi.Input[str]] = None,
route_map_name: Optional[pulumi.Input[str]] = None,
virtual_hub_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteMapResult]
func LookupRouteMap(ctx *Context, args *LookupRouteMapArgs, opts ...InvokeOption) (*LookupRouteMapResult, error)
func LookupRouteMapOutput(ctx *Context, args *LookupRouteMapOutputArgs, opts ...InvokeOption) LookupRouteMapResultOutput
> Note: This function is named LookupRouteMap
in the Go SDK.
public static class GetRouteMap
{
public static Task<GetRouteMapResult> InvokeAsync(GetRouteMapArgs args, InvokeOptions? opts = null)
public static Output<GetRouteMapResult> Invoke(GetRouteMapInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRouteMapResult> getRouteMap(GetRouteMapArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getRouteMap
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The resource group name of the RouteMap's resource group.
- Route
Map stringName - The name of the RouteMap.
- Virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- Resource
Group stringName - The resource group name of the RouteMap's resource group.
- Route
Map stringName - The name of the RouteMap.
- Virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- resource
Group StringName - The resource group name of the RouteMap's resource group.
- route
Map StringName - The name of the RouteMap.
- virtual
Hub StringName - The name of the VirtualHub containing the RouteMap.
- resource
Group stringName - The resource group name of the RouteMap's resource group.
- route
Map stringName - The name of the RouteMap.
- virtual
Hub stringName - The name of the VirtualHub containing the RouteMap.
- resource_
group_ strname - The resource group name of the RouteMap's resource group.
- route_
map_ strname - The name of the RouteMap.
- virtual_
hub_ strname - The name of the VirtualHub containing the RouteMap.
- resource
Group StringName - The resource group name of the RouteMap's resource group.
- route
Map StringName - The name of the RouteMap.
- virtual
Hub StringName - The name of the VirtualHub containing the RouteMap.
getRouteMap Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- 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.
- 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.
- Rules
List<Pulumi.
Azure Native. Network. Outputs. Route Map Rule Response> - List of RouteMap rules to be applied.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- 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.
- 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.
- Rules
[]Route
Map Rule Response - List of RouteMap rules to be applied.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- 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.
- 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.
- rules
List<Route
Map Rule Response> - List of RouteMap rules to be applied.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Resource ID.
- 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.
- 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.
- rules
Route
Map Rule Response[] - List of RouteMap rules to be applied.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Resource ID.
- 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.
- 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.
- rules
Sequence[Route
Map Rule Response] - List of RouteMap rules to be applied.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- 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.
- 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.
- rules List<Property Map>
- List of RouteMap rules to be applied.
Supporting Types
ActionResponse
- 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.'
CriterionResponse
- 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.
ParameterResponse
- 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.
RouteMapRuleResponse
- 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'.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi