/** * Associate Dhcp Options * 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. * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-AssociateDhcpOptions.html * @param mixed $request array of parameters for Amazon_EC2_Model_AssociateDhcpOptionsRequest request * or Amazon_EC2_Model_AssociateDhcpOptionsRequest object itself * @see Amazon_EC2_Model_AssociateDhcpOptions * @return Amazon_EC2_Model_AssociateDhcpOptionsResponse Amazon_EC2_Model_AssociateDhcpOptionsResponse * * @throws Amazon_EC2_Exception */ public function associateDhcpOptions($request) { if (!$request instanceof Amazon_EC2_Model_AssociateDhcpOptionsRequest) { require_once 'Amazon/EC2/Model/AssociateDhcpOptionsRequest.php'; $request = new Amazon_EC2_Model_AssociateDhcpOptionsRequest($request); } require_once 'Amazon/EC2/Model/AssociateDhcpOptionsResponse.php'; return Amazon_EC2_Model_AssociateDhcpOptionsResponse::fromXML($this->_invoke($this->_convertAssociateDhcpOptions($request))); }
/** * Associate Dhcp Options * 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. * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-AssociateDhcpOptions.html * @param mixed $request array of parameters for Amazon_EC2_Model_AssociateDhcpOptions request or Amazon_EC2_Model_AssociateDhcpOptions object itself * @see Amazon_EC2_Model_AssociateDhcpOptions * @return Amazon_EC2_Model_AssociateDhcpOptionsResponse Amazon_EC2_Model_AssociateDhcpOptionsResponse * * @throws Amazon_EC2_Exception */ public function associateDhcpOptions($request) { require_once 'Amazon/EC2/Model/AssociateDhcpOptionsResponse.php'; return Amazon_EC2_Model_AssociateDhcpOptionsResponse::fromXML($this->_invoke('AssociateDhcpOptions')); }