> For the complete documentation index, see [llms.txt](https://docs.ionos.com/ruby-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/ruby-sdk/models/networkloadbalancerforwardingruletarget.md).

# NetworkLoadBalancerForwardingRuleTarget

## Properties

\| **health\_check** | [**NetworkLoadBalancerForwardingRuleTargetHealthCheck**](/ruby-sdk/models/networkloadbalancerforwardingruletargethealthcheck.md) | | \[optional] |

\| **ip** | **String** | The IP of the balanced target VM. | |

\| **port** | **Integer** | The port of the balanced target service; valid range is 1 to 65535. | |

\| **weight** | **Integer** | Traffic is distributed in proportion to target weight, relative to the combined weight of all targets. A target with higher weight receives a greater share of traffic. Valid range is 0 to 256 and default is 1. Targets with weight of 0 do not participate in load balancing but still accept persistent connections. It is best to assign weights in the middle of the range to leave room for later adjustments. | |

## Example

```ruby
require 'ionoscloud'


instance = Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new(
  health_check: null,

  ip: 22.231.2.2,

  port: 8080,

  weight: 123
)
```
