LoadBalancerPolicy

class oci.load_balancer.models.LoadBalancerPolicy(**kwargs)

Bases: object

A policy that determines how traffic is distributed among backend servers. For more information on load balancing policies, see How Load Balancing Policies Work.

Methods

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

Attributes

name [Required] Gets the name of this LoadBalancerPolicy.
__init__(**kwargs)

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

Parameters:name (str) – The value to assign to the name property of this LoadBalancerPolicy.
name

[Required] Gets the name of this LoadBalancerPolicy. The name of a load balancing policy.

Example: ‘LEAST_CONNECTIONS’

Returns:The name of this LoadBalancerPolicy.
Return type:str