These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native-v2.network.getRouteFilterRule
Explore with Pulumi AI
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Gets the specified rule from a route filter. 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, 2024-05-01.
Using getRouteFilterRule
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 getRouteFilterRule(args: GetRouteFilterRuleArgs, opts?: InvokeOptions): Promise<GetRouteFilterRuleResult>
function getRouteFilterRuleOutput(args: GetRouteFilterRuleOutputArgs, opts?: InvokeOptions): Output<GetRouteFilterRuleResult>def get_route_filter_rule(resource_group_name: Optional[str] = None,
                          route_filter_name: Optional[str] = None,
                          rule_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetRouteFilterRuleResult
def get_route_filter_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                          route_filter_name: Optional[pulumi.Input[str]] = None,
                          rule_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetRouteFilterRuleResult]func LookupRouteFilterRule(ctx *Context, args *LookupRouteFilterRuleArgs, opts ...InvokeOption) (*LookupRouteFilterRuleResult, error)
func LookupRouteFilterRuleOutput(ctx *Context, args *LookupRouteFilterRuleOutputArgs, opts ...InvokeOption) LookupRouteFilterRuleResultOutput> Note: This function is named LookupRouteFilterRule in the Go SDK.
public static class GetRouteFilterRule 
{
    public static Task<GetRouteFilterRuleResult> InvokeAsync(GetRouteFilterRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetRouteFilterRuleResult> Invoke(GetRouteFilterRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteFilterRuleResult> getRouteFilterRule(GetRouteFilterRuleArgs args, InvokeOptions options)
public static Output<GetRouteFilterRuleResult> getRouteFilterRule(GetRouteFilterRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getRouteFilterRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- RouteFilter stringName 
- The name of the route filter.
- RuleName string
- The name of the rule.
- ResourceGroup stringName 
- The name of the resource group.
- RouteFilter stringName 
- The name of the route filter.
- RuleName string
- The name of the rule.
- resourceGroup StringName 
- The name of the resource group.
- routeFilter StringName 
- The name of the route filter.
- ruleName String
- The name of the rule.
- resourceGroup stringName 
- The name of the resource group.
- routeFilter stringName 
- The name of the route filter.
- ruleName string
- The name of the rule.
- resource_group_ strname 
- The name of the resource group.
- route_filter_ strname 
- The name of the route filter.
- rule_name str
- The name of the rule.
- resourceGroup StringName 
- The name of the resource group.
- routeFilter StringName 
- The name of the route filter.
- ruleName String
- The name of the rule.
getRouteFilterRule Result
The following output properties are available:
- Access string
- The access type of the rule.
- Communities List<string>
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the route filter rule resource.
- RouteFilter stringRule Type 
- The rule type of the rule.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Access string
- The access type of the rule.
- Communities []string
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the route filter rule resource.
- RouteFilter stringRule Type 
- The rule type of the rule.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- access String
- The access type of the rule.
- communities List<String>
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the route filter rule resource.
- routeFilter StringRule Type 
- The rule type of the rule.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- access string
- The access type of the rule.
- communities string[]
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState string
- The provisioning state of the route filter rule resource.
- routeFilter stringRule Type 
- The rule type of the rule.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- access str
- The access type of the rule.
- communities Sequence[str]
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- etag str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state str
- The provisioning state of the route filter rule resource.
- route_filter_ strrule_ type 
- The rule type of the rule.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- access String
- The access type of the rule.
- communities List<String>
- The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the route filter rule resource.
- routeFilter StringRule Type 
- The rule type of the rule.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi