| Did this page help you? Yes No Tell us about it... |
Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.
For more information about Amazon Virtual Private Cloud and DHCP options sets, go to Using DHCP Options in Your VPC in the Amazon Virtual Private Cloud User Guide.
The short version of this command is ec2deldopt.
ec2-delete-dhcp-options
dhcp_options_id
| Name | Description | Required |
|---|---|---|
|
|
The ID of the DHCP options set you want to delete. Type: String Default: None Example: dopt-7a8b9c2d |
Yes |
| Option | Description |
|---|---|
|
|
Overrides the Region specified in the Default: The Example: |
|
|
Default: The Example: |
|
|
The private key to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
The X.509 certificate to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
|
Specifies a connection timeout (in seconds). Example: --connection-timeout 30 |
|
|
Specifies a request timeout (in seconds). Example: --request-timeout 45 |
|
|
Displays verbose output by showing the SOAP request and response on the command line. This is particularly useful if you are building tools to talk directly to our SOAP API. |
|
|
Displays column headers in the output. |
|
|
Shows empty columns as |
|
|
Do not display tags for tagged resources. |
|
|
Prints internal debugging information. This is useful to assist us when troubleshooting problems. |
|
|
Displays Help. |
|
|
If Example: |
The command returns a table that contains the following information:
Output type identifier ("DHCPOPTIONS")
DHCP options ID
Amazon EC2 command line tools display errors on stderr.
This example deletes the set of DHCP options with ID dopt-7a8b9c2d.
PROMPT>ec2-delete-dhcp-options dopt-7a8b9c2dDHCPOPTIONS dopt-7a8b9c2d