InstancePoolLoadBalancerAttachment¶
- class oci.core.models.InstancePoolLoadBalancerAttachment(**kwargs)¶
Bases:
objectRepresents a load balancer that is attached to an instance pool.
Attributes:
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment.
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment.
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment.
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment.
[Required] Gets the backend_set_name of this InstancePoolLoadBalancerAttachment.
[Required] Gets the id of this InstancePoolLoadBalancerAttachment.
[Required] Gets the instance_pool_id of this InstancePoolLoadBalancerAttachment.
[Required] Gets the lifecycle_state of this InstancePoolLoadBalancerAttachment.
[Required] Gets the load_balancer_id of this InstancePoolLoadBalancerAttachment.
[Required] Gets the port of this InstancePoolLoadBalancerAttachment.
[Required] Gets the vnic_selection of this InstancePoolLoadBalancerAttachment.
Methods:
__init__(**kwargs)Initializes a new InstancePoolLoadBalancerAttachment object with values from keyword arguments.
- LIFECYCLE_STATE_ATTACHED = 'ATTACHED'¶
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment. This constant has a value of “ATTACHED”
- LIFECYCLE_STATE_ATTACHING = 'ATTACHING'¶
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment. This constant has a value of “ATTACHING”
- LIFECYCLE_STATE_DETACHED = 'DETACHED'¶
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment. This constant has a value of “DETACHED”
- LIFECYCLE_STATE_DETACHING = 'DETACHING'¶
A constant which can be used with the lifecycle_state property of a InstancePoolLoadBalancerAttachment. This constant has a value of “DETACHING”
- __init__(**kwargs)¶
Initializes a new InstancePoolLoadBalancerAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this InstancePoolLoadBalancerAttachment.
instance_pool_id (str) – The value to assign to the instance_pool_id property of this InstancePoolLoadBalancerAttachment.
load_balancer_id (str) – The value to assign to the load_balancer_id property of this InstancePoolLoadBalancerAttachment.
backend_set_name (str) – The value to assign to the backend_set_name property of this InstancePoolLoadBalancerAttachment.
port (int) – The value to assign to the port property of this InstancePoolLoadBalancerAttachment.
vnic_selection (str) – The value to assign to the vnic_selection property of this InstancePoolLoadBalancerAttachment.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this InstancePoolLoadBalancerAttachment. Allowed values for this property are: “ATTACHING”, “ATTACHED”, “DETACHING”, “DETACHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property backend_set_name¶
[Required] Gets the backend_set_name of this InstancePoolLoadBalancerAttachment. The name of the backend set on the load balancer.
- Returns
The backend_set_name of this InstancePoolLoadBalancerAttachment.
- Return type
str
- property id¶
[Required] Gets the id of this InstancePoolLoadBalancerAttachment. The OCID of the load balancer attachment.
- Returns
The id of this InstancePoolLoadBalancerAttachment.
- Return type
str
- property instance_pool_id¶
[Required] Gets the instance_pool_id of this InstancePoolLoadBalancerAttachment. The OCID of the instance pool of the load balancer attachment.
- Returns
The instance_pool_id of this InstancePoolLoadBalancerAttachment.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this InstancePoolLoadBalancerAttachment. The status of the interaction between the instance pool and the load balancer.
Allowed values for this property are: “ATTACHING”, “ATTACHED”, “DETACHING”, “DETACHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this InstancePoolLoadBalancerAttachment.
- Return type
str
- property load_balancer_id¶
[Required] Gets the load_balancer_id of this InstancePoolLoadBalancerAttachment. The OCID of the load balancer attached to the instance pool.
- Returns
The load_balancer_id of this InstancePoolLoadBalancerAttachment.
- Return type
str
- property port¶
[Required] Gets the port of this InstancePoolLoadBalancerAttachment. The port value used for the backends.
- Returns
The port of this InstancePoolLoadBalancerAttachment.
- Return type
int
- property vnic_selection¶
[Required] Gets the vnic_selection of this InstancePoolLoadBalancerAttachment. Indicates which VNIC on each instance in the instance 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 InstancePoolLoadBalancerAttachment.
- Return type
str