Class: IBM::Cloud::SDK::VPC::VPNGATEWAY::Connection

Inherits:
BaseInstance show all
Defined in:
lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb

Overview

A single Connection

Instance Attribute Summary

Attributes inherited from BaseVPC

#connection, #endpoint, #logger

Instance Method Summary collapse

Methods inherited from BaseInstance

#details, #remove, #update

Methods inherited from BaseVPC

#adhoc, #delete, #get, #initialize, #patch, #post, #put, #url

Constructor Details

This class inherits a constructor from IBM::Cloud::SDK::BaseVPC

Instance Method Details

#local_cidrsObject



23
24
25
# File 'lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb', line 23

def local_cidrs
  LocalCIDRs.new(self)
end

#peer_cidrsObject



27
28
29
# File 'lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb', line 27

def peer_cidrs
  PeerCIDRs.new(self)
end