Class: Fog::Network::AzureRM::InboundNatPool
- Inherits:
-
Model
- Object
- Model
- Fog::Network::AzureRM::InboundNatPool
- 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 23 |
# File 'lib/fog/azurerm/models/network/inbound_nat_pool.rb', line 13 def self.parse(inbound_nat_pool) inbound_nat_pool_prop = inbound_nat_pool['properties'] hash = {} hash['id'] = inbound_nat_pool['id'] hash['name'] = inbound_nat_pool['name'] hash['protocol'] = inbound_nat_pool_prop['protocol'] hash['frontend_port_range_start'] = inbound_nat_pool_prop['frontendPortRangeStart'] hash['frontend_port_range_end'] = inbound_nat_pool_prop['frontendPortRangeEnd'] hash['backend_port'] = inbound_nat_pool_prop['backendPort'] hash end |