Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Provides information about a load balancer listener rule.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const rule01 = outscale.getLoadBalancerListenerRule({
filters: [{
name: "listener_rule_names",
values: ["terraform-listener-rule02"],
}],
});
import pulumi
import pulumi_outscale as outscale
rule01 = outscale.get_load_balancer_listener_rule(filters=[{
"name": "listener_rule_names",
"values": ["terraform-listener-rule02"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.LookupLoadBalancerListenerRule(ctx, &outscale.LookupLoadBalancerListenerRuleArgs{
Filters: []outscale.GetLoadBalancerListenerRuleFilter{
{
Name: "listener_rule_names",
Values: []string{
"terraform-listener-rule02",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var rule01 = Outscale.GetLoadBalancerListenerRule.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetLoadBalancerListenerRuleFilterInputArgs
{
Name = "listener_rule_names",
Values = new[]
{
"terraform-listener-rule02",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetLoadBalancerListenerRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var rule01 = OutscaleFunctions.getLoadBalancerListenerRule(GetLoadBalancerListenerRuleArgs.builder()
.filters(GetLoadBalancerListenerRuleFilterArgs.builder()
.name("listener_rule_names")
.values("terraform-listener-rule02")
.build())
.build());
}
}
variables:
rule01:
fn::invoke:
function: outscale:getLoadBalancerListenerRule
arguments:
filters:
- name: listener_rule_names
values:
- terraform-listener-rule02
Using getLoadBalancerListenerRule
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 getLoadBalancerListenerRule(args: GetLoadBalancerListenerRuleArgs, opts?: InvokeOptions): Promise<GetLoadBalancerListenerRuleResult>
function getLoadBalancerListenerRuleOutput(args: GetLoadBalancerListenerRuleOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancerListenerRuleResult>def get_load_balancer_listener_rule(filters: Optional[Sequence[GetLoadBalancerListenerRuleFilter]] = None,
id: Optional[str] = None,
listener_rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLoadBalancerListenerRuleResult
def get_load_balancer_listener_rule_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerListenerRuleFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
listener_rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancerListenerRuleResult]func LookupLoadBalancerListenerRule(ctx *Context, args *LookupLoadBalancerListenerRuleArgs, opts ...InvokeOption) (*LookupLoadBalancerListenerRuleResult, error)
func LookupLoadBalancerListenerRuleOutput(ctx *Context, args *LookupLoadBalancerListenerRuleOutputArgs, opts ...InvokeOption) LookupLoadBalancerListenerRuleResultOutput> Note: This function is named LookupLoadBalancerListenerRule in the Go SDK.
public static class GetLoadBalancerListenerRule
{
public static Task<GetLoadBalancerListenerRuleResult> InvokeAsync(GetLoadBalancerListenerRuleArgs args, InvokeOptions? opts = null)
public static Output<GetLoadBalancerListenerRuleResult> Invoke(GetLoadBalancerListenerRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLoadBalancerListenerRuleResult> getLoadBalancerListenerRule(GetLoadBalancerListenerRuleArgs args, InvokeOptions options)
public static Output<GetLoadBalancerListenerRuleResult> getLoadBalancerListenerRule(GetLoadBalancerListenerRuleArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getLoadBalancerListenerRule:getLoadBalancerListenerRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Load Balancer Listener Rule Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Listener
Rule stringName - A human-readable name for the listener rule.
- Filters
[]Get
Load Balancer Listener Rule Filter - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Listener
Rule stringName - A human-readable name for the listener rule.
- filters
List<Get
Load Balancer Listener Rule Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- listener
Rule StringName - A human-readable name for the listener rule.
- filters
Get
Load Balancer Listener Rule Filter[] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id string
- listener
Rule stringName - A human-readable name for the listener rule.
- filters
Sequence[Get
Load Balancer Listener Rule Filter] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id str
- listener_
rule_ strname - A human-readable name for the listener rule.
- filters List<Property Map>
- A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- listener
Rule StringName - A human-readable name for the listener rule.
getLoadBalancerListenerRule Result
The following output properties are available:
- Action string
- The type of action for the rule (always
forward). - Host
Name stringPattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - Id string
- Listener
Id double - The ID of the listener.
- Listener
Rule doubleId - The ID of the listener rule.
- Listener
Rule stringName - A human-readable name for the listener rule.
- Path
Pattern string - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - Priority double
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - Request
Id string - Vm
Ids List<string> - The IDs of the backend VMs.
- Filters
List<Get
Load Balancer Listener Rule Filter>
- Action string
- The type of action for the rule (always
forward). - Host
Name stringPattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - Id string
- Listener
Id float64 - The ID of the listener.
- Listener
Rule float64Id - The ID of the listener rule.
- Listener
Rule stringName - A human-readable name for the listener rule.
- Path
Pattern string - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - Priority float64
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - Request
Id string - Vm
Ids []string - The IDs of the backend VMs.
- Filters
[]Get
Load Balancer Listener Rule Filter
- action String
- The type of action for the rule (always
forward). - host
Name StringPattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - id String
- listener
Id Double - The ID of the listener.
- listener
Rule DoubleId - The ID of the listener rule.
- listener
Rule StringName - A human-readable name for the listener rule.
- path
Pattern String - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - priority Double
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - request
Id String - vm
Ids List<String> - The IDs of the backend VMs.
- filters
List<Get
Load Balancer Listener Rule Filter>
- action string
- The type of action for the rule (always
forward). - host
Name stringPattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - id string
- listener
Id number - The ID of the listener.
- listener
Rule numberId - The ID of the listener rule.
- listener
Rule stringName - A human-readable name for the listener rule.
- path
Pattern string - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - priority number
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - request
Id string - vm
Ids string[] - The IDs of the backend VMs.
- filters
Get
Load Balancer Listener Rule Filter[]
- action str
- The type of action for the rule (always
forward). - host_
name_ strpattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - id str
- listener_
id float - The ID of the listener.
- listener_
rule_ floatid - The ID of the listener rule.
- listener_
rule_ strname - A human-readable name for the listener rule.
- path_
pattern str - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - priority float
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - request_
id str - vm_
ids Sequence[str] - The IDs of the backend VMs.
- filters
Sequence[Get
Load Balancer Listener Rule Filter]
- action String
- The type of action for the rule (always
forward). - host
Name StringPattern - A host-name pattern for the rule, with a maximum length of 128 characters. This host-name pattern supports maximum three wildcards, and must not contain any special characters except
-.?. - id String
- listener
Id Number - The ID of the listener.
- listener
Rule NumberId - The ID of the listener rule.
- listener
Rule StringName - A human-readable name for the listener rule.
- path
Pattern String - A path pattern for the rule, with a maximum length of 128 characters. This path pattern supports maximum three wildcards, and must not contain any special characters except
_-.$/~"'@:+?. - priority Number
- The priority level of the listener rule, between
1and19999both included. Each rule must have a unique priority level. Otherwise, an error is returned. - request
Id String - vm
Ids List<String> - The IDs of the backend VMs.
- filters List<Property Map>
Supporting Types
GetLoadBalancerListenerRuleFilter
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
