ionoscloud.getApplicationLoadbalancerForwardingrule
Explore with Pulumi AI
The Application Load Balancer Forwarding Rule data source can be used to search for and return an existing Application Load Balancer Forwarding Rules. You can provide a string for the name parameter which will be compared with provisioned Application Load Balancers Forwarding Rules. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search and make sure that your resources have unique names.
Example Usage
By Id
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getApplicationLoadbalancerForwardingrule({
datacenterId: ionoscloud_datacenter.example.id,
applicationLoadbalancerId: ionoscloud_application_loadbalancer.example.id,
id: "alb_fwr_id",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_application_loadbalancer_forwardingrule(datacenter_id=ionoscloud_datacenter["example"]["id"],
application_loadbalancer_id=ionoscloud_application_loadbalancer["example"]["id"],
id="alb_fwr_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.LookupApplicationLoadbalancerForwardingrule(ctx, &ionoscloud.LookupApplicationLoadbalancerForwardingruleArgs{
DatacenterId: ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId: ionoscloud_application_loadbalancer.Example.Id,
Id: pulumi.StringRef("alb_fwr_id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.GetApplicationLoadbalancerForwardingrule.Invoke(new()
{
DatacenterId = ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId = ionoscloud_application_loadbalancer.Example.Id,
Id = "alb_fwr_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetApplicationLoadbalancerForwardingruleArgs;
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 example = IonoscloudFunctions.getApplicationLoadbalancerForwardingrule(GetApplicationLoadbalancerForwardingruleArgs.builder()
.datacenterId(ionoscloud_datacenter.example().id())
.applicationLoadbalancerId(ionoscloud_application_loadbalancer.example().id())
.id("alb_fwr_id")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getApplicationLoadbalancerForwardingrule
arguments:
datacenterId: ${ionoscloud_datacenter.example.id}
applicationLoadbalancerId: ${ionoscloud_application_loadbalancer.example.id}
id: alb_fwr_id
By Name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getApplicationLoadbalancerForwardingrule({
datacenterId: ionoscloud_datacenter.example.id,
applicationLoadbalancerId: ionoscloud_application_loadbalancer.example.id,
name: "ALB FR Example",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_application_loadbalancer_forwardingrule(datacenter_id=ionoscloud_datacenter["example"]["id"],
application_loadbalancer_id=ionoscloud_application_loadbalancer["example"]["id"],
name="ALB FR Example")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.LookupApplicationLoadbalancerForwardingrule(ctx, &ionoscloud.LookupApplicationLoadbalancerForwardingruleArgs{
DatacenterId: ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId: ionoscloud_application_loadbalancer.Example.Id,
Name: pulumi.StringRef("ALB FR Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.GetApplicationLoadbalancerForwardingrule.Invoke(new()
{
DatacenterId = ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId = ionoscloud_application_loadbalancer.Example.Id,
Name = "ALB FR Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetApplicationLoadbalancerForwardingruleArgs;
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 example = IonoscloudFunctions.getApplicationLoadbalancerForwardingrule(GetApplicationLoadbalancerForwardingruleArgs.builder()
.datacenterId(ionoscloud_datacenter.example().id())
.applicationLoadbalancerId(ionoscloud_application_loadbalancer.example().id())
.name("ALB FR Example")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getApplicationLoadbalancerForwardingrule
arguments:
datacenterId: ${ionoscloud_datacenter.example.id}
applicationLoadbalancerId: ${ionoscloud_application_loadbalancer.example.id}
name: ALB FR Example
By Name with Partial Match
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getApplicationLoadbalancerForwardingrule({
datacenterId: ionoscloud_datacenter.example.id,
applicationLoadbalancerId: ionoscloud_application_loadbalancer.example.id,
name: "Example",
partialMatch: true,
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_application_loadbalancer_forwardingrule(datacenter_id=ionoscloud_datacenter["example"]["id"],
application_loadbalancer_id=ionoscloud_application_loadbalancer["example"]["id"],
name="Example",
partial_match=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.LookupApplicationLoadbalancerForwardingrule(ctx, &ionoscloud.LookupApplicationLoadbalancerForwardingruleArgs{
DatacenterId: ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId: ionoscloud_application_loadbalancer.Example.Id,
Name: pulumi.StringRef("Example"),
PartialMatch: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.GetApplicationLoadbalancerForwardingrule.Invoke(new()
{
DatacenterId = ionoscloud_datacenter.Example.Id,
ApplicationLoadbalancerId = ionoscloud_application_loadbalancer.Example.Id,
Name = "Example",
PartialMatch = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetApplicationLoadbalancerForwardingruleArgs;
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 example = IonoscloudFunctions.getApplicationLoadbalancerForwardingrule(GetApplicationLoadbalancerForwardingruleArgs.builder()
.datacenterId(ionoscloud_datacenter.example().id())
.applicationLoadbalancerId(ionoscloud_application_loadbalancer.example().id())
.name("Example")
.partialMatch(true)
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getApplicationLoadbalancerForwardingrule
arguments:
datacenterId: ${ionoscloud_datacenter.example.id}
applicationLoadbalancerId: ${ionoscloud_application_loadbalancer.example.id}
name: Example
partialMatch: true
Using getApplicationLoadbalancerForwardingrule
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 getApplicationLoadbalancerForwardingrule(args: GetApplicationLoadbalancerForwardingruleArgs, opts?: InvokeOptions): Promise<GetApplicationLoadbalancerForwardingruleResult>
function getApplicationLoadbalancerForwardingruleOutput(args: GetApplicationLoadbalancerForwardingruleOutputArgs, opts?: InvokeOptions): Output<GetApplicationLoadbalancerForwardingruleResult>
def get_application_loadbalancer_forwardingrule(application_loadbalancer_id: Optional[str] = None,
datacenter_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
partial_match: Optional[bool] = None,
timeouts: Optional[GetApplicationLoadbalancerForwardingruleTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationLoadbalancerForwardingruleResult
def get_application_loadbalancer_forwardingrule_output(application_loadbalancer_id: Optional[pulumi.Input[str]] = None,
datacenter_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
partial_match: Optional[pulumi.Input[bool]] = None,
timeouts: Optional[pulumi.Input[GetApplicationLoadbalancerForwardingruleTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationLoadbalancerForwardingruleResult]
func LookupApplicationLoadbalancerForwardingrule(ctx *Context, args *LookupApplicationLoadbalancerForwardingruleArgs, opts ...InvokeOption) (*LookupApplicationLoadbalancerForwardingruleResult, error)
func LookupApplicationLoadbalancerForwardingruleOutput(ctx *Context, args *LookupApplicationLoadbalancerForwardingruleOutputArgs, opts ...InvokeOption) LookupApplicationLoadbalancerForwardingruleResultOutput
> Note: This function is named LookupApplicationLoadbalancerForwardingrule
in the Go SDK.
public static class GetApplicationLoadbalancerForwardingrule
{
public static Task<GetApplicationLoadbalancerForwardingruleResult> InvokeAsync(GetApplicationLoadbalancerForwardingruleArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationLoadbalancerForwardingruleResult> Invoke(GetApplicationLoadbalancerForwardingruleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationLoadbalancerForwardingruleResult> getApplicationLoadbalancerForwardingrule(GetApplicationLoadbalancerForwardingruleArgs args, InvokeOptions options)
public static Output<GetApplicationLoadbalancerForwardingruleResult> getApplicationLoadbalancerForwardingrule(GetApplicationLoadbalancerForwardingruleArgs args, InvokeOptions options)
fn::invoke:
function: ionoscloud:index/getApplicationLoadbalancerForwardingrule:getApplicationLoadbalancerForwardingrule
arguments:
# arguments dictionary
The following arguments are supported:
- Application
Loadbalancer stringId - Application Load Balancer's UUID.
- Datacenter
Id string - Datacenter's UUID.
- Id string
- ID of the application load balancer you want to search for.
- Name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Partial
Match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- Application
Loadbalancer stringId - Application Load Balancer's UUID.
- Datacenter
Id string - Datacenter's UUID.
- Id string
- ID of the application load balancer you want to search for.
- Name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Partial
Match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer StringId - Application Load Balancer's UUID.
- datacenter
Id String - Datacenter's UUID.
- id String
- ID of the application load balancer you want to search for.
- name String
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match Boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer stringId - Application Load Balancer's UUID.
- datacenter
Id string - Datacenter's UUID.
- id string
- ID of the application load balancer you want to search for.
- name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application_
loadbalancer_ strid - Application Load Balancer's UUID.
- datacenter_
id str - Datacenter's UUID.
- id str
- ID of the application load balancer you want to search for.
- name str
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial_
match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer StringId - Application Load Balancer's UUID.
- datacenter
Id String - Datacenter's UUID.
- id String
- ID of the application load balancer you want to search for.
- name String
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match Boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Both
datacenter_id
andapplication_loadbalancer_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- timeouts Property Map
getApplicationLoadbalancerForwardingrule Result
The following output properties are available:
- Application
Loadbalancer stringId - Client
Timeout double - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- Datacenter
Id string - Http
Rules List<GetApplication Loadbalancer Forwardingrule Http Rule> - Array of items in that collection
- Id string
- Id of Application Load Balancer Forwarding Rule
- Listener
Ip string - Listening (inbound) IP.
- Listener
Port double - Listening (inbound) port number; valid range is 1 to 65535.
- Name string
- The unique name of the Application Load Balancer HTTP rule.
- Protocol string
- Balancing protocol.
- Server
Certificates List<string> - Partial
Match bool - Timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- Application
Loadbalancer stringId - Client
Timeout float64 - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- Datacenter
Id string - Http
Rules []GetApplication Loadbalancer Forwardingrule Http Rule - Array of items in that collection
- Id string
- Id of Application Load Balancer Forwarding Rule
- Listener
Ip string - Listening (inbound) IP.
- Listener
Port float64 - Listening (inbound) port number; valid range is 1 to 65535.
- Name string
- The unique name of the Application Load Balancer HTTP rule.
- Protocol string
- Balancing protocol.
- Server
Certificates []string - Partial
Match bool - Timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer StringId - client
Timeout Double - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- datacenter
Id String - http
Rules List<GetApplication Loadbalancer Forwardingrule Http Rule> - Array of items in that collection
- id String
- Id of Application Load Balancer Forwarding Rule
- listener
Ip String - Listening (inbound) IP.
- listener
Port Double - Listening (inbound) port number; valid range is 1 to 65535.
- name String
- The unique name of the Application Load Balancer HTTP rule.
- protocol String
- Balancing protocol.
- server
Certificates List<String> - partial
Match Boolean - timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer stringId - client
Timeout number - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- datacenter
Id string - http
Rules GetApplication Loadbalancer Forwardingrule Http Rule[] - Array of items in that collection
- id string
- Id of Application Load Balancer Forwarding Rule
- listener
Ip string - Listening (inbound) IP.
- listener
Port number - Listening (inbound) port number; valid range is 1 to 65535.
- name string
- The unique name of the Application Load Balancer HTTP rule.
- protocol string
- Balancing protocol.
- server
Certificates string[] - partial
Match boolean - timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application_
loadbalancer_ strid - client_
timeout float - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- datacenter_
id str - http_
rules Sequence[GetApplication Loadbalancer Forwardingrule Http Rule] - Array of items in that collection
- id str
- Id of Application Load Balancer Forwarding Rule
- listener_
ip str - Listening (inbound) IP.
- listener_
port float - Listening (inbound) port number; valid range is 1 to 65535.
- name str
- The unique name of the Application Load Balancer HTTP rule.
- protocol str
- Balancing protocol.
- server_
certificates Sequence[str] - partial_
match bool - timeouts
Get
Application Loadbalancer Forwardingrule Timeouts
- application
Loadbalancer StringId - client
Timeout Number - The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
server certificates
- Array of items in that collection.
- datacenter
Id String - http
Rules List<Property Map> - Array of items in that collection
- id String
- Id of Application Load Balancer Forwarding Rule
- listener
Ip String - Listening (inbound) IP.
- listener
Port Number - Listening (inbound) port number; valid range is 1 to 65535.
- name String
- The unique name of the Application Load Balancer HTTP rule.
- protocol String
- Balancing protocol.
- server
Certificates List<String> - partial
Match Boolean - timeouts Property Map
Supporting Types
GetApplicationLoadbalancerForwardingruleHttpRule
- Conditions
List<Get
Application Loadbalancer Forwardingrule Http Rule Condition> - An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- Content
Type string - Valid only for STATIC actions.
- Drop
Query bool - Default is false; valid only for REDIRECT actions.
- Location string
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- Name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Response
Message string - The response message of the request; mandatory for STATIC action.
- Status
Code double - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- Target
Group string - The UUID of the target group; mandatory for FORWARD action.
- Type string
- Type of the Http Rule condition.
- Conditions
[]Get
Application Loadbalancer Forwardingrule Http Rule Condition - An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- Content
Type string - Valid only for STATIC actions.
- Drop
Query bool - Default is false; valid only for REDIRECT actions.
- Location string
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- Name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Response
Message string - The response message of the request; mandatory for STATIC action.
- Status
Code float64 - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- Target
Group string - The UUID of the target group; mandatory for FORWARD action.
- Type string
- Type of the Http Rule condition.
- conditions
List<Get
Application Loadbalancer Forwardingrule Http Rule Condition> - An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- content
Type String - Valid only for STATIC actions.
- drop
Query Boolean - Default is false; valid only for REDIRECT actions.
- location String
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- name String
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - response
Message String - The response message of the request; mandatory for STATIC action.
- status
Code Double - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- target
Group String - The UUID of the target group; mandatory for FORWARD action.
- type String
- Type of the Http Rule condition.
- conditions
Get
Application Loadbalancer Forwardingrule Http Rule Condition[] - An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- content
Type string - Valid only for STATIC actions.
- drop
Query boolean - Default is false; valid only for REDIRECT actions.
- location string
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- name string
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - response
Message string - The response message of the request; mandatory for STATIC action.
- status
Code number - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- target
Group string - The UUID of the target group; mandatory for FORWARD action.
- type string
- Type of the Http Rule condition.
- conditions
Sequence[Get
Application Loadbalancer Forwardingrule Http Rule Condition] - An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- content_
type str - Valid only for STATIC actions.
- drop_
query bool - Default is false; valid only for REDIRECT actions.
- location str
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- name str
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - response_
message str - The response message of the request; mandatory for STATIC action.
- status_
code float - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- target_
group str - The UUID of the target group; mandatory for FORWARD action.
- type str
- Type of the Http Rule condition.
- conditions List<Property Map>
- An array of items in the collection.The action is only performed if each and every condition is met; if no conditions are set, the rule will always be performed.
- content
Type String - Valid only for STATIC actions.
- drop
Query Boolean - Default is false; valid only for REDIRECT actions.
- location String
- The location for redirecting; mandatory and valid only for REDIRECT actions.
- name String
- Name of an existing application load balancer that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - response
Message String - The response message of the request; mandatory for STATIC action.
- status
Code Number - Valid only for REDIRECT and STATIC actions. For REDIRECT actions, default is 301 and possible values are 301, 302, 303, 307, and 308. For STATIC actions, default is 503 and valid range is 200 to 599.
- target
Group String - The UUID of the target group; mandatory for FORWARD action.
- type String
- Type of the Http Rule condition.
GetApplicationLoadbalancerForwardingruleHttpRuleCondition
- Condition string
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- Key string
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- Negate bool
- Specifies whether the condition is negated or not; the default is False.
- Type string
- Type of the Http Rule condition.
- Value string
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
- Condition string
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- Key string
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- Negate bool
- Specifies whether the condition is negated or not; the default is False.
- Type string
- Type of the Http Rule condition.
- Value string
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
- condition String
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- key String
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- negate Boolean
- Specifies whether the condition is negated or not; the default is False.
- type String
- Type of the Http Rule condition.
- value String
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
- condition string
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- key string
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- negate boolean
- Specifies whether the condition is negated or not; the default is False.
- type string
- Type of the Http Rule condition.
- value string
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
- condition str
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- key str
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- negate bool
- Specifies whether the condition is negated or not; the default is False.
- type str
- Type of the Http Rule condition.
- value str
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
- condition String
- Matching rule for the HTTP rule condition attribute; mandatory for HEADER, PATH, QUERY, METHOD, HOST, and COOKIE types; must be null when type is SOURCE_IP.
- key String
- Must be null when type is PATH, METHOD, HOST, or SOURCE_IP. Key can only be set when type is COOKIES, HEADER, or QUERY.
- negate Boolean
- Specifies whether the condition is negated or not; the default is False.
- type String
- Type of the Http Rule condition.
- value String
- Mandatory for conditions CONTAINS, EQUALS, MATCHES, STARTS_WITH, ENDS_WITH; must be null when condition is EXISTS; should be a valid CIDR if provided and if type is SOURCE_IP.
GetApplicationLoadbalancerForwardingruleTimeouts
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.