Class: IBM::Cloud::SDK::VPC::Instance
- Inherits:
-
BaseInstance
- Object
- BaseVPC
- BaseInstance
- IBM::Cloud::SDK::VPC::Instance
- Defined in:
- lib/ibm/cloud/sdk/vpc/instances.rb
Overview
Work with a single instance.
Instance Attribute Summary
Attributes inherited from BaseVPC
#connection, #endpoint, #logger
Instance Method Summary collapse
- #actions ⇒ Object
- #initialization ⇒ Object
- #network_interfaces ⇒ Object
- #volume_attachments ⇒ 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
#actions ⇒ Object
41 42 43 |
# File 'lib/ibm/cloud/sdk/vpc/instances.rb', line 41 def actions INSTANCE::Actions.new(self) end |
#initialization ⇒ Object
53 54 55 |
# File 'lib/ibm/cloud/sdk/vpc/instances.rb', line 53 def initialization adhoc(method: 'get', path: 'initialization').json end |
#network_interfaces ⇒ Object
45 46 47 |
# File 'lib/ibm/cloud/sdk/vpc/instances.rb', line 45 def network_interfaces INSTANCE::NetworkInterfaces.new(self) end |
#volume_attachments ⇒ Object
49 50 51 |
# File 'lib/ibm/cloud/sdk/vpc/instances.rb', line 49 def INSTANCE::VolumeAttachments.new(self) end |