linode.getNodebalancerConfigs
Explore with Pulumi AI
Provides information about Linode NodeBalancer Configs that match a set of filters. For more information, see the Linode APIv4 docs.
Example Usage
The following example shows how one might use this data source to access information about a list of NodeBalancer Configs.
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const filterNbConfigs = linode.getNodebalancerConfigs({
nodebalancerId: 12345,
filters: [{
name: "port",
values: ["80"],
}],
});
export const nodebalancerConfigId = filterNbConfigs.then(filterNbConfigs => filterNbConfigs.nodebalancerConfigs?.[0]?.id);
import pulumi
import pulumi_linode as linode
filter_nb_configs = linode.get_nodebalancer_configs(nodebalancer_id=12345,
filters=[{
"name": "port",
"values": ["80"],
}])
pulumi.export("nodebalancerConfigId", filter_nb_configs.nodebalancer_configs[0].id)
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
filterNbConfigs, err := linode.GetNodebalancerConfigs(ctx, &linode.GetNodebalancerConfigsArgs{
NodebalancerId: 12345,
Filters: []linode.GetNodebalancerConfigsFilter{
{
Name: "port",
Values: []string{
"80",
},
},
},
}, nil)
if err != nil {
return err
}
ctx.Export("nodebalancerConfigId", filterNbConfigs.NodebalancerConfigs[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var filterNbConfigs = Linode.GetNodebalancerConfigs.Invoke(new()
{
NodebalancerId = 12345,
Filters = new[]
{
new Linode.Inputs.GetNodebalancerConfigsFilterInputArgs
{
Name = "port",
Values = new[]
{
"80",
},
},
},
});
return new Dictionary<string, object?>
{
["nodebalancerConfigId"] = filterNbConfigs.Apply(getNodebalancerConfigsResult => getNodebalancerConfigsResult.NodebalancerConfigs[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetNodebalancerConfigsArgs;
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 filterNbConfigs = LinodeFunctions.getNodebalancerConfigs(GetNodebalancerConfigsArgs.builder()
.nodebalancerId(12345)
.filters(GetNodebalancerConfigsFilterArgs.builder()
.name("port")
.values("80")
.build())
.build());
ctx.export("nodebalancerConfigId", filterNbConfigs.applyValue(getNodebalancerConfigsResult -> getNodebalancerConfigsResult.nodebalancerConfigs()[0].id()));
}
}
variables:
filterNbConfigs:
fn::invoke:
Function: linode:getNodebalancerConfigs
Arguments:
nodebalancerId: 12345
filters:
- name: port
values:
- '80'
outputs:
nodebalancerConfigId: ${filterNbConfigs.nodebalancerConfigs[0].id}
Filterable Fields
algorithm
check
nodebalancer_id
port
protocol
proxy_protocol
stickiness
check_path
check_body
check_passive
cipher_suite
ssl_commonname
Using getNodebalancerConfigs
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 getNodebalancerConfigs(args: GetNodebalancerConfigsArgs, opts?: InvokeOptions): Promise<GetNodebalancerConfigsResult>
function getNodebalancerConfigsOutput(args: GetNodebalancerConfigsOutputArgs, opts?: InvokeOptions): Output<GetNodebalancerConfigsResult>
def get_nodebalancer_configs(filters: Optional[Sequence[GetNodebalancerConfigsFilter]] = None,
nodebalancer_configs: Optional[Sequence[GetNodebalancerConfigsNodebalancerConfig]] = None,
nodebalancer_id: Optional[int] = None,
order: Optional[str] = None,
order_by: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodebalancerConfigsResult
def get_nodebalancer_configs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNodebalancerConfigsFilterArgs]]]] = None,
nodebalancer_configs: Optional[pulumi.Input[Sequence[pulumi.Input[GetNodebalancerConfigsNodebalancerConfigArgs]]]] = None,
nodebalancer_id: Optional[pulumi.Input[int]] = None,
order: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNodebalancerConfigsResult]
func GetNodebalancerConfigs(ctx *Context, args *GetNodebalancerConfigsArgs, opts ...InvokeOption) (*GetNodebalancerConfigsResult, error)
func GetNodebalancerConfigsOutput(ctx *Context, args *GetNodebalancerConfigsOutputArgs, opts ...InvokeOption) GetNodebalancerConfigsResultOutput
> Note: This function is named GetNodebalancerConfigs
in the Go SDK.
public static class GetNodebalancerConfigs
{
public static Task<GetNodebalancerConfigsResult> InvokeAsync(GetNodebalancerConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetNodebalancerConfigsResult> Invoke(GetNodebalancerConfigsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNodebalancerConfigsResult> getNodebalancerConfigs(GetNodebalancerConfigsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: linode:index/getNodebalancerConfigs:getNodebalancerConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- Nodebalancer
Id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- Filters
List<Get
Nodebalancer Configs Filter> - Nodebalancer
Configs List<GetNodebalancer Configs Nodebalancer Config> - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Nodebalancer
Id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- Filters
[]Get
Nodebalancer Configs Filter - Nodebalancer
Configs []GetNodebalancer Configs Nodebalancer Config - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- nodebalancer
Id Integer - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- filters
List<Get
Nodebalancer Configs Filter> - nodebalancer
Configs List<GetNodebalancer Configs Nodebalancer Config> - order String
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- nodebalancer
Id number - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- filters
Get
Nodebalancer Configs Filter[] - nodebalancer
Configs GetNodebalancer Configs Nodebalancer Config[] - order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- nodebalancer_
id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- filters
Sequence[Get
Nodebalancer Configs Filter] - nodebalancer_
configs Sequence[GetNodebalancer Configs Nodebalancer Config] - order str
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order_
by str - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- nodebalancer
Id Number - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- filters List<Property Map>
- nodebalancer
Configs List<Property Map> - order String
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
getNodebalancerConfigs Result
The following output properties are available:
- Id string
- The config's ID.
- Nodebalancer
Id int - The ID of the NodeBalancer that contains the config.
- Filters
List<Get
Nodebalancer Configs Filter> - Nodebalancer
Configs List<GetNodebalancer Configs Nodebalancer Config> - Order string
- Order
By string
- Id string
- The config's ID.
- Nodebalancer
Id int - The ID of the NodeBalancer that contains the config.
- Filters
[]Get
Nodebalancer Configs Filter - Nodebalancer
Configs []GetNodebalancer Configs Nodebalancer Config - Order string
- Order
By string
- id String
- The config's ID.
- nodebalancer
Id Integer - The ID of the NodeBalancer that contains the config.
- filters
List<Get
Nodebalancer Configs Filter> - nodebalancer
Configs List<GetNodebalancer Configs Nodebalancer Config> - order String
- order
By String
- id string
- The config's ID.
- nodebalancer
Id number - The ID of the NodeBalancer that contains the config.
- filters
Get
Nodebalancer Configs Filter[] - nodebalancer
Configs GetNodebalancer Configs Nodebalancer Config[] - order string
- order
By string
- id str
- The config's ID.
- nodebalancer_
id int - The ID of the NodeBalancer that contains the config.
- filters
Sequence[Get
Nodebalancer Configs Filter] - nodebalancer_
configs Sequence[GetNodebalancer Configs Nodebalancer Config] - order str
- order_
by str
- id String
- The config's ID.
- nodebalancer
Id Number - The ID of the NodeBalancer that contains the config.
- filters List<Property Map>
- nodebalancer
Configs List<Property Map> - order String
- order
By String
Supporting Types
GetNodebalancerConfigsFilter
- Name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- Values List<string>
- A list of values for the filter to allow. These values should all be in string form.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- Name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- Values []string
- A list of values for the filter to allow. These values should all be in string form.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- name String
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values List<String>
- A list of values for the filter to allow. These values should all be in string form.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values string[]
- A list of values for the filter to allow. These values should all be in string form.
- match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- name str
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values Sequence[str]
- A list of values for the filter to allow. These values should all be in string form.
- match_
by str - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- name String
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values List<String>
- A list of values for the filter to allow. These values should all be in string form.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
GetNodebalancerConfigsNodebalancerConfig
- Algorithm string
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - Check string
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - Check
Attempts int - How many times to attempt a check before considering a backend to be down. (1-30)
- Check
Body string - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- Check
Interval int - How often, in seconds, to check that backends are up and serving requests.
- Check
Passive bool - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- Check
Path string - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- Check
Timeout int - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- Cipher
Suite string - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - Id int
- The config's ID.
- Node
Statuses List<GetNodebalancer Configs Nodebalancer Config Node Status> - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- Nodebalancer
Id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- Port int
- The TCP port this Config is for.
- Protocol string
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - Proxy
Protocol string - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - Ssl
Commonname string - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- Ssl
Fingerprint string - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- Stickiness string
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
- Algorithm string
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - Check string
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - Check
Attempts int - How many times to attempt a check before considering a backend to be down. (1-30)
- Check
Body string - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- Check
Interval int - How often, in seconds, to check that backends are up and serving requests.
- Check
Passive bool - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- Check
Path string - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- Check
Timeout int - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- Cipher
Suite string - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - Id int
- The config's ID.
- Node
Statuses []GetNodebalancer Configs Nodebalancer Config Node Status - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- Nodebalancer
Id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- Port int
- The TCP port this Config is for.
- Protocol string
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - Proxy
Protocol string - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - Ssl
Commonname string - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- Ssl
Fingerprint string - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- Stickiness string
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
- algorithm String
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - check String
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - check
Attempts Integer - How many times to attempt a check before considering a backend to be down. (1-30)
- check
Body String - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- check
Interval Integer - How often, in seconds, to check that backends are up and serving requests.
- check
Passive Boolean - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- check
Path String - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- check
Timeout Integer - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- cipher
Suite String - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - id Integer
- The config's ID.
- node
Statuses List<GetNodebalancer Configs Nodebalancer Config Node Status> - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- nodebalancer
Id Integer - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- port Integer
- The TCP port this Config is for.
- protocol String
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - proxy
Protocol String - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - ssl
Commonname String - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- ssl
Fingerprint String - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- stickiness String
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
- algorithm string
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - check string
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - check
Attempts number - How many times to attempt a check before considering a backend to be down. (1-30)
- check
Body string - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- check
Interval number - How often, in seconds, to check that backends are up and serving requests.
- check
Passive boolean - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- check
Path string - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- check
Timeout number - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- cipher
Suite string - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - id number
- The config's ID.
- node
Statuses GetNodebalancer Configs Nodebalancer Config Node Status[] - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- nodebalancer
Id number - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- port number
- The TCP port this Config is for.
- protocol string
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - proxy
Protocol string - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - ssl
Commonname string - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- ssl
Fingerprint string - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- stickiness string
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
- algorithm str
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - check str
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - check_
attempts int - How many times to attempt a check before considering a backend to be down. (1-30)
- check_
body str - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- check_
interval int - How often, in seconds, to check that backends are up and serving requests.
- check_
passive bool - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- check_
path str - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- check_
timeout int - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- cipher_
suite str - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - id int
- The config's ID.
- node_
statuses Sequence[GetNodebalancer Configs Nodebalancer Config Node Status] - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- nodebalancer_
id int - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- port int
- The TCP port this Config is for.
- protocol str
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - proxy_
protocol str - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - ssl_
commonname str - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- ssl_
fingerprint str - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- stickiness str
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
- algorithm String
- What algorithm this NodeBalancer should use for routing traffic to backends (
roundrobin
,leastconn
,source
) - check String
- The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (
none
,connection
,http
,http_body
) - check
Attempts Number - How many times to attempt a check before considering a backend to be down. (1-30)
- check
Body String - This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down
- check
Interval Number - How often, in seconds, to check that backends are up and serving requests.
- check
Passive Boolean - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
- check
Path String - The URL path to check on each backend. If the backend does not respond to this request it is considered to be down.
- check
Timeout Number - How long, in seconds, to wait for a check attempt before considering it failed. (1-30)
- cipher
Suite String - What ciphers to use for SSL connections served by this NodeBalancer.
legacy
is considered insecure and should only be used if necessary. (recommended
,legacy
) - id Number
- The config's ID.
- node
Statuses List<Property Map> - A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends.
- nodebalancer
Id Number - The ID of the NodeBalancer to access.
filter
- (Optional) A set of filters used to select Linode NodeBalancers that meet certain requirements.
- port Number
- The TCP port this Config is for.
- protocol String
- The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (
http
,https
,tcp
) (Defaults tohttp
) - proxy
Protocol String - The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be
tcp
. (none
,v1
, andv2
) (Defaults tonone
) - ssl
Commonname String - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- ssl
Fingerprint String - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
- stickiness String
- Controls how session stickiness is handled on this port. (
none
,table
,http_cookie
)
GetNodebalancerConfigsNodebalancerConfigNodeStatus
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.