class IBM::Cloud::SDK::VPC::VPCInstance

Container that encapsulates the VPC API.

Public Instance Methods

crn() click to toggle source

Get the CRN for the resource. @return [String]

# File lib/ibm/cloud/sdk/vpc/http/vpc_instance.rb, line 17
def crn
  self[:crn]
end
tags() click to toggle source

Get the tags associated with this resource. @return [Enumerator] An enumerator with the results.

# File lib/ibm/cloud/sdk/vpc/http/vpc_instance.rb, line 23
def tags
  IBM::Cloud::SDK::Tags.new(@connection, @token, logger: @logger).attached_to(crn)
end