Hetzner Cloud v1.21.1 published on Friday, Nov 22, 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
- The ID of this resource.
- Load
Balancer List<Pulumi.Types HCloud. Outputs. Get Load Balancer Types Load Balancer Type>
- Id string
- The ID of this resource.
- Load
Balancer []GetTypes Load Balancer Types Load Balancer Type
- id String
- The ID of this resource.
- load
Balancer List<GetTypes Load Balancer Types Load Balancer Type>
- id string
- The ID of this resource.
- load
Balancer 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.
- load
Balancer List<Property Map>Types
Supporting Types
GetLoadBalancerTypesLoadBalancerType
- Description string
- 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 string
- Name of the Load Balancer Type.
- Description string
- 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 string
- Name of the Load Balancer Type.
- description String
- Description of the Load Balancer Type.
- id Integer
- ID of the Load Balancer Type.
- max
Assigned IntegerCertificates - Maximum number of certificates that can be assigned for the Load Balancer of this type.
- max
Connections Integer - Maximum number of simultaneous open connections for the Load Balancer of this type.
- max
Services Integer - Maximum number of services for the Load Balancer of this type.
- max
Targets 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.
- max
Assigned numberCertificates - Maximum number of certificates that can be assigned for the Load Balancer of this type.
- max
Connections number - Maximum number of simultaneous open connections for the Load Balancer of this type.
- max
Services number - Maximum number of services for the Load Balancer of this type.
- max
Targets 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.
- max
Assigned NumberCertificates - Maximum number of certificates that can be assigned for the Load Balancer of this type.
- max
Connections Number - Maximum number of simultaneous open connections for the Load Balancer of this type.
- max
Services Number - Maximum number of services for the Load Balancer of this type.
- max
Targets 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
hcloud
Terraform Provider.