Creates and manages Network Load Balancer Forwarding Rule objects.
Manages a Network Load Balancer Forwarding Rule on IonosCloud.
name
- (Required)[string] A name of that Network Load Balancer forwarding rule.
algorithm
- (Required)[string] Algorithm for the balancing.
protocol
- (Required)[string] Protocol of the balancing.
listener_ip
- (Required)[string] Listening IP. (inbound)
listener_port
- (Required)[int] Listening port number. (inbound) (range: 1 to 65535)
health_check
- (Optional) Health check attributes for Network Load Balancer forwarding rule.
client_timeout
- (Optional)[int] ClientTimeout is expressed in milliseconds. This inactivity timeout applies when the client is expected to acknowledge or send data. If unset the default of 50 seconds will be used.
connect_timeout
- (Optional)[int] It specifies the maximum time (in milliseconds) to wait for a connection attempt to a target VM to succeed. If unset, the default of 5 seconds will be used.
target_timeout
- (Optional)[int] TargetTimeout specifies the maximum inactivity time (in milliseconds) on the target VM side. If unset, the default of 50 seconds will be used.
retries
- (Optional)[int] Retries specifies the number of retries to perform on a target VM after a connection failure. If unset, the default value of 3 will be used.
targets
- (Required)[Set] Array of items in that collection.
ip
- (Required)[string] IP of a balanced target VM.
port
- (Required)[int] Port of the balanced target service. (range: 1 to 65535).
weight
- (Required)[int] Weight parameter is used to adjust the target VM's weight relative to other target VMs.
proxy_protocol
- (Optional)[string] The proxy protocol version. Accepted values are none
, v1
, v2
, v2ssl
. If unspecified, the default value of none
is used.
health_check
- (Optional) Health check attributes for Network Load Balancer forwarding rule target.
check
- (Optional)[boolean] Check specifies whether the target VM's health is checked.
check_interval
- (Optional)[int] CheckInterval determines the duration (in milliseconds) between consecutive health checks. If unspecified a default of 2000 ms is used.
maintenance
- (Optional)[boolean] Maintenance specifies if a target VM should be marked as down, even if it is not.
datacenter_id
- (Required)[string] A Datacenter's UUID.
natgateway_id
- (Required)[string] Network Load Balancer's UUID.
A Network Load Balancer Forwarding Rule resource can be imported using its resource id
, the datacenter id
and the networkloadbalancer id
e.g.