Class: SDM::SnapshotPeeringGroupResources
- Inherits:
-
Object
- Object
- SDM::SnapshotPeeringGroupResources
- 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
-
#get(id, deadline: nil) ⇒ Object
Get reads the information of one peering group to resource attachment.
-
#initialize(peering_group_resources) ⇒ SnapshotPeeringGroupResources
constructor
A new instance of SnapshotPeeringGroupResources.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of peering group resource attachments.
Constructor Details
#initialize(peering_group_resources) ⇒ SnapshotPeeringGroupResources
Returns a new instance of SnapshotPeeringGroupResources.
2212 2213 2214 |
# File 'lib/svc.rb', line 2212 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.
2217 2218 2219 2220 2221 2222 2223 2224 2225 |
# File 'lib/svc.rb', line 2217 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.
2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
# File 'lib/svc.rb', line 2228 def list( filter, *args, deadline: nil ) return @peering_group_resources.list( filter, *args, deadline: deadline, ) end |