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.



2030
2031
2032
# File 'lib/svc.rb', line 2030

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.



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

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.



2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
# File 'lib/svc.rb', line 2046

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