Sha256: 0e8a3762021f2988c7613bd3f41bb5022f0d74154a08dd15792c419cceee39e0
Contents?: true
Size: 907 Bytes
Versions: 46
Compression:
Stored size: 907 Bytes
Contents
module Fog module ApplicationGateway class AzureRM # GatewayIPConfiguration model class for Application Gateway Service class IPConfiguration < Fog::Model identity :name attribute :id attribute :subnet_id def self.parse(gateway_ip_configuration) hash = {} if gateway_ip_configuration.is_a? Hash hash['id'] = gateway_ip_configuration['id'] hash['name'] = gateway_ip_configuration['name'] hash['subnet_id'] = gateway_ip_configuration['subnet']['id'] unless gateway_ip_configuration['subnet'].nil? else hash['id'] = gateway_ip_configuration.id 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
46 entries across 46 versions & 4 rubygems