DescribeDhcpOptions#

Description#

Describes one or more of your DHCP options sets.

Request Parameters#

  • DhcpOptionsId — The ID of the set of DHCP options.

    • Type: String

    • Required: No

  • Filter.N — One or more filters.

    • Type: List of Filter objects

    • Required: No

Supported Filters#

  • key — The key for one of the options (for example, domain-name).

  • tag:<tag-key> — The key/value a pair of a tag. The tag key is passed in the filter name, while the tag value is used as the filter value.

  • tag-key — The tag key. Such a filter allows you to get resources with the specified key and any value.

  • value — The value of one of the options.

Response Elements#

  • dhcpOptionsSet — The description of DHCP options.

  • requestId — The request ID.

    • Type: String

Examples#

c2-ec2 DescribeDhcpOptions

c2-ec2 DescribeDhcpOptions DhcpOptionsId.1 <dopt_id>

c2-ec2 DescribeDhcpOptions Filter.1.Name tag:<tag-key> Filter.1.Value <tag-value>

c2-ec2 DescribeDhcpOptions Filter.1.Name tag-key Filter.1.Value <tag-key>