instance_pool_load_balancer_attachments
Creates, updates, deletes, gets or lists an instance_pool_load_balancer_attachments resource.
Overview​
| Name | instance_pool_load_balancer_attachments |
| Type | Resource |
| Id | oci.compute.instance_pool_load_balancer_attachments |
Fields​
The following fields are returned by SELECT queries:
- get
The load balancer attached to the instance pool was retrieved.
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attachment. |
backendSetName | string | The name of the backend set on the load balancer. |
instancePoolId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance pool of the load balancer attachment. |
lifecycleState | string | The status of the interaction between the instance pool and the load balancer. (ATTACHING, ATTACHED, DETACHING, DETACHED) |
loadBalancerId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attached to the instance pool. |
port | integer | The port value used for the backends. |
vnicSelection | string | 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. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | instancePoolId, instancePoolLoadBalancerAttachmentId, region | Gets 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.
| Name | Datatype | Description |
|---|---|---|
instancePoolId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. |
instancePoolLoadBalancerAttachmentId | string | The OCID of the load balancer attachment. |
region | string | OCI 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​
- get
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
;