LoadBalancerConfig

class oci.opensearch.models.LoadBalancerConfig(**kwargs)

Bases: object

This config is used to choose the load balancer service and bandwidth for OpenSearch and OpenDashboard load balancers.

Attributes

LOAD_BALANCER_SERVICE_TYPE_LOAD_BALANCER A constant which can be used with the load_balancer_service_type property of a LoadBalancerConfig.
LOAD_BALANCER_SERVICE_TYPE_NETWORK_LOAD_BALANCER A constant which can be used with the load_balancer_service_type property of a LoadBalancerConfig.
load_balancer_max_bandwidth_in_mbps Gets the load_balancer_max_bandwidth_in_mbps of this LoadBalancerConfig.
load_balancer_min_bandwidth_in_mbps Gets the load_balancer_min_bandwidth_in_mbps of this LoadBalancerConfig.
load_balancer_service_type [Required] Gets the load_balancer_service_type of this LoadBalancerConfig.

Methods

__init__(**kwargs) Initializes a new LoadBalancerConfig object with values from keyword arguments.
LOAD_BALANCER_SERVICE_TYPE_LOAD_BALANCER = 'LOAD_BALANCER'

A constant which can be used with the load_balancer_service_type property of a LoadBalancerConfig. This constant has a value of “LOAD_BALANCER”

LOAD_BALANCER_SERVICE_TYPE_NETWORK_LOAD_BALANCER = 'NETWORK_LOAD_BALANCER'

A constant which can be used with the load_balancer_service_type property of a LoadBalancerConfig. This constant has a value of “NETWORK_LOAD_BALANCER”

__init__(**kwargs)

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

Parameters:
  • load_balancer_service_type (str) – The value to assign to the load_balancer_service_type property of this LoadBalancerConfig. Allowed values for this property are: “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • load_balancer_min_bandwidth_in_mbps (int) – The value to assign to the load_balancer_min_bandwidth_in_mbps property of this LoadBalancerConfig.
  • load_balancer_max_bandwidth_in_mbps (int) – The value to assign to the load_balancer_max_bandwidth_in_mbps property of this LoadBalancerConfig.
load_balancer_max_bandwidth_in_mbps

Gets the load_balancer_max_bandwidth_in_mbps of this LoadBalancerConfig. Maximum bandwidth (Mbps) of OpenSearch load balancer. Not applicable for network load balancer service.

Returns:The load_balancer_max_bandwidth_in_mbps of this LoadBalancerConfig.
Return type:int
load_balancer_min_bandwidth_in_mbps

Gets the load_balancer_min_bandwidth_in_mbps of this LoadBalancerConfig. Minimum bandwidth (Mbps) of OpenSearch load balancer. Not applicable for network load balancer service.

Returns:The load_balancer_min_bandwidth_in_mbps of this LoadBalancerConfig.
Return type:int
load_balancer_service_type

[Required] Gets the load_balancer_service_type of this LoadBalancerConfig. Load balancer service for OpenSearch and OpenDashboard load balancer. Default value is LOAD_BALANCER.

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

Returns:The load_balancer_service_type of this LoadBalancerConfig.
Return type:str