Class: SDM::SnapshotPeeringGroupResources

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

Overview

SnapshotPeeringGroupResources exposes the read only methods of the PeeringGroupResources service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(peering_group_resources) ⇒ SnapshotPeeringGroupResources

Returns a new instance of SnapshotPeeringGroupResources.



2200
2201
2202
# File 'lib/svc.rb', line 2200

def initialize(peering_group_resources)
  @peering_group_resources = peering_group_resources
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

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



2205
2206
2207
2208
2209
2210
2211
2212
2213
# File 'lib/svc.rb', line 2205

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

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

List gets a list of peering group resource attachments.



2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
# File 'lib/svc.rb', line 2216

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