Policy > Networking > Network Services > Advanced Load Balancing > Alb Server Auto Scale Policies

Create or update a ALBServerAutoScalePolicy

If a ALBServerAutoScalePolicy with the alb-ServerAutoScalePolicy-id is not
already present, create a new ALBServerAutoScalePolicy. If it already exists,
update the ALBServerAutoScalePolicy. This is a full replace.
This API is only available when using VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/alb-server-auto-scale-policies/<alb-serverautoscalepolicy-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBServerAutoScalePolicy+

Example Request:

{ "intelligent_autoscale": false, "intelligent_scalein_margin": 40, "intelligent_scaleout_margin": 20, "max_scalein_adjustment_step": 1, "max_scaleout_adjustment_step": 1, "max_size": 200, "min_size": 10, "name": "test-autoscale", "scalein_cooldown": 300, "scaleout_cooldown": 300, "use_predicted_load": false }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ALBServerAutoScalePolicy+

Example Response:

{ "_create_time": 1598508799155, "_create_user": "admin", "_last_modified_time": 1598508799159, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-autoscale", "id": "test-autoscale", "intelligent_autoscale": false, "intelligent_scalein_margin": 40, "intelligent_scaleout_margin": 20, "marked_for_delete": false, "max_scalein_adjustment_step": 1, "max_scaleout_adjustment_step": 1, "max_size": 200, "min_size": 10, "name": "test-autoscale", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-server-auto-scale-policies/test-autoscale", "relative_path": "test-autoscale", "resource_type": "ALBServerAutoScalePolicy", "scalein_cooldown": 300, "scaleout_cooldown": 300, "unique_id": "2ca75357-4c6f-4b6b-bb62-2d05605a570e", "use_predicted_load": false }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: