Sha256: 174021e1ace41e63534442a70b46d267dd2d74cddde2ef61316bc1dea2f246eb
Contents?: true
Size: 801 Bytes
Versions: 2
Compression:
Stored size: 801 Bytes
Contents
require 'fog/core/collection' require 'fog/azurerm/models/network/application_gateway' module Fog module Network class AzureRM # Application Gateway collection class for Network Service class ApplicationGateways < Fog::Collection model Fog::Network::AzureRM::ApplicationGateway attribute :resource_group def all requires :resource_group application_gateways = [] service.list_application_gateways(resource_group).each do |gateway| application_gateways << Fog::Network::AzureRM::ApplicationGateway.parse(gateway) end load(application_gateways) end def get(identity) all.find { |f| f.name == identity } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.4 | lib/fog/azurerm/models/network/application_gateways.rb |
fog-azure-rm-0.0.3 | lib/fog/azurerm/models/network/application_gateways.rb |