Get a Load Balancer Attachment
get
/20160918/instancePools/{instance_pool_id}/loadBalancerAttachments/{instance_pool_load_balancer_attachment_id}
Get information about a load balancer that is attached to the specified instance pool.
Request
Supported Media Types
- application/json
Path Parameters
-
instancePoolId(required): string
The OCID of the instance pool.
-
instancePoolLoadBalancerAttachmentId(required): string
Minimum Length:
1
Maximum Length:255
The OCID of the load balancer attachment.
Response
Supported Media Types
- application/json
200 Response
The load balancer attached to the instance pool was retrieved.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : InstancePoolLoadBalancerAttachment
Type:
object
Represents a load balancer that is attached to an instance pool.
Show Source
-
backendSetName(required):
string
Minimum Length:
1
Maximum Length:255
The name of the backend set on the load balancer. -
id(required):
string
Minimum Length:
1
Maximum Length:255
The OCID of the load balancer attachment. -
instancePoolId(required):
string
Minimum Length:
1
Maximum Length:255
The OCID of the instance pool of the load balancer attachment. -
lifecycleState(required):
string
Allowed Values:
[ "ATTACHING", "ATTACHED", "DETACHING", "DETACHED" ]
The status of the interaction between the instance pool and the load balancer. -
loadBalancerId(required):
string
Minimum Length:
1
Maximum Length:255
The OCID of the load balancer attached to the instance pool. -
port(required):
integer
Minimum Value:
0
Maximum Value:65535
The port value used for the backends. -
vnicSelection(required):
string
Minimum Length:
1
Maximum Length:255
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.
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
Default Response
An error has occurred.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.