Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo
Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo
Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your Civo account.
An error will be raised if the provided load balancer name does not exist in your Civo account.
Using getVpcLoadbalancer
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 getVpcLoadbalancer(args: GetVpcLoadbalancerArgs, opts?: InvokeOptions): Promise<GetVpcLoadbalancerResult>
function getVpcLoadbalancerOutput(args: GetVpcLoadbalancerOutputArgs, opts?: InvokeOptions): Output<GetVpcLoadbalancerResult>def get_vpc_loadbalancer(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcLoadbalancerResult
def get_vpc_loadbalancer_output(id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcLoadbalancerResult]func GetVpcLoadbalancer(ctx *Context, args *GetVpcLoadbalancerArgs, opts ...InvokeOption) (*GetVpcLoadbalancerResult, error)
func GetVpcLoadbalancerOutput(ctx *Context, args *GetVpcLoadbalancerOutputArgs, opts ...InvokeOption) GetVpcLoadbalancerResultOutput> Note: This function is named GetVpcLoadbalancer in the Go SDK.
public static class GetVpcLoadbalancer
{
public static Task<GetVpcLoadbalancerResult> InvokeAsync(GetVpcLoadbalancerArgs args, InvokeOptions? opts = null)
public static Output<GetVpcLoadbalancerResult> Invoke(GetVpcLoadbalancerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcLoadbalancerResult> getVpcLoadbalancer(GetVpcLoadbalancerArgs args, InvokeOptions options)
public static Output<GetVpcLoadbalancerResult> getVpcLoadbalancer(GetVpcLoadbalancerArgs args, InvokeOptions options)
fn::invoke:
function: civo:index/getVpcLoadbalancer:getVpcLoadbalancer
arguments:
# arguments dictionarydata "civo_get_vpc_loadbalancer" "name" {
# arguments
}The following arguments are supported:
- Id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- Name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- Region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- Id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- Name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- Region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- id String
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name String
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region String
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- id str
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name str
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region str
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- id String
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name String
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region String
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
getVpcLoadbalancer Result
The following output properties are available:
- Algorithm string
- The algorithm used by the load balancer
- Backends
List<Get
Vpc Loadbalancer Backend> - Cluster
Id string - The cluster id of the load balancer
- Enable
Proxy stringProtocol - The enabled proxy protocol of the load balancer
- External
Traffic stringPolicy - The external traffic policy of the load balancer
- Firewall
Id string - The firewall id of the load balancer
- Private
Ip string - The private ip of the load balancer
- Public
Ip string - The public ip of the load balancer
- Session
Affinity string - The session affinity of the load balancer
- Session
Affinity doubleConfig Timeout - The session affinity config timeout of the load balancer
- State string
- The state of the load balancer
- Id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- Name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- Region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- Algorithm string
- The algorithm used by the load balancer
- Backends
[]Get
Vpc Loadbalancer Backend - Cluster
Id string - The cluster id of the load balancer
- Enable
Proxy stringProtocol - The enabled proxy protocol of the load balancer
- External
Traffic stringPolicy - The external traffic policy of the load balancer
- Firewall
Id string - The firewall id of the load balancer
- Private
Ip string - The private ip of the load balancer
- Public
Ip string - The public ip of the load balancer
- Session
Affinity string - The session affinity of the load balancer
- Session
Affinity float64Config Timeout - The session affinity config timeout of the load balancer
- State string
- The state of the load balancer
- Id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- Name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- Region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- algorithm string
- The algorithm used by the load balancer
- backends list(object)
- cluster_
id string - The cluster id of the load balancer
- enable_
proxy_ stringprotocol - The enabled proxy protocol of the load balancer
- external_
traffic_ stringpolicy - The external traffic policy of the load balancer
- firewall_
id string - The firewall id of the load balancer
- private_
ip string - The private ip of the load balancer
- public_
ip string - The public ip of the load balancer
- session_
affinity string - The session affinity of the load balancer
- session_
affinity_ numberconfig_ timeout - The session affinity config timeout of the load balancer
- state string
- The state of the load balancer
- id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- algorithm String
- The algorithm used by the load balancer
- backends
List<Get
Vpc Loadbalancer Backend> - cluster
Id String - The cluster id of the load balancer
- enable
Proxy StringProtocol - The enabled proxy protocol of the load balancer
- external
Traffic StringPolicy - The external traffic policy of the load balancer
- firewall
Id String - The firewall id of the load balancer
- private
Ip String - The private ip of the load balancer
- public
Ip String - The public ip of the load balancer
- session
Affinity String - The session affinity of the load balancer
- session
Affinity DoubleConfig Timeout - The session affinity config timeout of the load balancer
- state String
- The state of the load balancer
- id String
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name String
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region String
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- algorithm string
- The algorithm used by the load balancer
- backends
Get
Vpc Loadbalancer Backend[] - cluster
Id string - The cluster id of the load balancer
- enable
Proxy stringProtocol - The enabled proxy protocol of the load balancer
- external
Traffic stringPolicy - The external traffic policy of the load balancer
- firewall
Id string - The firewall id of the load balancer
- private
Ip string - The private ip of the load balancer
- public
Ip string - The public ip of the load balancer
- session
Affinity string - The session affinity of the load balancer
- session
Affinity numberConfig Timeout - The session affinity config timeout of the load balancer
- state string
- The state of the load balancer
- id string
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name string
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region string
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- algorithm str
- The algorithm used by the load balancer
- backends
Sequence[Get
Vpc Loadbalancer Backend] - cluster_
id str - The cluster id of the load balancer
- enable_
proxy_ strprotocol - The enabled proxy protocol of the load balancer
- external_
traffic_ strpolicy - The external traffic policy of the load balancer
- firewall_
id str - The firewall id of the load balancer
- private_
ip str - The private ip of the load balancer
- public_
ip str - The public ip of the load balancer
- session_
affinity str - The session affinity of the load balancer
- session_
affinity_ floatconfig_ timeout - The session affinity config timeout of the load balancer
- state str
- The state of the load balancer
- id str
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name str
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region str
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
- algorithm String
- The algorithm used by the load balancer
- backends List<Property Map>
- cluster
Id String - The cluster id of the load balancer
- enable
Proxy StringProtocol - The enabled proxy protocol of the load balancer
- external
Traffic StringPolicy - The external traffic policy of the load balancer
- firewall
Id String - The firewall id of the load balancer
- private
Ip String - The private ip of the load balancer
- public
Ip String - The public ip of the load balancer
- session
Affinity String - The session affinity of the load balancer
- session
Affinity NumberConfig Timeout - The session affinity config timeout of the load balancer
- state String
- The state of the load balancer
- id String
- The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- name String
- The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
- region String
- The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
Supporting Types
GetVpcLoadbalancerBackend
- Health
Check doublePort - Ip string
- Protocol string
- Source
Port double - Target
Port double
- Health
Check float64Port - Ip string
- Protocol string
- Source
Port float64 - Target
Port float64
- health_
check_ numberport - ip string
- protocol string
- source_
port number - target_
port number
- health
Check DoublePort - ip String
- protocol String
- source
Port Double - target
Port Double
- health
Check numberPort - ip string
- protocol string
- source
Port number - target
Port number
- health_
check_ floatport - ip str
- protocol str
- source_
port float - target_
port float
- health
Check NumberPort - ip String
- protocol String
- source
Port Number - target
Port Number
Package Details
- Repository
- Civo civo/terraform-provider-civo
- License
- Notes
- This Pulumi package is based on the
civoTerraform Provider.
Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo