published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
Implements Route Policy GET method.
Uses Azure REST API version 2023-06-15.
Other available API versions: 2023-02-01-preview, 2024-02-15-preview, 2024-06-15-preview, 2025-07-15. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native managednetworkfabric [ApiVersion]. See the version guide for details.
Using getRoutePolicy
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 getRoutePolicy(args: GetRoutePolicyArgs, opts?: InvokeOptions): Promise<GetRoutePolicyResult>
function getRoutePolicyOutput(args: GetRoutePolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetRoutePolicyResult>def get_route_policy(resource_group_name: Optional[str] = None,
route_policy_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoutePolicyResult
def get_route_policy_output(resource_group_name: pulumi.Input[Optional[str]] = None,
route_policy_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetRoutePolicyResult]func LookupRoutePolicy(ctx *Context, args *LookupRoutePolicyArgs, opts ...InvokeOption) (*LookupRoutePolicyResult, error)
func LookupRoutePolicyOutput(ctx *Context, args *LookupRoutePolicyOutputArgs, opts ...InvokeOption) LookupRoutePolicyResultOutput> Note: This function is named LookupRoutePolicy in the Go SDK.
public static class GetRoutePolicy
{
public static Task<GetRoutePolicyResult> InvokeAsync(GetRoutePolicyArgs args, InvokeOptions? opts = null)
public static Output<GetRoutePolicyResult> Invoke(GetRoutePolicyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetRoutePolicyResult> Invoke(GetRoutePolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetRoutePolicyResult> getRoutePolicy(GetRoutePolicyArgs args, InvokeOptions options)
public static Output<GetRoutePolicyResult> getRoutePolicy(GetRoutePolicyArgs args, InvokeOptions options)
public static Output<GetRoutePolicyResult> getRoutePolicy(GetRoutePolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: azure-native:managednetworkfabric:getRoutePolicy
arguments:
# arguments dictionarydata "azure-native_managednetworkfabric_get_route_policy" "name" {
# arguments
}The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Route
Policy stringName - Name of the Route Policy.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Route
Policy stringName - Name of the Route Policy.
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- route_
policy_ stringname - Name of the Route Policy.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- route
Policy StringName - Name of the Route Policy.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- route
Policy stringName - Name of the Route Policy.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- route_
policy_ strname - Name of the Route Policy.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- route
Policy StringName - Name of the Route Policy.
getRoutePolicy Result
The following output properties are available:
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Network
Fabric stringId - Arm Resource ID of Network Fabric.
- Provisioning
State string - Provisioning state of the resource.
- Statements
List<Pulumi.
Azure Native. Managed Network Fabric. Outputs. Route Policy Statement Properties Response> - Route Policy statements.
- System
Data Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Address
Family stringType - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- Annotation string
- Switch configuration description.
- Default
Action string - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Dictionary<string, string>
- Resource tags.
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Network
Fabric stringId - Arm Resource ID of Network Fabric.
- Provisioning
State string - Provisioning state of the resource.
- Statements
[]Route
Policy Statement Properties Response - Route Policy statements.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Address
Family stringType - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- Annotation string
- Switch configuration description.
- Default
Action string - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- map[string]string
- Resource tags.
- administrative_
state string - Administrative state of the resource.
- azure_
api_ stringversion - The Azure API version of the resource.
- configuration_
state string - Configuration state of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- network_
fabric_ stringid - Arm Resource ID of Network Fabric.
- provisioning_
state string - Provisioning state of the resource.
- statements list(object)
- Route Policy statements.
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- address_
family_ stringtype - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation string
- Switch configuration description.
- default_
action string - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- map(string)
- Resource tags.
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- network
Fabric StringId - Arm Resource ID of Network Fabric.
- provisioning
State String - Provisioning state of the resource.
- statements
List<Route
Policy Statement Properties Response> - Route Policy statements.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- address
Family StringType - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation String
- Switch configuration description.
- default
Action String - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Map<String,String>
- Resource tags.
- administrative
State string - Administrative state of the resource.
- azure
Api stringVersion - The Azure API version of the resource.
- configuration
State string - Configuration state of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- network
Fabric stringId - Arm Resource ID of Network Fabric.
- provisioning
State string - Provisioning state of the resource.
- statements
Route
Policy Statement Properties Response[] - Route Policy statements.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- address
Family stringType - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation string
- Switch configuration description.
- default
Action string - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- {[key: string]: string}
- Resource tags.
- administrative_
state str - Administrative state of the resource.
- azure_
api_ strversion - The Azure API version of the resource.
- configuration_
state str - Configuration state of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- network_
fabric_ strid - Arm Resource ID of Network Fabric.
- provisioning_
state str - Provisioning state of the resource.
- statements
Sequence[Route
Policy Statement Properties Response] - Route Policy statements.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- address_
family_ strtype - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation str
- Switch configuration description.
- default_
action str - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Mapping[str, str]
- Resource tags.
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- network
Fabric StringId - Arm Resource ID of Network Fabric.
- provisioning
State String - Provisioning state of the resource.
- statements List<Property Map>
- Route Policy statements.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- address
Family StringType - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation String
- Switch configuration description.
- default
Action String - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Map<String>
- Resource tags.
Supporting Types
ActionIpCommunityPropertiesResponse
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Add
Ip
Community Id List Response - List of IP Community IDs.
- Delete
Ip
Community Id List Response - List of IP Community IDs.
- Set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add Property Map
- List of IP Community IDs.
- delete Property Map
- List of IP Community IDs.
- set Property Map
- List of IP Community IDs.
ActionIpExtendedCommunityPropertiesResponse
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- Delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- Set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add Property Map
- List of IP Extended Community IDs.
- delete Property Map
- List of IP Extended Community IDs.
- set Property Map
- List of IP Extended Community IDs.
IpCommunityIdListResponse
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Community []stringIds - List of IP Community resource IDs.
- ip_
community_ list(string)ids - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
IpExtendedCommunityIdListResponse
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- ip_
extended_ list(string)community_ ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
RoutePolicyStatementPropertiesResponse
- Action
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Action Properties Response - Route policy action properties.
- Condition
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Condition Properties Response - Route policy condition properties.
- Sequence
Number double - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- Action
Statement
Action Properties Response - Route policy action properties.
- Condition
Statement
Condition Properties Response - Route policy condition properties.
- Sequence
Number float64 - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- action object
- Route policy action properties.
- condition object
- Route policy condition properties.
- sequence_
number number - Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number Double - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number number - Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence_
number float - Sequence to insert to/delete from existing route.
- annotation str
- Switch configuration description.
- action Property Map
- Route policy action properties.
- condition Property Map
- Route policy condition properties.
- sequence
Number Number - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
StatementActionPropertiesResponse
- Action
Type string - Action type. Example: Permit | Deny | Continue.
- Ip
Community Pulumi.Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Community Properties Response - IP Community Properties.
- Ip
Extended Pulumi.Community Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Extended Community Properties Response - IP Extended Community Properties.
- Local
Preference double - Local Preference of the route policy.
- Action
Type string - Action type. Example: Permit | Deny | Continue.
- Ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- Ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- Local
Preference float64 - Local Preference of the route policy.
- action_
type string - Action type. Example: Permit | Deny | Continue.
- ip_
community_ objectproperties - IP Community Properties.
- ip_
extended_ objectcommunity_ properties - IP Extended Community Properties.
- local_
preference number - Local Preference of the route policy.
- action
Type String - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local
Preference Double - Local Preference of the route policy.
- action
Type string - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local
Preference number - Local Preference of the route policy.
- action_
type str - Action type. Example: Permit | Deny | Continue.
- ip_
community_ Actionproperties Ip Community Properties Response - IP Community Properties.
- ip_
extended_ Actioncommunity_ properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local_
preference float - Local Preference of the route policy.
- action
Type String - Action type. Example: Permit | Deny | Continue.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - Local Preference of the route policy.
StatementConditionPropertiesResponse
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type string
- Type of the condition used.
- Ip
Community []stringIds - List of IP Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type string
- Type of the condition used.
- ip_
community_ list(string)ids - List of IP Community resource IDs.
- ip_
extended_ list(string)community_ ids - List of IP Extended Community resource IDs.
- ip_
prefix_ stringid - Arm Resource Id of IpPrefix.
- type string
- Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type String
- Type of the condition used.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix stringId - Arm Resource Id of IpPrefix.
- type string
- Type of the condition used.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip_
prefix_ strid - Arm Resource Id of IpPrefix.
- type str
- Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type String
- Type of the condition used.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at string - The timestamp of resource creation (UTC).
- created_
by string - The identity that created the resource.
- created_
by_ stringtype - The type of identity that created the resource.
- last_
modified_ stringat - The timestamp of resource last modification (UTC)
- last_
modified_ stringby - The identity that last modified the resource.
- last_
modified_ stringby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Thursday, Aug 13, 2026 by Pulumi