Sha256: c94d8e6df0df6c895ba331e927dc126728fd69bcff76d65d927cc3115ae0d5c0
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
module Fog module Network class AzureRM # ExpressRouteCircuitAuthorization collection class for Network Service class ExpressRouteCircuitAuthorizations < Fog::Collection model Fog::Network::AzureRM::ExpressRouteCircuitAuthorization attribute :resource_group attribute :circuit_name def all requires :resource_group, :circuit_name circuit_authorizations = service.list_express_route_circuit_authorizations(resource_group, circuit_name).map { |circuit_authorization| Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.parse(circuit_authorization) } load(circuit_authorizations) end def get(resource_group_name, circuit_name, authorization_name) circuit_authorization = service.get_express_route_circuit_authorization(resource_group_name, circuit_name, authorization_name) express_route_circuit_authorization = Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.new(service: service) express_route_circuit_authorization.merge_attributes(Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.parse(circuit_authorization)) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.1 | lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb |