NSX-T Data Center REST API
Create or update a ALBPoolGroupDeploymentPolicy
If a ALBPoolGroupDeploymentPolicy with the alb-PoolGroupDeploymentPolicy-id is notalready 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, "display_name": "test-PG-deployment", "evaluation_duration": 300, "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+