This is the command elb-detach-lb-from-subnets that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
elb-detach-lb-from-subnets - Detach existing LoadBalancer from Subnets in VPC
SYNOPSIS
elb-detach-lb-from-subnets
LoadBalancerName --subnets value[,value...] [General Options]
DESCRIPTION
Detach existing LoadBalancer from Subnets in VPC.
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
-s, --subnets VALUE1,VALUE2,VALUE3...
List of subnet IDs the LoadBalancer is detached from. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
-C, --ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
-K, --ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Detach LoadBalancer example-lb from subnets, subnet-11111111 and
subnet-22222222 $PROMPT> elb-detach-lb-from-subnets example-lb --headers --subnets
subnet-11111111,subnet-22222222
OUTPUT
This command returns a table that contains the following:
* SUBNETS - Subnets the LoadBalancer is now attached to.
OUTPUT EXAMPLES
SUBNETS SUBNETS SUBNETS subnet-00000000, subnet-xxx
Use elb-detach-lb-from-subnets online using onworks.net services