Sha256: 95f00503c74eebae641a0fcbc3f9a160bf4a20777de87f7413e949a0c8316681

Contents?: true

Size: 853 Bytes

Versions: 53

Compression:

Stored size: 853 Bytes

Contents

module Fog
  module Network
    class AzureRM
      # InboundNatPool model for Network Service
      class InboundNatPool < Fog::Model
        identity :name
        attribute :id
        attribute :protocol
        attribute :frontend_port_range_start
        attribute :frontend_port_range_end
        attribute :backend_port

        def self.parse(inbound_nat_pool)
          hash = {}
          hash['id'] = inbound_nat_pool.id
          hash['name'] = inbound_nat_pool.name
          hash['protocol'] = inbound_nat_pool.protocol
          hash['frontend_port_range_start'] = inbound_nat_pool.frontend_port_range_start
          hash['frontend_port_range_end'] = inbound_nat_pool.frontend_port_range_end
          hash['backend_port'] = inbound_nat_pool.backend_port
          hash
        end
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 4 rubygems

Version Path
fog-azure-rm-0.6.0 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.5.3 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.5.2 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.6 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.5.1 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.5 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.5.0 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.4 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.3 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.9 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.2 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.8 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.7 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.6 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.5 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-temp-0.0.5 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.4 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.3 lib/fog/azurerm/models/network/inbound_nat_pool.rb
far-gem-0.5.1 lib/fog/azurerm/models/network/inbound_nat_pool.rb
fog-azure-rm-0.4.2 lib/fog/azurerm/models/network/inbound_nat_pool.rb