Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateBackendDetails

The configuration details for updating a backend server.

Properties

backup

backup: boolean

Whether the load balancer should treat this server as a backup unit. If {@code true}, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.

*Note:** You cannot add a backend server marked as {@code backup} to a backend set that uses the IP Hash policy.

Example: {@code false}

drain

drain: boolean

Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic.

Example: {@code false}

offline

offline: boolean

Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic.

Example: {@code false}

weight

weight: number

The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work.

Example: {@code 3} Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj