InstancePoolInstanceLoadBalancerBackend

class oci.core.models.InstancePoolInstanceLoadBalancerBackend(**kwargs)

Bases: object

Represents the load balancer Backend that is configured for an instance pool instance.

Attributes

BACKEND_HEALTH_STATUS_CRITICAL A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
BACKEND_HEALTH_STATUS_OK A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
BACKEND_HEALTH_STATUS_UNKNOWN A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
BACKEND_HEALTH_STATUS_WARNING A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
backend_health_status [Required] Gets the backend_health_status of this InstancePoolInstanceLoadBalancerBackend.
backend_name [Required] Gets the backend_name of this InstancePoolInstanceLoadBalancerBackend.
backend_set_name [Required] Gets the backend_set_name of this InstancePoolInstanceLoadBalancerBackend.
load_balancer_id [Required] Gets the load_balancer_id of this InstancePoolInstanceLoadBalancerBackend.

Methods

__init__(**kwargs) Initializes a new InstancePoolInstanceLoadBalancerBackend object with values from keyword arguments.
BACKEND_HEALTH_STATUS_CRITICAL = 'CRITICAL'

A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend. This constant has a value of “CRITICAL”

BACKEND_HEALTH_STATUS_OK = 'OK'

A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend. This constant has a value of “OK”

BACKEND_HEALTH_STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend. This constant has a value of “UNKNOWN”

BACKEND_HEALTH_STATUS_WARNING = 'WARNING'

A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend. This constant has a value of “WARNING”

__init__(**kwargs)

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

Parameters:
  • load_balancer_id (str) – The value to assign to the load_balancer_id property of this InstancePoolInstanceLoadBalancerBackend.
  • backend_set_name (str) – The value to assign to the backend_set_name property of this InstancePoolInstanceLoadBalancerBackend.
  • backend_name (str) – The value to assign to the backend_name property of this InstancePoolInstanceLoadBalancerBackend.
  • backend_health_status (str) – The value to assign to the backend_health_status property of this InstancePoolInstanceLoadBalancerBackend. Allowed values for this property are: “OK”, “WARNING”, “CRITICAL”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
backend_health_status

[Required] Gets the backend_health_status of this InstancePoolInstanceLoadBalancerBackend. The health of the backend as observed by the load balancer.

Allowed values for this property are: “OK”, “WARNING”, “CRITICAL”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The backend_health_status of this InstancePoolInstanceLoadBalancerBackend.
Return type:str
backend_name

[Required] Gets the backend_name of this InstancePoolInstanceLoadBalancerBackend. The name of the backend in the backend set.

Returns:The backend_name of this InstancePoolInstanceLoadBalancerBackend.
Return type:str
backend_set_name

[Required] Gets the backend_set_name of this InstancePoolInstanceLoadBalancerBackend. The name of the backend set on the load balancer.

Returns:The backend_set_name of this InstancePoolInstanceLoadBalancerBackend.
Return type:str
load_balancer_id

[Required] Gets the load_balancer_id of this InstancePoolInstanceLoadBalancerBackend. The OCID of the load balancer attached to the instance pool.

Returns:The load_balancer_id of this InstancePoolInstanceLoadBalancerBackend.
Return type:str