| health_check_enabled | Boolean | When the health check is enabled, the target is available only when it accepts regular TCP or HTTP connection attempts for state checking. The state check consists of one connection attempt with the target's address and port. The default value is 'TRUE'. | [optional] |

| ip | String | The IP address of the balanced target. | |

| maintenance_enabled | Boolean | When the maintenance mode is enabled, the target is prevented from receiving traffic; the default value is 'FALSE'. | [optional] |

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

| weight | Integer | The traffic is distributed proportionally to target weight, which is the ratio of the total weight of all targets. A target with higher weight receives a larger share of traffic. The valid range is from 0 to 256; the default value is '1'. Targets with a weight of '0' do not participate in load balancing but still accept persistent connections. We recommend using values in the middle range to leave room for later adjustments. | |


require 'ionoscloud'

instance =
  health_check_enabled: null,


  maintenance_enabled: null,

  port: 8080,

  weight: 123

Last updated