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.



1834
1835
1836
# File 'lib/svc.rb', line 1834

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.



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

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.



1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
# File 'lib/svc.rb', line 1850

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