Sha256: d7df8999560d942a4d9e98294e98478c3a7c9eb125c367a7fdff63465fb596c7

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

module Fog
  module ApplicationGateway
    class AzureRM
      # GatewayIPConfiguration model class for Application Gateway Service
      class IPConfiguration < Fog::Model
        identity :name
        attribute :subnet_id

        def self.parse(gateway_ip_configuration)
          hash = {}
          hash['name'] = gateway_ip_configuration.name
          hash['subnet_id'] = gateway_ip_configuration.subnet.id unless gateway_ip_configuration.subnet.nil?
          hash
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.5 lib/fog/azurerm/models/application_gateway/ip_configuration.rb