-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GitHub Actions
committed
Feb 26, 2022
1 parent
5f729d1
commit 8104f1b
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "civo_loadbalancer Data Source - terraform-provider-civo" | ||
subcategory: "" | ||
description: |- | ||
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. | ||
--- | ||
|
||
# civo_loadbalancer (Data Source) | ||
|
||
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. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# TODO | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **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') | ||
|
||
### Read-Only | ||
|
||
- **algorithm** (String) The algorithm used by the load balancer | ||
- **backends** (List of Object) (see [below for nested schema](#nestedatt--backends)) | ||
- **cluster_id** (String) The cluster id of the load balancer | ||
- **enable_proxy_protocol** (Boolean) Whether the load balancer is configured to proxy protocol | ||
- **external_traffic_policy** (String) 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_config_timeout** (Number) The session affinity config timeout of the load balancer | ||
- **state** (String) The state of the load balancer | ||
|
||
<a id="nestedatt--backends"></a> | ||
### Nested Schema for `backends` | ||
|
||
Read-Only: | ||
|
||
- **health_check_port** (Number) | ||
- **ip** (String) | ||
- **protocol** (String) | ||
- **source_port** (Number) | ||
- **target_port** (Number) | ||
|
||
|