Class: IBM::Cloud::SDK::VPC::VpcInstance
- Inherits:
-
BaseInstance
- Object
- BaseVPC
- BaseInstance
- IBM::Cloud::SDK::VPC::VpcInstance
- Defined in:
- lib/ibm/cloud/sdk/vpc/vpcs.rb
Overview
A single Vpc
Instance Attribute Summary
Attributes inherited from BaseVPC
#connection, #endpoint, #logger
Instance Method Summary collapse
- #address_prefixes ⇒ Object
- #default_network_acl ⇒ Object
- #default_security_group ⇒ Object
- #routes ⇒ Object
Methods inherited from BaseInstance
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
#address_prefixes ⇒ Object
25 26 27 |
# File 'lib/ibm/cloud/sdk/vpc/vpcs.rb', line 25 def address_prefixes VPCS::AddressPrefixes.new(self) end |
#default_network_acl ⇒ Object
17 18 19 |
# File 'lib/ibm/cloud/sdk/vpc/vpcs.rb', line 17 def default_network_acl get('default_network_acl') end |
#default_security_group ⇒ Object
21 22 23 |
# File 'lib/ibm/cloud/sdk/vpc/vpcs.rb', line 21 def default_security_group get('default_security_group') end |