published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Example Usage
# Create a network
resource "stackit_network" "example_network" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-network"
ipv4_nameservers = ["8.8.8.8"]
ipv4_prefix = "192.168.0.0/25"
labels = {
"key" = "value"
}
routed = true
}
# Create a network interface
resource "stackit_network_interface" "nic" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_id = stackit_network.example_network.network_id
}
# Create a public IP for the load balancer
resource "stackit_public_ip" "public-ip" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
lifecycle {
ignore_changes = [network_interface_id]
}
}
# Create a key pair for accessing the server instance
resource "stackit_key_pair" "keypair" {
name = "example-key-pair"
public_key = chomp(file("path/to/id_rsa.pub"))
}
# Create a server instance
resource "stackit_server" "boot-from-image" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-server"
boot_volume = {
size = 64
source_type = "image"
source_id = "59838a89-51b1-4892-b57f-b3caf598ee2f" // Ubuntu 24.04
}
availability_zone = "xxxx-x"
machine_type = "g2i.1"
keypair_name = stackit_key_pair.keypair.name
network_interfaces = [
stackit_network_interface.nic.network_interface_id
]
}
# Create a load balancer
resource "stackit_loadbalancer" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-load-balancer"
plan_id = "p10"
target_pools = [
{
name = "example-target-pool"
target_port = 80
targets = [
{
display_name = stackit_server.boot-from-image.name
ip = stackit_network_interface.nic.ipv4
}
]
active_health_check = {
healthy_threshold = 10
interval = "3s"
interval_jitter = "3s"
timeout = "3s"
unhealthy_threshold = 10
}
}
]
listeners = [
{
display_name = "example-listener"
port = 80
protocol = "PROTOCOL_TCP"
target_pool = "example-target-pool"
tcp = {
idle_timeout = "90s"
}
}
]
networks = [
{
network_id = stackit_network.example_network.network_id
role = "ROLE_LISTENERS_AND_TARGETS"
}
]
external_address = stackit_public_ip.public-ip.ip
options = {
private_network_only = false
}
}
# This example demonstrates an advanced setup where the Load Balancer is in one
# network and the target server is in another. This requires manual
# security group configuration using the `disable_security_group_assignment`
# and `security_group_id` attributes.
# We create two separate networks: one for the load balancer and one for the target.
resource "stackit_network" "lb_network" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "lb-network-example"
ipv4_prefix = "192.168.10.0/25"
ipv4_nameservers = ["8.8.8.8"]
}
resource "stackit_network" "target_network" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "target-network-example"
ipv4_prefix = "192.168.10.0/25"
ipv4_nameservers = ["8.8.8.8"]
}
resource "stackit_public_ip" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
resource "stackit_loadbalancer" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-advanced-lb"
external_address = stackit_public_ip.example.ip
# Key setting for manual mode: disables automatic security group handling.
disable_security_group_assignment = true
networks = [{
network_id = stackit_network.lb_network.network_id
role = "ROLE_LISTENERS_AND_TARGETS"
}]
listeners = [{
port = 80
protocol = "PROTOCOL_TCP"
target_pool = "cross-network-pool"
}]
target_pools = [{
name = "cross-network-pool"
target_port = 80
targets = [{
display_name = stackit_server.example.name
ip = stackit_network_interface.nic.ipv4
}]
}]
}
# Create a new security group to be assigned to the target server.
resource "stackit_security_group" "target_sg" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "target-sg-for-lb-access"
description = "Allows ingress traffic from the example load balancer."
}
# Create a rule to allow traffic FROM the load balancer.
# This rule uses the computed `security_group_id` of the load balancer.
resource "stackit_security_group_rule" "allow_lb_ingress" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
security_group_id = stackit_security_group.target_sg.security_group_id
direction = "ingress"
protocol = {
name = "tcp"
}
# This is the crucial link: it allows traffic from the LB's security group.
remote_security_group_id = stackit_loadbalancer.example.security_group_id
port_range = {
min = 80
max = 80
}
}
resource "stackit_server" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-remote-target"
machine_type = "g2i.2"
availability_zone = "eu01-1"
boot_volume = {
source_type = "image"
source_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
size = 10
}
network_interfaces = [
stackit_network_interface.nic.network_interface_id
]
}
resource "stackit_network_interface" "nic" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_id = stackit_network.target_network.network_id
security_group_ids = [stackit_security_group.target_sg.security_group_id]
}
# End of advanced example
# Only use the import statement, if you want to import an existing loadbalancer
import {
to = stackit_loadbalancer.import-example
id = "${var.project_id},${var.region},${var.loadbalancer_name}"
}
Create Loadbalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Loadbalancer(name: string, args: LoadbalancerArgs, opts?: CustomResourceOptions);@overload
def Loadbalancer(resource_name: str,
args: LoadbalancerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Loadbalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
listeners: Optional[Sequence[LoadbalancerListenerArgs]] = None,
networks: Optional[Sequence[LoadbalancerNetworkArgs]] = None,
project_id: Optional[str] = None,
target_pools: Optional[Sequence[LoadbalancerTargetPoolArgs]] = None,
disable_security_group_assignment: Optional[bool] = None,
external_address: Optional[str] = None,
name: Optional[str] = None,
options: Optional[LoadbalancerOptionsArgs] = None,
plan_id: Optional[str] = None,
region: Optional[str] = None)func NewLoadbalancer(ctx *Context, name string, args LoadbalancerArgs, opts ...ResourceOption) (*Loadbalancer, error)public Loadbalancer(string name, LoadbalancerArgs args, CustomResourceOptions? opts = null)
public Loadbalancer(String name, LoadbalancerArgs args)
public Loadbalancer(String name, LoadbalancerArgs args, CustomResourceOptions options)
type: stackit:Loadbalancer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var loadbalancerResource = new Stackit.Loadbalancer("loadbalancerResource", new()
{
Listeners = new[]
{
new Stackit.Inputs.LoadbalancerListenerArgs
{
Port = 0,
Protocol = "string",
TargetPool = "string",
DisplayName = "string",
ServerNameIndicators = new[]
{
new Stackit.Inputs.LoadbalancerListenerServerNameIndicatorArgs
{
Name = "string",
},
},
Tcp = new Stackit.Inputs.LoadbalancerListenerTcpArgs
{
IdleTimeout = "string",
},
Udp = new Stackit.Inputs.LoadbalancerListenerUdpArgs
{
IdleTimeout = "string",
},
},
},
Networks = new[]
{
new Stackit.Inputs.LoadbalancerNetworkArgs
{
NetworkId = "string",
Role = "string",
},
},
ProjectId = "string",
TargetPools = new[]
{
new Stackit.Inputs.LoadbalancerTargetPoolArgs
{
Name = "string",
TargetPort = 0,
Targets = new[]
{
new Stackit.Inputs.LoadbalancerTargetPoolTargetArgs
{
DisplayName = "string",
Ip = "string",
},
},
ActiveHealthCheck = new Stackit.Inputs.LoadbalancerTargetPoolActiveHealthCheckArgs
{
HealthyThreshold = 0,
Interval = "string",
IntervalJitter = "string",
Timeout = "string",
UnhealthyThreshold = 0,
},
SessionPersistence = new Stackit.Inputs.LoadbalancerTargetPoolSessionPersistenceArgs
{
UseSourceIpAddress = false,
},
},
},
DisableSecurityGroupAssignment = false,
ExternalAddress = "string",
Name = "string",
Options = new Stackit.Inputs.LoadbalancerOptionsArgs
{
Acls = new[]
{
"string",
},
Observability = new Stackit.Inputs.LoadbalancerOptionsObservabilityArgs
{
Logs = new Stackit.Inputs.LoadbalancerOptionsObservabilityLogsArgs
{
CredentialsRef = "string",
PushUrl = "string",
},
Metrics = new Stackit.Inputs.LoadbalancerOptionsObservabilityMetricsArgs
{
CredentialsRef = "string",
PushUrl = "string",
},
},
PrivateNetworkOnly = false,
},
PlanId = "string",
Region = "string",
});
example, err := stackit.NewLoadbalancer(ctx, "loadbalancerResource", &stackit.LoadbalancerArgs{
Listeners: stackit.LoadbalancerListenerArray{
&stackit.LoadbalancerListenerArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
TargetPool: pulumi.String("string"),
DisplayName: pulumi.String("string"),
ServerNameIndicators: stackit.LoadbalancerListenerServerNameIndicatorArray{
&stackit.LoadbalancerListenerServerNameIndicatorArgs{
Name: pulumi.String("string"),
},
},
Tcp: &stackit.LoadbalancerListenerTcpArgs{
IdleTimeout: pulumi.String("string"),
},
Udp: &stackit.LoadbalancerListenerUdpArgs{
IdleTimeout: pulumi.String("string"),
},
},
},
Networks: stackit.LoadbalancerNetworkArray{
&stackit.LoadbalancerNetworkArgs{
NetworkId: pulumi.String("string"),
Role: pulumi.String("string"),
},
},
ProjectId: pulumi.String("string"),
TargetPools: stackit.LoadbalancerTargetPoolArray{
&stackit.LoadbalancerTargetPoolArgs{
Name: pulumi.String("string"),
TargetPort: pulumi.Int(0),
Targets: stackit.LoadbalancerTargetPoolTargetArray{
&stackit.LoadbalancerTargetPoolTargetArgs{
DisplayName: pulumi.String("string"),
Ip: pulumi.String("string"),
},
},
ActiveHealthCheck: &stackit.LoadbalancerTargetPoolActiveHealthCheckArgs{
HealthyThreshold: pulumi.Int(0),
Interval: pulumi.String("string"),
IntervalJitter: pulumi.String("string"),
Timeout: pulumi.String("string"),
UnhealthyThreshold: pulumi.Int(0),
},
SessionPersistence: &stackit.LoadbalancerTargetPoolSessionPersistenceArgs{
UseSourceIpAddress: pulumi.Bool(false),
},
},
},
DisableSecurityGroupAssignment: pulumi.Bool(false),
ExternalAddress: pulumi.String("string"),
Name: pulumi.String("string"),
Options: &stackit.LoadbalancerOptionsArgs{
Acls: pulumi.StringArray{
pulumi.String("string"),
},
Observability: &stackit.LoadbalancerOptionsObservabilityArgs{
Logs: &stackit.LoadbalancerOptionsObservabilityLogsArgs{
CredentialsRef: pulumi.String("string"),
PushUrl: pulumi.String("string"),
},
Metrics: &stackit.LoadbalancerOptionsObservabilityMetricsArgs{
CredentialsRef: pulumi.String("string"),
PushUrl: pulumi.String("string"),
},
},
PrivateNetworkOnly: pulumi.Bool(false),
},
PlanId: pulumi.String("string"),
Region: pulumi.String("string"),
})
var loadbalancerResource = new Loadbalancer("loadbalancerResource", LoadbalancerArgs.builder()
.listeners(LoadbalancerListenerArgs.builder()
.port(0)
.protocol("string")
.targetPool("string")
.displayName("string")
.serverNameIndicators(LoadbalancerListenerServerNameIndicatorArgs.builder()
.name("string")
.build())
.tcp(LoadbalancerListenerTcpArgs.builder()
.idleTimeout("string")
.build())
.udp(LoadbalancerListenerUdpArgs.builder()
.idleTimeout("string")
.build())
.build())
.networks(LoadbalancerNetworkArgs.builder()
.networkId("string")
.role("string")
.build())
.projectId("string")
.targetPools(LoadbalancerTargetPoolArgs.builder()
.name("string")
.targetPort(0)
.targets(LoadbalancerTargetPoolTargetArgs.builder()
.displayName("string")
.ip("string")
.build())
.activeHealthCheck(LoadbalancerTargetPoolActiveHealthCheckArgs.builder()
.healthyThreshold(0)
.interval("string")
.intervalJitter("string")
.timeout("string")
.unhealthyThreshold(0)
.build())
.sessionPersistence(LoadbalancerTargetPoolSessionPersistenceArgs.builder()
.useSourceIpAddress(false)
.build())
.build())
.disableSecurityGroupAssignment(false)
.externalAddress("string")
.name("string")
.options(LoadbalancerOptionsArgs.builder()
.acls("string")
.observability(LoadbalancerOptionsObservabilityArgs.builder()
.logs(LoadbalancerOptionsObservabilityLogsArgs.builder()
.credentialsRef("string")
.pushUrl("string")
.build())
.metrics(LoadbalancerOptionsObservabilityMetricsArgs.builder()
.credentialsRef("string")
.pushUrl("string")
.build())
.build())
.privateNetworkOnly(false)
.build())
.planId("string")
.region("string")
.build());
loadbalancer_resource = stackit.Loadbalancer("loadbalancerResource",
listeners=[{
"port": 0,
"protocol": "string",
"target_pool": "string",
"display_name": "string",
"server_name_indicators": [{
"name": "string",
}],
"tcp": {
"idle_timeout": "string",
},
"udp": {
"idle_timeout": "string",
},
}],
networks=[{
"network_id": "string",
"role": "string",
}],
project_id="string",
target_pools=[{
"name": "string",
"target_port": 0,
"targets": [{
"display_name": "string",
"ip": "string",
}],
"active_health_check": {
"healthy_threshold": 0,
"interval": "string",
"interval_jitter": "string",
"timeout": "string",
"unhealthy_threshold": 0,
},
"session_persistence": {
"use_source_ip_address": False,
},
}],
disable_security_group_assignment=False,
external_address="string",
name="string",
options={
"acls": ["string"],
"observability": {
"logs": {
"credentials_ref": "string",
"push_url": "string",
},
"metrics": {
"credentials_ref": "string",
"push_url": "string",
},
},
"private_network_only": False,
},
plan_id="string",
region="string")
const loadbalancerResource = new stackit.Loadbalancer("loadbalancerResource", {
listeners: [{
port: 0,
protocol: "string",
targetPool: "string",
displayName: "string",
serverNameIndicators: [{
name: "string",
}],
tcp: {
idleTimeout: "string",
},
udp: {
idleTimeout: "string",
},
}],
networks: [{
networkId: "string",
role: "string",
}],
projectId: "string",
targetPools: [{
name: "string",
targetPort: 0,
targets: [{
displayName: "string",
ip: "string",
}],
activeHealthCheck: {
healthyThreshold: 0,
interval: "string",
intervalJitter: "string",
timeout: "string",
unhealthyThreshold: 0,
},
sessionPersistence: {
useSourceIpAddress: false,
},
}],
disableSecurityGroupAssignment: false,
externalAddress: "string",
name: "string",
options: {
acls: ["string"],
observability: {
logs: {
credentialsRef: "string",
pushUrl: "string",
},
metrics: {
credentialsRef: "string",
pushUrl: "string",
},
},
privateNetworkOnly: false,
},
planId: "string",
region: "string",
});
type: stackit:Loadbalancer
properties:
disableSecurityGroupAssignment: false
externalAddress: string
listeners:
- displayName: string
port: 0
protocol: string
serverNameIndicators:
- name: string
targetPool: string
tcp:
idleTimeout: string
udp:
idleTimeout: string
name: string
networks:
- networkId: string
role: string
options:
acls:
- string
observability:
logs:
credentialsRef: string
pushUrl: string
metrics:
credentialsRef: string
pushUrl: string
privateNetworkOnly: false
planId: string
projectId: string
region: string
targetPools:
- activeHealthCheck:
healthyThreshold: 0
interval: string
intervalJitter: string
timeout: string
unhealthyThreshold: 0
name: string
sessionPersistence:
useSourceIpAddress: false
targetPort: 0
targets:
- displayName: string
ip: string
Loadbalancer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Loadbalancer resource accepts the following input properties:
- Listeners
List<Loadbalancer
Listener> - List of all listeners which will accept traffic. Limited to 20.
- Networks
List<Loadbalancer
Network> - List of networks that listeners and targets reside in.
- Project
Id string - STACKIT project ID to which the Load Balancer is associated.
- Target
Pools List<LoadbalancerTarget Pool> - List of all target pools which will be used in the Load Balancer. Limited to 20.
- Disable
Security boolGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- External
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- Name string
- Load balancer name.
- Options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- Plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - Region string
- The resource region. If not defined, the provider region is used.
- Listeners
[]Loadbalancer
Listener Args - List of all listeners which will accept traffic. Limited to 20.
- Networks
[]Loadbalancer
Network Args - List of networks that listeners and targets reside in.
- Project
Id string - STACKIT project ID to which the Load Balancer is associated.
- Target
Pools []LoadbalancerTarget Pool Args - List of all target pools which will be used in the Load Balancer. Limited to 20.
- Disable
Security boolGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- External
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- Name string
- Load balancer name.
- Options
Loadbalancer
Options Args - Defines any optional functionality you want to have enabled on your load balancer.
- Plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - Region string
- The resource region. If not defined, the provider region is used.
- listeners
List<Loadbalancer
Listener> - List of all listeners which will accept traffic. Limited to 20.
- networks
List<Loadbalancer
Network> - List of networks that listeners and targets reside in.
- project
Id String - STACKIT project ID to which the Load Balancer is associated.
- target
Pools List<LoadbalancerTarget Pool> - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security BooleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address String - External Load Balancer IP address where this Load Balancer is exposed.
- name String
- Load balancer name.
- options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id String - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - region String
- The resource region. If not defined, the provider region is used.
- listeners
Loadbalancer
Listener[] - List of all listeners which will accept traffic. Limited to 20.
- networks
Loadbalancer
Network[] - List of networks that listeners and targets reside in.
- project
Id string - STACKIT project ID to which the Load Balancer is associated.
- target
Pools LoadbalancerTarget Pool[] - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security booleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- name string
- Load balancer name.
- options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - region string
- The resource region. If not defined, the provider region is used.
- listeners
Sequence[Loadbalancer
Listener Args] - List of all listeners which will accept traffic. Limited to 20.
- networks
Sequence[Loadbalancer
Network Args] - List of networks that listeners and targets reside in.
- project_
id str - STACKIT project ID to which the Load Balancer is associated.
- target_
pools Sequence[LoadbalancerTarget Pool Args] - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable_
security_ boolgroup_ assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external_
address str - External Load Balancer IP address where this Load Balancer is exposed.
- name str
- Load balancer name.
- options
Loadbalancer
Options Args - Defines any optional functionality you want to have enabled on your load balancer.
- plan_
id str - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - region str
- The resource region. If not defined, the provider region is used.
- listeners List<Property Map>
- List of all listeners which will accept traffic. Limited to 20.
- networks List<Property Map>
- List of networks that listeners and targets reside in.
- project
Id String - STACKIT project ID to which the Load Balancer is associated.
- target
Pools List<Property Map> - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security BooleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address String - External Load Balancer IP address where this Load Balancer is exposed.
- name String
- Load balancer name.
- options Property Map
- Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id String - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Loadbalancer resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Address string - Transient private Load Balancer IP address. It can change any time.
- Security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Address string - Transient private Load Balancer IP address. It can change any time.
- Security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Address String - Transient private Load Balancer IP address. It can change any time.
- security
Group StringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Address string - Transient private Load Balancer IP address. It can change any time.
- security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
address str - Transient private Load Balancer IP address. It can change any time.
- security_
group_ strid - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Address String - Transient private Load Balancer IP address. It can change any time.
- security
Group StringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue.
Look up Existing Loadbalancer Resource
Get an existing Loadbalancer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LoadbalancerState, opts?: CustomResourceOptions): Loadbalancer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
disable_security_group_assignment: Optional[bool] = None,
external_address: Optional[str] = None,
listeners: Optional[Sequence[LoadbalancerListenerArgs]] = None,
name: Optional[str] = None,
networks: Optional[Sequence[LoadbalancerNetworkArgs]] = None,
options: Optional[LoadbalancerOptionsArgs] = None,
plan_id: Optional[str] = None,
private_address: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
target_pools: Optional[Sequence[LoadbalancerTargetPoolArgs]] = None) -> Loadbalancerfunc GetLoadbalancer(ctx *Context, name string, id IDInput, state *LoadbalancerState, opts ...ResourceOption) (*Loadbalancer, error)public static Loadbalancer Get(string name, Input<string> id, LoadbalancerState? state, CustomResourceOptions? opts = null)public static Loadbalancer get(String name, Output<String> id, LoadbalancerState state, CustomResourceOptions options)resources: _: type: stackit:Loadbalancer get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Disable
Security boolGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- External
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- Listeners
List<Loadbalancer
Listener> - List of all listeners which will accept traffic. Limited to 20.
- Name string
- Load balancer name.
- Networks
List<Loadbalancer
Network> - List of networks that listeners and targets reside in.
- Options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- Plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - Private
Address string - Transient private Load Balancer IP address. It can change any time.
- Project
Id string - STACKIT project ID to which the Load Balancer is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - Target
Pools List<LoadbalancerTarget Pool> - List of all target pools which will be used in the Load Balancer. Limited to 20.
- Disable
Security boolGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- External
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- Listeners
[]Loadbalancer
Listener Args - List of all listeners which will accept traffic. Limited to 20.
- Name string
- Load balancer name.
- Networks
[]Loadbalancer
Network Args - List of networks that listeners and targets reside in.
- Options
Loadbalancer
Options Args - Defines any optional functionality you want to have enabled on your load balancer.
- Plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - Private
Address string - Transient private Load Balancer IP address. It can change any time.
- Project
Id string - STACKIT project ID to which the Load Balancer is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - Target
Pools []LoadbalancerTarget Pool Args - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security BooleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address String - External Load Balancer IP address where this Load Balancer is exposed.
- listeners
List<Loadbalancer
Listener> - List of all listeners which will accept traffic. Limited to 20.
- name String
- Load balancer name.
- networks
List<Loadbalancer
Network> - List of networks that listeners and targets reside in.
- options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id String - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - private
Address String - Transient private Load Balancer IP address. It can change any time.
- project
Id String - STACKIT project ID to which the Load Balancer is associated.
- region String
- The resource region. If not defined, the provider region is used.
- security
Group StringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - target
Pools List<LoadbalancerTarget Pool> - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security booleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address string - External Load Balancer IP address where this Load Balancer is exposed.
- listeners
Loadbalancer
Listener[] - List of all listeners which will accept traffic. Limited to 20.
- name string
- Load balancer name.
- networks
Loadbalancer
Network[] - List of networks that listeners and targets reside in.
- options
Loadbalancer
Options - Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id string - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - private
Address string - Transient private Load Balancer IP address. It can change any time.
- project
Id string - STACKIT project ID to which the Load Balancer is associated.
- region string
- The resource region. If not defined, the provider region is used.
- security
Group stringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - target
Pools LoadbalancerTarget Pool[] - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable_
security_ boolgroup_ assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external_
address str - External Load Balancer IP address where this Load Balancer is exposed.
- listeners
Sequence[Loadbalancer
Listener Args] - List of all listeners which will accept traffic. Limited to 20.
- name str
- Load balancer name.
- networks
Sequence[Loadbalancer
Network Args] - List of networks that listeners and targets reside in.
- options
Loadbalancer
Options Args - Defines any optional functionality you want to have enabled on your load balancer.
- plan_
id str - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - private_
address str - Transient private Load Balancer IP address. It can change any time.
- project_
id str - STACKIT project ID to which the Load Balancer is associated.
- region str
- The resource region. If not defined, the provider region is used.
- security_
group_ strid - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - target_
pools Sequence[LoadbalancerTarget Pool Args] - List of all target pools which will be used in the Load Balancer. Limited to 20.
- disable
Security BooleanGroup Assignment - If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.
- external
Address String - External Load Balancer IP address where this Load Balancer is exposed.
- listeners List<Property Map>
- List of all listeners which will accept traffic. Limited to 20.
- name String
- Load balancer name.
- networks List<Property Map>
- List of networks that listeners and targets reside in.
- options Property Map
- Defines any optional functionality you want to have enabled on your load balancer.
- plan
Id String - The service plan ID. If not defined, the default service plan is
p10. Possible values are:p10,p50,p250,p750. - private
Address String - Transient private Load Balancer IP address. It can change any time.
- project
Id String - STACKIT project ID to which the Load Balancer is associated.
- region String
- The resource region. If not defined, the provider region is used.
- security
Group StringId - The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the
remote_security_group_idof that rule to this value. This is typically used whendisable_security_group_assignmentis set totrue. - target
Pools List<Property Map> - List of all target pools which will be used in the Load Balancer. Limited to 20.
Supporting Types
LoadbalancerListener, LoadbalancerListenerArgs
- Port int
- Port number where we listen for traffic.
- Protocol string
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - Target
Pool string - Reference target pool by target pool name.
- Display
Name string - Server
Name List<LoadbalancerIndicators Listener Server Name Indicator> - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- Tcp
Loadbalancer
Listener Tcp - Options that are specific to the TCP protocol.
- Udp
Loadbalancer
Listener Udp - Options that are specific to the UDP protocol.
- Port int
- Port number where we listen for traffic.
- Protocol string
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - Target
Pool string - Reference target pool by target pool name.
- Display
Name string - Server
Name []LoadbalancerIndicators Listener Server Name Indicator - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- Tcp
Loadbalancer
Listener Tcp - Options that are specific to the TCP protocol.
- Udp
Loadbalancer
Listener Udp - Options that are specific to the UDP protocol.
- port Integer
- Port number where we listen for traffic.
- protocol String
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - target
Pool String - Reference target pool by target pool name.
- display
Name String - server
Name List<LoadbalancerIndicators Listener Server Name Indicator> - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- tcp
Loadbalancer
Listener Tcp - Options that are specific to the TCP protocol.
- udp
Loadbalancer
Listener Udp - Options that are specific to the UDP protocol.
- port number
- Port number where we listen for traffic.
- protocol string
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - target
Pool string - Reference target pool by target pool name.
- display
Name string - server
Name LoadbalancerIndicators Listener Server Name Indicator[] - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- tcp
Loadbalancer
Listener Tcp - Options that are specific to the TCP protocol.
- udp
Loadbalancer
Listener Udp - Options that are specific to the UDP protocol.
- port int
- Port number where we listen for traffic.
- protocol str
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - target_
pool str - Reference target pool by target pool name.
- display_
name str - server_
name_ Sequence[Loadbalancerindicators Listener Server Name Indicator] - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- tcp
Loadbalancer
Listener Tcp - Options that are specific to the TCP protocol.
- udp
Loadbalancer
Listener Udp - Options that are specific to the UDP protocol.
- port Number
- Port number where we listen for traffic.
- protocol String
- Protocol is the highest network protocol we understand to load balance. Possible values are:
PROTOCOL_UNSPECIFIED,PROTOCOL_TCP,PROTOCOL_UDP,PROTOCOL_TCP_PROXY,PROTOCOL_TLS_PASSTHROUGH. - target
Pool String - Reference target pool by target pool name.
- display
Name String - server
Name List<Property Map>Indicators - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener
- tcp Property Map
- Options that are specific to the TCP protocol.
- udp Property Map
- Options that are specific to the UDP protocol.
LoadbalancerListenerServerNameIndicator, LoadbalancerListenerServerNameIndicatorArgs
- Name string
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
- Name string
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
- name String
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
- name string
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
- name str
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
- name String
- A domain name to match in order to pass TLS traffic to the target pool in the current listener
LoadbalancerListenerTcp, LoadbalancerListenerTcpArgs
- Idle
Timeout string - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
- Idle
Timeout string - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout String - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout string - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
- idle_
timeout str - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout String - Time after which an idle connection is closed. The default value is set to 300 seconds, and the maximum value is 3600 seconds. The format is a duration and the unit must be seconds. Example: 30s
LoadbalancerListenerUdp, LoadbalancerListenerUdpArgs
- Idle
Timeout string - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
- Idle
Timeout string - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout String - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout string - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
- idle_
timeout str - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
- idle
Timeout String - Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes. The format is a duration and the unit must be seconds. Example: 30s
LoadbalancerNetwork, LoadbalancerNetworkArgs
- network_
id str - Openstack network ID.
- role str
- The role defines how the load balancer is using the network. Possible values are:
ROLE_UNSPECIFIED,ROLE_LISTENERS_AND_TARGETS,ROLE_LISTENERS,ROLE_TARGETS.
LoadbalancerOptions, LoadbalancerOptionsArgs
- Acls List<string>
- Load Balancer is accessible only from an IP address in this range.
- Observability
Loadbalancer
Options Observability - We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- Private
Network boolOnly - If true, Load Balancer is accessible only via a private network IP address.
- Acls []string
- Load Balancer is accessible only from an IP address in this range.
- Observability
Loadbalancer
Options Observability - We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- Private
Network boolOnly - If true, Load Balancer is accessible only via a private network IP address.
- acls List<String>
- Load Balancer is accessible only from an IP address in this range.
- observability
Loadbalancer
Options Observability - We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- private
Network BooleanOnly - If true, Load Balancer is accessible only via a private network IP address.
- acls string[]
- Load Balancer is accessible only from an IP address in this range.
- observability
Loadbalancer
Options Observability - We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- private
Network booleanOnly - If true, Load Balancer is accessible only via a private network IP address.
- acls Sequence[str]
- Load Balancer is accessible only from an IP address in this range.
- observability
Loadbalancer
Options Observability - We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- private_
network_ boolonly - If true, Load Balancer is accessible only via a private network IP address.
- acls List<String>
- Load Balancer is accessible only from an IP address in this range.
- observability Property Map
- We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
- private
Network BooleanOnly - If true, Load Balancer is accessible only via a private network IP address.
LoadbalancerOptionsObservability, LoadbalancerOptionsObservabilityArgs
- Logs
Loadbalancer
Options Observability Logs - Observability logs configuration. Not changeable after creation.
- Metrics
Loadbalancer
Options Observability Metrics - Observability metrics configuration. Not changeable after creation.
- Logs
Loadbalancer
Options Observability Logs - Observability logs configuration. Not changeable after creation.
- Metrics
Loadbalancer
Options Observability Metrics - Observability metrics configuration. Not changeable after creation.
- logs
Loadbalancer
Options Observability Logs - Observability logs configuration. Not changeable after creation.
- metrics
Loadbalancer
Options Observability Metrics - Observability metrics configuration. Not changeable after creation.
- logs
Loadbalancer
Options Observability Logs - Observability logs configuration. Not changeable after creation.
- metrics
Loadbalancer
Options Observability Metrics - Observability metrics configuration. Not changeable after creation.
- logs
Loadbalancer
Options Observability Logs - Observability logs configuration. Not changeable after creation.
- metrics
Loadbalancer
Options Observability Metrics - Observability metrics configuration. Not changeable after creation.
- logs Property Map
- Observability logs configuration. Not changeable after creation.
- metrics Property Map
- Observability metrics configuration. Not changeable after creation.
LoadbalancerOptionsObservabilityLogs, LoadbalancerOptionsObservabilityLogsArgs
- Credentials
Ref string - Credentials reference for logs. Not changeable after creation.
- Push
Url string - Credentials reference for logs. Not changeable after creation.
- Credentials
Ref string - Credentials reference for logs. Not changeable after creation.
- Push
Url string - Credentials reference for logs. Not changeable after creation.
- credentials
Ref String - Credentials reference for logs. Not changeable after creation.
- push
Url String - Credentials reference for logs. Not changeable after creation.
- credentials
Ref string - Credentials reference for logs. Not changeable after creation.
- push
Url string - Credentials reference for logs. Not changeable after creation.
- credentials_
ref str - Credentials reference for logs. Not changeable after creation.
- push_
url str - Credentials reference for logs. Not changeable after creation.
- credentials
Ref String - Credentials reference for logs. Not changeable after creation.
- push
Url String - Credentials reference for logs. Not changeable after creation.
LoadbalancerOptionsObservabilityMetrics, LoadbalancerOptionsObservabilityMetricsArgs
- Credentials
Ref string - Credentials reference for metrics. Not changeable after creation.
- Push
Url string - Credentials reference for metrics. Not changeable after creation.
- Credentials
Ref string - Credentials reference for metrics. Not changeable after creation.
- Push
Url string - Credentials reference for metrics. Not changeable after creation.
- credentials
Ref String - Credentials reference for metrics. Not changeable after creation.
- push
Url String - Credentials reference for metrics. Not changeable after creation.
- credentials
Ref string - Credentials reference for metrics. Not changeable after creation.
- push
Url string - Credentials reference for metrics. Not changeable after creation.
- credentials_
ref str - Credentials reference for metrics. Not changeable after creation.
- push_
url str - Credentials reference for metrics. Not changeable after creation.
- credentials
Ref String - Credentials reference for metrics. Not changeable after creation.
- push
Url String - Credentials reference for metrics. Not changeable after creation.
LoadbalancerTargetPool, LoadbalancerTargetPoolArgs
- Name string
- Target pool name.
- Target
Port int - Identical port number where each target listens for traffic.
- Targets
List<Loadbalancer
Target Pool Target> - List of all targets which will be used in the pool. Limited to 1000.
- Active
Health LoadbalancerCheck Target Pool Active Health Check - Session
Persistence LoadbalancerTarget Pool Session Persistence - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
- Name string
- Target pool name.
- Target
Port int - Identical port number where each target listens for traffic.
- Targets
[]Loadbalancer
Target Pool Target - List of all targets which will be used in the pool. Limited to 1000.
- Active
Health LoadbalancerCheck Target Pool Active Health Check - Session
Persistence LoadbalancerTarget Pool Session Persistence - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
- name String
- Target pool name.
- target
Port Integer - Identical port number where each target listens for traffic.
- targets
List<Loadbalancer
Target Pool Target> - List of all targets which will be used in the pool. Limited to 1000.
- active
Health LoadbalancerCheck Target Pool Active Health Check - session
Persistence LoadbalancerTarget Pool Session Persistence - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
- name string
- Target pool name.
- target
Port number - Identical port number where each target listens for traffic.
- targets
Loadbalancer
Target Pool Target[] - List of all targets which will be used in the pool. Limited to 1000.
- active
Health LoadbalancerCheck Target Pool Active Health Check - session
Persistence LoadbalancerTarget Pool Session Persistence - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
- name str
- Target pool name.
- target_
port int - Identical port number where each target listens for traffic.
- targets
Sequence[Loadbalancer
Target Pool Target] - List of all targets which will be used in the pool. Limited to 1000.
- active_
health_ Loadbalancercheck Target Pool Active Health Check - session_
persistence LoadbalancerTarget Pool Session Persistence - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
- name String
- Target pool name.
- target
Port Number - Identical port number where each target listens for traffic.
- targets List<Property Map>
- List of all targets which will be used in the pool. Limited to 1000.
- active
Health Property MapCheck - session
Persistence Property Map - Here you can setup various session persistence options, so far only "
use_source_ip_address" is supported.
LoadbalancerTargetPoolActiveHealthCheck, LoadbalancerTargetPoolActiveHealthCheckArgs
- Healthy
Threshold int - Healthy threshold of the health checking.
- Interval string
- Interval duration of health checking in seconds.
- Interval
Jitter string - Interval duration threshold of the health checking in seconds.
- Timeout string
- Active health checking timeout duration in seconds.
- Unhealthy
Threshold int - Unhealthy threshold of the health checking.
- Healthy
Threshold int - Healthy threshold of the health checking.
- Interval string
- Interval duration of health checking in seconds.
- Interval
Jitter string - Interval duration threshold of the health checking in seconds.
- Timeout string
- Active health checking timeout duration in seconds.
- Unhealthy
Threshold int - Unhealthy threshold of the health checking.
- healthy
Threshold Integer - Healthy threshold of the health checking.
- interval String
- Interval duration of health checking in seconds.
- interval
Jitter String - Interval duration threshold of the health checking in seconds.
- timeout String
- Active health checking timeout duration in seconds.
- unhealthy
Threshold Integer - Unhealthy threshold of the health checking.
- healthy
Threshold number - Healthy threshold of the health checking.
- interval string
- Interval duration of health checking in seconds.
- interval
Jitter string - Interval duration threshold of the health checking in seconds.
- timeout string
- Active health checking timeout duration in seconds.
- unhealthy
Threshold number - Unhealthy threshold of the health checking.
- healthy_
threshold int - Healthy threshold of the health checking.
- interval str
- Interval duration of health checking in seconds.
- interval_
jitter str - Interval duration threshold of the health checking in seconds.
- timeout str
- Active health checking timeout duration in seconds.
- unhealthy_
threshold int - Unhealthy threshold of the health checking.
- healthy
Threshold Number - Healthy threshold of the health checking.
- interval String
- Interval duration of health checking in seconds.
- interval
Jitter String - Interval duration threshold of the health checking in seconds.
- timeout String
- Active health checking timeout duration in seconds.
- unhealthy
Threshold Number - Unhealthy threshold of the health checking.
LoadbalancerTargetPoolSessionPersistence, LoadbalancerTargetPoolSessionPersistenceArgs
- Use
Source boolIp Address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
- Use
Source boolIp Address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
- use
Source BooleanIp Address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
- use
Source booleanIp Address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
- use_
source_ boolip_ address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
- use
Source BooleanIp Address - If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
LoadbalancerTargetPoolTarget, LoadbalancerTargetPoolTargetArgs
- Display
Name string - Target display name
- Ip string
- Target IP
- Display
Name string - Target display name
- Ip string
- Target IP
- display
Name String - Target display name
- ip String
- Target IP
- display
Name string - Target display name
- ip string
- Target IP
- display_
name str - Target display name
- ip str
- Target IP
- display
Name String - Target display name
- ip String
- Target IP
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
