This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.network.getRoutingRule
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Gets a network manager routing configuration routing rule.
Uses Azure REST API version 2024-03-01.
Other available API versions: 2024-05-01.
Using getRoutingRule
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 getRoutingRule(args: GetRoutingRuleArgs, opts?: InvokeOptions): Promise<GetRoutingRuleResult>
function getRoutingRuleOutput(args: GetRoutingRuleOutputArgs, opts?: InvokeOptions): Output<GetRoutingRuleResult>def get_routing_rule(configuration_name: Optional[str] = None,
                     network_manager_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     rule_collection_name: Optional[str] = None,
                     rule_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRoutingRuleResult
def get_routing_rule_output(configuration_name: Optional[pulumi.Input[str]] = None,
                     network_manager_name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     rule_collection_name: Optional[pulumi.Input[str]] = None,
                     rule_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRoutingRuleResult]func LookupRoutingRule(ctx *Context, args *LookupRoutingRuleArgs, opts ...InvokeOption) (*LookupRoutingRuleResult, error)
func LookupRoutingRuleOutput(ctx *Context, args *LookupRoutingRuleOutputArgs, opts ...InvokeOption) LookupRoutingRuleResultOutput> Note: This function is named LookupRoutingRule in the Go SDK.
public static class GetRoutingRule 
{
    public static Task<GetRoutingRuleResult> InvokeAsync(GetRoutingRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetRoutingRuleResult> Invoke(GetRoutingRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRoutingRuleResult> getRoutingRule(GetRoutingRuleArgs args, InvokeOptions options)
public static Output<GetRoutingRuleResult> getRoutingRule(GetRoutingRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getRoutingRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConfigurationName string
- The name of the network manager Routing Configuration.
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RuleCollection stringName 
- The name of the network manager routing Configuration rule collection.
- RuleName string
- The name of the rule.
- ConfigurationName string
- The name of the network manager Routing Configuration.
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RuleCollection stringName 
- The name of the network manager routing Configuration rule collection.
- RuleName string
- The name of the rule.
- configurationName String
- The name of the network manager Routing Configuration.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection StringName 
- The name of the network manager routing Configuration rule collection.
- ruleName String
- The name of the rule.
- configurationName string
- The name of the network manager Routing Configuration.
- networkManager stringName 
- The name of the network manager.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection stringName 
- The name of the network manager routing Configuration rule collection.
- ruleName string
- The name of the rule.
- configuration_name str
- The name of the network manager Routing Configuration.
- network_manager_ strname 
- The name of the network manager.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- rule_collection_ strname 
- The name of the network manager routing Configuration rule collection.
- rule_name str
- The name of the rule.
- configurationName String
- The name of the network manager Routing Configuration.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection StringName 
- The name of the network manager routing Configuration rule collection.
- ruleName String
- The name of the rule.
getRoutingRule Result
The following output properties are available:
- Destination
Pulumi.Azure Native. Network. Outputs. Routing Rule Route Destination Response 
- Indicates the destination for this particular rule.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- NextHop Pulumi.Azure Native. Network. Outputs. Routing Rule Next Hop Response 
- Indicates the next hop for this particular rule.
- ProvisioningState string
- The provisioning state of the resource.
- ResourceGuid string
- Unique identifier for this resource.
- SystemData Pulumi.Azure Native. Network. Outputs. System Data Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- Description string
- A description for this rule.
- Destination
RoutingRule Route Destination Response 
- Indicates the destination for this particular rule.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- NextHop RoutingRule Next Hop Response 
- Indicates the next hop for this particular rule.
- ProvisioningState string
- The provisioning state of the resource.
- ResourceGuid string
- Unique identifier for this resource.
- SystemData SystemData Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- Description string
- A description for this rule.
- destination
RoutingRule Route Destination Response 
- Indicates the destination for this particular rule.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- nextHop RoutingRule Next Hop Response 
- Indicates the next hop for this particular rule.
- provisioningState String
- The provisioning state of the resource.
- resourceGuid String
- Unique identifier for this resource.
- systemData SystemData Response 
- The system metadata related to this resource.
- type String
- Resource type.
- description String
- A description for this rule.
- destination
RoutingRule Route Destination Response 
- Indicates the destination for this particular rule.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Resource ID.
- name string
- Resource name.
- nextHop RoutingRule Next Hop Response 
- Indicates the next hop for this particular rule.
- provisioningState string
- The provisioning state of the resource.
- resourceGuid string
- Unique identifier for this resource.
- systemData SystemData Response 
- The system metadata related to this resource.
- type string
- Resource type.
- description string
- A description for this rule.
- destination
RoutingRule Route Destination Response 
- Indicates the destination for this particular rule.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Resource ID.
- name str
- Resource name.
- next_hop RoutingRule Next Hop Response 
- Indicates the next hop for this particular rule.
- provisioning_state str
- The provisioning state of the resource.
- resource_guid str
- Unique identifier for this resource.
- system_data SystemData Response 
- The system metadata related to this resource.
- type str
- Resource type.
- description str
- A description for this rule.
- destination Property Map
- Indicates the destination for this particular rule.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- nextHop Property Map
- Indicates the next hop for this particular rule.
- provisioningState String
- The provisioning state of the resource.
- resourceGuid String
- Unique identifier for this resource.
- systemData Property Map
- The system metadata related to this resource.
- type String
- Resource type.
- description String
- A description for this rule.
Supporting Types
RoutingRuleNextHopResponse    
- NextHop stringType 
- Next hop type.
- NextHop stringAddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
- NextHop stringType 
- Next hop type.
- NextHop stringAddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
- nextHop StringType 
- Next hop type.
- nextHop StringAddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
- nextHop stringType 
- Next hop type.
- nextHop stringAddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
- next_hop_ strtype 
- Next hop type.
- next_hop_ straddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
- nextHop StringType 
- Next hop type.
- nextHop StringAddress 
- Next hop address. Only required if the next hop type is VirtualAppliance.
RoutingRuleRouteDestinationResponse    
- DestinationAddress string
- Destination address.
- Type string
- Destination type.
- DestinationAddress string
- Destination address.
- Type string
- Destination type.
- destinationAddress String
- Destination address.
- type String
- Destination type.
- destinationAddress string
- Destination address.
- type string
- Destination type.
- destination_address str
- Destination address.
- type str
- Destination type.
- destinationAddress String
- Destination address.
- type String
- Destination type.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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 type of identity that last modified the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified 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 v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi