Module: Eaglenube::ApiWrapper::AWS::Vpc
- Included in:
- Synchronizer::AWS::Vpc::VpcSyncMethods
- Defined in:
- lib/eaglenube/api_wrapper/aws/vpc.rb
Instance Method Summary collapse
- #describe_vpc_attribute(credential, region_code, **options) ⇒ Object
- #describe_vpcs(credential, region_code) ⇒ Object
Instance Method Details
#describe_vpc_attribute(credential, region_code, **options) ⇒ Object
15 16 17 18 |
# File 'lib/eaglenube/api_wrapper/aws/vpc.rb', line 15 def describe_vpc_attribute(credential, region_code, **) agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code) agent.describe_vpc_attribute() end |
#describe_vpcs(credential, region_code) ⇒ Object
10 11 12 13 |
# File 'lib/eaglenube/api_wrapper/aws/vpc.rb', line 10 def describe_vpcs(credential, region_code) agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code) agent.describe_vpcs.try(:vpcs) end |