Sha256: c5e420de6e4517fe08b6e221848b19e841743f90b2b34db1ba55e401f80b44d7
Contents?: true
Size: 950 Bytes
Versions: 3
Compression:
Stored size: 950 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) 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 end end end end
Version data entries
3 entries across 3 versions & 1 rubygems