Container for the parameters to the CreateDhcpOptions operation.
Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132 .
- domain-name-servers - The IP addresses of up to four domain name servers, or AmazonProvidedDNS . The default DHCP option set specifies AmazonProvidedDNS . If specifying more than one domain name server, specify the IP addresses in a single parameter, separated by commas.
- domain-name - If you're using AmazonProvidedDNS in us-east-1 , specify ec2.internal . If you're using AmazonProvidedDNS in another region, specify region.compute.internal (for example, ap-northeast-1.compute.internal ). Otherwise, specify a domain name (for example, MyCompany.com ).
- ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) servers.
- netbios-name-servers - The IP addresses of up to four NetBIOS name servers.
- netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend that you specify 2 (broadcast and multicast are not currently supported). For more information about these node types, see RFC 2132 .
For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide .
Declaration Syntax
C# |
public class CreateDhcpOptionsRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CreateDhcpOptionsRequest()()()() | Initializes a new instance of the CreateDhcpOptionsRequest class | |
DhcpConfiguration |
DHCP Configuration
| |
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.) | |
IsSetDhcpConfiguration()()()() |
Checks if DhcpConfiguration property is set
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithDhcpConfiguration(array<DhcpConfiguration>[]()[][]) | Obsolete.
Sets the DHCP Configuration
|
Inheritance Hierarchy
Object | ||
EC2Request | ||
CreateDhcpOptionsRequest |