Class: IBM::Cloud::SDK::VPC::VPCInstance
- Inherits:
-
IBM::Cloud::SDKHTTP::BaseInstance
- Object
- IBM::Cloud::SDKHTTP::BaseInstance
- IBM::Cloud::SDK::VPC::VPCInstance
- Includes:
- VpcHTTP
- Defined in:
- lib/ibm/cloud/sdk/vpc/http/vpc_instance.rb
Overview
Container that encapsulates the VPC API.
Direct Known Subclasses
FloatingIP, FlowLogCollector, IKEPolicy, INSTANCE::FloatingIp, INSTANCE::NetworkInterface, INSTANCE::VolumeAttachment, IPSecPolicy, Image, Instance, InstanceProfile, Key, LOADBALANCER::Listener, LOADBALANCER::Policy, LOADBALANCER::Rule, LoadBalancer, Member, NETWORKACL::Rule, NetworkACL, OperatingSystem, Pool, PublicGateway, Region, SECURITYGROUP::NetworkInterface, SECURITYGROUP::Rule, SecurityGroup, Subnet, IBM::Cloud::SDK::VPC::VPCS::AddressPrefix, IBM::Cloud::SDK::VPC::VPCS::Route, IBM::Cloud::SDK::VPC::VPNGATEWAY::Connection, IBM::Cloud::SDK::VPC::VPNGATEWAY::LocalCIDR, IBM::Cloud::SDK::VPC::VPNGATEWAY::PeerCIDR, VPNGateway, Volume, VolumeProfile, VpcInstance, Zone
Instance Attribute Summary
Attributes included from IBM::Cloud::SDKHTTP::BaseHTTPMixin
Attributes inherited from IBM::Cloud::SDKHTTP::BaseInstance
#connection, #endpoint, #logger, #token
Instance Method Summary collapse
-
#crn ⇒ String
Get the CRN for the resource.
-
#tags ⇒ Enumerator
Get the tags associated with this resource.
Methods included from VpcHTTP
Methods included from IBM::Cloud::SDKHTTP::BaseHTTPMixin
#adhoc, #delete, #get, #metadata, #patch, #post, #put, #unchecked_response, #url
Methods inherited from IBM::Cloud::SDKHTTP::BaseInstance
#details, #initialize, #refresh, #remove, #update
Constructor Details
This class inherits a constructor from IBM::Cloud::SDKHTTP::BaseInstance
Instance Method Details
#crn ⇒ String
Get the CRN for the resource.
17 18 19 |
# File 'lib/ibm/cloud/sdk/vpc/http/vpc_instance.rb', line 17 def crn self[:crn] end |
#tags ⇒ Enumerator
Get the tags associated with this resource.
23 24 25 |
# File 'lib/ibm/cloud/sdk/vpc/http/vpc_instance.rb', line 23 def IBM::Cloud::SDK::Tags.new(@connection, @token, logger: @logger).attached_to(crn) end |