Method: Fog::Compute::AWS::Real#allocate_address
- Defined in:
- lib/fog/compute/requests/aws/allocate_address.rb
#allocate_address ⇒ Object
Acquire an elastic IP address.
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘publicIp’<~String> - The acquired address
-
‘requestId’<~String> - Id of the request
-
-
17 18 19 20 21 22 |
# File 'lib/fog/compute/requests/aws/allocate_address.rb', line 17 def allocate_address request( 'Action' => 'AllocateAddress', :parser => Fog::Parsers::Compute::AWS::AllocateAddress.new ) end |