get LBRule
Use this data source to access information about an existing Load Balancer Rule.
Example Usage
variables:
example:
fn::invoke:
function: azure:lb:getLB
arguments:
name: example-lb
resourceGroupName: example-resources
exampleGetLBRule:
fn::invoke:
function: azure:lb:getLBRule
arguments:
name: first
resourceGroupName: example-resources
loadbalancerId: ${example.id}
outputs:
lbRuleId: ${exampleGetLBRule.id}
Content copied to clipboard
API Providers
This data source uses the following Azure API Providers:
Microsoft.Network
: 2023-09-01
Return
A collection of values returned by getLBRule.
Parameters
argument
A collection of arguments for invoking getLBRule.
Return
A collection of values returned by getLBRule.
Parameters
loadbalancer Id
The ID of the Load Balancer Rule.
name
The name of this Load Balancer Rule.
See also
Return
A collection of values returned by getLBRule.
Parameters
argument
Builder for com.pulumi.azure.lb.kotlin.inputs.GetLBRulePlainArgs.