removes a virtual server
delete-virtual-server [--help] [--target target] virtual-server-id
The delete-virtual-server subcommand removes the virtual server with the specified virtual server ID. This subcommand is supported in remote mode only.
--help-?Displays the help text for the subcommand.
--targetDeletes the virtual server only from the specified target. Valid values are as follows:
serverDeletes the virtual server from the default server instance. This is the default value.
Deletes the virtual server from the specified configuration.
Deletes the virtual server from all server instances in the specified cluster.
Deletes the virtual server from the specified standalone server instance.
The unique identifier for the virtual server to be deleted.
The following command deletes the virtual server named sample_vs1:
asadmin> delete-virtual-server sample_vs1
Command delete-virtual-server executed successfully.
command executed successfully
error in executing the command