Class: IBM::Cloud::SDK::VPC::InstanceProfiles
- Inherits:
-
BaseCollection
- Object
- BaseVPC
- BaseCollection
- IBM::Cloud::SDK::VPC::InstanceProfiles
- Defined in:
- lib/ibm/cloud/sdk/vpc/instance_profiles.rb
Overview
Work with multiple profiles.
Instance Attribute Summary
Attributes inherited from BaseVPC
#connection, #endpoint, #logger
Instance Method Summary collapse
-
#initialize(parent) ⇒ InstanceProfiles
constructor
A new instance of InstanceProfiles.
Methods inherited from BaseCollection
#all, #count, #create, #data, #fetch, #has_count?, #instance, #params
Methods inherited from BaseVPC
#adhoc, #delete, #get, #patch, #post, #put, #url
Constructor Details
#initialize(parent) ⇒ InstanceProfiles
Returns a new instance of InstanceProfiles.
10 11 12 |
# File 'lib/ibm/cloud/sdk/vpc/instance_profiles.rb', line 10 def initialize(parent) super(parent, 'instance/profiles', child_class: Profile, array_key: 'profiles') end |