Class: SDM::SnapshotPeeringGroupPeers

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotPeeringGroupPeers exposes the read only methods of the PeeringGroupPeers service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(peering_group_peers) ⇒ SnapshotPeeringGroupPeers

Returns a new instance of SnapshotPeeringGroupPeers.



2002
2003
2004
# File 'lib/svc.rb', line 2002

def initialize(peering_group_peers)
  @peering_group_peers = peering_group_peers
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads the information of one peering group link.



2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'lib/svc.rb', line 2007

def get(
  id,
  deadline: nil
)
  return @peering_group_peers.get(
           id,
           deadline: deadline,
         )
end

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of peering group links.



2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
# File 'lib/svc.rb', line 2018

def list(
  filter,
  *args,
  deadline: nil
)
  return @peering_group_peers.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end