Hetzner Cloud v1.21.0 published on Tuesday, Nov 12, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: hcloud:index/getLoadBalancerTypes:getLoadBalancerTypes
arguments:
# arguments dictionary
getLoadBalancerTypes Result
The following output properties are available:
- Id string
- Load
Balancer List<Pulumi.Types HCloud. Outputs. Get Load Balancer Types Load Balancer Type> - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
- Id string
- Load
Balancer []GetTypes Load Balancer Types Load Balancer Type - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
- id String
- load
Balancer List<GetTypes Load Balancer Types Load Balancer Type> - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
- id string
- load
Balancer GetTypes Load Balancer Types Load Balancer Type[] - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
- id str
- load_
balancer_ Sequence[Gettypes Load Balancer Types Load Balancer Type] - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
- id String
- load
Balancer List<Property Map>Types - (list) List of all load balancer types. See
data.hcloud_load_balancer_type
for the schema.
Supporting Types
GetLoadBalancerTypesLoadBalancerType
- Description string
- Id int
- Max
Assigned intCertificates - Max
Connections int - Max
Services int - Max
Targets int - Name string
- Description string
- Id int
- Max
Assigned intCertificates - Max
Connections int - Max
Services int - Max
Targets int - Name string
- description String
- id Integer
- max
Assigned IntegerCertificates - max
Connections Integer - max
Services Integer - max
Targets Integer - name String
- description string
- id number
- max
Assigned numberCertificates - max
Connections number - max
Services number - max
Targets number - name string
- description str
- id int
- max_
assigned_ intcertificates - max_
connections int - max_
services int - max_
targets int - name str
- description String
- id Number
- max
Assigned NumberCertificates - max
Connections Number - max
Services Number - max
Targets Number - name String
Package Details
- Repository
- Hetzner Cloud pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloud
Terraform Provider.