AttachLoadBalancerDetails

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

Bases: object

Represents a load balancer that is to be attached to an instance pool.

Methods

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

Attributes

backend_set_name [Required] Gets the backend_set_name of this AttachLoadBalancerDetails.
load_balancer_id [Required] Gets the load_balancer_id of this AttachLoadBalancerDetails.
port [Required] Gets the port of this AttachLoadBalancerDetails.
vnic_selection [Required] Gets the vnic_selection of this AttachLoadBalancerDetails.
__init__(**kwargs)

Initializes a new AttachLoadBalancerDetails 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 AttachLoadBalancerDetails.
  • backend_set_name (str) – The value to assign to the backend_set_name property of this AttachLoadBalancerDetails.
  • port (int) – The value to assign to the port property of this AttachLoadBalancerDetails.
  • vnic_selection (str) – The value to assign to the vnic_selection property of this AttachLoadBalancerDetails.
backend_set_name

[Required] Gets the backend_set_name of this AttachLoadBalancerDetails. The name of the backend set on the load balancer to add instances to.

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

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

Returns:The load_balancer_id of this AttachLoadBalancerDetails.
Return type:str
port

[Required] Gets the port of this AttachLoadBalancerDetails. The port value to use when creating the backend set.

Returns:The port of this AttachLoadBalancerDetails.
Return type:int
vnic_selection

[Required] Gets the vnic_selection of this AttachLoadBalancerDetails. Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are “PrimaryVnic” or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.

Returns:The vnic_selection of this AttachLoadBalancerDetails.
Return type:str