Class: IBM::Cloud::SDK::VPC::INSTANCE::VolumeAttachments

Inherits:
VPCCollection show all
Defined in:
lib/ibm/cloud/sdk/vpc/instance/volume_attachments.rb

Overview

Get all attached volumes.

Instance Attribute Summary

Attributes included from IBM::Cloud::SDKHTTP::BaseHTTPMixin

#endpoint

Attributes inherited from IBM::Cloud::SDKHTTP::BaseCollection

#connection, #endpoint, #logger, #token

Instance Method Summary collapse

Methods inherited from VPCCollection

#count, #has_count?, #params

Methods included from VpcHTTP

#metadata

Methods included from IBM::Cloud::SDKHTTP::BaseHTTPMixin

#adhoc, #delete, #get, #metadata, #patch, #post, #put, #unchecked_response, #url

Methods inherited from IBM::Cloud::SDKHTTP::BaseCollection

#all, #create, #data, #fetch, #params, #reset_params

Constructor Details

#initialize(parent) ⇒ VolumeAttachments

Returns a new instance of VolumeAttachments.



11
12
13
# File 'lib/ibm/cloud/sdk/vpc/instance/volume_attachments.rb', line 11

def initialize(parent)
  super(parent, 'volume_attachments', child_class: VolumeAttachment)
end