Information about existing network load balancers
You can request detailed information about each network load balancer you created.
Getting a list of network load balancers in a folder
In the management console
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To get a list of network load balancers in the default folder, run this command:
yc load-balancer network-load-balancer list
Result:
+----------------------+-----------------------+-------------+----------+----------------+------------------------+--------+
| ID | NAME | REGION ID | TYPE | LISTENER COUNT | ATTACHED TARGET GROUPS | STATUS |
+----------------------+-----------------------+-------------+----------+----------------+------------------------+--------+
| enp9svq2ajbs******** | network-load-balancer | ru-central1 | EXTERNAL | 1 | enp1d7t5pdea******** | ACTIVE |
| ... | | | | | | |
+----------------------+-----------------------+-------------+----------+----------------+------------------------+--------+
Use the list API method and provide the folder ID in the folderId
request parameter.
Get detailed information about a network load balancer
- In the management console
, go to the folder page and select Network Load Balancer. - Click the name of the required network load balancer.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To get information about a network load balancer, run this command:
yc load-balancer network-load-balancer get <load_balancer_name_or_ID>
You can get the load balancer ID and name with a list of network load balancers in the folder.
Use the get API method and provide the network load balancer ID in the networkLoadBalancerId
request parameter.
You can get the network load balancer ID with a list of network load balancers in the folder.