yc load-balancer network-load-balancer
Written by
Updated at October 3, 2024
Manage network load balancer
Command Usage
Syntax:
yc load-balancer network-load-balancer <command>
Aliases:
nlb
Command Tree
- yc load-balancer network-load-balancer get — Show information about the specified load balancer
- yc load-balancer network-load-balancer list — List load balancers
- yc load-balancer network-load-balancer create — Create a network load balancer
- yc load-balancer network-load-balancer update — Update the specified load balancer
- yc load-balancer network-load-balancer delete — Delete the specified load balancer
- yc load-balancer network-load-balancer start — Starts load balancing and health checking with the specified network load balancer.
- yc load-balancer network-load-balancer stop — Stops load balancing and health checking with the specified network load balancer.
- yc load-balancer network-load-balancer attach-target-group — Attaches a target group to the specified network load balancer.
- yc load-balancer network-load-balancer detach-target-group — Detaches the target group from the specified network load balancer.
- yc load-balancer network-load-balancer target-states — Show states of target resources in the attached target group
- yc load-balancer network-load-balancer add-listener — Adds a listener to the specified network load balancer.
- yc load-balancer network-load-balancer remove-listener — Removes the listener from the specified network load balancer.
- yc load-balancer network-load-balancer list-operations — List operations for the specified load balancer
Global Flags
Flag | Description |
---|---|
--profile |
string Set the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
int Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
string Set the ID of the cloud to use. |
--folder-id |
string Set the ID of the folder to use. |
--folder-name |
string Set the name of the folder to use (will be resolved to id). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |