Sha256: 087e07dc24991562946e4ff70c573782da35b4d709f2c16b9151b7d9cf2926fe
Contents?: true
Size: 890 Bytes
Versions: 1
Compression:
Stored size: 890 Bytes
Contents
module Fog module Network class AzureRM # ExpressRouteCircuit collection class for Network Service class ExpressRouteCircuits < Fog::Collection model ExpressRouteCircuit attribute :resource_group def all requires :resource_group express_route_circuits = [] service.list_express_route_circuits(resource_group).each do |circuit| express_route_circuits << ExpressRouteCircuit.parse(circuit) end load(express_route_circuits) end def get(resource_group_name, name) circuit = service.get_express_route_circuit(resource_group_name, name) express_route_circuit = ExpressRouteCircuit.new(service: service) express_route_circuit.merge_attributes(ExpressRouteCircuit.parse(circuit)) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.0 | lib/fog/azurerm/models/network/express_route_circuits.rb |