load_balancer_shapes
Creates, updates, deletes, gets or lists a load_balancer_shapes resource.
Overview​
| Name | load_balancer_shapes |
| Type | Resource |
| Id | oci.load_balancer.load_balancer_shapes |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | loadBalancerId, region, shapeName | opc-request-id, opc-retry-token | Update the shape of a load balancer. The new shape can be larger or smaller compared to existing shape of the<br />LB. The service will try to perform this operation in the least disruptive way to existing connections, but<br />there is a possibility that they might be lost during the LB resizing process. The new shape becomes effective<br />as soon as the related work request completes successfully, i.e. when reshaping to a larger shape, the LB will<br />start accepting larger bandwidth and when reshaping to a smaller one, the LB will be accepting smaller<br />bandwidth.<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 |
|---|---|---|
loadBalancerId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the load balancer whose shape will be updated. |
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) |
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
UPDATE examples​
- update
Update the shape of a load balancer. The new shape can be larger or smaller compared to existing shape of the<br />LB. The service will try to perform this operation in the least disruptive way to existing connections, but<br />there is a possibility that they might be lost during the LB resizing process. The new shape becomes effective<br />as soon as the related work request completes successfully, i.e. when reshaping to a larger shape, the LB will<br />start accepting larger bandwidth and when reshaping to a smaller one, the LB will be accepting smaller<br />bandwidth.<br />
UPDATE oci.load_balancer.load_balancer_shapes
SET
shapeDetails = '{{ shapeDetails }}',
shapeName = '{{ shapeName }}'
WHERE
loadBalancerId = '{{ loadBalancerId }}' --required
AND region = '{{ region }}' --required
AND shapeName = '{{ shapeName }}' --required
AND opc-request-id = '{{ opc-request-id}}'
AND opc-retry-token = '{{ opc-retry-token}}';