AssociateDhcpOptionsRequest Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the AssociateDhcpOptions operation.

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.AssociateDhcpOptionsRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AssociateDhcpOptionsRequest : AmazonWebServiceRequest
         IRequestEvents

The AssociateDhcpOptionsRequest type exposes the following members

Constructors

  Name Description
Public Method AssociateDhcpOptionsRequest()

Properties

  Name Description
Public Property DhcpOptionsId The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.
Public Property VpcId The ID of the VPC to associate the DHCP options with.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8