blob: 8fdd107789bf10b698ca28dfb79b47806997447f [file] [log] [blame]
type=page
status=published
title=list-http-lb-configs
next=list-http-lbs.html
prev=list-file-users.html
~~~~~~
= list-http-lb-configs
[[list-http-lb-configs-1]][[GSRFM00166]][[list-http-lb-configs]]
== list-http-lb-configs
Lists load balancer configurations
[[sthref1484]]
=== Synopsis
[source]
----
asadmin [asadmin-options] list-http-lb-configs [--help]
[target]
----
[[sthref1485]]
=== Description
The `list-http-lb-configs` subcommand lists the load balancer
configurations. List them all or list them by the cluster or server
instance they reference.
[NOTE]
====
This subcommand is only applicable to {productName}. This
subcommand is not applicable to {productName}.
====
[[sthref1486]]
=== Options
asadmin-options::
Options for the `asadmin` utility. For information about these
options, see the link:asadmin.html#asadmin-1m[`asadmin`(1M)] help page.
`--help`::
`-?`::
Displays the help text for the subcommand.
[[sthref1487]]
=== Operands
target::
Lists the load balancers by target. Valid values are:
* cluster_name- The name of a target cluster.
* instance_name- The name of a target server instance.
[[sthref1488]]
=== Examples
[[GSRFM659]][[sthref1489]]
==== Example 1   Listing Load Balancer Configurations Without a Target
This example lists all load balancer configurations defined for all
{productName} clusters and instances.
[source]
----
asadmin> list-http-lb-configs
mycluster-http-lb-config
serverinstlb
Command list-http-lb-configs executed successfully.
----
[[GSRFM660]][[sthref1490]]
==== Example 2   Listing Load Balancer Configurations for a Specific Target
This example lists the load balancer configuration defined for a cluster
named `mycluster`.
[source]
----
asadmin> list-http-lb-configs mycluster
mycluster-http-lb-config
Command list-http-lb-configs executed successfully.
----
[[sthref1491]]
=== Exit Status
0::
subcommand executed successfully
1::
error in executing the subcommand
[[sthref1492]]
=== See Also
link:asadmin.html#asadmin-1m[`asadmin`(1M)]
link:create-http-lb-config.html#create-http-lb-config-1[`create-http-lb-config`(1)],
link:delete-http-lb-config.html#delete-http-lb-config-1[`delete-http-lb-config`(1)]