Class: SDM::SnapshotPeeringGroupNodes

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

Overview

SnapshotPeeringGroupNodes exposes the read only methods of the PeeringGroupNodes service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(peering_group_nodes) ⇒ SnapshotPeeringGroupNodes

Returns a new instance of SnapshotPeeringGroupNodes.



1820
1821
1822
# File 'lib/svc.rb', line 1820

def initialize(peering_group_nodes)
  @peering_group_nodes = peering_group_nodes
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads the information of one peering group to node attachment.



1825
1826
1827
1828
1829
1830
1831
1832
1833
# File 'lib/svc.rb', line 1825

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

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

List gets a list of peering group node attachments.



1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
# File 'lib/svc.rb', line 1836

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