Files
ubicloud/spec/routes/api/cli/golden-files/lb eu-central-h1_test2-lb create.txt
Jeremy Evans ea3f64ca9d Improve display of option values in CLI
Show available option values in separate section after options display.
In cases where Options can be taken from elsewhere in the application,
do that instead of hard coding the options.  This allows burstable-1
and burstable-2 to show up as VM/PG size options, and show more
available VM/PG storage sizes. This doesn't show which storage sizes
are valid for a given VM/PG size.  That's possible but would clutter
the display.

Update to a later rodish checkout, which moved some of the features
UbiCli uses to plugins, and load those plugins.
2025-03-19 14:08:49 -07:00

18 lines
581 B
Plaintext

! Invalid number of arguments for lb create subcommand (accepts: 3, given: 0)
Create a load balancer
Usage:
ubi lb location/lb-name create [options] ps-id src-port dst-port
Options:
-a, --algorithm=alg set the algorithm to use
-e, --check-endpoint=path set the health check endpoint (default: /up)
-p, --check-protocol=proto set the health check protocol
-s, --stack=stack set the stack
Allowed Option Values:
Algorithm: round_robin hash_based
Health Check Protocol: http https tcp
Stack: dual ipv4 ipv6