LoadBalancerConfig¶
- class oci.devops.models.LoadBalancerConfig(**kwargs)¶
Bases:
objectSpecifies configuration for load balancer traffic shift stages. The load balancer specified here should be an Application load balancer type. Network load balancers are not supported.
Methods:
__init__(**kwargs)Initializes a new LoadBalancerConfig object with values from keyword arguments.
Attributes:
Gets the backend_port of this LoadBalancerConfig.
[Required] Gets the listener_name of this LoadBalancerConfig.
[Required] Gets the load_balancer_id of this LoadBalancerConfig.
- __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_id (str) – The value to assign to the load_balancer_id property of this LoadBalancerConfig.
listener_name (str) – The value to assign to the listener_name property of this LoadBalancerConfig.
backend_port (int) – The value to assign to the backend_port property of this LoadBalancerConfig.
- property backend_port¶
Gets the backend_port of this LoadBalancerConfig. Listen port for the backend server.
- Returns
The backend_port of this LoadBalancerConfig.
- Return type
int
- property listener_name¶
[Required] Gets the listener_name of this LoadBalancerConfig. Name of the load balancer listener.
- Returns
The listener_name of this LoadBalancerConfig.
- Return type
str
- property load_balancer_id¶
[Required] Gets the load_balancer_id of this LoadBalancerConfig. The OCID of the load balancer.
- Returns
The load_balancer_id of this LoadBalancerConfig.
- Return type
str