UpdateBackendDetails

class oci.network_load_balancer.models.UpdateBackendDetails(**kwargs)

Bases: object

The configuration details for updating a backend server.

Methods

__init__(**kwargs) Initializes a new UpdateBackendDetails object with values from keyword arguments.

Attributes

is_backup Gets the is_backup of this UpdateBackendDetails.
is_drain Gets the is_drain of this UpdateBackendDetails.
is_offline Gets the is_offline of this UpdateBackendDetails.
weight Gets the weight of this UpdateBackendDetails.
__init__(**kwargs)

Initializes a new UpdateBackendDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • weight (int) – The value to assign to the weight property of this UpdateBackendDetails.
  • is_backup (bool) – The value to assign to the is_backup property of this UpdateBackendDetails.
  • is_drain (bool) – The value to assign to the is_drain property of this UpdateBackendDetails.
  • is_offline (bool) – The value to assign to the is_offline property of this UpdateBackendDetails.
is_backup

Gets the is_backup of this UpdateBackendDetails. Whether the network load balancer should treat this server as a backup unit. If true, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as “isBackup” fail the health check policy.

Example: false

Returns:The is_backup of this UpdateBackendDetails.
Return type:bool
is_drain

Gets the is_drain of this UpdateBackendDetails. Whether the network load balancer should drain this server. Servers marked “isDrain” receive no incoming traffic.

Example: false

Returns:The is_drain of this UpdateBackendDetails.
Return type:bool
is_offline

Gets the is_offline of this UpdateBackendDetails. Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic.

Example: false

Returns:The is_offline of this UpdateBackendDetails.
Return type:bool
weight

Gets the weight of this UpdateBackendDetails. 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 three times the number of new connections as a server weighted ‘1’. For more information about load balancing policies, see How Load Balancing Policies Work.

Example: 3

Returns:The weight of this UpdateBackendDetails.
Return type:int