Policy > Networking > Network Services > Advanced Load Balancing > Alb Hardware Security Module Groups

Create or update a ALBHardwareSecurityModuleGroup

If a ALBHardwareSecurityModuleGroup with the alb-HardwareSecurityModuleGroup-id is not
already present, create a new ALBHardwareSecurityModuleGroup. If it already exists,
update the ALBHardwareSecurityModuleGroup. 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-hardware-security-module-groups/<alb-hardwaresecuritymodulegroup-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBHardwareSecurityModuleGroup+

Example Request:

{ "hsm": { "nethsm": [ { "esn": "12345", "keyhash": "12345", "module_id": 0, "priority": 100, "remote_ip": { "addr": "1.2.3.4", "type": "V4" }, "remote_port": 9004 } ], "type": "HSM_TYPE_THALES_NETHSM" }, "name": "test-HSM" }

Successful Response:

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

Example Response:

{ "_create_time": 1598510216462, "_create_user": "admin", "_last_modified_time": 1598510216512, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-HSM", "hsm": { "nethsm": [ { "esn": "12345", "keyhash": "12345", "module_id": 0, "priority": 100, "remote_ip": { "addr": "1.2.3.4", "type": "V4" }, "remote_port": 9004 } ], "type": "HSM_TYPE_THALES_NETHSM" }, "id": "test-HSM", "marked_for_delete": false, "name": "test-HSM", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-hardware-security-module-groups/test-HSM", "relative_path": "test-HSM", "resource_type": "ALBHardwareSecurityModuleGroup", "unique_id": "7b86e34f-757c-446a-8f8a-34affe0c8a3f" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: