Policy > Networking > Network Services > Advanced Load Balancing > Alb Application Profiles

Create or update a ALBApplicationProfile

If a ALBApplicationProfile with the alb-ApplicationProfile-id is not
already present, create a new ALBApplicationProfile. If it already exists,
update the ALBApplicationProfile. 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-application-profiles/<alb-applicationprofile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBApplicationProfile+

Example Request:

{ "dos_rl_profile": { "dos_profile": { "thresh_period": 5 } }, "http_profile": { "allow_dots_in_header_name": false, "client_body_timeout": 30000, "client_header_timeout": 10000, "client_max_body_size": 0, "client_max_header_size": 12, "client_max_request_size": 48, "connection_multiplexing_enabled": true, "disable_keepalive_posts_msie6": true, "disable_sni_hostname_check": false, "enable_chunk_merge": true, "enable_fire_and_forget": false, "enable_request_body_buffering": false, "enable_request_body_metrics": false, "fwd_close_hdr_for_bound_connections": true, "hsts_enabled": false, "hsts_max_age": 365, "hsts_subdomains_enabled": true, "http2_profile": { "http2_initial_window_size": 64, "max_http2_concurrent_streams_per_connection": 128, "max_http2_control_frames_per_connection": 1000, "max_http2_empty_data_frames_per_connection": 1000, "max_http2_header_field_size": 4096, "max_http2_queued_frames_to_client_per_connection": 1000, "max_http2_requests_per_connection": 1000 }, "http_to_https": false, "http_upstream_buffer_size": 0, "httponly_enabled": false, "keepalive_header": false, "keepalive_timeout": 30000, "max_bad_rps_cip": 0, "max_bad_rps_cip_uri": 0, "max_bad_rps_uri": 0, "max_keepalive_requests": 100, "max_response_headers_size": 48, "max_rps_cip": 0, "max_rps_cip_uri": 0, "max_rps_unknown_cip": 0, "max_rps_unknown_uri": 0, "max_rps_uri": 0, "post_accept_timeout": 30000, "reset_conn_http_on_ssl_port": false, "respond_with_100_continue": true, "secure_cookie_enabled": false, "server_side_redirect_to_https": false, "ssl_client_certificate_mode": "SSL_CLIENT_CERTIFICATE_NONE", "use_app_keepalive_timeout": false, "websockets_enabled": true, "x_forwarded_proto_enabled": false, "xff_alternate_name": "X-Forwarded-For", "xff_enabled": true }, "name": "test-application-profile", "preserve_client_ip": false, "preserve_client_port": false, "preserve_dest_ip_port": false, "type": "APPLICATION_PROFILE_TYPE_HTTP" }

Successful Response:

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

Example Response:

{ "_create_time": 1598505456405, "_create_user": "admin", "_last_modified_time": 1598505456412, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-application-profile", "dos_rl_profile": { "dos_profile": { "thresh_period": 5 } }, "http_profile": { "allow_dots_in_header_name": false, "client_body_timeout": 30000, "client_header_timeout": 10000, "client_max_body_size": 0, "client_max_header_size": 12, "client_max_request_size": 48, "connection_multiplexing_enabled": true, "disable_keepalive_posts_msie6": true, "disable_sni_hostname_check": false, "enable_chunk_merge": true, "enable_fire_and_forget": false, "enable_request_body_buffering": false, "enable_request_body_metrics": false, "fwd_close_hdr_for_bound_connections": true, "hsts_enabled": false, "hsts_max_age": 365, "hsts_subdomains_enabled": true, "http2_profile": { "http2_initial_window_size": 64, "max_http2_concurrent_streams_per_connection": 128, "max_http2_control_frames_per_connection": 1000, "max_http2_empty_data_frames_per_connection": 1000, "max_http2_header_field_size": 4096, "max_http2_queued_frames_to_client_per_connection": 1000, "max_http2_requests_per_connection": 1000 }, "http_to_https": false, "http_upstream_buffer_size": 0, "httponly_enabled": false, "keepalive_header": false, "keepalive_timeout": 30000, "max_bad_rps_cip": 0, "max_bad_rps_cip_uri": 0, "max_bad_rps_uri": 0, "max_keepalive_requests": 100, "max_response_headers_size": 48, "max_rps_cip": 0, "max_rps_cip_uri": 0, "max_rps_unknown_cip": 0, "max_rps_unknown_uri": 0, "max_rps_uri": 0, "post_accept_timeout": 30000, "reset_conn_http_on_ssl_port": false, "respond_with_100_continue": true, "secure_cookie_enabled": false, "server_side_redirect_to_https": false, "ssl_client_certificate_mode": "SSL_CLIENT_CERTIFICATE_NONE", "use_app_keepalive_timeout": false, "websockets_enabled": true, "x_forwarded_proto_enabled": false, "xff_alternate_name": "X-Forwarded-For", "xff_enabled": true }, "id": "test-application-profile", "marked_for_delete": false, "name": "test-application-profile", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-application-profiles/test-application-profile", "preserve_client_ip": false, "preserve_client_port": false, "preserve_dest_ip_port": false, "relative_path": "test-application-profile", "resource_type": "ALBApplicationProfile", "type": "APPLICATION_PROFILE_TYPE_HTTP", "unique_id": "658e4268-5591-4344-97ee-a432a5f811d9" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: