Associates a set of DHCP options (that you've previously created) with the
specified VPC. Or, associates the default DHCP options with the
VPC. The default set consists of the standard EC2 host name, no domain name, no
DNS server, no NTP server, and no NetBIOS server or node type.
After you associate the options with the VPC, any existing instances
and all new instances that you launch in that VPC use the options. For more
information about the supported DHCP options and using them with
Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud
Developer Guide.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class AssociateDhcpOptionsRequest
Public Class AssociateDhcpOptionsRequest
public ref class AssociateDhcpOptionsRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| AssociateDhcpOptionsRequest()()()() | Initializes a new instance of the AssociateDhcpOptionsRequest class | |
| DhcpOptionsId |
Gets and sets the DhcpOptionsId property.
The ID of the DHCP options you want to associate with the VPC, or
"default" if you want to associate the default DHCP options with the VPC.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetDhcpOptionsId()()()() |
Checks if DhcpOptionsId property is set
| |
| IsSetVpcId()()()() |
Checks if VpcId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| VpcId |
Gets and sets the VpcId property.
The ID of the VPC you want to associate the DHCP options with.
| |
| WithDhcpOptionsId(String) |
Sets the DhcpOptionsId property
| |
| WithVpcId(String) |
Sets the VpcId property
|