Hetzner Cloud v1.22.0 published on Wednesday, Feb 26, 2025 by Pulumi
hcloud.getLoadBalancerTypes
Explore with Pulumi AI
Provides a list of available Hetzner Cloud Load Balancer Types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const all = hcloud.getLoadBalancerTypes({});
import pulumi
import pulumi_hcloud as hcloud
all = hcloud.get_load_balancer_types()
package main
import (
	"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcloud.GetLoadBalancerTypes(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() => 
{
    var all = HCloud.GetLoadBalancerTypes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.HcloudFunctions;
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 all = HcloudFunctions.getLoadBalancerTypes();
    }
}
variables:
  all:
    fn::invoke:
      function: hcloud:getLoadBalancerTypes
      arguments: {}
Using getLoadBalancerTypes
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 getLoadBalancerTypes(opts?: InvokeOptions): Promise<GetLoadBalancerTypesResult>
function getLoadBalancerTypesOutput(opts?: InvokeOptions): Output<GetLoadBalancerTypesResult>def get_load_balancer_types(opts: Optional[InvokeOptions] = None) -> GetLoadBalancerTypesResult
def get_load_balancer_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancerTypesResult]func GetLoadBalancerTypes(ctx *Context, opts ...InvokeOption) (*GetLoadBalancerTypesResult, error)
func GetLoadBalancerTypesOutput(ctx *Context, opts ...InvokeOption) GetLoadBalancerTypesResultOutput> Note: This function is named GetLoadBalancerTypes in the Go SDK.
public static class GetLoadBalancerTypes 
{
    public static Task<GetLoadBalancerTypesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetLoadBalancerTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetLoadBalancerTypesResult> getLoadBalancerTypes(InvokeOptions options)
public static Output<GetLoadBalancerTypesResult> getLoadBalancerTypes(InvokeOptions options)
fn::invoke:
  function: hcloud:index/getLoadBalancerTypes:getLoadBalancerTypes
  arguments:
    # arguments dictionarygetLoadBalancerTypes Result
The following output properties are available:
- Id string
- The ID of this resource.
- LoadBalancer List<Pulumi.Types HCloud. Outputs. Get Load Balancer Types Load Balancer Type> 
- Id string
- The ID of this resource.
- LoadBalancer []GetTypes Load Balancer Types Load Balancer Type 
- id String
- The ID of this resource.
- loadBalancer List<GetTypes Load Balancer Types Load Balancer Type> 
- id string
- The ID of this resource.
- loadBalancer GetTypes Load Balancer Types Load Balancer Type[] 
- id str
- The ID of this resource.
- load_balancer_ Sequence[Gettypes Load Balancer Types Load Balancer Type] 
- id String
- The ID of this resource.
- loadBalancer List<Property Map>Types 
Supporting Types
GetLoadBalancerTypesLoadBalancerType      
- Description string
- Description of the Load Balancer Type.
- Id int
- ID of the Load Balancer Type.
- MaxAssigned intCertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- MaxConnections int
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- MaxServices int
- Maximum number of services for the Load Balancer of this type.
- MaxTargets int
- Maximum number of targets for the Load Balancer of this type.
- Name string
- Name of the Load Balancer Type.
- Description string
- Description of the Load Balancer Type.
- Id int
- ID of the Load Balancer Type.
- MaxAssigned intCertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- MaxConnections int
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- MaxServices int
- Maximum number of services for the Load Balancer of this type.
- MaxTargets int
- Maximum number of targets for the Load Balancer of this type.
- Name string
- Name of the Load Balancer Type.
- description String
- Description of the Load Balancer Type.
- id Integer
- ID of the Load Balancer Type.
- maxAssigned IntegerCertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- maxConnections Integer
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- maxServices Integer
- Maximum number of services for the Load Balancer of this type.
- maxTargets Integer
- Maximum number of targets for the Load Balancer of this type.
- name String
- Name of the Load Balancer Type.
- description string
- Description of the Load Balancer Type.
- id number
- ID of the Load Balancer Type.
- maxAssigned numberCertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- maxConnections number
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- maxServices number
- Maximum number of services for the Load Balancer of this type.
- maxTargets number
- Maximum number of targets for the Load Balancer of this type.
- name string
- Name of the Load Balancer Type.
- description str
- Description of the Load Balancer Type.
- id int
- ID of the Load Balancer Type.
- max_assigned_ intcertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- max_connections int
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- max_services int
- Maximum number of services for the Load Balancer of this type.
- max_targets int
- Maximum number of targets for the Load Balancer of this type.
- name str
- Name of the Load Balancer Type.
- description String
- Description of the Load Balancer Type.
- id Number
- ID of the Load Balancer Type.
- maxAssigned NumberCertificates 
- Maximum number of certificates that can be assigned for the Load Balancer of this type.
- maxConnections Number
- Maximum number of simultaneous open connections for the Load Balancer of this type.
- maxServices Number
- Maximum number of services for the Load Balancer of this type.
- maxTargets Number
- Maximum number of targets for the Load Balancer of this type.
- name String
- Name of the Load Balancer Type.
Package Details
- Repository
- Hetzner Cloud pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the hcloudTerraform Provider.