Skip to main content

instance_pool_load_balancer_attachments

Creates, updates, deletes, gets or lists an instance_pool_load_balancer_attachments resource.

Overview​

Nameinstance_pool_load_balancer_attachments
TypeResource
Idoci.compute.instance_pool_load_balancer_attachments

Fields​

The following fields are returned by SELECT queries:

The load balancer attached to the instance pool was retrieved.

NameDatatypeDescription
idstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attachment.
backendSetNamestringThe name of the backend set on the load balancer.
instancePoolIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance pool of the load balancer attachment.
lifecycleStatestringThe status of the interaction between the instance pool and the load balancer. (ATTACHING, ATTACHED, DETACHING, DETACHED)
loadBalancerIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attached to the instance pool.
portintegerThe port value used for the backends.
vnicSelectionstringIndicates 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.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinstancePoolId, instancePoolLoadBalancerAttachmentId, regionGets information about a load balancer that is attached to the specified instance pool.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instancePoolIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
instancePoolLoadBalancerAttachmentIdstringThe OCID of the load balancer attachment.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)

SELECT examples​

Gets information about a load balancer that is attached to the specified instance pool.<br />

SELECT
id,
backendSetName,
instancePoolId,
lifecycleState,
loadBalancerId,
port,
vnicSelection
FROM oci.compute.instance_pool_load_balancer_attachments
WHERE instancePoolId = '{{ instancePoolId }}' -- required
AND instancePoolLoadBalancerAttachmentId = '{{ instancePoolLoadBalancerAttachmentId }}' -- required
AND region = '{{ region }}' -- required
;