Method: Fog::Compute::AWS::Real#create_internet_gateway
- Defined in:
- lib/fog/aws/requests/compute/create_internet_gateway.rb
permalink #create_internet_gateway ⇒ Object
Creates an InternetGateway
Parameters
(none)
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘requestId’<~String> - Id of request
-
‘internetGateway’<~Array>:
-
‘attachmentSet’<~Array>: A list of VPCs attached to the Internet gateway
-
‘vpcId’<~String> - The ID of the VPC the Internet gateway is attached to.
-
‘state’<~String> - The current state of the attachment.
-
‘tagSet’<~Array>: Tags assigned to the resource.
-
‘key’<~String> - Tag’s key
-
‘value’<~String> - Tag’s value
26 27 28 29 30 31 |
# File 'lib/fog/aws/requests/compute/create_internet_gateway.rb', line 26 def create_internet_gateway() request({ 'Action' => 'CreateInternetGateway', :parser => Fog::Parsers::Compute::AWS::CreateInternetGateway.new }) end |