Created
October 1, 2013 13:57
-
-
Save stulevine/6778835 to your computer and use it in GitHub Desktop.
hapi.version output for the lb.create method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "parameters" : { | |
| "General" : [ | |
| { | |
| "name" : "format", | |
| "description" : "Output format, one of: json, xml", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "name" : "facility", | |
| "description" : "Facility", | |
| "deprecated" : false, | |
| "required" : true, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "name" : "lb_name", | |
| "description" : "A reference name for this load balancer service.", | |
| "deprecated" : false, | |
| "required" : true, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "name" : "lb_port", | |
| "description" : "The port to listen on for this service, for example 80, 8080, 443, etc.", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "valid_options" : [ | |
| { | |
| "value" : "HTTP", | |
| "description" : "HyperText Transfer Protocol" | |
| }, | |
| { | |
| "value" : "HTTPS", | |
| "description" : "HTTP over SSL Protocol" | |
| } | |
| ], | |
| "name" : "lb_protocol", | |
| "description" : "The protocol for this service. Valid protocols are: HTTP, HTTPS.", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "valid_options" : [ | |
| { | |
| "value" : "fastest_response_time", | |
| "description" : "The Response Time algorithm monitors the response times for recent requests to each node. It sends each new request to the node\nthat recently been responding the most quickly." | |
| }, | |
| { | |
| "value" : "least_connections", | |
| "description" : "This algorithm sends each new request to the node with the fewest currently active connections ." | |
| }, | |
| { | |
| "value" : "perceptive", | |
| "description" : "The Perceptive algorithm uses a combinatio n of response time data and connection counts to predict which node is likely to have the fastest response time for each request." | |
| }, | |
| { | |
| "value" : "random", | |
| "description" : "This algorithm chooses a random node for each request." | |
| }, | |
| { | |
| "value" : "round_robin", | |
| "description" : "This algorithm distributes traffic by assigning each request to a new node in turn." | |
| }, | |
| { | |
| "value" : "weighted_least_connections", | |
| "description" : "This algorithm works in a similar way to the Least Connection s algorithm, but assigns more requests to nodes with a greater \"weight\"." | |
| }, | |
| { | |
| "value" : "weighted_round_robin", | |
| "description" : "Weighted Round Robin works in a similar way to Round Robin, but assigns more requests to nodes with a greater \"weight\"." | |
| } | |
| ], | |
| "name" : "lb_algorithm", | |
| "description" : "The algorithm used to load balance the pool of real servers. Valid algorithms are: fastest_response_time, least_connections, perceptive, random, round_robin, weighted_least_connections, weighted_round_robin.", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "valid_options" : [ | |
| { | |
| "value" : "none", | |
| "description" : "no persistence" | |
| }, | |
| { | |
| "value" : "ip_based_persistence", | |
| "description" : "Send all requests from the same source address to the same node." | |
| }, | |
| { | |
| "value" : "transparent_session_affinity", | |
| "description" : "Insert cookies into the response to track sessions." | |
| } | |
| ], | |
| "name" : "lb_persistence", | |
| "description" : "The persistence configuration for this service. Valid persistence values are: none, ip_based_persistence, transparent_session_affinity.", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| }, | |
| { | |
| "name" : "lb_cert_id", | |
| "description" : "The device id of the SSL Certificate to use when protocol is HTTPS (SSL).", | |
| "deprecated" : false, | |
| "required" : false, | |
| "internal" : false, | |
| "unimplemented" : false, | |
| "undocumented" : false, | |
| "labs" : false | |
| } | |
| ] | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment