# TargetGroupProperties

## Properties

| Name                    | Type                                                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Notes       |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **algorithm**           | **str**                                                                                                                                  | The balancing algorithm. A balancing algorithm consists of predefined rules with the logic that a load balancer uses to distribute network traffic between servers. - **Round Robin**: Targets are served alternately according to their weighting. - **Least Connection**: The target with the least active connection is served. - **Random**: The targets are served based on a consistent pseudorandom algorithm. - **Source IP**: It is ensured that the same client IP address reaches the same target. |             |
| **health\_check**       | [**TargetGroupHealthCheck**](https://docs.ionos.com/sections-test/python-sdk/cloud-api-python-sdk/models/targetgrouphealthcheck)         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | \[optional] |
| **http\_health\_check** | [**TargetGroupHttpHealthCheck**](https://docs.ionos.com/sections-test/python-sdk/cloud-api-python-sdk/models/targetgrouphttphealthcheck) |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | \[optional] |
| **name**                | **str**                                                                                                                                  | The target group name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |             |
| **protocol**            | **str**                                                                                                                                  | The forwarding protocol. Only the value 'HTTP' is allowed.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |             |
| **targets**             | [**list\[TargetGroupTarget\]**](https://docs.ionos.com/sections-test/python-sdk/cloud-api-python-sdk/models/targetgrouptarget)           | Array of items in the collection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | \[optional] |
