Class: Fog::Network::AzureRM::ApplicationGateways
- Inherits:
-
Collection
- Object
- Collection
- Fog::Network::AzureRM::ApplicationGateways
- Defined in:
- lib/fog/azurerm/models/network/application_gateways.rb
Overview
Application Gateway collection class for Network Service
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/fog/azurerm/models/network/application_gateways.rb', line 12 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 |
#get(identity) ⇒ Object
21 22 23 |
# File 'lib/fog/azurerm/models/network/application_gateways.rb', line 21 def get(identity) all.find { |f| f.name == identity } end |