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.



2184
2185
2186
# File 'lib/svc.rb', line 2184

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.



2189
2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/svc.rb', line 2189

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.



2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
# File 'lib/svc.rb', line 2200

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