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.



1848
1849
1850
# File 'lib/svc.rb', line 1848

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.



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

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.



1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/svc.rb', line 1864

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