Policy > Networking > Network Services > Advanced Load Balancing > Alb Pool Group Deployment Policies

Create or update a ALBPoolGroupDeploymentPolicy

If a ALBPoolGroupDeploymentPolicy with the alb-PoolGroupDeploymentPolicy-id is not
already present, create a new ALBPoolGroupDeploymentPolicy. If it already exists,
update the ALBPoolGroupDeploymentPolicy. 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-pool-group-deployment-policies/<alb-poolgroupdeploymentpolicy-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBPoolGroupDeploymentPolicy+

Example Request:

{ "auto_disable_old_prod_pools": true, "evaluation_duration": 300, "name": "test-PG-deployment", "rules": [ { "metric_id": "healthscore.performance_score_value", "operator": "CO_LE" } ], "scheme": "BLUE_GREEN", "target_test_traffic_ratio": 100, "test_traffic_ratio_rampup": 100 }

Successful Response:

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

Example Response:

{ "_create_time": 1598509178635, "_create_user": "admin", "_last_modified_time": 1598509178639, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "auto_disable_old_prod_pools": true, "display_name": "test-PG-deployment", "evaluation_duration": 300, "id": "test-PG-deployment", "marked_for_delete": false, "name": "test-PG-deployment", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-pool-group-deployment-policies/test-PG-deployment", "relative_path": "test-PG-deployment", "resource_type": "ALBPoolGroupDeploymentPolicy", "rules": [ { "metric_id": "healthscore.performance_score_value", "operator": "CO_LE" } ], "scheme": "BLUE_GREEN", "target_test_traffic_ratio": 100, "test_traffic_ratio_rampup": 100, "unique_id": "e00cad5e-db64-4fbb-b882-7c1202815069" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: