class Fog::Network::AzureRM::InboundNatPool

InboundNatPool model for Network Service

Public Class Methods

parse(inbound_nat_pool) click to toggle source
# File lib/fog/azurerm/models/network/inbound_nat_pool.rb, line 13
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