-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Is your feature request related to a problem? Please describe.
When I try to use the default udp monitor in a AS3 body I have an error. It works with the default tcp, icmp, http and https monitor
{ "id": "per-app-declaration", "schemaVersion": "3.50.0", "VS-CNI-UDP": { "class": "Application", "VS-CNI-UDP": { "class": "Service_L4", "virtualPort": 123, "persistenceMethods": [], "layer4": "udp", "virtualAddresses": [ "192.168.0.20" ], "pool": "pool-CNI-UDP" }, "pool-CNI-UDP": { "class": "Pool", "loadBalancingMode": "least-connections-member", "monitors": [ "udp" ], "minimumMonitors": "all", "members": [ { "servicePort": 123, "serverAddresses": [ "192.0.1.30" ] } ] } } }
Response
{ "code": 422, "errors": [ "/VS-CNI-UDP/pool-CNI-UDP/monitors/0: should be equal to one of the allowed values [\"http\",\"https\",\"http2\",\"icmp\",\"tcp\",\"tcp-half-open\"]" ], "message": "declaration is invalid" }
If I want to use a udp monitor I have to create a custom udp monitor.
Describe the solution you'd like
I want to be able to use the default udp monitor instead of having to create a custom one.