InstancePoolInstanceLoadBalancerBackend¶
- class oci.core.models.InstancePoolInstanceLoadBalancerBackend(**kwargs)¶
Bases:
objectRepresents the load balancer Backend that is configured for an instance pool instance.
Attributes:
A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
A constant which can be used with the backend_health_status property of a InstancePoolInstanceLoadBalancerBackend.
[Required] Gets the backend_health_status of this InstancePoolInstanceLoadBalancerBackend.
[Required] Gets the backend_name of this InstancePoolInstanceLoadBalancerBackend.
[Required] Gets the backend_set_name of this InstancePoolInstanceLoadBalancerBackend.
[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’.
- property 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
- property 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
- property 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
- property 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