Associates a set of DHCP options (that you've previously created) with the
specified VPC. Or, associates the default DHCP options with the VPC.
Declaration Syntax
C# |
public class AssociateDhcpOptionsRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AssociateDhcpOptionsRequest()()()() | Initializes a new instance of the AssociateDhcpOptionsRequest class | |
DhcpOptionsId |
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()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
VpcId |
The ID of the VPC you want to associate the DHCP options with.
| |
WithDhcpOptionsId(String) | Obsolete.
Sets the ID of the DHCP options you want to associate with the VPC.
| |
WithVpcId(String) | Obsolete.
Sets the ID of the VPC you want to associate the DHCP options with.
|
Remarks
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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
AssociateDhcpOptionsRequest |