Policy > Networking > Network Services > Advanced Load Balancing > Alb Traffic Clone Profiles

Create or update a ALBTrafficCloneProfile

If a ALBTrafficCloneProfile with the alb-TrafficCloneProfile-id is not
already present, create a new ALBTrafficCloneProfile. If it already exists,
update the ALBTrafficCloneProfile. 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-traffic-clone-profiles/<alb-trafficcloneprofile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBTrafficCloneProfile+

Example Request:

{ "clone_servers": [ { "ip_address": { "addr": "1.1.1.1", "type": "V4" }, "mac": "string", "subnet": { "ip_addr": { "addr": "1.2.3.4", "type": "V4" }, "mask": 0 } } ], "display_name": "test-traffic-clone", "preserve_client_ip": true }

Successful Response:

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

Example Response:

{ "_create_time": 1598507888763, "_create_user": "admin", "_last_modified_time": 1598507888768, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "clone_servers": [ { "ip_address": { "addr": "1.1.1.1", "type": "V4" }, "mac": "string", "subnet": { "ip_addr": { "addr": "1.2.3.4", "type": "V4" }, "mask": 0 } } ], "display_name": "test-traffic-clone", "id": "test-traffic-clone", "marked_for_delete": false, "name": "test-traffic-clone", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-traffic-clone-profiles/test-traffic-clone", "preserve_client_ip": true, "relative_path": "test-traffic-clone", "resource_type": "ALBTrafficCloneProfile", "unique_id": "a948f922-1386-4044-929b-47c9b2318b11" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: