Sha256: b4d9095519315207ab01442f48348f316ccc7197814c14d733cfcf7277320c67
Contents?: true
Size: 799 Bytes
Versions: 5
Compression:
Stored size: 799 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 = {} if gateway_ip_configuration.is_a? Hash hash['name'] = gateway_ip_configuration['name'] hash['subnet_id'] = gateway_ip_configuration['subnet']['id'] unless gateway_ip_configuration['subnet'].nil? else hash['name'] = gateway_ip_configuration.name hash['subnet_id'] = gateway_ip_configuration.subnet.id unless gateway_ip_configuration.subnet.nil? end hash end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems