-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: write docs for load balancer type(s) data sources
- Loading branch information
Showing
3 changed files
with
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: "hcloud" | ||
page_title: "Hetzner Cloud: hcloud_load_balancer_type" | ||
sidebar_current: "docs-hcloud-datasource-load-balancer-type" | ||
description: |- | ||
Provides details about a specific Hetzner Cloud Load Balancer Type. | ||
--- | ||
|
||
# Data Source: hcloud_load_balancer_type | ||
|
||
Provides details about a specific Hetzner Cloud Load Balancer Type. | ||
Use this resource to get detailed information about specific Load Balancer Type. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "hcloud_load_balancer_type" "by_name" { | ||
name = "cx22" | ||
} | ||
data "hcloud_load_balancer_type" "by_id" { | ||
id = 1 | ||
} | ||
resource "hcloud_load_balancer" "load_balancer" { | ||
name = "my-load-balancer" | ||
load_balancer_type = data.hcloud_load_balancer_type.name | ||
location = "nbg1" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `id` - (Optional, string) ID of the load_balancer_type. | ||
- `name` - (Optional, string) Name of the load_balancer_type. | ||
|
||
## Attributes Reference | ||
|
||
- `id` - (int) Unique ID of the load_balancer_type. | ||
- `name` - (string) Name of the load_balancer_type. | ||
- `description` - (string) Description of the load_balancer_type. | ||
- `max_assigned_certificates` - (int) Maximum number of SSL Certificates that can be assigned to 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. |
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,21 @@ | ||
--- | ||
layout: "hcloud" | ||
page_title: "Hetzner Cloud: hcloud_load_balancer_types" | ||
sidebar_current: "docs-hcloud-datasource-load-balancer-types" | ||
description: |- | ||
List all available Hetzner Cloud Load Balancer Types. | ||
--- | ||
|
||
# Data Source: hcloud_load_balancer_types | ||
|
||
Provides a list of available Hetzner Cloud Load Balancer Types. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "hcloud_load_balancer_types" "all" {} | ||
``` | ||
|
||
## Attributes Reference | ||
|
||
- `load_balancer_types` - (list) List of all load balancer types. See `data.hcloud_load_balancer_type` for the schema. |
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