NSX-T Data Center REST API

Create or update a LBServerSslProfile

If a LBServerSslProfile with the vpc-lb-server-ssl-profile-id is not already
present, create a new LBServerSslProfile. If it already exists, update the
LBServerSslProfile. This is a full replace.

NSX Load Balancer availability in terms of use-cases and editions is
specified in NSX Feature and Edition Guide. Please review before consuming
those APIs.
This API is only available when using VMware NSX.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/vpc-lb-server-ssl-profiles/{vpc-lb-server-ssl-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBServerSslProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lb-server-ssl-profiles/testServerSslProfile { "resource_type": "LBServerSslProfile", "cipher_group_label":"HIGH_SECURITY", "session_cache_enabled":true, "ciphers":[ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" ], "protocols":[ "TLS_V1_2" ] }

Successful Response:

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

Example Response:

{ "cipher_group_label": "HIGH_SECURITY", "ciphers": [ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" ], "protocols": [ "TLS_V1_2" ], "session_cache_enabled": true, "is_secure": true, "is_fips": true, "resource_type": "LBServerSslProfile", "id": "testServerSslProfile", "display_name": "testServerSslProfile", "path": "/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lb-server-ssl-profiles/testServerSslProfile", "relative_path": "testServerSslProfile", "parent_path": "/orgs/org-1/projects/project-1/vpcs/vpc-1", "marked_for_delete": false, "_create_user": "vpc_admin", "_create_time": 1543454526012, "_last_modified_user": "vpc_admin", "_last_modified_time": 1543454526012, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: