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



2017
2018
2019
# File 'lib/svc.rb', line 2017

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.



2022
2023
2024
2025
2026
2027
2028
2029
2030
# File 'lib/svc.rb', line 2022

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.



2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
# File 'lib/svc.rb', line 2033

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