getLoadBalancer

Using getLoadBalancer

function getLoadBalancer(args: GetLoadBalancerArgs, opts?: InvokeOptions): Promise<GetLoadBalancerResult>
def get_load_balancer(hostname: Optional[str] = None,
                      id: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetLoadBalancerResult
func LookupLoadBalancer(ctx *Context, args *LookupLoadBalancerArgs, opts ...InvokeOption) (*LookupLoadBalancerResult, error)

Note: This function is named LookupLoadBalancer in the Go SDK.

public static class GetLoadBalancer {
    public static Task<GetLoadBalancerResult> InvokeAsync(GetLoadBalancerArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Hostname string
The hostname of the Load Balancer.
Id string
The ID of the Load Balancer.
Region string
Hostname string
The hostname of the Load Balancer.
Id string
The ID of the Load Balancer.
Region string
hostname string
The hostname of the Load Balancer.
id string
The ID of the Load Balancer.
region string
hostname str
The hostname of the Load Balancer.
id str
The ID of the Load Balancer.
region str

getLoadBalancer Result

The following output properties are available:

Backends List<GetLoadBalancerBackend>
A list of backend instances
FailTimeout int
The wait time until the backend is marked as a failure
HealthCheckPath string
The path to check the health of the backend
IgnoreInvalidBackendTls bool
Should self-signed/invalid certificates be ignored from the backend servers
MaxConns int
How many concurrent connections can each backend handle
MaxRequestSize int
The max request size set in the configuration
Policy string
The policy set in the Load Balancer
Port int
The port set in the configuration.
Protocol string
The protocol used in the configuration.
TlsCertificate string
If is set will be returned
TlsKey string
If is set will be returned
Hostname string
The hostname of the Load Balancer
Id string
The ID of the Load Balancer
Region string
Backends []GetLoadBalancerBackend
A list of backend instances
FailTimeout int
The wait time until the backend is marked as a failure
HealthCheckPath string
The path to check the health of the backend
IgnoreInvalidBackendTls bool
Should self-signed/invalid certificates be ignored from the backend servers
MaxConns int
How many concurrent connections can each backend handle
MaxRequestSize int
The max request size set in the configuration
Policy string
The policy set in the Load Balancer
Port int
The port set in the configuration.
Protocol string
The protocol used in the configuration.
TlsCertificate string
If is set will be returned
TlsKey string
If is set will be returned
Hostname string
The hostname of the Load Balancer
Id string
The ID of the Load Balancer
Region string
backends GetLoadBalancerBackend[]
A list of backend instances
failTimeout number
The wait time until the backend is marked as a failure
healthCheckPath string
The path to check the health of the backend
ignoreInvalidBackendTls boolean
Should self-signed/invalid certificates be ignored from the backend servers
maxConns number
How many concurrent connections can each backend handle
maxRequestSize number
The max request size set in the configuration
policy string
The policy set in the Load Balancer
port number
The port set in the configuration.
protocol string
The protocol used in the configuration.
tlsCertificate string
If is set will be returned
tlsKey string
If is set will be returned
hostname string
The hostname of the Load Balancer
id string
The ID of the Load Balancer
region string
backends Sequence[GetLoadBalancerBackend]
A list of backend instances
fail_timeout int
The wait time until the backend is marked as a failure
health_check_path str
The path to check the health of the backend
ignore_invalid_backend_tls bool
Should self-signed/invalid certificates be ignored from the backend servers
max_conns int
How many concurrent connections can each backend handle
max_request_size int
The max request size set in the configuration
policy str
The policy set in the Load Balancer
port int
The port set in the configuration.
protocol str
The protocol used in the configuration.
tls_certificate str
If is set will be returned
tls_key str
If is set will be returned
hostname str
The hostname of the Load Balancer
id str
The ID of the Load Balancer
region str

Supporting Types

GetLoadBalancerBackend

InstanceId string
The instance id
Port int
The port set in the configuration.
Protocol string
The protocol used in the configuration.
InstanceId string
The instance id
Port int
The port set in the configuration.
Protocol string
The protocol used in the configuration.
instanceId string
The instance id
port number
The port set in the configuration.
protocol string
The protocol used in the configuration.
instance_id str
The instance id
port int
The port set in the configuration.
protocol str
The protocol used in the configuration.

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes
This Pulumi package is based on the civo Terraform Provider.