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.getRouteFilterRule
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
Gets the specified rule from a route filter. Azure REST API version: 2023-02-01.
Other available API versions: 2017-03-01, 2017-10-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getRouteFilterRule
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group.
- Route
Filter stringName - The name of the route filter.
- Rule
Name string - The name of the rule.
- Resource
Group stringName - The name of the resource group.
- Route
Filter stringName - The name of the route filter.
- Rule
Name string - The name of the rule.
- resource
Group StringName - The name of the resource group.
- route
Filter StringName - The name of the route filter.
- rule
Name String - The name of the rule.
- resource
Group stringName - The name of the resource group.
- route
Filter stringName - The name of the route filter.
- rule
Name 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.
- resource
Group StringName - The name of the resource group.
- route
Filter StringName - The name of the route filter.
- rule
Name 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.
- Provisioning
State string - The provisioning state of the route filter rule resource.
- Route
Filter 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.
- Provisioning
State string - The provisioning state of the route filter rule resource.
- Route
Filter 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.
- provisioning
State String - The provisioning state of the route filter rule resource.
- route
Filter 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.
- provisioning
State string - The provisioning state of the route filter rule resource.
- route
Filter 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.
- provisioning
State String - The provisioning state of the route filter rule resource.
- route
Filter 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 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