yc load-balancer
Статья создана
Обновлена 2 декабря 2024 г.
Manage Yandex Load Balancer resources
Command Usage
Syntax:
yc load-balancer <group>
Aliases:
balancer
lb
Command Tree
- yc load-balancer network-load-balancer — Manage network load balancer
- yc load-balancer network-load-balancer add-listener — Adds a listener to 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 create — Create a network load balancer
- yc load-balancer network-load-balancer delete — Delete the specified 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 get — Show information about the specified load balancer
- yc load-balancer network-load-balancer list — List load balancers
- yc load-balancer network-load-balancer list-operations — List operations for the specified 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 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 target-states — Show states of target resources in the attached target group
- yc load-balancer network-load-balancer update — Update the specified load balancer
- yc load-balancer target-group — Manage target groups
- yc load-balancer target-group add-targets — Add targets to the specified target group
- yc load-balancer target-group create — Create a target group
- yc load-balancer target-group delete — Delete the specified target group
- yc load-balancer target-group get — Show information about the specified target group
- yc load-balancer target-group list — List target groups
- yc load-balancer target-group list-operations — List operations for the specified target group
- yc load-balancer target-group remove-targets — Remove targets from the specified target group
- yc load-balancer target-group update — Update the specified target group
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. |