Class: Fog::Network::AzureRM::InboundNatPool

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/azurerm/models/network/inbound_nat_pool.rb

Overview

InboundNatPool model for Network Service

Class Method Summary collapse

Class Method Details

.parse(inbound_nat_pool) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# 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