diff --git a/website/docs/d/load_balancer_type.html.md b/website/docs/d/load_balancer_type.html.md new file mode 100644 index 000000000..feaad3c6f --- /dev/null +++ b/website/docs/d/load_balancer_type.html.md @@ -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. diff --git a/website/docs/d/load_balancer_types.html.md b/website/docs/d/load_balancer_types.html.md new file mode 100644 index 000000000..d012f905e --- /dev/null +++ b/website/docs/d/load_balancer_types.html.md @@ -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. diff --git a/website/hcloud.erb b/website/hcloud.erb index f2138cd83..5c57698c2 100644 --- a/website/hcloud.erb +++ b/website/hcloud.erb @@ -48,6 +48,12 @@