azure-native.network.getRoutingRule
Explore with Pulumi AI
Gets a network manager routing configuration routing rule.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2024-03-01, 2024-07-01, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Configuration
Name string - The name of the network manager Routing Configuration.
- Network
Manager stringName - The name of the network manager.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Collection stringName - The name of the network manager routing Configuration rule collection.
- Rule
Name string - The name of the rule.
- Configuration
Name string - The name of the network manager Routing Configuration.
- Network
Manager stringName - The name of the network manager.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Collection stringName - The name of the network manager routing Configuration rule collection.
- Rule
Name string - The name of the rule.
- configuration
Name String - The name of the network manager Routing Configuration.
- network
Manager StringName - The name of the network manager.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Collection StringName - The name of the network manager routing Configuration rule collection.
- rule
Name String - The name of the rule.
- configuration
Name string - The name of the network manager Routing Configuration.
- network
Manager stringName - The name of the network manager.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- rule
Collection stringName - The name of the network manager routing Configuration rule collection.
- rule
Name 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.
- configuration
Name String - The name of the network manager Routing Configuration.
- network
Manager StringName - The name of the network manager.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Collection StringName - The name of the network manager routing Configuration rule collection.
- rule
Name String - The name of the rule.
getRoutingRule Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Next
Hop Pulumi.Azure Native. Network. Outputs. Routing Rule Next Hop Response - Indicates the next hop for this particular rule.
- Provisioning
State string - The provisioning state of the resource.
- Resource
Guid string - Unique identifier for this resource.
- System
Data 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- Destination
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.
- Next
Hop RoutingRule Next Hop Response - Indicates the next hop for this particular rule.
- Provisioning
State string - The provisioning state of the resource.
- Resource
Guid string - Unique identifier for this resource.
- System
Data SystemData Response - The system metadata related to this resource.
- Type string
- Resource type.
- Description string
- A description for this rule.
- azure
Api StringVersion - The Azure API version of the resource.
- destination
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.
- next
Hop RoutingRule Next Hop Response - Indicates the next hop for this particular rule.
- provisioning
State String - The provisioning state of the resource.
- resource
Guid String - Unique identifier for this resource.
- system
Data SystemData Response - The system metadata related to this resource.
- type String
- Resource type.
- description String
- A description for this rule.
- azure
Api stringVersion - The Azure API version of the resource.
- destination
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.
- next
Hop RoutingRule Next Hop Response - Indicates the next hop for this particular rule.
- provisioning
State string - The provisioning state of the resource.
- resource
Guid string - Unique identifier for this resource.
- system
Data SystemData Response - The system metadata related to this resource.
- type string
- Resource type.
- description string
- A description for this rule.
- azure_
api_ strversion - The Azure API version of the resource.
- destination
Routing
Rule 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- next
Hop Property Map - Indicates the next hop for this particular rule.
- provisioning
State String - The provisioning state of the resource.
- resource
Guid String - Unique identifier for this resource.
- system
Data Property Map - The system metadata related to this resource.
- type String
- Resource type.
- description String
- A description for this rule.
Supporting Types
RoutingRuleNextHopResponse
- Next
Hop stringType - Next hop type.
- Next
Hop stringAddress - Next hop address. Only required if the next hop type is VirtualAppliance.
- Next
Hop stringType - Next hop type.
- Next
Hop stringAddress - Next hop address. Only required if the next hop type is VirtualAppliance.
- next
Hop StringType - Next hop type.
- next
Hop StringAddress - Next hop address. Only required if the next hop type is VirtualAppliance.
- next
Hop stringType - Next hop type.
- next
Hop 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.
- next
Hop StringType - Next hop type.
- next
Hop StringAddress - Next hop address. Only required if the next hop type is VirtualAppliance.
RoutingRuleRouteDestinationResponse
- Destination
Address string - Destination address.
- Type string
- Destination type.
- Destination
Address string - Destination address.
- Type string
- Destination type.
- destination
Address String - Destination address.
- type String
- Destination type.
- destination
Address string - Destination address.
- type string
- Destination type.
- destination_
address str - Destination address.
- type str
- Destination type.
- destination
Address String - Destination address.
- type String
- Destination type.
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 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.
- 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 type of identity that last modified the resource.
- 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