delete-network-listener
Removes a network listener.
Description
The delete-network-listener
subcommand removes the specified network listener. This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
--target
-
Deletes the network listener only from the specified target. Valid values are as follows:
server
-
Deletes the network listener from the default server instance. This is the default value.
- configuration-name
-
Deletes the network listener from the specified configuration.
- cluster-name
-
Deletes the network listener from all server instances in the specified cluster.
- standalone-instance-name
-
Deletes the network listener from the specified standalone server instance.
Examples
Example 1 Deleting a Network Listener
The following command deletes the network listener named sampleListener
:
asadmin> delete-network-listener sampleListener
Command delete-network-listener executed successfully.