Method: Fog::Compute::AWS::Real#associate_dhcp_options
- Defined in:
- lib/fog/aws/requests/compute/associate_dhcp_options.rb
permalink #associate_dhcp_options(dhcp_options_id, vpc_id) ⇒ Object
Parameters
-
dhcp_options_id<~String> - The ID of the DHCP options you want to associate with the VPC, or “default” if you want the VPC to use no DHCP options.
-
vpc_id<~String> - The ID of the VPC
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘requestId’<~String> - Id of request
-
‘return’<~Boolean> - Returns true if the request succeeds.
-
-
21 22 23 24 25 26 27 28 29 |
# File 'lib/fog/aws/requests/compute/associate_dhcp_options.rb', line 21 def (, vpc_id) request( 'Action' => 'AssociateDhcpOptions', 'DhcpOptionsId' => , 'VpcId' => vpc_id, :idempotent => true, :parser => Fog::Parsers::Compute::AWS::AttachInternetGateway.new ) end |